/* =========================================================
   SWEETALERT - SIGPEC
   ========================================================= */

.sigpec-swal {
    width: 420px !important;
    max-width: calc(100vw - 32px) !important;
    padding: 1.6rem 1.7rem 1.4rem !important;
    border-radius: 16px !important;
    border: 1px solid #e8eaed !important;
    background: #ffffff !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}


    /* =========================================================
   ICÔNE
   ========================================================= */

    .sigpec-swal .swal2-icon {
        width: 54px !important;
        height: 54px !important;
        margin: 0 auto 1rem !important;
        border-width: 3px !important;
    }

    .sigpec-swal .swal2-icon-content {
        font-size: 2rem !important;
    }


/* =========================================================
   TITRE
   ========================================================= */

.sigpec-swal-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #202124 !important;
}


/* =========================================================
   CONTENU
   ========================================================= */

.sigpec-swal-content {
    margin: 0.65rem 0 0 !important;
    padding: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    color: #5f6368 !important;
}


/* =========================================================
   MESSAGE ERREUR
   ========================================================= */

.sigpec-swal-message {
    text-align: center;
}


/* =========================================================
   LISTE DES ERREURS
   ========================================================= */

.sigpec-swal-error-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

    .sigpec-swal-error-list li {
        position: relative;
        margin-bottom: 0.55rem;
        padding: 0.65rem 0.75rem 0.65rem 2rem;
        border-radius: 8px;
        background: #fff5f5;
        color: #b42318;
        font-size: 0.88rem;
        line-height: 1.45;
    }

        .sigpec-swal-error-list li:last-child {
            margin-bottom: 0;
        }

        .sigpec-swal-error-list li::before {
            content: "!";
            position: absolute;
            left: 0.75rem;
            top: 50%;
            width: 17px;
            height: 17px;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #d92d20;
            color: #ffffff;
            font-size: 0.7rem;
            font-weight: 700;
        }


/* =========================================================
   SUCCESS
   ========================================================= */

.sigpec-swal-success {
    border-top: 4px solid #12b76a !important;
}


/* =========================================================
   ERROR
   ========================================================= */

.sigpec-swal-error {
    border-top: 4px solid #d92d20 !important;
}


/* =========================================================
   TIMER
   ========================================================= */

.sigpec-swal-progress {
    height: 3px !important;
    opacity: 0.9 !important;
}

.sigpec-swal-success .sigpec-swal-progress {
    background: #12b76a !important;
}

.sigpec-swal-error .sigpec-swal-progress {
    background: #d92d20 !important;
}


/* =========================================================
   ANIMATION LÉGÈRE
   ========================================================= */

.swal2-show.sigpec-swal {
    animation: sigpecSwalIn 0.22s ease-out !important;
}

.swal2-hide.sigpec-swal {
    animation: sigpecSwalOut 0.18s ease-in !important;
}

@keyframes sigpecSwalIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sigpecSwalOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateY(5px) scale(0.98);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {
    .sigpec-swal {
        width: calc(100vw - 24px) !important;
        padding: 1.4rem 1.2rem 1.2rem !important;
        border-radius: 13px !important;
    }

    .sigpec-swal-title {
        font-size: 1.05rem !important;
    }

    .sigpec-swal-content {
        font-size: 0.88rem !important;
    }

    .sigpec-swal-error-list li {
        font-size: 0.84rem;
    }
}

