/* ============================================================
   Стили модального окна «Урок недоступен»
   ============================================================ */

/* ===== Модальное окно ===== */
.la-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.la-modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.la-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.la-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}
.la-modal-close:hover {
    color: #333;
}
.la-modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.la-modal-content h3 {
    margin: 0 0 8px;
    font-size: 20px;
}
.la-modal-content p {
    color: #666;
    margin: 0 0 24px;
    font-size: 15px;
}

/* ===== Подсказка про авторизацию ===== */
.la-auth-hint {
    background: #fff7f0;
    border: 1px solid #fde0c2;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}
.la-auth-hint-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.la-auth-hint p {
    color: #333;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== Кнопка в модалке ===== */
.la-btn-close-modal {
    display: inline-block;
    background: #e8760a;
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.la-btn-close-modal:hover {
    background: #d06a08;
}

/* ============================================================
   Переопределения только для модалки покупки уроков
   ============================================================ */

/* Окно чуть шире, чтобы текст не зажимался */
#la-buy-modal .la-modal-content {
    max-width: 560px;
}

/* Подсказку выравниваем по левому краю — читается легче */
#la-buy-modal .la-auth-hint p {
    text-align: left;
    margin-bottom: 8px;
}
#la-buy-modal .la-auth-hint p:last-child {
    margin-bottom: 0;
}

/* Иконку 💎 оставляем по центру */
#la-buy-modal .la-auth-hint-icon {
    text-align: center;
}

/* Курсор-палец на заблокированных уроках (div с onclick) */
.lesson-row[onclick] {
    cursor: pointer;
}

/* ===== Адаптив ===== */
@media (max-width: 600px) {
    .la-modal-content {
        padding: 28px 20px;
    }
}