/* Propidata Form - Minimalist Design */
.propidata-form {
    background: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    @media (max-width: 768px) {
        width: 95%;
        padding: 15px;
        border-radius: 8px;
        font-size: 13px;
    }

    @media (max-width: 480px) {
        width: 98%;
        padding: 12px;
        border-radius: 6px;
        font-size: 12px;
    }
}

/* Compact Tabs */
.nav.nav-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border: none;
    
    @media (max-width: 768px) {
        gap: 4px;
        margin-bottom: 15px;
    }

    .nav-item {
        flex: 1;
        margin: 0;

        .nav-link {
            color: #666;
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            padding: 10px 15px;
            font-size: 13px;
            font-weight: 500;
            text-align: center;
            width: 100%;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            
            @media (max-width: 768px) {
                padding: 8px 12px;
                font-size: 12px;
                gap: 4px;
            }
            
            @media (max-width: 480px) {
                padding: 6px 8px;
                font-size: 11px;
                flex-direction: column;
                gap: 2px;
            }

            i {
                font-size: 14px;
                
                @media (max-width: 480px) {
                    font-size: 12px;
                }
            }

            &.active {
                background: var(--rh-global-color-primary);
                color: #FFFFFF;
                border-color: var(--rh-global-color-primary);
                transform: translateY(-1px);
                box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            }
            
            &:hover:not(.active) {
                background: #e9ecef;
                border-color: #dee2e6;
            }
        }
    }
}

/* Compact Form Layout */
.form-section {
    margin-bottom: 20px;
    
    @media (max-width: 768px) {
        margin-bottom: 15px;
    }
}

.form-row {
    margin-bottom: 15px;
    
    @media (max-width: 768px) {
        margin-bottom: 12px;
    }
    
    @media (max-width: 480px) {
        margin-bottom: 10px;
    }
}

/* Button Row with Extra Spacing */
.button-row {
    margin-bottom: 25px;
    margin-top: 30px;
    
    @media (max-width: 768px) {
        margin-bottom: 20px;
        margin-top: 25px;
    }
    
    @media (max-width: 480px) {
        margin-bottom: 18px;
        margin-top: 20px;
    }
}

.form-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    font-size: 13px;
    
    @media (max-width: 768px) {
        font-size: 12px;
        margin-bottom: 3px;
    }
}

.form-control {
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    transition: all 0.2s ease;
    background: #fff;
    
    @media (max-width: 768px) {
        padding: 8px 10px;
        font-size: 13px;
        border-radius: 5px;
    }
    
    @media (max-width: 480px) {
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 4px;
    }
    
    &:focus {
        border-color: var(--rh-global-color-primary);
        box-shadow: 0 0 0 2px rgba(var(--rh-global-color-primary-rgb), 0.1);
        outline: none;
    }
    
    &::placeholder {
        color: #adb5bd;
        font-weight: 400;
    }
}

/* Comuna Search Container - Simplified for datalist */
.comuna-search-container {
    position: relative;
    width: 100%;
}

/* Datalist styling is handled by the browser, no custom CSS needed */

/* Compact CTA Button */
.cta-button {
    width: 100%;
    background: var(--rh-global-color-primary);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    
    @media (max-width: 768px) {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    @media (max-width: 480px) {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 5px;
    }
    
    &:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        background: #0056b3;
    }
    
    &:active {
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    }
    
    i {
        font-size: 14px;
        
        @media (max-width: 480px) {
            font-size: 12px;
        }
    }
}

/* Trust Signals - Compact Horizontal Layout */
.trust-signals {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding: 12px 0;
    border-top: 1px solid #e9ecef;
    gap: 20px;
    
    @media (max-width: 768px) {
        margin-top: 12px;
        padding: 10px 0;
        gap: 15px;
    }
    
    @media (max-width: 480px) {
        margin-top: 10px;
        padding: 8px 0;
        gap: 12px;
    }
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6c757d;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    
    @media (max-width: 768px) {
        font-size: 10px;
        gap: 4px;
    }
    
    @media (max-width: 480px) {
        font-size: 9px;
        gap: 3px;
    }
    
    i {
        color: var(--rh-global-color-primary);
        font-size: 12px;
        flex-shrink: 0;
        
        @media (max-width: 768px) {
            font-size: 11px;
        }
        
        @media (max-width: 480px) {
            font-size: 10px;
        }
    }
    
    span {
        white-space: nowrap;
        font-weight: 500;
    }
}

/* Address Options */
.address-options {
    margin-top: 15px;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    display: none; /* Hidden by default */

    &.has-results {
        display: block;
    }

    .address-options-values {
        max-height: 150px;
        overflow-y: auto;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        background: #f8f9fa;
        
        @media (max-width: 768px) {
            max-height: 120px;
        }
    }
    
    .address-options-label {
        margin-bottom: 10px;
        font-weight: 500;
        color: #333;
        
        @media (max-width: 480px) {
            font-size: 12px;
            margin-bottom: 8px;
        }
    }
}

/* Enhanced Address Options */
.address-options {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    display: none; /* Hidden by default */

    &.has-results {
        display: block;
        animation: fadeInUp 0.3s ease-out;
    }

    .address-options-values {
        max-height: 200px;
        overflow-y: auto;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        background: #f8f9fa;
        padding: 8px;
        
        @media (max-width: 768px) {
            max-height: 150px;
            padding: 6px;
        }
        
        @media (max-width: 480px) {
            max-height: 120px;
            padding: 4px;
        }
    }
    
    .address-options-label {
        margin-bottom: 12px;
        font-weight: 600;
        color: #333;
        font-size: 14px;
        
        @media (max-width: 480px) {
            font-size: 13px;
            margin-bottom: 10px;
        }
    }
}

/* Enhanced Form Check for Address Options */
.form-check {
    margin-bottom: 10px;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    
    @media (max-width: 768px) {
        margin-bottom: 8px;
        padding: 14px 16px;
    }
    
    @media (max-width: 480px) {
        margin-bottom: 6px;
        padding: 12px 14px;
    }
    
    &:hover {
        border-color: var(--rh-global-color-primary);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-1px);
    }
    
    &.loading {
        border-color: var(--rh-global-color-primary);
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        position: relative;
        overflow: hidden;
        
        &::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            animation: shimmer 1.5s infinite;
        }
        
        .form-check-input {
            opacity: 0.5;
        }
        
        .form-check-label {
            opacity: 0.7;
        }
    }
    
    .form-check-label {
        font-weight: 500;
        color: #333;
        cursor: pointer;
        font-size: 14px;
        line-height: 1.4;
        display: flex;
        align-items: center;
        
        @media (max-width: 768px) {
            font-size: 13px;
        }
        
        @media (max-width: 480px) {
            font-size: 12px;
        }
        
        &::before {
            content: '📍';
            margin-right: 8px;
            font-size: 16px;
            
            @media (max-width: 480px) {
                font-size: 14px;
                margin-right: 6px;
            }
        }
    }
    
    .form-check-input {
        margin-right: 10px;
        transform: scale(1.2);
        
        &:checked {
            background-color: var(--rh-global-color-primary);
            border-color: var(--rh-global-color-primary);
            box-shadow: 0 0 0 2px rgba(var(--rh-global-color-primary-rgb), 0.2);
        }
        
        &:focus {
            box-shadow: 0 0 0 3px rgba(var(--rh-global-color-primary-rgb), 0.25);
        }
    }
    
    /* Success state when selected */
    &.selected {
        border-color: var(--rh-global-color-primary);
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        box-shadow: 0 2px 8px rgba(var(--rh-global-color-primary-rgb), 0.15);
        
        .form-check-label {
            color: var(--rh-global-color-primary);
            font-weight: 600;
        }
    }
}

/* Shimmer animation for loading state */
@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Legacy spinner - kept for compatibility */
.spinner-border {
    display: block;
    margin: 15px auto;
    color: var(--rh-global-color-primary);
    
    @media (max-width: 768px) {
        width: 1.25rem;
        height: 1.25rem;
        margin: 10px auto;
    }
    
    @media (max-width: 480px) {
        width: 1rem;
        height: 1rem;
        margin: 8px auto;
    }
}

/* Tab Content */
.tab-content {
    margin-top: 15px;
    
    @media (max-width: 768px) {
        margin-top: 10px;
    }
    
    @media (max-width: 480px) {
        margin-top: 8px;
    }
}

/* Fix tab pane spacing issues */
.tab-pane {
    display: none;
    
    &.active {
        display: block;
    }
    
    &.fade {
        opacity: 0;
        transition: opacity 0.15s linear;
        
        &.show {
            opacity: 1;
        }
    }
}

/* Ensure inactive tabs don't take up space */
.tab-pane:not(.active) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Active tab takes normal space */
.tab-pane.active {
    position: relative;
    height: auto;
    overflow: visible;
    pointer-events: auto;
}

/* Role Options Label */
.rol-options-label {
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    font-weight: 400;
    color: #333;
    
    @media (max-width: 768px) {
        margin-top: 10px;
        padding: 8px;
        font-size: 12px;
    }
    
    @media (max-width: 480px) {
        margin-top: 8px;
        padding: 6px;
        font-size: 11px;
    }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .form-control {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .form-control {
        font-size: 16px !important;
    }
}

/* Accessibility */
.form-control:focus,
.btn:focus {
    outline: 2px solid var(--rh-global-color-primary);
    outline-offset: 1px;
}

/* Loading States */
.form-control:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Enhanced Loading States for Buttons */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button .button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.cta-button .loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button.loading .button-content {
    opacity: 0;
}

.cta-button.loading .loading-spinner {
    opacity: 1;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Google Maps Location Picker Styles */
.location-picker-container {
    position: relative;
    margin-bottom: 10px;
}

.map-container {
    position: relative;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.google-map {
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    position: relative;
}

.map-overlay {
    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: 1;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.map-overlay.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
    display: none !important;
    visibility: hidden !important;
}

.map-instructions {
    text-align: center;
    color: #666;
    font-size: 14px;
    padding: 20px;
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-instructions i {
    color: #007bff;
    margin-right: 8px;
}

.selected-location-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #d4edda;
    color: #155724;
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
    border: 1px solid #c3e6cb;
}

.selected-location-info i {
    margin-right: 8px;
    color: #28a745;
}

.btn-clear-location {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.btn-clear-location:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Responsive adjustments for map */
@media (max-width: 768px) {
    .google-map {
        height: 180px;
    }
    
    .map-instructions {
        font-size: 13px;
        padding: 15px;
    }
    
    .selected-location-info {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .google-map {
        height: 160px;
    }
    
    .map-instructions {
        font-size: 12px;
        padding: 12px;
    }
    
    .selected-location-info {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Map loading state */
.map-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 14px;
}

.map-loading i {
    margin-right: 8px;
    animation: spin 1s linear infinite;
}

/* Map marker styles */
.map-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #dc3545;
    font-size: 24px;
    z-index: 2;
    pointer-events: none;
    animation: markerBounce 0.6s ease-out;
}

@keyframes markerBounce {
    0% { transform: translate(-50%, -100%) scale(0.5); }
    50% { transform: translate(-50%, -100%) scale(1.2); }
    100% { transform: translate(-50%, -100%) scale(1); }
}

/* Success/Error States */
.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1);
}

/* Animation */
.form-row {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   RESPONSIVE THEME LAYOUT OVERRIDE
   ================================= */

/* Override theme's fixed column classes for responsive behavior */
.rh-page-container .row .main-content.col-8,
.rh-page-container .row .sidebar-content.col-4 {
    /* Reset Bootstrap fixed classes */
    flex: none !important;
    max-width: none !important;
}

/* Desktop and Large Tablets (992px and up) */
@media (min-width: 992px) {
    .rh-page-container .row .main-content.col-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }
    
    .rh-page-container .row .sidebar-content.col-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Medium Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .rh-page-container .row .main-content.col-8 {
        flex: 0 0 66.666667% !important;
        max-width: 66.666667% !important;
    }
    
    .rh-page-container .row .sidebar-content.col-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Small devices and Mobile (up to 767px) */
@media (max-width: 767px) {
    .rh-page-container .row .main-content.col-8,
    .rh-page-container .row .sidebar-content.col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    /* Stack sidebar below main content on mobile */
    .rh-page-container .row {
        flex-direction: column;
    }
    
    /* Ensure proper spacing on mobile */
    .rh-page-container .row .sidebar-content.col-4 {
        margin-top: 2rem;
    }
}

/* Extra small devices (480px and below) */
@media (max-width: 480px) {
    .rh-page-container .row .main-content.col-8,
    .rh-page-container .row .sidebar-content.col-4 {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    
    .rh-page-container .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* =================================
   PROPIDATA FORM RESPONSIVE ENHANCEMENTS
   ================================= */

/* Ensure our form adapts well in the responsive sidebar */
@media (max-width: 767px) {
    .propidata-form {
        margin: 0 !important;
        padding: 15px !important;
    }
    
    .propidata-form .nav-tabs {
        margin-bottom: 15px;
    }
    
    .propidata-form .form-row {
        margin-bottom: 12px;
    }
    
    .propidata-form .cta-button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}

/* Widget responsiveness in sidebar */
@media (max-width: 767px) {
    .rh-sidebar .widget {
        margin-bottom: 2rem;
        padding: 15px;
        background: #f8f9fa;
        border-radius: 8px;
    }
    
    .rh-sidebar .widget:last-child {
        margin-bottom: 0;
    }
}

/* Professional confirmation checkboxes */
.confirmation-checkbox {
    margin-top: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.confirmation-checkbox .form-check {
    margin: 0;
}

.confirmation-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid #28a745;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.confirmation-checkbox .form-check-input:checked {
    background-color: #28a745;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.confirmation-checkbox .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
    outline: none;
}

.confirmation-checkbox .form-check-label {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    line-height: 1.4;
    cursor: pointer;
    padding-left: 8px;
    margin: 0;
}

.confirmation-checkbox .form-check-label i {
    color: #28a745;
    margin-right: 8px;
}

.confirmation-checkbox:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #28a745;
}

/* Disable submit button when confirmation not checked */
.btn-primary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary:disabled .button-content {
    opacity: 0.7;
}

/* Map container disabled state */
.map-container.disabled {
    opacity: 0.7;
    pointer-events: none;
}

.map-container.disabled .map-overlay {
    background: rgba(255, 255, 255, 0.8);
}

.map-container.disabled .map-instructions {
    color: #666;
}

/* Modern Address Input Styles - Elegant and Consistent */
.autocomplete-container {
    position: relative;
    width: 100%;
}

/* Address input wrapper with clear button */
.address-input-wrapper {
    position: relative;
    width: 100%;
}

.address-input-wrapper .btn-clear-location {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.address-input-wrapper .btn-clear-location:hover {
    background-color: rgba(108, 117, 125, 0.1);
    color: #495057;
}

/* PlaceAutocompleteElement - Match form control styling exactly */
gmp-placeautocomplete {
    width: 100% !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: var(--bs-font-sans-serif) !important;
    background: #fff !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    display: block !important;
    height: auto !important;
}

/* Inner input styling to match form controls */
gmp-placeautocomplete input {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: var(--bs-font-sans-serif) !important;
    background: transparent !important;
    outline: none !important;
    box-sizing: border-box !important;
    color: inherit !important;
}

/* Legacy input styling to match form controls */
.autocomplete-container input.form-control {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 400;
    font-family: var(--bs-font-sans-serif);
    transition: all 0.2s ease;
    background: #fff;
}

/* Focus states - consistent across both modern and legacy */
gmp-placeautocomplete:focus-within,
.autocomplete-container input.form-control:focus {
    border-color: var(--rh-global-color-primary) !important;
    box-shadow: 0 0 0 2px rgba(var(--rh-global-color-primary-rgb), 0.1) !important;
    outline: none !important;
}

/* Placeholder styling */
gmp-placeautocomplete input::placeholder,
.autocomplete-container input.form-control::placeholder {
    color: #adb5bd !important;
    font-weight: 400 !important;
}

/* Disabled state */
gmp-placeautocomplete[disabled],
.autocomplete-container input.form-control:disabled {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

/* Responsive styling */
@media (max-width: 768px) {
    gmp-placeautocomplete,
    .autocomplete-container input.form-control {
        padding: 8px 10px !important;
        font-size: 13px !important;
        border-radius: 5px !important;
    }
}

@media (max-width: 480px) {
    gmp-placeautocomplete,
    .autocomplete-container input.form-control {
        padding: 6px 8px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
    }
}



