
.book-choice-backdrop {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(9, 25, 18, .58);
    backdrop-filter: blur(3px);
}

.book-choice-modal {
    position: fixed;
    inset: 0;
    z-index: 12001;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow-y: auto;
}

.book-choice-modal[hidden],
.book-choice-backdrop[hidden] {
    display: none !important;
}

.book-choice-card {
    position: relative;
    width: min(560px, 100%);
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
}

.book-choice-card h2 {
    margin: 5px 42px 8px 0;
}

.book-choice-intro {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.55;
}

.book-choice-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(13, 43, 32, .07);
    color: var(--green-950);
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.book-choice-options {
    display: grid;
    gap: 11px;
}

.book-choice-option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(13, 43, 32, .13);
    border-radius: 18px;
    background: #fff;
    color: var(--green-950);
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.book-choice-option:hover {
    transform: translateY(-1px);
    border-color: rgba(13, 43, 32, .35);
    box-shadow: 0 10px 24px rgba(16, 39, 29, .08);
}

.book-choice-lesson {
    background: rgba(213, 232, 86, .20);
    border-color: rgba(114, 139, 20, .28);
}

.book-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(13, 43, 32, .07);
    font-size: 22px;
}

.book-choice-option strong,
.book-choice-option small {
    display: block;
}

.book-choice-option strong {
    font-size: 16px;
    margin-bottom: 3px;
}

.book-choice-option small {
    color: var(--muted);
    line-height: 1.35;
}

.book-choice-arrow {
    font-size: 22px;
    font-weight: 800;
}

body.book-choice-open {
    overflow: hidden !important;
}

@media (max-width: 560px) {
    .book-choice-modal {
        padding: 13px;
    }

    .book-choice-card {
        padding: 23px 17px 17px;
        border-radius: 21px;
    }

    .book-choice-option {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        padding: 14px 12px;
        gap: 10px;
    }

    .book-choice-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 19px;
    }

    .book-choice-option strong {
        font-size: 15px;
    }

    .book-choice-option small {
        font-size: 12px;
    }
}
