.sas-question-mark {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    margin-left: 8px;
    font-weight: bold;
}

/* ЗАДНИЙ ФОН (Затемнение и размытие на весь экран) */
.sas-modal-overlay {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow: auto;
    
    /* Центрируем внутреннее контентное окно ровно по центру экрана */
    display: none; /* Управляется через JS (будет flex) */
    justify-content: center;
    align-items: center;
    
    /* Анимация плавного появления самого фона */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Когда JS добавляет класс active — фон плавно проявляется */
.sas-modal-overlay.active {
    opacity: 1;
}

/* САМО КОНТЕНТНОЕ ОКНО (Вылетает отдельно из песчинки) */
.sas-modal-content {
    background: #222; /* Поставил темный для примера, измени на свой (например #fff) */
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    
    /* Изначально окно сжато в точку (scale 0) и прозрачное */
    transform: scale(0);
    opacity: 0;
    
    /* Плавный переход: transform с эффектом отскока, opacity — просто плавно */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Когда оверлей активен, окно внутри него разжимается до оригинального размера */
.sas-modal-overlay.active .sas-modal-content {
    transform: scale(1);
    opacity: 1;
}

/* Кнопка закрытия (крестик) */
.sas-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: color 0.2s;
}

.sas-close:hover {
    color: #fff;
}

.sas-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    font-family: sans-serif;
}

.sas-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(32, 201, 151, 0.08);
    border: none;
    color: #666;
    font-size: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sas-close:hover{
    background: rgba(32, 201, 151, 0.15);
    color: #20c997;
    transform: rotate(90deg);
}

.sas-plan-checker {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    gap: 10px;
}

.sas-plan-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background: #f4f7f9;
    border: 1px solid #eee;
}

.sas-plan-name {
    font-size: 12px;
    margin-bottom: 5px;
    color: #666;
}

.sas-plan-status {
    font-weight: bold;
    font-size: 14px;
}
