/* ===== Access token / license modal ===== */
.license-more-btn {
    margin-top: 12px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: #2d1a08;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(45,26,8,.18);
}

.license-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(18, 10, 4, .62);
    backdrop-filter: blur(8px);
}

    .license-modal-backdrop.open {
        display: flex;
    }

.license-modal {
    width: min(100%, 560px);
    max-height: calc(100svh - 36px);
    overflow: auto;
    border-radius: 28px;
    background: #fff8eb;
    border: 1px solid rgba(110,70,35,.20);
    box-shadow: 0 34px 90px rgba(0,0,0,.32);
    color: #2d1a08;
}

.license-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 24px 14px;
    border-bottom: 1px solid rgba(110,70,35,.12);
}

    .license-modal-header h3 {
        margin: 0;
        font-family: Georgia, serif;
        font-size: 28px;
        line-height: 1.05;
    }

    .license-modal-header p {
        margin: 8px 0 0;
        color: #674c36;
        line-height: 1.45;
    }

.license-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(45,26,8,.10);
    color: #2d1a08;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.license-modal-body {
    padding: 18px 24px 24px;
}

.license-demo-note {
    margin: 0 0 16px;
    padding: 13px 14px;
    border-radius: 16px;
    background: rgba(241,101,33,.10);
    color: #4b3423;
    font-weight: 800;
    line-height: 1.45;
}

.license-option-list {
    display: grid;
    gap: 10px;
}

.license-option {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(110,70,35,.12);
}

.license-option-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: #f3dfbd;
    font-size: 22px;
}

.license-option b {
    display: block;
    margin-bottom: 3px;
    color: #2d1a08;
}

.license-option span {
    display: block;
    font-size: 13px;
    line-height: 1.35;
    color: #674c36;
}

.license-option a {
    white-space: nowrap;
    padding: 9px 12px;
    border-radius: 999px;
    background: #f16521;
    color: #fff;
    font-weight: 900;
    font-size: 13px;
}

    .license-option a.secondary {
        background: #2d1a08;
    }

.license-small-note {
    margin: 16px 0 0;
    color: #765b43;
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 560px) {
    .license-modal-header, .license-modal-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .license-option {
        grid-template-columns: 38px 1fr;
    }

        .license-option a {
            grid-column: 1 / -1;
            text-align: center;
        }
}
