/* SweetAlert2 — Corecent sheet theme */
.cc-swal-wrap { font-family: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.swal2-container.cc-swal-wrap.swal2-backdrop-show { background: rgba(27, 22, 64, .42); }

.cc-swal {
    font-family: inherit;
    color: #1b1640;
    background: #fff;
    border-radius: 20px;
    padding: 22px 20px 20px;
    box-shadow: 0 20px 50px rgba(27, 22, 64, .22);
}
.swal2-container.swal2-bottom.cc-swal-wrap { padding: 0; }
.cc-swal.cc-swal-sheet {
    width: min(100%, 430px);
    margin: 0;
    border-radius: 22px 22px 0 0;
    padding: 26px 20px 22px;
    position: relative;
}
.cc-swal.cc-swal-sheet::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    width: 38px;
    height: 4px;
    margin-left: -19px;
    border-radius: 4px;
    background: #dcd9e6;
}

.cc-swal .cc-swal-icon {
    font-size: 11px;
    margin: 4px auto 12px;
}
.cc-swal .swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: #12b76a; }
.cc-swal .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(18, 183, 106, .25); }
.cc-swal .swal2-icon.swal2-error { border-color: #f04438; color: #f04438; }
.cc-swal .swal2-icon.swal2-error [class^="swal2-x-mark-line"] { background-color: #f04438; }
.cc-swal .swal2-icon.swal2-warning { border-color: #f5b100; color: #f5b100; }
.cc-swal .swal2-icon.swal2-info,
.cc-swal .swal2-icon.swal2-question { border-color: #5b4dff; color: #5b4dff; }
.cc-swal .cc-swal-title {
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1b1640;
}
.cc-swal .cc-swal-text {
    margin: 6px 0 0;
    padding: 0;
    font-size: .8rem;
    line-height: 1.55;
    color: #6f6b80;
    text-align: center;
    white-space: normal;
}

.cc-swal .cc-swal-actions {
    width: 100%;
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 10px;
    margin: 18px 0 0;
}
.cc-swal-btn {
    min-height: 44px;
    margin: 0;
    border-radius: 10px;
    font-family: inherit;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
}
.cc-swal-btn:focus { outline: none; }
.cc-swal-btn:focus-visible { box-shadow: 0 0 0 3px rgba(91, 77, 255, .25); }
.cc-swal-btn-primary { border: 0; background: #f5b100; color: #1b1640; }
.cc-swal-btn-primary:hover { background: #e6a600; }
.cc-swal-btn-ghost { border: 1px solid #d9d6e5; background: #fff; color: #1b1640; }
.cc-swal-btn-ghost:hover { background: #f8f7fc; }

.cc-swal.cc-swal-busy {
    width: 250px;
    padding: 26px 20px 22px;
}
.cc-swal.cc-swal-busy .swal2-actions { margin: 0 0 14px; order: -1; }
.cc-swal .cc-swal-loader {
    width: 44px;
    height: 44px;
    border-width: 4px;
    border-color: #5b4dff rgba(91, 77, 255, .15) rgba(91, 77, 255, .15);
}
.cc-swal.cc-swal-busy .cc-swal-title { font-size: .92rem; }
.cc-swal.cc-swal-busy .cc-swal-text { font-size: .74rem; }

.cc-swal-toast {
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(27, 22, 64, .16) !important;
}
.cc-swal-toast .swal2-title { font-size: .8rem !important; font-weight: 500; color: #1b1640; }

@keyframes cc-swal-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cc-swal-down { from { transform: none; opacity: 1; } to { transform: translateY(24px); opacity: 0; } }
.cc-swal-in { animation: cc-swal-up .22s ease-out; }
.cc-swal-out { animation: cc-swal-down .16s ease-in forwards; }

/* legacy classes kept for other layouts */
.corecent-swal-modal .corecent-swal-text { white-space: pre-wrap; text-align: left; font-size: 0.9rem; color: #1a2332; }
.corecent-swal-modal .swal2-title { font-size: 1.05rem; font-weight: 600; color: #214D77; }
