/* Basic styling for address fields */
.wpcf7-form-control-wrap input[name*="address"] {
    width: 100% !important;
    padding: 12px !important;
    border: 2px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

/* Focus state */
.wpcf7-form-control-wrap input[name*="address"]:focus {
    border-color: #007cba !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2) !important;
}

/* Warning message styling */
.nwt-warning {
    color: #d63638;
    font-size: 14px;
    margin-top: 8px;
    padding: 10px 12px;
    background: #f8ebea;
    border: 1px solid #e2a4a4;
    border-radius: 4px;
    border-left: 4px solid #d63638;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

/* Invalid input styling */
.nwt-invalid {
    border-color: #d63638 !important;
    background-color: #fcf0f0 !important;
    animation: shake 0.5s ease;
}

/* Animation for warning */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animation for invalid input */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Style Google Places dropdown */
.pac-container {
    border: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-top: -1px;
    font-family: inherit;
}

.pac-item {
    padding: 12px 16px;
    border-top: 1px solid #f1f1f1;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #f8f9fa;
}

.pac-item-query {
    font-size: 14px;
    color: #1a1a1a;
}

.pac-icon {
    margin-top: 6px;
    margin-right: 8px;
}