.monah-content-option__label {padding: 0 10px 0 0;}

.monah-login-page {
    --monah-login-bg: #f1f3f6;
    --monah-login-shell: #f6f8fb;
    --monah-login-border: #d7deea;
    --monah-login-text: #0f2f52;
    --monah-login-muted: #8a98aa;
    --monah-login-primary: #2f8cf2;
    --monah-login-primary-hover: #1f78db;
    display: flex;
    justify-content: center;
    padding: 34px 10px;
    background: transparent;
}

.monah-login-shell {
    width: 100%;
    max-width: 336px;
}

.monah-login-title {
    margin: 0 0 14px;
    color: var(--monah-login-text);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.monah-login-social {
    width: 100%;
    min-height: 37px;
    border: 1px solid var(--monah-login-border);
    border-radius: 5px;
    background: #fff;
    color: #12395f;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.monah-login-social + .monah-login-social {
    margin-top: 7px;
}

.monah-login-social:hover,
.monah-login-social:focus {
    border-color: #b8c7dd;
    box-shadow: 0 0 0 3px rgba(47, 140, 242, 0.08);
}

.monah-login-social.is-busy {
    opacity: 0.65;
    cursor: wait;
}

.monah-login-social__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.monah-login-social__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.monah-login-divider {
    margin: 13px 0;
    color: var(--monah-login-muted);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.monah-login-divider::before,
.monah-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #cfd8e5;
}

.monah-login-form {
    display: grid;
    gap: 8px;
}

.monah-login-input {
    width: 100%;
    min-height: 38px;
    border-radius: 5px;
    border: 1px solid var(--monah-login-border);
    padding: 0 17px;
    font-size: 11px;
    color: #233f5a;
    background: #fff;
}

.monah-login-input:focus,
.monah-login-submit:focus,
.monah-login-social:focus,
.monah-login-eye:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47, 140, 242, 0.15);
}

.monah-login-input::placeholder {
    color: #94a2b4;
}

.monah-login-password-wrap {
    position: relative;
}

.monah-login-eye {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    width: 23px;
    height: 23px;
    color: #98a5b4;
    cursor: pointer;
    padding: 0;
    border-radius: 5px;
}

.monah-login-eye svg {
    width: 100%;
    height: 100%;
}

.monah-login-actions {
    margin-top: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.monah-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #173c63;
    font-size: 11px;
    font-weight: 500;
}

.monah-login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.monah-login-submit {
    min-width: 79px;
    min-height: 38px;
    border: none;
    border-radius: 6px;
    color: #fff;
    background: var(--monah-login-primary);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 13px;
    transition: background-color 0.2s ease;
}

.monah-login-submit:hover,
.monah-login-submit:focus {
    background: var(--monah-login-primary-hover);
}

.monah-login-error {
    margin: 6px 0 0;
    color: #b41d20;
    font-size: 8px;
}

.monah-login-footer {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid #cfd8e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.monah-login-footer p {
    margin: 0;
    color: #738299;
    font-size: 10px;
}

.monah-login-footer a {
    color: #2f8cf2;
    text-decoration: none;
    font-weight: 500;
}

.monah-login-footer a:hover,
.monah-login-footer a:focus {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .monah-login-page {
        padding-top: 18px;
    }

    .monah-login-title {
        font-size: 22px;
        margin-bottom: 11px;
    }

    .monah-login-social,
    .monah-login-input,
    .monah-login-submit {
        min-height: 31px;
        font-size: 10px;
    }

    .monah-login-remember {
        font-size: 10px;
    }

    .monah-login-remember input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }

    .monah-login-submit {
        min-width: 71px;
    }

    .monah-login-divider,
    .monah-login-footer p {
        font-size: 9px;
    }
}

.monah-user-page {
    margin: 10px auto;
    padding: 0 16px;
    font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", sans-serif;
}

.monah-user-dashboard {
    --monah-ui-bg: #f4f7fb;
    --monah-ui-card: #ffffff;
    --monah-ui-line: #d9e2ee;
    --monah-ui-text: #163459;
    --monah-ui-muted: #6f8299;
    --monah-ui-primary: #3d9bf5;
    --monah-ui-primary-strong: #2282df;
    --monah-ui-success: #2a9f71;
    background: radial-gradient(circle at 10% 0%, #f7fbff 0%, #f3f6fb 58%, #eef3f9 100%);
    border-radius: 18px;
    border: 1px solid #e0e8f3;
    box-shadow: 0 14px 40px rgba(24, 56, 99, 0.08);
    padding: 12px;
    zoom: 0.7;
}

@supports not (zoom: 1) {
    .monah-user-dashboard {
        transform: scale(0.7);
        transform-origin: top center;
        width: calc(100% / 0.7);
        margin-left: calc((100% - (100% / 0.7)) / 2);
    }
}

.monah-user-header {
    position: relative;
    margin-bottom: 14px;
}

.monah-user-cover {
    height: 170px;
    border-radius: 14px;
    background: linear-gradient(120deg, #317ecf 0%, #4ea2f5 56%, #79c6ff 100%);
    overflow: hidden;
}

.monah-user-cover::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 44%;
    height: 170px;
    background: linear-gradient(170deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    clip-path: polygon(32% 0, 100% 0, 100% 100%, 0 100%);
}

.monah-user-profile {
    position: relative;
    margin-top: -78px;
    padding: 0 18px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
}

.monah-user-avatar {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 12px 24px rgba(11, 40, 77, 0.18);
    background: #d9e7f8;
}

.monah-user-profile__meta {
    margin-bottom: 16px;
    color: #fff;
}

.monah-user-profile__meta h2 {
    margin: 0 0 40px 0;
    font-size: 42px;
    letter-spacing: -0.03em;
    color: #fff;
}

.monah-user-profile__meta p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
}

.monah-user-role {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(236, 246, 255, 0.92);
    color: #21598e;
    font-size: 14px;
    font-weight: 700;
}

.monah-user-tabs {
    display: flex;
    gap: 8px;
    margin: 8px 0 14px;
    padding: 0 8px;
    border-bottom: 1px solid #dce6f2;
}

.monah-user-tab {
    appearance: none;
    border: none;
    background: transparent;
    color: #7288a2;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    padding: 10px 14px 12px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.monah-user-tab.is-active {
    color: #2a76cb;
    border-bottom-color: #2a93ef;
}

.monah-user-notice {
    padding: 10px 12px;
    border-radius: 10px;
    margin: 0 8px 14px;
    font-size: 15px;
}

.monah-user-notice.is-success {
    background: #e9f8f0;
    color: #1f7a4c;
    border: 1px solid #b8e1c7;
}

.monah-user-notice.is-error {
    background: #fff0ef;
    color: #b32d2e;
    border: 1px solid #f0c1be;
}

.monah-user-panel {
    padding: 0 8px 8px;
}

.monah-user-panel[hidden] {
    display: none;
}

.monah-user-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 1.85fr);
    gap: 14px;
}

.monah-user-column {
    display: grid;
    gap: 14px;
    align-content: start;
}

.monah-user-card {
    background: var(--monah-ui-card);
    border: 1px solid var(--monah-ui-line);
    border-radius: 13px;
    padding: 15px;
}

.monah-user-card h3 {
    margin: 0 0 12px;
    color: var(--monah-ui-text);
    font-size: 32px;
    letter-spacing: -0.03em;
}

.monah-user-list,
.monah-membership-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.monah-user-list li,
.monah-membership-meta li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed #e4ebf4;
    padding-bottom: 7px;
}

.monah-user-list li:last-child,
.monah-membership-meta li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.monah-user-list span,
.monah-membership-meta span {
    color: #6f8198;
    font-size: 20px;
}

.monah-user-list strong,
.monah-membership-meta strong {
    color: #17395f;
    font-size: 20px;
    text-align: right;
}

.monah-user-logout,
.monah-user-form button,
.monah-user-guard__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 42px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--monah-ui-primary) 0%, #47adff 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 0 15px;
    cursor: pointer;
}

.monah-user-logout,
.monah-user-form button {
    margin-top: 10px;
}

.monah-user-logout:hover,
.monah-user-form button:hover,
.monah-user-guard__cta:hover {
    background: linear-gradient(120deg, var(--monah-ui-primary-strong) 0%, #2f95ef 100%);
    color: #fff;
}

.monah-score-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.monah-score-item {
    min-height: 44px;
    border-radius: 9px;
    padding: 9px 12px;
    margin-top: 8px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.monah-score-item--sw {
    align-items: stretch;
    flex-direction: column;
}

.monah-score-item__head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.monah-score-item__subgrid {
    width: 100%;
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 18px;
    font-weight: 600;
}

.monah-score-item__subgrid span {
    display: inline-flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.monah-score-item__subgrid b {
    font-size: 25px;
    font-weight: 800;
}

.monah-score-item strong {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.monah-score-item.is-red {
    background: linear-gradient(120deg, #ff6d67, #ef5457);
}

.monah-score-item.is-green {
    background: linear-gradient(120deg, #33be98, #18a780);
}

.monah-score-item.is-amber {
    background: linear-gradient(120deg, #f9c14f, #f5a622);
}

.monah-score-item.is-blue {
    background: linear-gradient(120deg, #56b8ff, #3995f0);
}

.monah-membership-card h3 {
    font-size: 38px;
    margin-bottom: 0;
}

.monah-membership-card {
    border-color: #efdcb8;
    background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
}

.monah-membership-card .monah-membership-head h3 {
    color: #7a4f0d;
}

.monah-membership-card .monah-membership-meta li {
    border-bottom-color: #f0e3cd;
}

.monah-membership-card .monah-membership-meta span {
    color: #9a7b43;
}

.monah-membership-card .monah-membership-meta strong {
    color: #5e3f10;
}

.monah-membership-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.monah-membership-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 12px;
    border-radius: 8px;
    background: linear-gradient(120deg, #ffaa39, #f39420);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
}



.monah-table-head {
    margin-bottom: 8px;
}

.monah-table-head h3 {
    margin: 0;
}

.monah-table-wrap {
    overflow-x: auto;
}

.monah-user-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e0e8f3;
    border-radius: 10px;
    overflow: hidden;
}

.monah-user-table th,
.monah-user-table td {
    padding: 11px 12px;
    text-align: left;
    font-size: 17px;
    color: #334e6c;
    border-bottom: 1px solid #edf2f8;
}

.monah-user-table th {
    background: #f3f7fc;
    color: #6d8299;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.monah-user-table tbody tr:last-child td {
    border-bottom: none;
}

.monah-user-card--toeic-speaking-practice {
    border: 1px solid #d7eadf;
    background: linear-gradient(180deg, #f3fbf6 0%, #ffffff 100%);
}

.monah-user-card--toeic-speaking-practice .monah-table-head h3 {
    color: #1f6a43;
}

.monah-user-table--toeic-speaking-practice {
    border-color: #cfe6d9;
}

.monah-user-table--toeic-speaking-practice th {
    background: linear-gradient(180deg, #e4f5ea 0%, #d8ecdf 100%);
    color: #3c6f54;
}

.monah-user-table--toeic-speaking-practice tbody tr:nth-child(odd) td {
    background: #f9fffb;
}

.monah-user-table--toeic-speaking-practice tbody tr:hover td {
    background: #eefbf3;
}

.monah-user-card--toeic-writing-practice {
    border: 1px solid #f0deca;
    background: linear-gradient(180deg, #fff9f1 0%, #ffffff 100%);
}

.monah-user-card--toeic-writing-practice .monah-table-head h3 {
    color: #8a5a1f;
}

.monah-user-table--toeic-writing-practice {
    border-color: #efdcc3;
}

.monah-user-table--toeic-writing-practice th {
    background: linear-gradient(180deg, #f9ecd9 0%, #f3e2c8 100%);
    color: #8e6833;
}

.monah-user-table--toeic-writing-practice tbody tr:nth-child(odd) td {
    background: #fffdf9;
}

.monah-user-table--toeic-writing-practice tbody tr:hover td {
    background: #fff6e9;
}

.monah-user-card--toeic-sw {
    border: 1px solid #f1d5de;
    background: linear-gradient(180deg, #fff7fa 0%, #fff 100%);
}

.monah-user-card--toeic-sw .monah-table-head h3 {
    color: #7f2f4e;
}

.monah-user-table--toeic-sw {
    border-color: #f0d7e0;
}

.monah-user-table--toeic-sw th {
    background: linear-gradient(180deg, #fbe8ef 0%, #f7e1e9 100%);
    color: #84506a;
}

.monah-user-table--toeic-sw tbody tr:nth-child(odd) td {
    background: #fffafd;
}

.monah-user-table--toeic-sw tbody tr:hover td {
    background: #fff0f6;
}

.monah-pass-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 7px;
    padding: 0 10px;
    background: #e8f8f2;
    color: var(--monah-ui-success);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.monah-fail-pill,
.monah-progress-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 7px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.monah-fail-pill {
    background: #ffecef;
    color: #b42318;
}

.monah-progress-pill {
    background: #e8f0ff;
    color: #1d4ed8;
}

.monah-sw-level-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.monah-sw-level-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    padding: 0 9px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.monah-sw-level-badge--high {
    background: #e8f8f2;
    color: #027a48;
}

.monah-sw-level-badge--mid {
    background: #fff4e6;
    color: #b54708;
}

.monah-sw-level-badge--low {
    background: #ffecef;
    color: #b42318;
}

.monah-sw-level-badge--unknown {
    background: #eef2f8;
    color: #516176;
}

.monah-user-card--toeic-lr {
    border: 1px solid #bfdaf5;
    background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.monah-user-card--toeic-lr .monah-table-head h3 {
    color: #1f4f82;
}

.monah-user-table--toeic-lr {
    border-color: #c6ddf3;
}

.monah-user-table--toeic-lr th {
    background: linear-gradient(180deg, #dfefff 0%, #d4e7fb 100%);
    color: #3d6081;
}

.monah-user-table--toeic-lr tbody tr:nth-child(odd) td {
    background: #fbfdff;
}

.monah-user-table--toeic-lr tbody tr:hover td {
    background: #f2f8ff;
}

    .monah-user-card--ielts-speaking {
        border: 1px solid #d8deee;
        background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
    }

    .monah-user-card--ielts-speaking .monah-table-head h3 {
        color: #1f3556;
    }

    .monah-user-table--ielts-speaking {
        border-color: #d7e1ef;
    }

    .monah-user-table--ielts-speaking th {
        background: linear-gradient(180deg, #e8f0fb 0%, #dce9f8 100%);
        color: #446a90;
    }

    .monah-user-table--ielts-speaking tbody tr:nth-child(odd) td {
        background: #f9fcff;
    }

    .monah-user-table--ielts-speaking tbody tr:hover td {
        background: #eff6fd;
    }

.monah-user-form {
    display: grid;
    gap: 8px;
}

.monah-user-form label {
    font-size: 14px;
    color: #60748f;
}

.monah-user-form input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #d7deea;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 15px;
}

.monah-user-form input:focus,
.monah-user-tab:focus,
.monah-user-logout:focus,
.monah-user-form button:focus,
.monah-user-guard__cta:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 155, 245, 0.2);
}

.monah-user-empty {
    margin: 0;
    color: #738299;
    font-size: 15px;
}

.monah-user-guard {
    max-width: 420px;
    margin: 18px auto;
    padding: 18px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    text-align: center;
    background: #fff;
}

.monah-user-guard p {
    margin: 0 0 12px;
    color: #60748f;
    font-size: 15px;
}

@media (max-width: 980px) {
    .monah-user-grid {
        grid-template-columns: 1fr;
    }

    .monah-user-profile {
        margin-top: -58px;
    }

    .monah-user-avatar {
        width: 124px;
        height: 124px;
    }

    .monah-user-profile__meta h2 {
        font-size: 34px;
    }

    .monah-membership-card h3,
    .monah-user-card h3 {
        font-size: 28px;
    }
}

@media (max-width: 700px) {
    .monah-user-page {
        padding: 0 10px;
    }

    .monah-user-dashboard {
        padding: 8px;
    }

    .monah-user-cover {
        height: 136px;
    }

    .monah-user-cover::after {
        height: 136px;
        width: 56%;
    }

    .monah-user-profile {
        padding: 0 10px;
        gap: 10px;
        margin-top: -44px;
    }

    .monah-user-avatar {
        width: 94px;
        height: 94px;
        border-width: 4px;
    }

    .monah-user-profile__meta {
        margin-bottom: 6px;
    }

    .monah-user-profile__meta h2 {
        font-size: 25px;
    }

    .monah-user-profile__meta p {
        font-size: 15px;
    }

    .monah-user-tab {
        font-size: 15px;
        padding: 8px 10px 10px;
    }

    .monah-user-card,
    .monah-user-panel {
        padding-left: 10px;
        padding-right: 10px;
    }

    .monah-user-card h3,
    .monah-membership-card h3 {
        font-size: 22px;
    }

    .monah-score-item strong {
        font-size: 24px;
    }

    .monah-score-item__subgrid {
        grid-template-columns: 1fr;
    }

    .monah-user-table th,
    .monah-user-table td {
        font-size: 14px;
        padding: 9px 8px;
    }

    .monah-user-dashboard .monah-table-wrap {
        overflow: visible;
    }

    .monah-user-dashboard .monah-user-table {
        border: none;
        border-radius: 0;
        background: transparent;
    }

    .monah-user-dashboard .monah-user-table thead {
        display: none;
    }

    .monah-user-dashboard .monah-user-table,
    .monah-user-dashboard .monah-user-table tbody,
    .monah-user-dashboard .monah-user-table tr,
    .monah-user-dashboard .monah-user-table td {
        display: block;
        width: 100%;
    }

    .monah-user-dashboard .monah-user-table tr {
        margin-bottom: 10px;
        border: 1px solid #d9e4f0;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
    }

    .monah-user-dashboard .monah-user-table tr:last-child {
        margin-bottom: 0;
    }

    .monah-user-dashboard .monah-user-table td {
        border-bottom: 1px solid #edf2f8;
        text-align: right;
        padding: 10px 12px;
        min-height: 42px;
        position: relative;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .monah-user-dashboard .monah-user-table td:last-child {
        border-bottom: none;
    }

    .monah-user-dashboard .monah-user-table td::before {
        content: '';
        position: absolute;
        left: 12px;
        top: 10px;
        width: 44%;
        text-align: left;
        color: #5e748f;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .monah-user-table--toeic-speaking-practice td:nth-child(1)::before,
    .monah-user-table--toeic-writing-practice td:nth-child(1)::before,
    .monah-user-table--toeic-sw td:nth-child(1)::before,
    .monah-user-table--toeic-lr td:nth-child(1)::before {
        content: 'Test Name';
    }

    .monah-user-table--toeic-speaking-practice td:nth-child(2)::before,
    .monah-user-table--toeic-writing-practice td:nth-child(2)::before,
    .monah-user-table--toeic-sw td:nth-child(2)::before,
    .monah-user-table--toeic-lr td:nth-child(2)::before {
        content: 'Date';
    }

    .monah-user-table--toeic-speaking-practice td:nth-child(3)::before,
    .monah-user-table--toeic-writing-practice td:nth-child(3)::before {
        content: 'Score';
    }

    .monah-user-table--toeic-speaking-practice td:nth-child(4)::before,
    .monah-user-table--toeic-writing-practice td:nth-child(5)::before,
    .monah-user-table--toeic-sw td:nth-child(6)::before,
    .monah-user-table--toeic-lr td:nth-child(6)::before {
        content: 'Result';
    }

    .monah-user-table--toeic-writing-practice td:nth-child(4)::before {
        content: 'Level';
    }

    .monah-user-table--toeic-sw td:nth-child(3)::before {
        content: 'Speaking';
    }

    .monah-user-table--toeic-sw td:nth-child(4)::before {
        content: 'Writing';
    }

    .monah-user-table--toeic-sw td:nth-child(5)::before {
        content: 'Level';
    }

    .monah-user-table--ielts-speaking td:nth-child(1)::before {
        content: 'Test Name';
    }

    .monah-user-table--ielts-speaking td:nth-child(2)::before {
        content: 'Date';
    }

    .monah-user-table--ielts-speaking td:nth-child(3)::before {
        content: 'Score';
    }

    .monah-user-table--toeic-lr td:nth-child(3)::before {
        content: 'Listening';
    }

    .monah-user-table--toeic-lr td:nth-child(4)::before {
        content: 'Reading';
    }

    .monah-user-table--toeic-lr td:nth-child(5)::before {
        content: 'Total';
    }

    .monah-user-dashboard .monah-user-table .monah-user-empty {
        text-align: left;
        padding: 12px;
    }

    .monah-user-dashboard .monah-user-table .monah-user-empty::before {
        content: none;
    }
}

.monah-pricing {
    --monah-bg: linear-gradient(145deg, #f7f8fb 0%, #f0f3f8 100%);
    --monah-card: #ffffff;
    --monah-border: #e6ebf2;
    --monah-head: #2c4975;
    --monah-text: #2f3440;
    --monah-muted: #6f7787;
    --monah-ok: #1da35c;
    --monah-no: #e0554e;
    --monah-accent: #f08d37;
    --monah-accent-soft: #fff0e1;
    background: var(--monah-bg);
    border: 1px solid var(--monah-border);
    border-radius: 12px;
    padding: 8px;
    margin: 12px 0;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 8px;
}

.monah-pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.monah-pricing-tab {
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    background: #fff;
    color: #2f4a76;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    cursor: pointer;
}

.monah-pricing-tab.is-active {
    border-color: #f08d37;
    background: #fff3e6;
    color: #a84f0d;
}

.monah-pricing-panel[hidden] {
    display: none;
}

.monah-pricing * {
    box-sizing: border-box;
}

.monah-pricing__matrix,
.monah-pricing__plans {
    min-width: 0;
}

.monah-pricing__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--monah-card);
    border: 1px solid var(--monah-border);
}

.monah-pricing__table th,
.monah-pricing__table td {
    padding: 8px 10px;
    border-bottom: 1px solid #edf1f7;
}

.monah-pricing__table thead th {
    font-size: 13px;
    color: var(--monah-head);
    font-weight: 700;
    background: #f6f8fc;
}

.monah-pricing__table thead th:first-child {
    text-align: left;
}

.monah-pricing__table th:not(:first-child),
.monah-pricing__table td:not(:first-child) {
    text-align: center;
    width: 115px;
}

.monah-pricing__table td {
    font-size: 14px;
    line-height: 1.35;
    color: var(--monah-text);
    background: #fff;
}

.monah-pricing__table tbody tr:nth-child(even) td {
    background: #f9fbff;
}

.monah-pricing__section td {
    font-weight: 700;
    font-size: 14px;
    background: #f0f4fb !important;
    color: #1f3761;
    border-bottom-color: #dbe5f3;
}

.monah-pricing__yes,
.monah-pricing__no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
}

.monah-pricing__yes {
    color: var(--monah-ok);
    background: #e9f8f0;
}

.monah-pricing__no {
    color: var(--monah-no);
    background: #ffefed;
}

.monah-pricing__plan-title {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.monah-pricing__plan-title::before {
    content: "\265B";
    color: var(--monah-accent);
    font-size: 11px;
}

.monah-pricing__plans-wrap {
    border: 1px solid var(--monah-border);
    border-radius: 8px;
    background: var(--monah-card);
    padding: 10px;
    height: 100%;
}

.monah-pricing__heading {
    margin: 0 0 6px;
    color: #2a4877;
    text-align: center;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.monah-plan-card {
    position: relative;
    appearance: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    background: #f8fafc;
    border: 1px solid #e4eaf3;
    border-radius: 9px;
    padding: 10px;
    margin-bottom: 8px;
}

.monah-plan-card.is-selected {
    border-color: #f08d37;
    background: #fff9f2;
    box-shadow: 0 0 0 1px rgba(240, 141, 55, 0.18);
}

.monah-plan-card--highlight {
    border-color: #f5a365;
    box-shadow: 0 5px 12px rgba(240, 141, 55, 0.12);
}

.monah-plan-card__tag,
.monah-plan-card__discount {
    position: absolute;
    top: -6px;
    border-radius: 999px;
    font-size: 10px;
    padding: 2px 7px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.monah-plan-card__tag {
    left: 6px;
    background: #ff8f62;
}

.monah-plan-card__discount {
    right: 6px;
    background: #f79b31;
}

.monah-plan-card h4 {
    margin: 0;
    font-size: 16px;
    color: #2d4674;
}

.monah-plan-card__meta {
    margin: 2px 0;
    font-size: 12px;
    color: var(--monah-muted);
}

.monah-plan-card__price-line {
    margin: 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 4px;
    font-size: 16px;
    color: #253144;
}

.monah-plan-card__old {
    text-decoration: line-through;
    color: #8a909d;
    font-size: 11px;
}

.monah-pricing__cta {
    margin-top: 4px;
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 36px;
    border-radius: 999px;
    text-decoration: none;
    color: #b9462e;
    border: 1px solid #f08d37;
    background: var(--monah-accent-soft);
    font-size: 14px;
    font-weight: 700;
}

.monah-pricing__terms {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0 4px;
    font-size: 13px;
    line-height: 1.4;
    color: #3b4351;
}

.monah-pricing__terms input[type="checkbox"] {
    margin-top: 2px;
}

.monah-pricing__terms a {
    color: #1f4f8e;
    text-decoration: underline;
    font-weight: 600;
}

.monah-pricing__cta:hover,
.monah-pricing__cta:focus {
    color: #fff;
    background: #ef7d24;
}

@media (max-width: 1080px) {
    .monah-pricing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .monah-pricing {
        padding: 6px;
    }

    .monah-pricing-tab {
        font-size: 11px;
        padding: 5px 11px;
    }

    .monah-pricing__heading {
        font-size: 16px;
    }

    .monah-pricing__table th,
    .monah-pricing__table td {
        padding: 6px 5px;
        font-size: 13px;
    }

    .monah-pricing__table thead th {
        font-size: 12px;
    }

    .monah-pricing__section td {
        font-size: 11px;
    }

    .monah-pricing__table th:not(:first-child),
    .monah-pricing__table td:not(:first-child) {
        width: 64px;
    }

    .monah-plan-card h4 {
        font-size: 14px;
    }

    .monah-plan-card__meta {
        font-size: 11px;
    }

    .monah-plan-card__price-line {
        font-size: 14px;
    }

    .monah-plan-card__old {
        font-size: 10px;
    }

    .monah-pricing__terms {
        font-size: 12px;
    }

    .monah-pricing__cta {
        min-height: 34px;
        font-size: 13px;
    }
}

body.monah-pay-modal-open {
    overflow: hidden;
}

.monah-pay-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.monah-pay-modal[hidden] {
    display: none;
}

.monah-pay-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.45);
}

.monah-pay-modal__dialog {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: #f5f7fb;
    border-radius: 10px;
    padding: 16px;
}

.monah-pay-modal__deadline {
    text-align: center;
    font-size: 20px;
    margin: 0 0 14px;
}

.monah-pay-modal__panel {
    border: 1px solid #d6dbe4;
    background: #fff;
    padding: 18px;
}

.monah-pay-modal__guide {
    margin: 0 0 16px;
    font-size: 18px;
    color: #1d2327;
}

.monah-pay-modal__grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 28px;
}

.monah-pay-modal__left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.monah-pay-modal__qr-wrap {
    width: 100%;
    min-height: 360px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monah-pay-modal__qr-wrap img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.monah-pay-modal__cancel {
    border: 1px solid #9fa8b8;
    border-radius: 8px;
    min-width: 120px;
    min-height: 48px;
    background: #f6f7f9;
    color: #616b7a;
    font-size: 34px;
    font-weight: 600;
    cursor: pointer;
}

.monah-pay-modal__right p {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.35;
    color: #252a32;
}

.monah-pay-modal__right p span {
    color: #565e6e;
}

.monah-pay-modal__right p strong {
    color: #111722;
}

.monah-pay-modal__right p button {
    margin-left: 10px;
    border: 0;
    border-radius: 999px;
    background: #dfe9e6;
    color: #62706f;
    font-weight: 700;
    font-size: 17px;
    width: 38px;
    height: 38px;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    transition: background 0.2s ease, color 0.2s ease;
}

.monah-pay-modal__right p button:hover,
.monah-pay-modal__right p button:focus-visible {
    background: #cddcd7;
    color: #3f5050;
}

.monah-pay-modal__copy-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

.monah-pay-modal__copy-btn svg path {
    stroke: currentColor;
}

.monah-pay-modal__note {
    margin-top: 20px !important;
    font-size: 24px !important;
}

@media (max-width: 980px) {
    .monah-pay-modal {
        padding: 14px;
    }

    .monah-pay-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 28px);
        border-radius: 8px;
        padding: 12px;
    }

    .monah-pay-modal__panel {
        padding: 14px;
    }

    .monah-pay-modal__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .monah-pay-modal__deadline {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .monah-pay-modal__guide,
    .monah-pay-modal__right p {
        font-size: 15px;
    }

    .monah-pay-modal__qr-wrap {
        min-height: 300px;
    }

    .monah-pay-modal__qr-wrap img {
        max-height: 300px;
    }

    .monah-pay-modal__cancel {
        min-width: 96px;
        min-height: 40px;
        font-size: 22px;
    }

    .monah-pay-modal__right p button {
        width: 34px;
        height: 34px;
    }

    .monah-pay-modal__copy-btn svg {
        width: 16px;
        height: 16px;
    }

    .monah-pay-modal__note {
        font-size: 18px !important;
    }
}

@media (max-width: 640px) {
    .monah-pay-modal {
        padding: 8px;
    }

    .monah-pay-modal__dialog {
        max-height: calc(100vh - 16px);
        border-radius: 6px;
        padding: 10px;
    }

    .monah-pay-modal__panel {
        padding: 10px;
    }

    .monah-pay-modal__deadline {
        font-size: 14px;
    }

    .monah-pay-modal__guide,
    .monah-pay-modal__right p {
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.4;
    }

    .monah-pay-modal__qr-wrap {
        min-height: 220px;
    }

    .monah-pay-modal__qr-wrap img {
        max-height: 220px;
    }

    .monah-pay-modal__cancel {
        min-width: 82px;
        min-height: 34px;
        border-radius: 6px;
        font-size: 16px;
    }

    .monah-pay-modal__right p button {
        margin-left: 6px;
        width: auto;
        height: auto;
        min-width: 0;
        min-height: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        color: #54616f;
    }

    .monah-pay-modal__copy-btn svg {
        width: 20px;
        height: 20px;
    }

    .monah-pay-modal__note {
        margin-top: 12px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 420px) {
    .monah-pay-modal__guide,
    .monah-pay-modal__right p {
        font-size: 12px;
    }

    .monah-pay-modal__qr-wrap {
        min-height: 180px;
    }

    .monah-pay-modal__qr-wrap img {
        max-height: 180px;
    }

    .monah-pay-modal__cancel {
        min-width: 72px;
        min-height: 30px;
        font-size: 14px;
    }
}
