/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #FFD700; /* Bold Yellow */
    --primary-dark: #FFC107;
    --black: #1A1A1A;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --danger: #FF3B30;
    --success: #34C759;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--light-gray);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile Container */
.app-container {
    width: 100%;
    max-width: 480px; /* Mobile App dimensions for desktop view */
    height: 100vh;
    max-height: 100vh;
    background-color: var(--white);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* Auth Pages */
.auth-wrapper {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: var(--white);
}

.brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.brand-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -1px;
}

.brand-header h1 span {
    color: var(--primary);
}

.brand-header p {
    color: var(--dark-gray);
    margin-top: 8px;
    font-size: 1rem;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #FAFAFA;
}

.input-group input:focus {
    border-color: var(--primary);
    outline: none;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.btn-primary {
    width: 100%;
    background-color: var(--primary);
    color: var(--black);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.error-msg {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

.dev-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--black);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 100;
}

/* Map Interface */
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Pulsing User Marker */
.user-marker {
    background-color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--black);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 215, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Bottom Sheet */
.bottom-sheet {
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45vh;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    z-index: 10;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.bottom-sheet.expanded {
    height: 90vh;
}

.drag-handle {
    width: 40px;
    height: 5px;
    background: #E0E0E0;
    border-radius: 5px;
    margin: 15px auto;
}

.sheet-content {
    padding: 0 20px 20px;
    flex: 1;
    overflow-y: auto;
}

.greeting {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Location Inputs */
/* Modern Location Inputs Container */
.location-inputs-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    position: relative;
}

.loc-input-group {
    display: flex;
    align-items: center;
    background: #FAFAFA;
    border: 1.5px solid #EFEFEF;
    padding: 12px 20px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.loc-input-group:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.18);
    transform: translateY(-1px);
}

.loc-input-group i.pickup-icon {
    color: var(--success);
    font-size: 1.35rem;
    width: 24px;
}

.loc-input-group i.dest-icon {
    color: var(--black);
    font-size: 1.35rem;
    width: 24px;
}

.loc-input-group .input-wrapper {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 12px;
    margin-right: 5px;
    text-align: left;
}

.loc-input-group .input-wrapper label {
    font-size: 0.75rem;
    color: #888;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 3px;
}

.loc-input-group .input-wrapper input {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    width: 100%;
    padding: 0;
}

.loc-input-group .input-wrapper input:focus {
    outline: none;
}

.clear-input-btn {
    background: none;
    border: none;
    color: #BBB;
    cursor: pointer;
    padding: 6px;
    font-size: 1.1rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clear-input-btn:hover {
    color: var(--black);
    transform: scale(1.1);
}

.loc-divider-line {
    height: 22px;
    margin-left: 31px;
    border-left: 2px dashed var(--primary);
    margin-top: -3px;
    margin-bottom: -3px;
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

/* Suggestions */
.suggestions {
    margin-top: 20px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #EEEEEE;
    cursor: pointer;
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--dark-gray);
}

.suggestion-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}
.suggestion-details p {
    font-size: 0.88rem;
    font-weight: 500;
    color: #666;
}

/* Vehicles list */
.vehicles-list {
    display: none;
    margin-top: 10px;
}

.vehicle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vehicle-item.selected {
    border-color: var(--primary);
    background: #FFFDE7;
}

.vehicle-img {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.vehicle-info {
    flex: 1;
}

.vehicle-name {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}
.vehicle-name span {
    font-size: 0.8rem;
    color: var(--dark-gray);
    font-weight: 400;
    margin-left: 10px;
}

.vehicle-price {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Searching Overlay */
.searching-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    z-index: 100;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.radar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
    animation: radar-pulse 2s infinite;
}

@keyframes radar-pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.searching-overlay h3 {
    margin-top: 30px;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Driver Accepted Panel */
.driver-panel {
    display: none;
    flex-direction: column;
}

.driver-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EEE;
}

.driver-profile {
    display: flex;
    align-items: center;
}

.driver-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    margin-right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.driver-details h3 {
    margin: 0;
    font-size: 1.2rem;
}
.driver-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.vehicle-plate {
    background: var(--black);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 6px;
    font-weight: bold;
    letter-spacing: 1px;
}

.ride-otp {
    text-align: center;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 20px;
}
.ride-otp span {
    font-size: 0.9rem;
    color: #666;
}
.ride-otp h2 {
    font-size: 2rem;
    letter-spacing: 5px;
    margin-top: 5px;
}

/* Menu & Sidebar Styles */
.menu-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
    cursor: pointer;
    border: none;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}
.menu-btn:active {
    transform: scale(0.9);
}

.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 490;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar {
    position: absolute;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--white);
    z-index: 500;
    box-shadow: 5px 0 25px rgba(0,0,0,0.15);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    background: var(--black);
    color: var(--white);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    border: 2px solid var(--white);
}

.profile-info h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-info p {
    margin: 3px 0 0;
    font-size: 0.9rem;
    color: #AAA;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--black);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.sidebar-menu li a:hover {
    background: var(--light-gray);
}

.sidebar-menu li a i {
    width: 30px;
    font-size: 1.15rem;
    color: var(--dark-gray);
}

.sidebar-footer {
    padding: 20px 25px;
    border-top: 1px solid #EEE;
    font-size: 0.85rem;
    color: #888;
}

/* Sub-page Overlay Screens */
.sub-page {
    position: absolute;
    top: 0;
    left: 100%; /* Hidden on the right */
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 600;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sub-page.open {
    left: 0;
}

.sub-page-header {
    background: var(--black);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.sub-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
}

.sub-page-header h3 {
    margin-left: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.sub-page-header .back-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
}

.sub-page-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    background: var(--light-gray);
}

/* Your Rides styles */
.ride-history-card {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ride-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.ride-history-route {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

/* Payments Styles */
.wallet-card {
    background: var(--black);
    color: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.wallet-card::before {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.15;
}

.payment-method-item {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Settings Form */
.settings-form {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Help list */
.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-item h4 {
    margin-bottom: 5px;
    color: var(--black);
}
.faq-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Premium App-like Login Styles */
.login-hero {
    background-color: #FFFDF0; /* Light cream yellow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23000000' stroke-width='1' stroke-opacity='0.05'%3E%3Cpath d='M10 25c0-4 3-7 7-7s7 3 7 7c0 3-2 5-5 6v6h-4v-6c-3-1-5-3-5-6zm7 7h2v6h-2zm30 3l8-8 8 8v10H47V35zm2 2v8h12v-8L55 29zM15 65c-2 0-3-1-3-3s1-3 3-3 3 1 3 3-1 3-3 3zm15 0c-2 0-3-1-3-3s1-3 3-3 3 1 3 3-1 3-3 3zm-15-3h15m-15 0l5-8h7l3 8m-5-8h-3m45 8c-2 0-3-2-3-4s2-4 4-4 4 2 4 4c0 1 0 1-1 2c1 0 2 1 2 2 0 2-2 4-4 4c-1 0-1 0-2 0zm-15-5h20M5 50c10-3 20-3 30 0s20 3 30 0'/%3E%3C/g%3E%3C/svg%3E");
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
    border-bottom: 1px solid #F0ECE0;
}

.login-hero::before {
    display: none; /* Disable rotating light animation */
}

@keyframes rotate-hero {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.login-hero-logo {
    height: 100px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.1));
    margin-bottom: 10px;
}

.login-hero-tagline {
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.login-card {
    background: var(--white);
    height: 55%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    margin-top: -30px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    z-index: 5;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
}

.login-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 30px;
}

.phone-input-container {
    display: flex;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: #FAFAFA;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    padding: 0 15px;
    margin-bottom: 25px;
}

.phone-input-container:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.country-code {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--black);
    border-right: 1px solid #DDD;
    padding-right: 15px;
    height: 35px;
}

.country-code img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.phone-input-container input {
    border: none;
    background: transparent;
    padding: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    flex: 1;
    color: var(--black);
}

.phone-input-container input:focus {
    outline: none;
}

.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #AAA;
}

.divider-container::before, .divider-container::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #EEE;
}

.divider-container:not(:empty)::before {
    margin-right: .5em;
}

.divider-container:not(:empty)::after {
    margin-left: .5em;
}

.social-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-social {
    flex: 1;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    background: var(--white);
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-social:hover {
    background: var(--light-gray);
    border-color: #CCC;
}

.terms-container {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: auto;
    line-height: 1.4;
}

.terms-container a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 600;
}

/* Premium Search Trigger Box */
.search-trigger-box {
    display: flex;
    align-items: center;
    background: #FAFAFA;
    border: 1.5px solid #EAEAEA;
    padding: 15px 20px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-top: 10px;
}

.search-trigger-box:hover {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.15);
}

.search-trigger-box .search-icon {
    font-size: 1.2rem;
    color: var(--black);
    margin-right: 15px;
}

.search-trigger-box .search-placeholder {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    flex: 1;
    text-align: left;
}

.search-trigger-box .search-pill {
    background: var(--black);
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.search-trigger-box:hover .search-pill {
    transform: translateX(4px);
    background: var(--primary);
    color: var(--black);
}

/* Feedback Tags */
.feedback-tag {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid #DDD;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.feedback-tag.selected {
    border-color: var(--primary);
    background: #FFFDE7;
    color: var(--black);
}

/* Feedback success ripple rings */
.tick-ripple {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(34, 197, 94, 0.35);
    animation: tickRippleOut 1.6s ease-out infinite;
    opacity: 0;
}

@keyframes tickRippleOut {
    0%   { transform: scale(0.7); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Driver dark theme ripple */
.driver-tick-ripple {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(34, 197, 94, 0.25);
    animation: tickRippleOut 1.6s ease-out infinite;
    opacity: 0;
}

/* Google Maps Places Autocomplete Dropdown Premium Styles */
.pac-container {
    background-color: var(--white) !important;
    border-radius: 16px !important;
    border: 1px solid #EEEEEE !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    font-family: 'Outfit', sans-serif !important;
    margin-top: 5px !important;
    z-index: 999999 !important; /* Make sure it shows on top of bottom sheet */
    padding: 8px 0 !important;
    max-width: 440px !important; /* Match app container width padding */
}

.pac-item {
    padding: 14px 18px !important;
    font-size: 1rem !important;
    color: #444 !important;
    border-top: 1px solid #F5F5F5 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    transition: background-color 0.2s ease;
}

.pac-item:hover {
    background-color: var(--light-gray) !important;
}

.pac-icon {
    margin-right: 12px !important;
}

.pac-item-query {
    font-size: 1.05rem !important;
    color: var(--black) !important;
    font-weight: 700 !important; /* Bold query */
}

.pac-matched {
    font-weight: 800 !important; /* Extremely bold query matches */
    color: var(--black) !important;
}

.pac-item > span:last-child {
    font-size: 0.88rem !important;
    color: #666 !important;
    font-weight: 500 !important;
    margin-left: 5px !important;
}

/* Leaflet.js Custom Styles */
.leaflet-tile {
    filter: grayscale(0.1) contrast(1.05);
}
.leaflet-container {
    font-family: 'Outfit', sans-serif !important;
}
.user-pulse-dot {
    width: 14px;
    height: 14px;
    background-color: #4285F4;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: relative;
}
.user-pulse-dot::after {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(66, 133, 244, 0.4);
    position: absolute;
    top: -11px;
    left: -11px;
    animation: ripple 1.6s ease-out infinite;
}
@keyframes ripple {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

.custom-car-marker, .custom-driver-car-marker {
    transition: transform 0.2s ease;
}


