﻿/* ============================================================================
   ADDRESS MODAL SCOPED STYLES
   All styles are scoped to #addressModal to avoid affecting other site elements
   ============================================================================ */

/* Map Section Styles - Scoped to addressModal */
#addressModal .map-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

#addressModal .address-search-input {
    padding-left: 45px !important;
    padding-right: 45px !important;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

    #addressModal .address-search-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

#addressModal .search-icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 10;
}

#addressModal .current-location-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: white;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#addressModal .current-location-btn:hover {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

#addressModal .current-location-btn:hover i {
    color: white;
}


#addressModal .current-location-btn i {
    font-size: 16px;
    color: #0d6efd;
}
/* Make sure parent has position relative */
#addressModal .input-icon {
    position: relative;
}


#addressModal .map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#addressModal .address-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    #addressModal .address-map {
        height: 300px;
    }
}

#addressModal .map-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1000;
}

#addressModal .map-instructions {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#addressModal .location-display {
    border-radius: 12px;
    border-left: 4px solid #0d6efd;
    background: #e7f3ff;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#addressModal .section-title {
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

#addressModal .contact-info-section,
#addressModal .address-details-section {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

#addressModal .form-actions {
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

/* Input Row Layout - Two columns side by side */
#addressModal .input-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    #addressModal .input-row .input-group {
        flex: 1;
        min-width: 0;
    }

        #addressModal .input-row .input-group:only-child {
            flex: 1 1 100%;
        }

/* Input Group Styling */
#addressModal .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    #addressModal .input-group label {
        font-weight: 500;
        margin-bottom: 0;
    }

    #addressModal .input-group input,
    #addressModal .input-group select,
    #addressModal .input-group textarea {
        width: 100%;
    }

#addressModal .form-select,
#addressModal select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
}

    #addressModal .form-select:focus,
    #addressModal select:focus {
        border-color: #0d6efd;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

/* Google Maps Autocomplete Styling - More specific to avoid conflicts */
.pac-container {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
    border: none;
    font-family: inherit;
    z-index: 10000 !important;
}

.pac-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .pac-item:hover {
        background-color: #f8f9fa;
    }

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

.pac-item-query {
    font-weight: 600;
    color: #2c3e50;
}

/* Modal Responsive Adjustments - Scoped */
@media (max-width: 992px) {
    #addressModal.modal .modal-xl {
        max-width: 95%;
    }

    #addressModal .map-section {
        padding: 15px;
    }

    #addressModal .contact-info-section,
    #addressModal .address-details-section {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    #addressModal .input-row {
        flex-direction: column;
        gap: 16px;
    }

        #addressModal .input-row .input-group {
            width: 100%;
        }

    #addressModal .map-instructions {
        font-size: 12px;
        padding: 8px 16px;
    }

    #addressModal .form-actions {
        flex-direction: column;
        align-items: stretch !important;
    }

        #addressModal .form-actions > div {
            width: 100%;
        }

        #addressModal .form-actions .d-flex.gap-2 {
            flex-direction: column;
        }

            #addressModal .form-actions .d-flex.gap-2 button {
                width: 100%;
            }
}

/* Loading State - Scoped */
#addressModal .map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

    #addressModal .map-loading .spinner-border {
        width: 3rem;
        height: 3rem;
    }

/* Ensure modal sizing only affects addressModal */
#addressModal.modal .modal-dialog.modal-xl {
    max-width: 1140px;
}

@media (min-width: 1200px) {
    #addressModal.modal .modal-dialog.modal-xl {
        max-width: 1140px;
    }
}

/* Mobile Full-Screen Map Mode */
@media (max-width: 576px) {
    /* When map is active, make modal content full screen */
    #addressModal.map-mode-mobile .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    #addressModal.map-mode-mobile .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }

    /* Hide modal header padding when in map mode */
    #addressModal.map-mode-mobile .popup-header {
        padding: 10px 15px;
        margin-bottom: 10px;
    }

    /* Map section takes full available space - DON'T hide it */
    #addressModal.map-mode-mobile .map-section {
        padding: 0;
        margin: 0;
        background: white;
        border: none;
        border-radius: 0;
        height: calc(100vh - 120px);
        display: block !important; /* FORCE VISIBLE */
    }

    /* Map container fills parent */
    #addressModal.map-mode-mobile #mapContainerWrapper {
        height: 100%;
        margin: 0;
        padding: 0;
        display: block !important; /* FORCE VISIBLE */
    }

    /* Map itself fills container */
    #addressModal.map-mode-mobile .address-map {
        height: 100% !important;
        min-height: 100%;
        border-radius: 0;
    }

    /* Search input styling in map mode */
    #addressModal.map-mode-mobile .address-search-input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    /* Hide other sections completely */
    #addressModal.map-mode-mobile #otherFormSections {
        display: none !important;
    }

    /* Confirm button at bottom */
    #addressModal.map-mode-mobile #btnConfirmMapSelection {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        margin: 0;
        border-radius: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        padding: 15px;
        font-size: 16px;
        font-weight: 600;
    }

    /* Selected location display */
    #addressModal.map-mode-mobile #selectedLocationDisplay {
        display: none !important;
    }

    /* Map overlay instruction */
    #addressModal.map-mode-mobile .map-overlay {
        top: 70px;
    }

    /* When NOT in map mode on mobile */
    #addressModal:not(.map-mode-mobile) .map-section {
        display: block; /* Keep it in DOM */
    }

    #addressModal:not(.map-mode-mobile) #mapContainerWrapper {
        display: none; /* Hide the container, not the section */
    }

    #addressModal:not(.map-mode-mobile) .address-map {
        height: 300px;
    }
}

/* Tablet view */
@media (min-width: 577px) and (max-width: 768px) {
    #addressModal .address-map {
        height: 400px;
    }
}




/* ============================================================================
   MODULAR ADDRESS MODAL STYLES (Address Module)
   All styles are scoped to #modularAddressModal to avoid affecting other site elements
   ============================================================================ */

/* Map Section Styles - Scoped to modularAddressModal */
#modularAddressModal .map-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

#modularAddressModal .address-search-input {
    padding-left: 45px !important;
    padding-right: 45px !important;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

    #modularAddressModal .address-search-input:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

#modularAddressModal .search-icon-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 10;
}

#modularAddressModal .current-location-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: white;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #modularAddressModal .current-location-btn:hover {
        background-color: #0d6efd;
        color: white;
        border-color: #0d6efd;
    }

        #modularAddressModal .current-location-btn:hover i {
            color: white;
        }

    #modularAddressModal .current-location-btn i {
        font-size: 16px;
        color: #0d6efd;
    }

#modularAddressModal .input-icon {
    position: relative;
}

#modularAddressModal .map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#modularAddressModal .address-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

@media (max-width: 768px) {
    #modularAddressModal .address-map {
        height: 300px;
    }
}

#modularAddressModal .map-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1000;
}

#modularAddressModal .map-instructions {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    animation: fadeIn 0.5s ease;
}

#modularAddressModal .location-display {
    border-radius: 12px;
    border-left: 4px solid #0d6efd;
    background: #e7f3ff;
    animation: slideIn 0.3s ease;
}

#modularAddressModal .section-title {
    font-weight: 600;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 8px;
}

#modularAddressModal .contact-info-section,
#modularAddressModal .address-details-section {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

#modularAddressModal .form-actions {
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

#modularAddressModal .input-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

    #modularAddressModal .input-row .input-group {
        flex: 1;
        min-width: 0;
    }

        #modularAddressModal .input-row .input-group:only-child {
            flex: 1 1 100%;
        }

#modularAddressModal .input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    #modularAddressModal .input-group label {
        font-weight: 500;
        margin-bottom: 0;
    }

    #modularAddressModal .input-group input,
    #modularAddressModal .input-group select,
    #modularAddressModal .input-group textarea {
        width: 100%;
    }

#modularAddressModal .form-select,
#modularAddressModal select {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: white;
    font-size: 14px;
}

    #modularAddressModal .form-select:focus,
    #modularAddressModal select:focus {
        border-color: #0d6efd;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

@media (max-width: 992px) {
    #modularAddressModal.modal .modal-xl {
        max-width: 95%;
    }

    #modularAddressModal .map-section {
        padding: 15px;
    }

    #modularAddressModal .contact-info-section,
    #modularAddressModal .address-details-section {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    #modularAddressModal .input-row {
        flex-direction: column;
        gap: 16px;
    }

        #modularAddressModal .input-row .input-group {
            width: 100%;
        }

    #modularAddressModal .map-instructions {
        font-size: 12px;
        padding: 8px 16px;
    }

    #modularAddressModal .form-actions {
        flex-direction: column;
        align-items: stretch !important;
    }

        #modularAddressModal .form-actions > div {
            width: 100%;
        }

        #modularAddressModal .form-actions .d-flex.gap-2 {
            flex-direction: column;
        }

            #modularAddressModal .form-actions .d-flex.gap-2 button {
                width: 100%;
            }
}

#modularAddressModal .map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

    #modularAddressModal .map-loading .spinner-border {
        width: 3rem;
        height: 3rem;
    }

#modularAddressModal.modal .modal-dialog.modal-xl {
    max-width: 1140px;
}

@media (min-width: 1200px) {
    #modularAddressModal.modal .modal-dialog.modal-xl {
        max-width: 1140px;
    }
}

/* Mobile Full-Screen Map Mode */
@media (max-width: 576px) {
    #modularAddressModal.map-mode-mobile .modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    #modularAddressModal.map-mode-mobile .modal-dialog {
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }

    #modularAddressModal.map-mode-mobile .popup-header {
        padding: 10px 15px;
        margin-bottom: 10px;
    }

    #modularAddressModal.map-mode-mobile .map-section {
        padding: 0;
        margin: 0;
        background: white;
        border: none;
        border-radius: 0;
        height: calc(100vh - 120px);
        display: block !important;
    }

    #modularAddressModal.map-mode-mobile #mapContainerWrapper {
        height: 100%;
        margin: 0;
        padding: 0;
        display: block !important;
    }

    #modularAddressModal.map-mode-mobile .address-map {
        height: 100% !important;
        min-height: 100%;
        border-radius: 0;
    }

    #modularAddressModal.map-mode-mobile .address-search-input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    #modularAddressModal.map-mode-mobile #otherFormSections {
        display: none !important;
    }

    #modularAddressModal.map-mode-mobile #btnConfirmMapSelection {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1001;
        margin: 0;
        border-radius: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
        padding: 15px;
        font-size: 16px;
        font-weight: 600;
    }

    #modularAddressModal.map-mode-mobile #selectedLocationDisplay {
        display: none !important;
    }

    #modularAddressModal.map-mode-mobile .map-overlay {
        top: 70px;
    }

    #modularAddressModal:not(.map-mode-mobile) .map-section {
        display: block;
    }

    #modularAddressModal:not(.map-mode-mobile) #mapContainerWrapper {
        display: none;
    }

    #modularAddressModal:not(.map-mode-mobile) .address-map {
        height: 300px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    #modularAddressModal .address-map {
        height: 400px;
    }
}



/* ============================================================
   MYDAWA – Address Delivery Confirm & Label Styles
   Add to: /wwwroot/template/assets/css/address/address-scoped.css
   OR reference as a separate file in _Layout.cshtml
   ============================================================ */

/* ─── Delivery Confirmation Bottom Sheet ─────────────────── */
.modal-backdrop-blur {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 1050;
    animation: deliveryFadeIn 0.25s ease forwards;
}

@keyframes deliveryFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.delivery-confirm-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1055;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 16px 24px 36px;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
    animation: slideUpSheet 0.32s cubic-bezier(0.22, 0.68, 0, 1.2) forwards;
    max-width: 540px;
    margin: 0 auto;
}

@keyframes slideUpSheet {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.delivery-confirm-sheet .sheet-handle {
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    display: block;
    margin: 0 auto 16px;
}

.delivery-confirm-sheet h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.delivery-confirm-sheet .address-confirm-card {
    cursor: default;
    border-radius: 12px !important;
    transition: box-shadow 0.15s;
}

    .delivery-confirm-sheet .address-confirm-card:hover {
        box-shadow: 0 2px 12px rgba(230, 27, 119, 0.12);
    }

/* Confirm button */
.delivery-confirm-sheet #btnConfirmDeliveryAddress {
    background: #E61B77 !important;
    border-color: #E61B77 !important;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    font-size: 1rem;
    border-radius: 50px !important;
    padding: 14px !important;
    transition: background 0.2s, transform 0.1s;
}

    .delivery-confirm-sheet #btnConfirmDeliveryAddress:hover {
        background: #c91567 !important;
        border-color: #c91567 !important;
        transform: translateY(-1px);
    }

    .delivery-confirm-sheet #btnConfirmDeliveryAddress:active {
        transform: translateY(0);
    }

/* Change address button */
.delivery-confirm-sheet #btnChangeDeliveryAddress,
.delivery-confirm-sheet #btnAddNewDeliveryAddress {
    border-radius: 50px !important;
    padding: 12px !important;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.delivery-confirm-sheet #btnAddNewDeliveryAddress {
    background: #E61B77 !important;
    border-color: #E61B77 !important;
    color: #fff;
    padding: 14px !important;
    font-size: 1rem;
}

    .delivery-confirm-sheet #btnAddNewDeliveryAddress:hover {
        background: #c91567 !important;
        border-color: #c91567 !important;
        transform: translateY(-1px);
    }

/* Add address icon bubble */
.delivery-confirm-sheet .add-addr-icon {
    background: rgba(230, 27, 119, 0.1);
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

/* Distance warning inside sheet */
.delivery-confirm-sheet .distance-warning {
    font-size: 13px;
    border-radius: 10px !important;
    background: #fff8e1 !important;
    border-color: #ffcc02 !important;
    color: #7a5c00;
}

    .delivery-confirm-sheet .distance-warning strong {
        color: #5a3e00;
    }

/* ─── Address Label Chips (in Add/Edit form) ─────────────── */
#addressLabelRow {
    margin-bottom: 1rem;
}

    #addressLabelRow .form-label {
        font-size: 0.875rem;
        color: #444;
        margin-bottom: 6px;
    }

.label-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.label-chip {
    border-radius: 50px !important;
    padding: 5px 14px !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    border: 1.5px solid #dee2e6;
    background: #fff;
    color: #555;
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

    .label-chip:hover {
        border-color: #E61B77;
        color: #E61B77;
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(230, 27, 119, 0.15);
    }

    .label-chip.active,
    .label-chip.btn-primary {
        background: #E61B77 !important;
        border-color: #E61B77 !important;
        color: #fff !important;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(230, 27, 119, 0.3);
    }

/* ─── Address Label Badge (on address list cards) ─────────── */
.address-label-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    vertical-align: middle;
    margin-left: 6px;
    text-transform: uppercase;
}

.label-home {
    background: #e8f5e9;
    color: #2e7d32;
}

.label-office {
    background: #e3f2fd;
    color: #1565c0;
}

.label-other {
    background: #fce4ec;
    color: #c62828;
}

/* ─── Distance warning in address validation area ────────── */
#addressValidationWarning .alert-warning {
    font-size: 13px;
    border-radius: 10px;
    background: #fff8e1;
    border-color: #ffcc02;
    color: #5a3e00;
}

/* ─── Responsive adjustments ─────────────────────────────── */
@media (min-width: 577px) {
    .delivery-confirm-sheet {
        border-radius: 16px;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        width: 460px;
        animation: slideUpSheetDesktop 0.28s cubic-bezier(0.22, 0.68, 0, 1.2) forwards;
    }

    @keyframes slideUpSheetDesktop {
        from {
            transform: translateX(-50%) translateY(30px);
            opacity: 0;
        }

        to {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
        }
    }
}

@media (max-width: 400px) {
    .delivery-confirm-sheet {
        padding: 14px 16px 28px;
    }

        .delivery-confirm-sheet h4 {
            font-size: 1rem;
        }
}


/* Disable browser autocomplete dropdown */
/*#googleSearchAddress::-webkit-credentials-auto-fill-button,
#googleSearchAddress::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
}

#googleSearchAddress:-webkit-autofill,
#googleSearchAddress:-webkit-autofill:hover,
#googleSearchAddress:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}*/

/* Firefox */
/*#googleSearchAddress:-moz-autofill {
    filter: none;
}*/