/* ===== Samples Section ===== */
section.white-background.samplesSection,
section.blue-background.samplesSection,
.samplesSection {
    padding: var(--section-bg-py) 0;
}

/* ===== Section Head ===== */
.samplesSection .sectionHeadwrap {
    text-align: center;
    margin: 0 auto;
}

.samplesSection .sectionHeadwrap .secHeadDesc,
.samplesSection .sectionHeadwrap .secHeadDesc p {
    max-width: 659px;
    margin: auto;
}

/* ===== List Wrapper ===== */
.samplesListWrapper {
    margin-top: 60px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #E9E3FB;
    overflow: hidden;
    padding: 12px 40px;
}

/* ===== Row ===== */
.sampleRow {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #EBE8F4;
    padding: 18px 0;
    transition: background 0.2s ease;
   
}

.sampleRow:last-child {
    border-bottom: none;
}

.sampleRow:hover {
      border-color: #d3c4ff;
}

/* ===== Columns — percentage widths ===== */
.sampleCol { flex-shrink: 0; }

 
.sampleCol-type {
    width: 18%;
    margin-right: 12px;
}
.sampleCol-subject {
    width: 24%;
    flex-shrink: 1;
    margin-right: 10px;
}
.sampleCol-level {
    width: 12%;
    margin-right: 15px;
}
.sampleCol-pages {
    max-width: 75px;
    width: 100%;
    margin-right: 22px;
}
.sampleCol-reports {
    width: 24.5%;
}
.sampleCol-action {
    width: max-content;
    display: flex;
    justify-content: flex-end;
    margin-left: 20px;
}
.mobWrap{
    display: flex;
   
    flex: 0 0 1;
    align-items: center;
    width: 100%;
}
/* ===== Row Number Badge ===== */
.samplesRowNumber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 51px;
    background: linear-gradient(112.29deg, #F5F2FA 14.54%, #EFEDF7 97.38%);
    color: var(--color-primary);
    border-radius: 15px;
    font-weight: 700;
    font-size: 18px;
        margin-right: 30px;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Badge ===== */
.sampleBadge {
    display: inline-block;
    background: #F5F4FA;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 100px;
    border: 1px solid #ECE9F9;
    white-space: nowrap;
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* ===== Subject Title ===== */
.sampleTitle {
    display: block;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 700;
    color: #1F2A2E;
    line-height: 140%;
    transition: color 0.2s ease;
}

/* ===== Level ===== */
.sampleLevel {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
}

.sampleLevel svg { flex-shrink: 0; }

/* ===== Pages ===== */
.samplePages {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: #4B5563;
}

.samplePages svg { flex-shrink: 0; }

/* ===== Report Links ===== */
.sampleReportLinks {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sampleReportLink {
   border: 1px solid #ECE9F9;
    background: #F8F5FF;
    padding: 5px 15px;
    height: 34px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: #595F79;
    border-radius: 10px;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sampleReportLink:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ===== View Button ===== */
.sampleViewBtn {
    border: 1px solid #685ADB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
   padding: 6px 18px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sampleViewBtn img {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}

/* ===== Hover Effects ===== */
.sampleRow:hover .samplesRowNumber {
    background: linear-gradient(135deg, #685ADB 0%, #5648C8 100%);
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(104, 90, 219, 0.25);
}

.sampleRow:hover .sampleBadge {
    background: linear-gradient(112.29deg, #EEE9FF 14.54%, #E8E0FF 97.38%);
    border-color: #D9CCFF;
}

.sampleRow:hover .sampleTitle {
    color: var(--color-primary);
}

.sampleRow:hover .sampleViewBtn {
    /* background: linear-gradient(135deg, #685ADB 0%, #5648C8 100%); */
    /* color: #ffffff; */
    border-color: #685ADB;
    box-shadow: 0px 6px 20px rgba(104, 90, 219, 0.35);
}

 

/* ===== Responsive — Tablet ===== */
@media (max-width: 1024px) {
    .samplesListWrapper {
        padding: 0 20px;
    }

    .sampleRow:hover {
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .samplesRowNumber {
        width: 42px;
        height: 42px;
        font-size: 15px;
        border-radius: 12px;
    }

    .sampleCol-no      { width: 7%; }
    .sampleCol-type    { width: 16%; }
    .sampleCol-subject { width: 20%; }
    .sampleCol-level   { width: 15%; }
    .sampleCol-pages   { width: 10%; }
    .sampleCol-reports { width: 20%; }
    .sampleCol-action  { width: 12%; }

    .sampleTitle { font-size: 14px; }
    .sampleLevel, .samplePages { font-size: 13px; }
    .sampleReportLink { font-size: 12px; padding: 5px 10px; }
    .sampleViewBtn { padding: 8px 14px; font-size: 13px; }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 768px) {
    .samplesListWrapper {
        padding: 0 16px;
        border-radius: 16px;
        overflow-x: unset;
    }

    /* sampleRow: number badge left + mobWrap right */
    .sampleRow {
        flex-wrap: nowrap;
        align-items: flex-start;
        min-width: unset;
        padding: 20px 0;
        gap: 0;
    }

    .sampleRow:hover {
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Number badge — left column */
    .sampleCol-no {
        width: auto;
        flex-shrink: 0;
        margin-right: 12px;
        padding-top: 2px;
    }

    .samplesRowNumber {
        width: 46px;
        height: 46px;
        font-size: 16px;
        border-radius: 12px;
        margin-right: 0;
    }

    /* mobWrap — takes remaining width, wraps into 3 rows */
    .mobWrap {
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
    }

    /* ── Row 1: type + subject ── */
    .sampleCol-type {
        width: auto;
        flex-shrink: 0;
        margin-right: 10px;
        order: 1;
    }

    .sampleCol-subject {
        flex: 1;
      
        margin-right: 0;
        order: 2;
    }

    /* ── Row 2: level + pages (50% each) ── */
    .sampleCol-level {
        width: 50%;
        max-width: unset;
        flex-shrink: 0;
        margin-right: 0;
        padding-top: 12px;
        order: 3;
    }

    .sampleCol-pages {
        width: 50%;
        max-width: unset;
        flex-shrink: 0;
        margin-right: 0;
        padding-top: 12px;
        order: 4;
    }

    /* ── Row 3: reports + action ── */
    .sampleCol-reports {
        width: 65%;
        flex-shrink: 0;
        margin-left: 0;
        padding-top: 12px;
        order: 5;
    }

    .sampleCol-action {
                width: 100%;
        margin-left: 0;
        padding-top: 12px;
        justify-content: flex-end;
        order: 6;
    }

    .sampleTitle { font-size: 15px; font-weight: 700; }
    .sampleBadge {         font-size: 11px;
        padding: 3px 14px; }
    .sampleLevel, .samplePages { font-size: 14px; }
    .sampleReportLinks { gap: 8px; flex-wrap: nowrap; }
    .sampleReportLink { font-size: 13px; padding: 5px 14px; height: 36px; }
    .sampleViewBtn { padding: 10px 18px; font-size: 14px; font-weight: 700; width: calc(100% + 46px + 12px + 32px); margin-left: calc(-31px - 12px - 16px); justify-content: center; }
}
