/* Simple Loqate Address Lookup - Matches existing form styling */

.address-selection-container {
    margin-top: 32px;
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    position: relative;
    width: 100%;
    max-width: none;
    clear: both;
    display: block;
}

.address-dropdown-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    width: 100%;
    max-width: none;
}

.address-dropdown-wrapper label {
    display: block;
    margin-bottom: 16px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-family: inherit;
    position: relative;
    text-align: left;
}

.address-dropdown-wrapper label::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

#address-dropdown {
    width: 100%;
    max-width: none;
    padding: 18px 24px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    background-color: white;
    color: #2c3e50;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 20px;
    padding-right: 56px;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    min-height: 56px;
}

#address-dropdown:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.15), 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

#address-dropdown:hover {
    border-color: #80bdff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.address-dropdown option[value="manual"] {
    font-style: italic;
    color: #6c757d;
}

.address-loading {
    color: #6c757d;
    font-size: 14px;
    margin-top: 5px;
}

.address-loading i {
    margin-right: 5px;
}

.address-error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.address-error[style*="color: #28a745"] {
    color: #28a745;
}

.address-dropdown.address-selected {
    border-color: #28a745 !important;
    background-color: #f8fff8 !important;
}

/* Keep it simple - no fancy animations or extra styling */

/* Mobile responsive - keep it simple */
@media (max-width: 768px) {
    .address-dropdown {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Manual entry form styling */
.manual-entry-container {
    margin-top: 10px;
}

.manual-entry-wrapper label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.manual-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.manual-fields input {
    width: 100% !important;
    max-width: none !important;
    padding: 18px 24px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    background: #ffffff !important;
    color: #2c3e50 !important;
    box-sizing: border-box !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
    min-height: 56px;
}

.manual-fields input:focus {
    outline: none !important;
    border-color: #007bff !important;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1) !important;
}

.manual-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-use-manual {
    padding: 14px 28px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.btn-use-manual:hover {
    background: #218838;
}

.btn-back-to-dropdown {
    padding: 14px 28px;
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
}

.btn-back-to-dropdown:hover {
    background: #5a6268;
}

/* Responsive Design for Address Dropdown */
@media (max-width: 768px) {
    .address-selection-container {
        margin-top: 24px;
        padding: 20px 16px;
        border-radius: 10px;
    }
    
    .address-dropdown-wrapper {
        gap: 14px;
    }
    
    .address-dropdown-wrapper label {
        font-size: 15px;
        margin-bottom: 14px;
    }
    
    #address-dropdown {
        padding: 16px 20px;
        padding-right: 52px;
        font-size: 15px;
        min-height: 52px;
        background-size: 18px;
        background-position: right 18px center;
    }
    
    .manual-fields input {
        padding: 16px 20px !important;
        font-size: 15px !important;
        min-height: 52px;
    }
}

/* Clean and simple - matches your existing form perfectly */
