﻿/* ===============================
   CONTACT ALERT (SUCCESS / ERROR)
   =============================== */

.contact-alert {
    max-width: 520px;
    margin: 0 auto 25px auto;
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f3136, #3a3d42);
    color: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    animation: slideDown 0.4s ease;
    position: relative;
}

    /* ICON */
    .contact-alert .icon {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* SUCCESS */
    .contact-alert.success {
        border-left: 4px solid #ffd700;
    }

        .contact-alert.success .icon {
            background: #ffd700;
            color: #1f1f1f;
        }

    /* ERROR */
    .contact-alert.error {
        border-left: 4px solid #ff6b6b;
    }

        .contact-alert.error .icon {
            background: #ff6b6b;
            color: #1f1f1f;
        }

/* ANIMATION */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade out */
.contact-alert.hide {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
