.custom-alert-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(18, 18, 18, .52);
    backdrop-filter: blur(10px);
}

.custom-alert {
    position: relative;
    width: min(360px, 100%);
    border-radius: 22px;
    padding: 28px 22px 20px;
    background: #fff;
    text-align: center;
    direction: rtl;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
    animation: alertPop .22s ease-out;
    overflow: hidden;
}

.custom-alert::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 82px;
    background: linear-gradient(135deg, rgba(250,59,59,.14), rgba(255,151,2,.13));
    pointer-events: none;
}

.custom-alert .alert-close {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.82);
    color: #888;
    font-size: 22px;
    line-height: 28px;
    padding: 0;
}

.custom-alert .alert-icon {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 22px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-lin-kizil, linear-gradient(228deg, #fa3b3b, #ff6f6f));
    box-shadow: 0 12px 26px rgba(250, 59, 59, .24);
}

.custom-alert .alert-icon i {
    color: #fff;
    font-size: 34px;
}

.custom-alert h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    color: #222;
    font-size: 19px;
    line-height: 28px;
    font-weight: 800;
}

.custom-alert p {
    margin: 0;
    color: #6d6d6d;
    font-size: 13px;
    line-height: 22px;
    text-align: center;
    white-space: normal;
}

.custom-alert .alert-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.custom-alert .alert-benefits span {
    height: 28px;
    padding: 0 10px;
    border-radius: 14px;
    background: #f7f7f7;
    color: #777;
    font-size: 12px;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 5px;
}

.custom-alert .alert-benefits i {
    color: #16b989;
    font-size: 12px;
}

.custom-alert .btn-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.custom-alert button {
    border: 0;
    border-radius: 14px;
    height: 46px;
    font-size: 14px;
    font-weight: 800;
}

.custom-alert .btn-login {
    background: var(--bg-lin-kizil, linear-gradient(228deg, #fa3b3b, #ff6f6f));
    color: #fff;
    box-shadow: 0 10px 22px rgba(250, 59, 59, .22);
}

.custom-alert .btn-cancel {
    background: #f4f4f4;
    color: #777;
}

@keyframes alertPop {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 380px) {
    .custom-alert-backdrop {
        padding: 16px;
    }

    .custom-alert {
        border-radius: 20px;
        padding: 26px 18px 18px;
    }
}
