﻿.overlay_throttle_error {
    position: fixed;
    inset: 0;
    background: rgba(20, 24, 35, 0.5);
    backdrop-filter: blur(2px);
    z-index: 9998;
    display: none;
}

.popup_throttle_error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 440px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    display: none;
    direction: rtl;
    text-align: center;
    overflow: hidden;
}

.popup_throttle_error_container {
    padding: 28px 24px 22px 24px;
}

.popup_throttle_error_icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px auto;
    border-radius: 50%;
    background: linear-gradient(180deg, #f4f4f4 0%, #f4f4f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(198, 146, 20, 0.12);
}

    .popup_throttle_error_icon i {
        font-size: 34px;
        color: #333333;
    }

.popup_throttle_error_title {
    font-size: 28px;
    font-weight: 700;
    color: #1d2433;
    margin-bottom: 10px;
    line-height: 1.2;
}

.popup_throttle_error_text {
    font-size: 16px;
    color: #5b6474;
    line-height: 1.7;
    margin-bottom: 14px;
    padding: 0 4px;
}

.popup_throttle_error_timer {
    display: none;
    margin: 0 auto 18px auto;
    padding: 12px 16px;
    border-radius: 14px;
    background: #f4f4f4;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: inset 0 0 0 1px rgb(241 241 241 / 14%);
}

.popup_throttle_error_buttons {
    margin-top: 8px;
    display: flex;
    justify-content: center;
}

    .popup_throttle_error_buttons .CardField-button {
        width: 100%;
        height:40px;
        max-width: 120px;
        margin: 0 auto;
        display: block;
        border-radius: 25px;
        background:#bf2424
    }

@media (max-width: 480px) {
    .popup_throttle_error_container {
        padding: 24px 18px 18px 18px;
    }

    .popup_throttle_error_title {
        font-size: 24px;
    }

    .popup_throttle_error_text {
        font-size: 15px;
    }

    .popup_throttle_error_timer {
        font-size: 16px;
    }
}

.popup_throttle_error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 360px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    display: none;
    direction: rtl;
    text-align: center;
    overflow: hidden;
    opacity: 0;
}

    .popup_throttle_error.showPopupThrottle {
        animation: popupThrottleIn 0.35s cubic-bezier(.22,1,.36,1) forwards;
    }

@keyframes popupThrottleIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -42%) scale(0.88);
    }

    60% {
        opacity: 1;
        transform: translate(-50%, -51%) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}