.field-error {
    display: none;
    color: #d32f2f;
    font-size: 13px;
    margin-top: 4px;
    font-weight: 500;
}

.field-error.show {
    display: block;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input.error,
.form-group select.error {
    border-color: #d32f2f;
}

.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.thank-you-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.thank-you-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.thank-you-modal-header i {
    font-size: 24px;
}

.thank-you-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.thank-you-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.thank-you-close-btn:hover {
    opacity: 0.8;
}

.thank-you-modal-body {
    padding: 24px;
}

.thank-you-modal-body p {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.urgent-actions {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
}

.urgent-text {
    margin: 0 0 12px 0;
    font-weight: 600;
    color: #667eea;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.action-btn:hover {
    transform: translateY(-2px);
}

.call-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.call-btn:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.whatsapp-btn:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.thank-you-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
}

.thank-you-ok-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.thank-you-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Phone Inquiry Modal Styles */
.phone-inquiry-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.phone-inquiry-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-inquiry-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
    position: relative;
}

.phone-inquiry-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.phone-inquiry-modal-header h2 {
    margin: 0;
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-inquiry-close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #999;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.phone-inquiry-close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.phone-inquiry-modal-body {
    margin-bottom: 1.5rem;
}

.phone-inquiry-modal-body p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.phone-input-group {
    margin-bottom: 1.2rem;
}

.phone-input-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.phone-country-select,
.phone-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.phone-country-select:focus,
.phone-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-inquiry-modal-footer {
    display: flex;
    gap: 1rem;
}

.phone-inquiry-btn-submit,
.phone-inquiry-btn-cancel {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.phone-inquiry-btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.phone-inquiry-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.phone-inquiry-btn-cancel {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.phone-inquiry-btn-cancel:hover {
    background: #e0e0e0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@media (max-width: 600px) {
    .phone-inquiry-modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }

    .phone-inquiry-modal-header h2 {
        font-size: 1.1rem;
    }

    .phone-inquiry-modal-footer {
        flex-direction: column;
    }
}
