.hb-session-modal-open {
    overflow: hidden;
}

.hb-session-overlay {
    position: fixed;
    inset: 0;
    z-index: 160000;
    background: rgba(7, 24, 12, 0.58);
}

.hb-session-modal {
    position: fixed;
    width: min(540px, calc(100vw - 32px));
    padding: 28px 30px 24px;
    border-radius: 16px;
    border: 1px solid #0f4c24;
    background: linear-gradient(180deg, #ffffff 0%, #f3f7f1 100%);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
    color: #183120;
}

.hb-session-modal__accent {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #0d6130 0%, #0a4b24 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hb-session-modal__accent::before {
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #f2d279;
    border-top-color: transparent;
    display: block;
}

.hb-session-modal__title {
    margin: 0 0 10px;
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    color: #15391f;
}

.hb-session-modal__text {
    margin: 0 auto;
    max-width: 420px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: #375240;
}

.hb-session-modal__timer {
    margin: 22px auto 0;
    padding: 16px 18px;
    max-width: 280px;
    border-radius: 12px;
    background: #edf4ea;
    border: 1px solid #d6e4d2;
    text-align: center;
}

.hb-session-modal__timer-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #476252;
}

.hb-session-modal__timer-value {
    display: block;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #8a1f1b;
    letter-spacing: 0.06em;
}

.hb-session-modal__actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hb-session-btn {
    min-width: 180px;
    border: 0;
    border-radius: 9px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.hb-session-btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.hb-session-btn:disabled {
    opacity: 0.68;
    cursor: wait;
}

.hb-session-btn--primary {
    background: linear-gradient(180deg, #0c5f32 0%, #0a4826 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(12, 95, 50, 0.2);
}

.hb-session-btn--secondary {
    background: linear-gradient(180deg, #8f2520 0%, #6d1915 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(143, 37, 32, 0.18);
}

@media (max-width: 768px) {
    .hb-session-modal {
        padding: 24px 18px 20px;
    }

    .hb-session-modal__title {
        font-size: 23px;
    }

    .hb-session-modal__timer-value {
        font-size: 28px;
    }

    .hb-session-btn {
        width: 100%;
        min-width: 0;
    }
}
