﻿/* Chekan - modern exam package detail */
.exam-detail-page {
    --exam-primary: #2a9d8f;
    --exam-primary-dark: #218579;
    --exam-accent: #ffc300;
    --exam-ink: #172b3a;
    --exam-muted: #718096;
    --exam-line: #e8edf1;
    --exam-soft: #f5f8fa;
    direction: rtl;
    color: var(--exam-ink);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.85;
    background: #f7f9fb;
    padding-bottom: 48px
}

    .exam-detail-page * {
        box-sizing: border-box
    }

    .exam-detail-page .container {
        max-width: 1200px
    }

.exam-hero {
    position: relative;
    overflow: hidden;
    padding: 38px 0 34px;
    background: linear-gradient(125deg,#102f3d 0%,#174d54 55%,#207d75 100%);
    color: #fff
}

    .exam-hero:before, .exam-hero:after {
        content: "";
        position: absolute;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 50%;
        pointer-events: none
    }

    .exam-hero:before {
        width: 430px;
        height: 430px;
        left: -130px;
        top: -250px
    }

    .exam-hero:after {
        width: 280px;
        height: 280px;
        left: 120px;
        bottom: -220px
    }

.exam-hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    gap: 30px;
    align-items: center
}

.exam-cover {
    position: relative;
    min-height: 170px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.1);
    box-shadow: 0 16px 40px rgba(0,0,0,.16)
}

    .exam-cover img {
        display: block;
        width: 100%;
        height: 190px;
        
    }

.exam-cover-placeholder {
    height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff
}

    .exam-cover-placeholder i {
        font-size: 48px;
        color: var(--exam-accent)
    }

    .exam-cover-placeholder span {
        font-size: 13px
    }

.exam-cover-caption {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 4px 9px;
    border-radius: 30px;
    background: rgba(10,35,43,.78);
    font-size: 10px;
    color: #fff
}

    .exam-cover-caption i {
        color: #72d5bd;
        margin-left: 4px
    }

.exam-main-info {
    min-width: 0
}

.exam-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 30px;
    background: rgba(255,255,255,.12);
    color: #d5f4eb;
    font-size: 11px;
    margin-bottom: 10px
}

.exam-title {
    font-size: clamp(22px,3vw,31px);
    font-weight: 800;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 10px
}

.exam-position-summary {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #d8f3ed;
    font-size: 12px;
    margin: 0 0 8px
}

.exam-short-description {
    max-width: 850px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    line-height: 2;
    margin: 7px 0 15px
}

    .exam-short-description p {
        margin: 0
    }

.exam-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px
}

.exam-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9px;
    background: rgba(255,255,255,.09);
    font-size: 11px;
    color: #f4fbf9
}

    .exam-badge i {
        color: #80d7c2
    }

    .exam-badge b {
        font-weight: 800;
        color: #fff
    }

.exam-badge-free i {
    color: var(--exam-accent)
}

.exam-countdown {
    max-width: 450px;
    margin: 12px 0;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(7,30,39,.24)
}

.exam-countdown-title {
    font-size: 11px;
    color: #d9f4ee;
    margin-bottom: 7px
}

    .exam-countdown-title i {
        margin-left: 6px;
        color: var(--exam-accent)
    }

.exam-countdown-items {
    display: flex;
    gap: 8px
}

.countdown-item {
    min-width: 55px;
    padding: 4px 8px;
    text-align: center;
    border-radius: 8px;
    background: rgba(255,255,255,.1)
}

    .countdown-item strong {
        display: block;
        font-size: 17px;
        line-height: 1.4;
        color: #fff
    }

    .countdown-item span {
        font-size: 10px;
        color: #c7e4df
    }

.countdown-finished {
    font-size: 12px;
    color: #fff
}

.exam-tabs-wrapper {
    position: sticky;
    top: 70px;
    z-index: 20;
    padding: 11px 0 0;
    background: rgba(247,249,251,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(226,233,238,.9)
}

.exam-tabs {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none
}

    .exam-tabs::-webkit-scrollbar {
        display: none
    }

.exam-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 15px;
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-bottom: 2px solid transparent;
    border-radius: 10px 10px 0 0;
    color: #637381;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: .2s
}

    .exam-tab:hover {
        color: var(--exam-primary);
        background: #fff
    }

    .exam-tab.active {
        color: var(--exam-primary-dark);
        background: #fff;
        border-color: var(--exam-line);
        border-bottom-color: var(--exam-primary)
    }

    .exam-tab i {
        font-size: 13px
    }

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #eaf6f3;
    color: var(--exam-primary-dark);
    font-size: 10px
}

.exam-body {
    padding: 25px 0
}

.exam-content-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 300px;
    gap: 22px;
    align-items: start
}

.exam-content {
    min-width: 0
}

.exam-section {
    padding: 22px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(24,50,67,.035);
    scroll-margin-top: 155px
}

.exam-section-title {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px
}

.section-title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #eaf6f3;
    color: var(--exam-primary);
    font-size: 15px
}

.exam-section-title h2 {
    margin: 0;
    color: var(--exam-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6
}

.exam-section-title > div > span {
    display: block;
    margin-top: 1px;
    color: var(--exam-muted);
    font-size: 11px
}

.section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 27px;
    height: 27px;
    margin-right: auto;
    padding: 0 8px;
    border-radius: 8px;
    background: #f1f7f6;
    color: var(--exam-primary-dark);
    font-size: 11px;
    font-weight: 800
}

.exam-description {
    color: #526272;
    font-size: 13px;
    line-height: 2.15
}

    .exam-description p {
        margin: 0 0 10px
    }

        .exam-description p:last-child {
            margin-bottom: 0
        }

    .exam-description h2, .exam-description h3, .exam-description h4 {
        color: var(--exam-ink);
        margin: 16px 0 8px;
        font-size: 15px
    }

.position-selector-block {
    margin: 0 0 18px;
    padding: 17px 18px;
    background: #fff;
    border: 1px solid var(--exam-line);
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(24,50,67,.035)
}

.position-selector-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px
}

.eyebrow {
    display: block;
    color: var(--exam-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .2px
}

.position-selector-heading h2, .single-position-heading h2 {
    margin: 2px 0 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--exam-ink)
}

.position-counter {
    padding: 4px 9px;
    border-radius: 20px;
    background: #f0f7f5;
    color: var(--exam-primary-dark);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.position-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.position-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    padding: 7px 12px;
    border: 1px solid #e7edf0;
    border-radius: 9px;
    background: #fff;
    color: #566777;
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: all .2s
}

    .position-tab > i:first-child {
        color: #91a2ad
    }

    .position-tab:hover {
        border-color: #b9ddd5;
        color: var(--exam-primary-dark);
        background: #f8fcfb
    }

    .position-tab.active {
        border-color: var(--exam-primary);
        background: #eaf6f3;
        color: #176f65;
        box-shadow: 0 3px 10px rgba(42,157,143,.09)
    }

        .position-tab.active > i:first-child {
            color: var(--exam-primary)
        }

.tab-chevron {
    font-size: 9px;
    opacity: .55
}

.single-position-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2px 0 14px;
    padding: 14px 16px;
    border: 1px solid #dcefe9;
    border-radius: 12px;
    background: linear-gradient(100deg,#f4fbf8,#fff)
}

.single-position-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #e2f3ed;
    color: var(--exam-primary);
    font-size: 17px
}

.position-description {
    margin: -3px 0 15px;
    padding: 10px 13px;
    border-right: 3px solid #b8e1d6;
    background: #f8fbfa;
    color: #647482;
    font-size: 12px;
    line-height: 1.9
}

.position-panel > .exam-section {
    margin-bottom: 18px
}

.exam-list {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.exam-card {
    display: flex;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #e9eef1;
    border-radius: 11px;
    background: #fff;
    transition: border-color .2s,transform .2s,box-shadow .2s
}

    .exam-card:hover {
        border-color: #c8e5dd;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(25,70,70,.05)
    }

.exam-card-number {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #edf7f4;
    color: var(--exam-primary-dark);
    font-size: 12px;
    font-weight: 800
}

.exam-card-content {
    flex: 1;
    min-width: 0
}

.exam-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px
}

.exam-card-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px
}
.exam-position-label {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 20px;
    background: #e8f5f3;
    color: #287f75;
    font-size: 11px;
    font-weight: 500;
}
    .exam-card-title h3 {
        margin: 0;
        color: #263b49;
        font-size: 13px;
        font-weight: 750
    }

.exam-type-label {
    padding: 2px 8px;
    border-radius: 20px;
    background: #f1f4f6;
    color: #697b87;
    font-size: 10px
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 20px;
    background: #fff8dc;
    color: #9a7400;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap
}

.exam-card-description {
    margin: 6px 0;
    color: #788692;
    font-size: 11px;
    line-height: 1.8
}

.exam-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 8px;
    color: #687b87;
    font-size: 10px
}

    .exam-card-meta span {
        display: inline-flex;
        align-items: center;
        gap: 5px
    }

    .exam-card-meta i {
        color: var(--exam-primary);
        font-size: 11px
    }

.subject-groups {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px
}

.subject-group {
    min-width: 0;
    border: 1px solid #e8eef0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff
}

.subject-group-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 13px;
    background: #f8fafb;
    border-bottom: 1px solid #edf1f3
}

.subject-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 13px
}

    .subject-group-icon.general {
        background: #eaf6f3;
        color: var(--exam-primary)
    }

    .subject-group-icon.specialized {
        background: #fff5dc;
        color: #b78a00
    }

.subject-group-heading h3 {
    margin: 0;
    color: #304553;
    font-size: 12px;
    font-weight: 800
}

.subject-group-heading span:not(.subject-group-icon) {
    display: block;
    color: #8997a0;
    font-size: 10px
}

.subject-rows {
    padding: 0 12px
}

.subject-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 43px;
    padding: 7px 2px;
    border-bottom: 1px solid #f0f2f4
}

    .subject-row:last-child {
        border-bottom: 0
    }

.subject-row-title {
    min-width: 0;
    color: #4c5e6b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7
}

.subject-coefficient {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 7px;
    background: #f3f8f6
}

    .subject-coefficient small {
        color: #82918e;
        font-size: 9px
    }

    .subject-coefficient strong {
        color: #238477;
        font-size: 11px;
        font-weight: 800
    }

.empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 25px 12px;
    border: 1px dashed #dce5e8;
    border-radius: 11px;
    color: #87959e;
    font-size: 12px
}

    .empty-state i {
        font-size: 17px;
        color: #9cb8b0
    }

.exam-sidebar {
    position: sticky;
    top: 135px
}

.exam-purchase-box {
    padding: 19px;
    background: #fff;
    border: 1px solid var(--exam-line);
    border-radius: 16px;
    box-shadow: 0 8px 26px rgba(24,50,67,.065)
}

.purchase-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf1f3
}

.purchase-heading-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 11px;
    background: #eaf6f3;
    color: var(--exam-primary);
    font-size: 16px
}

.purchase-heading strong {
    display: block;
    color: var(--exam-ink);
    font-size: 13px;
    font-weight: 800
}

.purchase-heading span:not(.purchase-heading-icon) {
    display: block;
    margin-top: 2px;
    color: #87939c;
    font-size: 10px
}

.purchase-price {
    padding: 15px 0 13px;
    text-align: center;
    border-bottom: 1px solid #edf1f3
}

.purchase-free {
    color: var(--exam-primary);
    font-size: 23px;
    font-weight: 900
}

.purchase-discount-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 4px
}

.purchase-old-price {
    color: #9aa5ac;
    font-size: 11px;
    text-decoration: line-through
}

.purchase-discount {
    padding: 2px 7px;
    border-radius: 20px;
    background: #fff1e9;
    color: #d36c38;
    font-size: 10px;
    font-weight: 800
}

.purchase-final-price {
    color: #183e49;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.5
}

    .purchase-final-price span {
        font-size: 11px;
        font-weight: 600;
        color: #7c8b94
    }

.purchase-info {
    padding: 10px 0
}

.purchase-info-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 0
}

.purchase-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: #f3f7f8;
    color: #6e8b91;
    font-size: 12px
}

.purchase-info-item > div > span {
    display: block;
    color: #89959d;
    font-size: 10px
}

.purchase-info-item > div > strong {
    display: block;
    margin-top: 1px;
    color: #40535f;
    font-size: 11px;
    font-weight: 750
}

.purchase-action-area {
    margin: 8px 0 13px
}

.exam-action-button {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(105deg,var(--exam-primary),var(--exam-primary-dark));
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: right;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(42,157,143,.2);
    transition: transform .2s,box-shadow .2s
}

    .exam-action-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 20px rgba(42,157,143,.27)
    }

    .exam-action-button i {
        font-size: 12px
    }

.exam-action-disabled {
    justify-content: center;
    background: #e8f3f0;
    color: #438c80;
    box-shadow: none;
    cursor: default
}

.purchase-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
    border-top: 1px solid #edf1f3
}

    .purchase-benefits div {
        display: flex;
        align-items: center;
        gap: 7px;
        color: #647580;
        font-size: 10px
    }

    .purchase-benefits i {
        color: var(--exam-primary);
        font-size: 12px
    }

.purchase-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    border-radius: 9px;
    background: #f6f9fa;
    color: #82909a;
    font-size: 10px;
    line-height: 1.8
}

    .purchase-note i {
        margin-top: 3px;
        color: #8ca9a5
    }
/* =========================================
   Professional Job Position Selector
========================================= */

.position-selector-block {
    position: relative;
    margin: 28px 0 32px;
    padding: 24px;
    background: linear-gradient(145deg, #f0faf8 0%, #ffffff 75%);
    border: 1px solid #cce9e3;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(25, 125, 110, 0.07);
}

.position-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.position-selector-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.position-selector-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9f1ec;
    color: #218c7d;
    border-radius: 15px;
    font-size: 22px;
}

.position-selector-title h2 {
    margin: 5px 0 4px;
    color: #203c39;
    font-size: 19px;
    font-weight: 800;
}

.position-selector-title p {
    margin: 0;
    color: #718581;
    font-size: 13px;
}

.position-selector-step {
    display: inline-block;
    color: #218c7d;
    font-size: 11px;
    font-weight: 800;
}

.position-counter {
    padding: 8px 13px;
    background: #e1f3ef;
    color: #218c7d;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.position-selector-question {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: #405c57;
    font-size: 14px;
    font-weight: 700;
}

    .position-selector-question i {
        color: #269b8a;
        font-size: 16px;
    }

.position-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.position-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    min-height: 78px;
    padding: 13px 15px;
    text-align: right;
    font-family: inherit;
    background: #fff;
    border: 1px solid #e1eae8;
    border-radius: 13px;
    cursor: pointer;
    transition: all .2s ease;
}

    .position-tab:hover {
        border-color: #75c4b7;
        background: #fafffe;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(25, 125, 110, .07);
    }

    .position-tab.active {
        background: #e9f7f3;
        border: 2px solid #2a9d8f;
        box-shadow: 0 4px 16px rgba(42, 157, 143, .12);
    }

.position-tab-icon {
    width: 43px;
    height: 43px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf3f2;
    color: #607b76;
    border-radius: 11px;
    font-size: 18px;
    transition: all .2s ease;
}

.position-tab.active .position-tab-icon {
    background: #2a9d8f;
    color: #fff;
}

.position-tab-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

    .position-tab-content strong {
        color: #29443f;
        font-size: 15px;
        font-weight: 800;
    }

    .position-tab-content small {
        color: #82928e;
        font-size: 11px;
    }

.position-tab-check {
    color: #2a9d8f;
    font-size: 19px;
    opacity: 0;
    transition: opacity .2s ease;
}

.position-tab.active .position-tab-check {
    opacity: 1;
}

.position-selector-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #dcece8;
    color: #718580;
    font-size: 12px;
    line-height: 1.9;
}

    .position-selector-footer i {
        color: #299b8b;
        flex-shrink: 0;
    }

/* Single position heading */

.single-position-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 25px 0 18px;
}

    .single-position-heading h2 {
        margin: 5px 0 0;
        font-size: 19px;
        font-weight: 800;
    }
/* =========================================
   Exam Page - Responsive Overflow Fix
========================================= */

/* جلوگیری از ایجاد اسکرول افقی در صفحه آزمون */
.exam-detail-page {
    overflow-x: clip;
}

.exam-detail-page .container {
    width: 100%;
    max-width: 1200px;
}

/* جلوگیری از بزرگ شدن ناخواسته ستون‌های Grid */
.exam-hero-wrapper {
    grid-template-columns: 190px minmax(0, 1fr);
}

.exam-content-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.exam-content,
.exam-main-info,
.exam-card-content,
.subject-group {
    min-width: 0;
}

/* اصلاح عرض اجزای تصویری */
.exam-detail-page img {
    max-width: 100%;
}
/* Exam Sticky Action */
.exam-sticky-action {
    direction: rtl;
}

    .exam-sticky-action .sticky-action-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .exam-sticky-action .sticky-exam-info {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        flex: 1;
    }

        .exam-sticky-action .sticky-exam-info img,
        .exam-sticky-action .sticky-exam-placeholder {
            width: 50px;
            height: 50px;
            min-width: 50px;
            border-radius: 10px;
            object-fit: cover;
        }

    .exam-sticky-action .sticky-exam-placeholder {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #eaf5f3;
        color: #2a9d8f;
        font-size: 22px;
    }

    .exam-sticky-action .sticky-exam-details {
        display: flex;
        flex-direction: column;
        gap: 5px;
        min-width: 0;
    }

        .exam-sticky-action .sticky-exam-details strong {
            font-size: 14px;
            font-weight: 700;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            max-width: 220px;
        }

        .exam-sticky-action .sticky-exam-details > span {
            font-size: 12px;
            color: #777;
        }

    .exam-sticky-action .sticky-exam-status {
        color: #2a9d8f !important;
    }

    .exam-sticky-action .sticky-exam-buttons {
        flex-shrink: 0;
    }

    .exam-sticky-action .btn-sticky-action {
        cursor: pointer;
        border: none;
        font-family: inherit;
        white-space: nowrap;
    }

    .exam-sticky-action .sticky-disabled {
        opacity: .65;
        cursor: default;
    }

@media (max-width: 600px) {

    .exam-sticky-action {
        left: 10px;
        right: 10px;
        bottom: 75px;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 12px;
        border-radius: 14px;
    }

        .exam-sticky-action .sticky-action-content {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }

        .exam-sticky-action .sticky-exam-info {
            width: 100%;
            gap: 10px;
        }

            .exam-sticky-action .sticky-exam-info img,
            .exam-sticky-action .sticky-exam-placeholder {
                width: 42px;
                height: 42px;
                min-width: 42px;
            }

        .exam-sticky-action .sticky-exam-details strong {
            max-width: 100%;
            font-size: 13px;
        }

        .exam-sticky-action .sticky-exam-buttons {
            width: 100%;
        }

        .exam-sticky-action .btn-sticky-action {
            width: 100%;
            min-height: 42px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border-radius: 9px;
            font-size: 13px;
        }
}
/* Sticky Exam Action - Independent Styles */
.exam-sticky-action {
    position: fixed;
    z-index: 99999;
    right: 20px;
    bottom: 69px;
    width: min(460px, calc(100vw - 40px));
    min-width: 280px;
    max-width: calc(100vw - 40px);
    padding: 15px;
    background: #fff;
    border: 1px solid #e5ecef;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.exam-sticky-action.exam-sticky-hidden {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    pointer-events: none;
}

.exam-sticky-action.closed {
    display: none !important;
}

@media (max-width: 600px) {
    .exam-sticky-action {
        right: 10px;
        left: 10px;
        bottom: 75px;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 12px;
    }
}
/* =========================================
   Exam Hero - Mobile Responsive
========================================= */

@media (max-width: 767px) {

    .exam-hero {
        padding: 25px 0 28px;
    }

    .exam-hero-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        text-align: center;
    }

    /* تصویر کاور */
    .exam-cover {
        width: 140px;
        max-width: 140px;
        min-height: 120px;
        margin: 0 auto;
    }

        .exam-cover img,
        .exam-cover-placeholder {
            width: 100%;
            height: 120px;
        }

    /* اطلاعات اصلی */
    .exam-main-info {
        width: 100%;
        text-align: center;
    }

    .exam-category {
        justify-content: center;
    }

    .exam-title {
        font-size: 21px;
        line-height: 1.7;
        margin: 5px 0 10px;
    }

    .exam-position-summary {
        justify-content: center;
        flex-wrap: wrap;
    }

    .exam-short-description {
        max-width: 100%;
        margin: 10px auto 15px;
        text-align: center;
    }

    /* نشان‌های اطلاعاتی */
    .exam-badges {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .exam-badge {
        justify-content: center;
    }

    /* شمارشگر */
    .exam-countdown {
        margin: 15px auto;
        text-align: center;
    }

    .exam-countdown-items {
        justify-content: center;
        flex-wrap: wrap;
    }

    .countdown-finished {
        text-align: center;
    }
}

/* موبایل باریک */
@media (max-width: 500px) {

    .exam-hero {
        padding: 22px 0;
    }

    .exam-hero-wrapper {
        gap: 15px;
    }

    .exam-cover {
        width: 125px;
        max-width: 125px;
    }

        .exam-cover img,
        .exam-cover-placeholder {
            height: 115px;
        }

    .exam-title {
        font-size: 19px;
    }

    .exam-short-description {
        font-size: 12px;
        line-height: 2;
    }

    .exam-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .exam-badge {
        width: 100%;
        padding: 7px 5px;
        font-size: 10px;
        text-align: center;
    }

    .exam-countdown {
        width: 100%;
    }
}
/* Exam Position Confirmation Modal */

.exam-position-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
}

    .exam-position-modal.show {
        display: flex;
    }

.exam-position-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    animation: examModalAppear 0.2s ease;
}

@keyframes examModalAppear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.exam-position-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
}

.exam-position-modal-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #e8f5f1;
    color: #16836d;
    font-size: 25px;
}

.exam-position-modal-dialog h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
}

.exam-position-modal-description {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.exam-position-modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
}

.exam-position-modal-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s;
}

    .exam-position-modal-option input {
        accent-color: #16836d;
        width: 17px;
        height: 17px;
        flex-shrink: 0;
    }

.exam-position-modal-option-content {
    flex: 1;
    color: #334155;
    font-size: 14px;
}

.exam-position-modal-option-check {
    color: #cbd5e1;
}

.exam-position-modal-option:has(input:checked) {
    border-color: #16836d;
    background: #f0faf7;
}

    .exam-position-modal-option:has(input:checked)
    .exam-position-modal-option-check {
        color: #16836d;
    }

.exam-position-modal-single {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid #16836d;
    border-radius: 12px;
    background: #f0faf7;
}

    .exam-position-modal-single span {
        color: #64748b;
        font-size: 12px;
    }

    .exam-position-modal-single strong {
        color: #166b59;
        font-size: 16px;
    }

.exam-position-modal-warning {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    text-align: right;
    font-size: 12px;
    line-height: 1.8;
}

    .exam-position-modal-warning i {
        margin-top: 3px;
        color: #16836d;
    }

.exam-position-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

    .exam-position-modal-actions button {
        flex: 1;
        min-height: 46px;
        border: none;
        border-radius: 10px;
        font-family: inherit;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
    }

.exam-position-modal-cancel {
    background: #f1f5f9;
    color: #475569;
}

.exam-position-modal-confirm {
    background: #16836d;
    color: #fff;
}

    .exam-position-modal-confirm:hover {
        background: #116b59;
    }

body.exam-position-modal-open {
    overflow: hidden;
}
/* حذف پکیج آزمون از داخل مودال */
.exam-position-modal-remove {
    flex: 1;
    min-height: 46px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff1f2;
    color: #dc2626;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.exam-position-modal-remove:hover {
    background: #fee2e2;
    border-color: #f87171;
}
/* =========================================
   Exam Main Tabs
========================================= */

.exam-main-tab-panel {
    min-width: 0;
    animation: examTabFadeIn .22s ease;
}

@keyframes examTabFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exam-tabs .exam-tab {
    font-family: inherit;
    cursor: pointer;
}

    .exam-tabs .exam-tab:focus-visible {
        outline: 2px solid var(--exam-primary);
        outline-offset: 3px;
    }

/* =========================================
   Recruitment Information
========================================= */

.recruitment-booklet-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid #cce9e3;
    border-radius: 12px;
    background: linear-gradient(110deg, #f0faf8, #ffffff);
    color: #218579;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

    .recruitment-booklet-link:hover {
        border-color: var(--exam-primary);
        background: #eaf6f3;
        color: #176f65;
        transform: translateY(-1px);
    }

    .recruitment-booklet-link span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

        .recruitment-booklet-link span i {
            font-size: 17px;
        }

    .recruitment-booklet-link > i {
        font-size: 12px;
    }

.recruitment-rich-content {
    color: #526272;
    font-size: 13px;
    line-height: 2.15;
    overflow-wrap: anywhere;
}

    .recruitment-rich-content p {
        margin: 0 0 10px;
    }

        .recruitment-rich-content p:last-child {
            margin-bottom: 0;
        }

    .recruitment-rich-content h2,
    .recruitment-rich-content h3,
    .recruitment-rich-content h4 {
        color: var(--exam-ink);
        margin: 16px 0 8px;
        font-weight: 800;
    }

    .recruitment-rich-content ul,
    .recruitment-rich-content ol {
        padding-right: 24px;
        margin: 10px 0;
    }

    .recruitment-rich-content li {
        margin-bottom: 6px;
    }

    .recruitment-rich-content a {
        color: var(--exam-primary-dark);
        text-decoration: underline;
    }

.recruitment-specific-section {
    border-color: #dcefe9;
}

/* Job position selector inside purchase panel */
.exam-purchase-box .position-selector-sidebar {
    display: block;
    width: 100%;
    margin: 18px 0;
    padding: 14px;
    border: 1px solid var(--exam-line, #e8edf1);
    border-radius: 12px;
    background: var(--exam-soft, #f5f8fa);
}

.exam-purchase-box .position-selector-sidebar .position-selector-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.exam-purchase-box .position-selector-sidebar .position-selector-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.exam-purchase-box .position-selector-sidebar .position-selector-title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}

.exam-purchase-box .position-selector-sidebar .position-selector-title p {
    margin: 4px 0 0;
    font-size: 11px;
    line-height: 1.7;
    color: #718096;
}

.exam-purchase-box .position-selector-sidebar .position-counter {
    flex-shrink: 0;
    font-size: 11px;
}

.exam-purchase-box .position-selector-sidebar .position-tabs {
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-height: 155px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 3px 2px 5px;
    scrollbar-width: thin;
    scrollbar-color: #b8c5ce transparent;
}

.exam-purchase-box .position-selector-sidebar .position-tabs::-webkit-scrollbar {
    width: 5px;
}

.exam-purchase-box .position-selector-sidebar .position-tabs::-webkit-scrollbar-thumb {
    background: #b8c5ce;
    border-radius: 10px;
}

.exam-purchase-box .position-selector-sidebar .position-tab {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
    text-align: right;
}

.exam-purchase-box .position-selector-sidebar .position-selector-footer {
    display: none;
}
.purchase-selected-position {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 12px;
    margin: 12px 0;
    border-radius: 9px;
    background: #f0f8f6;
    font-size: 12px;
    color: #52616b;
}

.purchase-selected-position i {
    color: #2a9d8f;
}

.purchase-selected-position strong {
    color: #218579;
    font-weight: 700;
}
/* Compact job position selector in purchase sidebar */
.exam-purchase-box .position-selector-sidebar {
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #e8edf1;
    border-radius: 10px;
    background: #fff;
}

    .exam-purchase-box .position-selector-sidebar .position-selector-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 9px;
    }

.exam-purchase-box .position-selector-header strong {
    font-size: 13px;
    color: #263746;
}

.exam-purchase-box .position-counter {
    font-size: 11px;
    color: #718096;
}

.exam-purchase-box .position-selected-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 9px;
    padding: 8px 10px;
    border-radius: 7px;
    background: #f0f8f6;
    color: #52616b;
    font-size: 11px;
}

    .exam-purchase-box .position-selected-label i,
    .exam-purchase-box .position-selected-label strong {
        color: #218579;
    }

.exam-purchase-box .position-tabs {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px;
    max-height: 180px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2px 3px 2px 5px;
}

.exam-purchase-box .position-tab {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    width: 100%;
    min-height: 37px;
    padding: 7px 10px;
    border: 1px solid #e8edf1;
    border-radius: 7px;
    background: #fff;
    text-align: right;
    cursor: pointer;
}

.exam-purchase-box .position-tab-content {
    display: block !important;
    min-width: 0;
}

    .exam-purchase-box .position-tab-content strong {
        font-size: 12px;
        font-weight: 600;
    }

    .exam-purchase-box .position-tab-content small {
        display: none !important;
    }

.exam-purchase-box .position-tab-check {
    display: none;
    color: #218579;
}

.exam-purchase-box .position-tab.active {
    border-color: #2a9d8f;
    background: #f0f8f6;
}

    .exam-purchase-box .position-tab.active .position-tab-check {
        display: inline-flex;
    }
/* ردیف ثابت تب‌ها و انتخاب موقعیت شغلی */
.exam-tabs-sticky-row {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    background: #fff;
    border-bottom: 1px solid var(--exam-line, #e8edf1);
}

    /* تب‌های اصلی */
    .exam-tabs-sticky-row .exam-tabs {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
    }

        .exam-tabs-sticky-row .exam-tabs::-webkit-scrollbar {
            display: none;
        }

/* انتخاب‌گر موقعیت شغلی */
.exam-position-picker {
    position: relative;
    flex: 0 0 auto;
    min-width: 155px;
    padding: 7px 10px;
    border: 1px solid var(--exam-line, #e8edf1);
    border-radius: 10px;
    background: #f5f8fa;
}

.exam-position-picker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    color: #718096;
    font-size: 10px;
    font-weight: 600;
}

    .exam-position-picker-label i {
        color: var(--exam-primary, #2a9d8f);
    }

.exam-position-picker-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--exam-ink, #172b3a);
    cursor: pointer;
    text-align: right;
    font-family: inherit;
    font-size: 13px;
}

    .exam-position-picker-trigger strong {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .exam-position-picker-trigger > i {
        flex-shrink: 0;
        color: var(--exam-primary, #2a9d8f);
        font-size: 11px;
        transition: transform .2s ease;
    }

.exam-position-picker.open .exam-position-picker-trigger > i {
    transform: rotate(180deg);
}

/* فهرست موقعیت‌ها */
.exam-position-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 110;
    width: 240px;
    max-width: min(280px, calc(100vw - 30px));
    max-height: 260px;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid var(--exam-line, #e8edf1);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 43, 58, .13);
}

    .exam-position-picker-menu[hidden] {
        display: none !important;
    }

    .exam-position-picker-menu .position-tab {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-width: 0;
        padding: 10px;
        margin: 0 0 4px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        color: var(--exam-ink, #172b3a);
        text-align: right;
        cursor: pointer;
        font-family: inherit;
    }

        .exam-position-picker-menu .position-tab:last-child {
            margin-bottom: 0;
        }

        .exam-position-picker-menu .position-tab:hover {
            background: #f5f8fa;
        }

        .exam-position-picker-menu .position-tab.active {
            border-color: rgba(42, 157, 143, .25);
            background: rgba(42, 157, 143, .08);
            color: var(--exam-primary, #2a9d8f);
        }

    .exam-position-picker-menu .position-tab-content {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .exam-position-picker-menu .position-tab-check {
        flex-shrink: 0;
        margin-right: 8px;
        opacity: 0;
    }

    .exam-position-picker-menu .position-tab.active .position-tab-check {
        opacity: 1;
        color: var(--exam-primary, #2a9d8f);
    }

/* موبایل */
@media (max-width: 767px) {

    .exam-tabs-sticky-row {
        gap: 8px;
        padding: 8px 0;
    }

        .exam-tabs-sticky-row .exam-tabs {
            gap: 6px;
        }

        .exam-tabs-sticky-row .exam-tab {
            flex-shrink: 0;
            padding: 9px 11px;
            font-size: 12px;
        }

    .exam-position-picker {
        min-width: 120px;
        max-width: 145px;
        padding: 6px 8px;
    }

    .exam-position-picker-label {
        font-size: 9px;
    }

    .exam-position-picker-trigger {
        font-size: 12px;
    }

    .exam-position-picker-menu {
        left: 0;
        right: auto;
        width: 220px;
    }
}
@media (max-width: 480px) {
    .exam-position-modal {
        padding: 12px;
    }

    .exam-position-modal-dialog {
        padding: 25px 18px;
        border-radius: 16px;
    }

    .exam-position-modal-actions {
        flex-direction: column-reverse;
    }
}
/* تبلت و موبایل */
@media (max-width: 767px) {
    .recruitment-booklet-link {
        padding: 13px;
        font-size: 12px;
    }

    .recruitment-rich-content {
        font-size: 12px;
    }
    .exam-hero-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .exam-content-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .position-selector-header {
        flex-wrap: wrap;
        min-width: 0;
    }

    .position-selector-title {
        min-width: 0;
        flex: 1 1 220px;
    }

    .position-selector-title h2,
    .position-selector-title p {
        overflow-wrap: anywhere;
    }

    .position-counter {
        flex-shrink: 0;
    }

    .exam-card-header {
        flex-wrap: wrap;
    }

    .exam-section,
    .position-selector-block,
    .exam-purchase-box {
        min-width: 0;
        max-width: 100%;
    }
}

/* موبایل‌های باریک */
@media (max-width: 420px) {

    .position-selector-title {
        flex-basis: 100%;
    }

    .position-selector-header {
        gap: 10px;
    }

    .exam-section {
        padding: 12px;
    }
}
/* Responsive */

@media (max-width: 768px) {
    .position-selector-block {
        padding: 17px;
        margin: 22px 0;
        border-radius: 15px;
    }

    .position-selector-header {
        align-items: flex-start;
    }

    .position-selector-icon {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .position-selector-title h2 {
        font-size: 16px;
    }

    .position-selector-title p {
        font-size: 12px;
    }

    .position-counter {
        font-size: 10px;
        padding: 7px 9px;
    }

    .position-tabs {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .position-tab {
        min-height: 70px;
    }

    .position-tab-content strong {
        font-size: 14px;
    }

    .position-selector-footer {
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .position-selector-header {
        flex-wrap: wrap;
    }

    .position-selector-question {
        font-size: 12px;
    }
}
@media(max-width:991px) {
    .exam-content-layout {
        grid-template-columns: minmax(0,1fr) 270px;
        gap: 15px
    }

    .exam-section {
        padding: 18px
    }

    .exam-purchase-box {
        padding: 16px
    }

    .subject-groups {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    .exam-hero {
        padding: 25px 0
    }

    .exam-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 15px
    }

    .exam-cover {
        top: 50px;
        width: 100%;
        max-width: 140px;
        min-height: 120px
    }
    .exam-action-button {
        justify-content: center !important;
    }
        .exam-cover img, .exam-cover-placeholder {
            height: 120px
        }

            .exam-cover-placeholder i {
                font-size: 34px
            }

    .exam-title {
        font-size: 22px
    }

    .exam-short-description {
        font-size: 12px
    }

    .exam-badges {
        gap: 6px
    }

    .exam-badge {
        padding: 5px 8px;
        font-size: 10px
    }

    .exam-tabs-wrapper {
        top: 60px;
        padding-top: 7px
    }

    .exam-tab {
        padding: 9px 11px;
        font-size: 11px
    }

    .exam-body {
        padding: 16px 0
    }

    .exam-content-layout {
        grid-template-columns: 1fr
    }

    .exam-sidebar {
        position: static;
        grid-row: 1
    }

    .exam-purchase-box {
        padding: 15px
    }

    .purchase-info {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px
    }

    .purchase-info-item {
        padding: 6px 0
    }

    .exam-section {
        padding: 15px;
        margin-bottom: 13px
    }

    .exam-section-title h2 {
        font-size: 14px
    }

    .exam-section-title {
        margin-bottom: 13px
    }

    .position-selector-block {
        padding: 14px
    }

    .position-selector-heading h2 {
        font-size: 13px
    }

    .position-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .position-tab {
        justify-content: flex-start;
        font-size: 11px;
        padding: 7px 9px
    }

        .position-tab span {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap
        }

    .exam-card {
        padding: 11px;
        gap: 9px
    }

    .exam-card-title h3 {
        font-size: 12px
    }

    .exam-card-meta {
        gap: 7px 11px
    }

    .subject-groups {
        grid-template-columns: 1fr
    }
}

@media(max-width:420px) {
    .position-tabs {
        grid-template-columns: 1fr
    }

    .exam-badges {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .exam-badge {
        justify-content: center
    }

    .purchase-info {
        grid-template-columns: 1fr 1fr
    }

    .exam-card-header {
        align-items: flex-start
    }

    .exam-card-title {
        gap: 5px
    }

    .exam-card-meta {
        font-size: 9px
    }
}
