/* Contact Form Styles */

/* Notification Messages */
.form-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 16px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.form-notification-success {
    background: #F0FDF4;
    border-bottom: 3px solid #22C55E;
}

.form-notification-error {
    background: #FEF2F2;
    border-bottom: 3px solid #EF4444;
}

.notification-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.form-notification-success .notification-icon {
    background: #22C55E;
    color: #fff;
}

.form-notification-error .notification-icon {
    background: #EF4444;
    color: #fff;
}

.notification-message {
    flex: 1;
}

.form-notification-success .notification-message {
    color: #166534;
}

.form-notification-error .notification-message {
    color: #991B1B;
}

.notification-close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

.form-notification-success .notification-close {
    color: #166534;
}

.form-notification-error .notification-close {
    color: #991B1B;
}

/* Contact Form Input Styles */
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E8EDF5;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #1B3A6B;
    box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button[type="submit"] {
    background: #1B3A6B;
    color: white;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}

.contact-form button[type="submit"]:hover:not(:disabled) {
    background: #2A5298;
    transform: translateY(-2px);
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Required field indicator */
.required {
    color: #EF4444;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .notification-content {
        font-size: 0.9rem;
    }

    .notification-message {
        overflow-wrap: break-word;
    }
}
