/**
 * Toast
 */
.contact-toast-container {
    z-index: 1100;
    width: min(420px, calc(100vw - 2rem));
}

/* Toast */
.contact-toast {
    width: 100%;
    max-width: 420px;
    margin-bottom: 0.75rem;
    padding: 0;
    background: rgba(20, 20, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.35),
        0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

/* Contenu */
.contact-toast__content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-height: 68px;
    padding: 0.85rem 1rem;
}

/* Icône */
.contact-toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Message */
.contact-toast__message {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.45;
}

/* Bouton fermer */
.contact-toast__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.contact-toast__close:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* SUCCESS */
.contact-toast--success {
    border-left: 3px solid #35c759;
}

.contact-toast--success .contact-toast__icon {
    color: #35c759;
    background: rgba(53, 199, 89, 0.12);
}

/* DANGER */
.contact-toast--danger {
    border-left: 3px solid #ff5c5c;
}

.contact-toast--danger .contact-toast__icon {
    color: #ff5c5c;
    background: rgba(255, 92, 92, 0.12);
}

/* WARNING */
.contact-toast--warning {
    border-left: 3px solid #ffb020;
}

.contact-toast--warning .contact-toast__icon {
    color: #ffb020;
    background: rgba(255, 176, 32, 0.12);
}

/* INFO */
.contact-toast--info {
    border-left: 3px solid #4da3ff;
}

.contact-toast--info .contact-toast__icon {
    color: #4da3ff;
    background: rgba(77, 163, 255, 0.12);
}

/* Mobile */
@media (max-width: 575.98px) {
    .contact-toast-container {
        top: 0;
        right: 0;
        left: 0;
        width: 100%;
        padding: 0.75rem;
    }

    .contact-toast {
        max-width: none;
    }
}