.sweet-overlay {
    background: rgba(8, 17, 31, 0.58) !important;
    backdrop-filter: blur(8px);
}

.sweet-alert,
.swal-modal {
    width: min(92vw, 430px) !important;
    border-radius: 28px !important;
    border: 1px solid rgba(255, 255, 255, 0.78) !important;
    background: #ffffff !important;
    box-shadow: 0 28px 90px rgba(8, 17, 31, 0.24) !important;
    overflow: hidden;
    font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
}

.sweet-alert::before,
.swal-modal::before {
    content: "";
    display: block;
    height: 7px;
    margin: -17px -17px 20px;
    background: linear-gradient(90deg, #185cff, #12c8ba, #ff1446);
}

.sweet-alert h2,
.swal-title {
    margin-top: 6px !important;
    color: #08111f !important;
    font-size: 25px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.sweet-alert p,
.swal-text {
    color: #64748b !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

.sweet-alert .sa-icon,
.swal-icon {
    margin: 16px auto 18px !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.sweet-alert .sa-icon.sa-success,
.swal-icon--success {
    border-color: rgba(18, 200, 186, 0.45) !important;
    background: rgba(18, 200, 186, 0.1);
}

.sweet-alert .sa-icon.sa-error,
.swal-icon--error {
    border-color: rgba(255, 20, 70, 0.42) !important;
    background: rgba(255, 20, 70, 0.08);
}

.sweet-alert .sa-icon.sa-warning,
.swal-icon--warning {
    border-color: rgba(245, 158, 11, 0.45) !important;
    background: rgba(245, 158, 11, 0.1);
}

.sweet-alert .sa-icon.sa-info,
.swal-icon--info {
    border-color: rgba(24, 92, 255, 0.45) !important;
    background: rgba(24, 92, 255, 0.08);
}

.sweet-alert button,
.swal-button {
    min-width: 118px;
    height: 46px;
    padding: 0 20px !important;
    border: 0 !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #185cff, #ff1446) !important;
    box-shadow: 0 16px 34px rgba(24, 92, 255, 0.22) !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
}

.sweet-alert button.cancel,
.swal-button--cancel {
    color: #334155 !important;
    background: #eef2f7 !important;
    box-shadow: none !important;
}

.sweet-alert button:hover,
.swal-button:hover {
    transform: translateY(-1px);
}

.bd-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 48px 16px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    color: #334155;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.bd-alert::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--bd-alert-accent, #185cff);
}

.bd-alert-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--bd-alert-accent, #185cff);
    background: var(--bd-alert-soft, rgba(24, 92, 255, 0.1));
}

.bd-alert-body strong,
.bd-alert-body span {
    display: block;
}

.bd-alert-body strong {
    color: #08111f;
    font-size: 14px;
    font-weight: 900;
}

.bd-alert-body span {
    margin-top: 4px;
    color: #64748b;
    font-weight: 700;
    line-height: 1.5;
}

.bd-alert-success {
    --bd-alert-accent: #12c8ba;
    --bd-alert-soft: rgba(18, 200, 186, 0.12);
}

.bd-alert-danger {
    --bd-alert-accent: #ff1446;
    --bd-alert-soft: rgba(255, 20, 70, 0.1);
}

.bd-alert-info {
    --bd-alert-accent: #185cff;
    --bd-alert-soft: rgba(24, 92, 255, 0.1);
}

.bd-alert-warning {
    --bd-alert-accent: #f59e0b;
    --bd-alert-soft: rgba(245, 158, 11, 0.12);
}

.bd-alert .close {
    position: absolute;
    top: 11px;
    right: 12px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #64748b;
    background: #f8fafc;
    opacity: 1;
    text-shadow: none;
}
