﻿/* ═══════════════════════════════════════════════════════════
   ICDL PAGE — Complete Stylesheet
   Replaces the original icdl-page CSS with a modern design
   that matches the icdl-profile.html reference.
   ═══════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
    --icdl-pri: #0A7CBA;
    --icdl-pri-l: #3DB8E8;
    --icdl-pri-d: #065A8C;
    --icdl-pri-5: rgba(10,124,186,.05);
    --icdl-pri-10: rgba(10,124,186,.10);
    --icdl-sec: #1B3A5C;
    --icdl-sec-d: #0F2640;
    --icdl-acc: #FF5C35;
    --icdl-ok: #10B981;
    --icdl-w: #fff;
    --icdl-off: #F7F9FC;
    --icdl-g50: #F0F4F8;
    --icdl-g100: #E1E8EF;
    --icdl-g200: #C8D3DE;
    --icdl-g300: #A3B3C4;
    --icdl-g400: #7B8FA4;
    --icdl-g500: #576D82;
    --icdl-g600: #3E5268;
    --icdl-g700: #2C3E50;
    --icdl-g800: #1A2A3A;
    --icdl-g900: #0D1520;
    --icdl-ease: cubic-bezier(.16,1,.3,1);
    --icdl-radius: 14px;
    --icdl-radius-lg: 20px;
    /* Module-group brand colours */
    --icdl-workforce: #009ede;
    --icdl-professional: #003c71;
    --icdl-insights: #0a807f;
    --icdl-citizen: #ae1684;
    --icdl-digital: #78bd20;
}


/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.icdl-hero {
    position: relative;
    padding: 72px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7fb 0%, #e0eff8 45%, #f7f9fc 100%);
}

    .icdl-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230a7cba' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: .5;
    }

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
════════════════════════════════════════════════════════════ */
.icdl-hero__wrap {
    position: relative;
    z-index: 1;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.icdl-hero__text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--icdl-g900);
    line-height: 1.15;
    margin: 0;
    font-weight: 700;
}

.icdl-hero__badge {
    background: var(--icdl-w);
    border-radius: var(--icdl-radius-lg);
    padding: 24px 32px;
    box-shadow: 0 8px 36px rgba(0,0,0,.08);
    border: 1px solid var(--icdl-g100);
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.icdl-hero__badge-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--icdl-pri), var(--icdl-pri-d));
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}

.icdl-hero__badge-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--icdl-w);
}

.icdl-hero__badge-text {
    font-size: 13px;
    color: var(--icdl-g500);
    font-weight: 600;
    line-height: 1.5;
}

    .icdl-hero__badge-text strong {
        display: block;
        font-size: 16px;
        color: var(--icdl-g800);
        font-weight: 700;
    }

.about-hero {
    background: linear-gradient(135deg, var(--sec-d) 0%,var(--sec) 50%,var(--pri-d) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 50px) rotate(360deg);
    }
}

.about-hero__wrap {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 3rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: slideInLeft 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-hero__badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: hoverFloat 2s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .about-hero__badge::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 4px;
        background: linear-gradient(90deg, #1e3c72, #2a5298, #7db9e8);
        transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .about-hero__badge::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(30, 60, 114, 0.05) 0%, rgba(125, 185, 232, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

@keyframes hoverFloat {
    0%, 100% {
        transform: translateY(-8px) scale(1.02);
    }

    50% {
        transform: translateY(-12px) scale(1.03);
    }
}

/*.about-hero__badge:hover::before {
    width: 100%;
}

.about-hero__badge:hover::after {
    opacity: 1;
}*/


/* @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    } */

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    }

    50% {
        box-shadow: 0 25px 70px rgba(42, 82, 152, 0.4);
    }
}

.about-hero__badge-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes pulseIcon {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.about-hero__badge-img {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero__badge-text {
    text-align: left;
    animation: fadeInRight 1s ease-out 0.9s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-hero__badge-text strong {
    display: block;
    font-size: 1.25rem;
    color: #0b1c39;
    margin-bottom: 0.5rem;
}

.about-hero__badge-text span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-content {
    padding: 4rem 2rem;
    animation: fadeIn 1.5s ease-out 1.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.about-content__section {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f5f7fa 0%, #0d517e2e 100%);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .about-content__section:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    }

.about-content__text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    animation: slideInBottom 1s ease-out 1.5s both;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    background: #fff;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: #fff;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    background: #fff;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ════════════════════════════════════════════════════════════
   OUTER WRAPPER & LAYOUT
   ════════════════════════════════════════════════════════════ */
.icdl-outer {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.icdl-page {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    padding: 56px 0 100px;
}


/* ════════════════════════════════════════════════════════════
   SIDEBAR
   ════════════════════════════════════════════════════════════ */
.icdl-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.icdl-sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.icdl-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--icdl-g600);
    cursor: pointer;
    transition: background .2s, color .2s;
    border: none;
    background: none;
    text-align: left;
    text-decoration: none;
}

    .icdl-sidebar__link:hover {
        background: var(--icdl-pri-5);
        color: var(--icdl-pri);
    }

    .icdl-sidebar__link.active {
        background: var(--icdl-pri);
        color: var(--icdl-w) !important;
    }

/* Chevron */
.icdl-sidebar__chevron {
    width: 14px;
    height: 14px;
    opacity: .5;
    transition: transform .2s;
    flex-shrink: 0;
}

.icdl-sidebar__link--has-sub.expanded .icdl-sidebar__chevron {
    transform: rotate(180deg);
}

/* Sub-nav */
.icdl-sidebar__sub {
    display: none;
    flex-direction: column;
    gap: 2px;
    padding-left: 14px;
    margin-top: 2px;
}

    .icdl-sidebar__sub.open {
        display: flex;
    }

.icdl-sidebar__link--sub {
    font-size: 13px;
    padding: 9px 16px;
    background: var(--icdl-g50);
    border-radius: 8px;
}

    .icdl-sidebar__link--sub:hover {
        background: var(--icdl-pri-10);
        color: var(--icdl-pri);
    }

    .icdl-sidebar__link--sub.active {
        background: var(--icdl-pri);
        color: var(--icdl-w);
    }

/* Module-group coloured active states */
.icdl-sidebar__link[id*="ICDLWorkforce"].active {
    background: var(--icdl-workforce) !important;
}

.icdl-sidebar__link[id*="ICDLProfessional"].active {
    background: var(--icdl-professional) !important;
}

.icdl-sidebar__link[id*="ICDLInsights"].active {
    background: var(--icdl-insights) !important;
}

.icdl-sidebar__link[id*="ICDLCitizen"].active {
    background: var(--icdl-citizen) !important;
}

.icdl-sidebar__link[id*="ICDLDigitalStudent"].active {
    background: var(--icdl-digital) !important;
}

.icdl-sidebar__link[id*="ICDLWorkforce"]:hover {
    background: var(--icdl-workforce) !important;
    color: #fff;
}

.icdl-sidebar__link[id*="ICDLProfessional"]:hover {
    background: var(--icdl-professional) !important;
    color: #fff;
}

.icdl-sidebar__link[id*="ICDLInsights"]:hover {
    background: var(--icdl-insights) !important;
    color: #fff;
}

.icdl-sidebar__link[id*="ICDLCitizen"]:hover {
    background: var(--icdl-citizen) !important;
    color: #fff;
}

.icdl-sidebar__link[id*="ICDLDigitalStudent"]:hover {
    background: var(--icdl-digital) !important;
    color: #fff;
}


/* ════════════════════════════════════════════════════════════
   MAIN CONTENT & PANELS
   ════════════════════════════════════════════════════════════ */
.icdl-content {
    min-width: 0;
}

.icdl-panel {
    display: none;
}

    .icdl-panel.active {
        display: block;
        animation: icdlFadeUp .45s var(--icdl-ease) both;
    }

@keyframes icdlFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ════════════════════════════════════════════════════════════
   SECTION BLOCKS
   ════════════════════════════════════════════════════════════ */
.icdl-section {
    margin-bottom: 52px;
}

.icdl-section__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

    .icdl-section__head h2 {
        font-size: clamp(1.25rem, 2.5vw, 1.6rem);
        font-weight: 700;
        color: var(--icdl-g800);
        margin: 0;
    }

.icdl-section__icon {
    width: 38px;
    height: 38px;
    background: var(--icdl-pri);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--icdl-w);
    font-size: 16px;
}

.icdl-section__icon--info {
    background: #0891B2;
}

.icdl-section__icon--success {
    background: var(--icdl-ok);
}

/* Programme-specific icon colours */
.icdl-section__icon--ICDLWorkforce {
    background: var(--icdl-workforce);
}

.icdl-section__icon--ICDLProfessionalModules {
    background: var(--icdl-professional);
}

.icdl-section__icon--ICDLInsightsModules {
    background: var(--icdl-insights);
}

.icdl-section__icon--ICDLCitizenModules {
    background: var(--icdl-citizen);
}

.icdl-section__icon--ICDLDigitalStudent {
    background: var(--icdl-digital);
}

.icdl-section > p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--icdl-g500);
    margin-bottom: 20px;
}


/* ════════════════════════════════════════════════════════════
   INNER TABS (Job Role / Field of Study / Learner)
   ════════════════════════════════════════════════════════════ */
/* -- Job Role tabs (underline style) -- */
.icdl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--icdl-g100);
}

.icdl-tab {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--icdl-g500);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}

    .icdl-tab:hover {
        color: var(--icdl-pri);
    }

    .icdl-tab.active {
        color: var(--icdl-pri);
        border-bottom-color: var(--icdl-pri);
    }

/* -- Field-of-study tabs (pill style) -- */
.icdl-field-tabs,
.icdl-learner-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.icdl-field-tab,
.icdl-learner-tab {
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--icdl-g500);
    border: 1px solid var(--icdl-g200);
    cursor: pointer;
    transition: all .2s;
}

    .icdl-field-tab:hover, .icdl-field-tab.active,
    .icdl-learner-tab:hover, .icdl-learner-tab.active {
        background: var(--icdl-pri);
        color: var(--icdl-w);
        border-color: var(--icdl-pri);
    }

/* -- Tab panels -- */
.icdl-tab-panel,
.icdl-field-panel,
.icdl-learner-panel {
    display: none;
}

    .icdl-tab-panel.active,
    .icdl-field-panel.active,
    .icdl-learner-panel.active {
        display: block;
        animation: icdlFadeUp .35s var(--icdl-ease) both;
    }

/* Panel titles */
.icdl-panel-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--icdl-g800);
    margin-bottom: 8px;
}

.icdl-panel-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--icdl-g500);
    margin-bottom: 20px;
}


/* ════════════════════════════════════════════════════════════
   CATEGORY GRID & CARDS
   ════════════════════════════════════════════════════════════ */
.icdl-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.icdl-cat-grid--2col {
    grid-template-columns: repeat(2, 1fr);
}

.icdl-cat-card {
    border-radius: var(--icdl-radius);
    overflow: hidden;
    border: 1px solid var(--icdl-g100);
    background: var(--icdl-w);
    transition: box-shadow .25s var(--icdl-ease), transform .25s var(--icdl-ease);
}

    .icdl-cat-card:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,.08);
        transform: translateY(-2px);
    }

.icdl-cat-card__head {
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    color: var(--icdl-w);
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* Colour variants */
.icdl-cat-card__head--blue {
    background: var(--icdl-pri);
}

.icdl-cat-card__head--dark {
    background: var(--icdl-sec);
}

.icdl-cat-card__head--teal {
    background: #0D9488;
}

.icdl-cat-card__head--orange {
    background: var(--icdl-acc);
}

.icdl-cat-card__head--green {
    background: var(--icdl-ok);
}

.icdl-cat-card__head--purple {
    background: #7C3AED;
}

.icdl-cat-card__head--indigo {
    background: #4F46E5;
}

.icdl-cat-card__head--rose {
    background: #E11D48;
}

.icdl-cat-card__head--cyan {
    background: #0891B2;
}

.icdl-cat-card__body {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icdl-cat-card__item {
    font-size: 13px;
    color: var(--icdl-g600);
    line-height: 1.5;
    display: block;
}

/* Programme-coloured cards */
.icdl-cat-card--ICDLWorkforce .icdl-cat-card__head {
    background: var(--icdl-workforce);
}

.icdl-cat-card--ICDLWorkforce .icdl-cat-card__item {
    color: var(--icdl-workforce);
}

.icdl-cat-card--ICDLProfessionalModules .icdl-cat-card__head {
    background: var(--icdl-professional);
}

.icdl-cat-card--ICDLProfessionalModules .icdl-cat-card__item {
    color: var(--icdl-professional);
}

.icdl-cat-card--ICDLInsightsModules .icdl-cat-card__head {
    background: var(--icdl-insights);
}

.icdl-cat-card--ICDLInsightsModules .icdl-cat-card__item {
    color: var(--icdl-insights);
}

.icdl-cat-card--ICDLCitizenModules .icdl-cat-card__head {
    background: var(--icdl-citizen);
}

.icdl-cat-card--ICDLCitizenModules .icdl-cat-card__item {
    color: var(--icdl-citizen);
}

.icdl-cat-card--ICDLDigitalStudent .icdl-cat-card__head {
    background: var(--icdl-digital);
}

.icdl-cat-card--ICDLDigitalStudent .icdl-cat-card__item {
    color: var(--icdl-digital);
}


/* ════════════════════════════════════════════════════════════
   STEP LIST  (Become Certified / Become Test Center)
   ════════════════════════════════════════════════════════════ */
.icdl-steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.icdl-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--icdl-off);
    border: 1px solid var(--icdl-g100);
    border-radius: var(--icdl-radius-lg);
    padding: 22px 24px;
    transition: box-shadow .25s;
}

    .icdl-step:hover {
        box-shadow: 0 6px 24px rgba(0,0,0,.06);
    }

.icdl-step__num {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
    color: var(--icdl-w);
}

.icdl-step__num--blue {
    background: var(--icdl-pri);
}

.icdl-step__num--yellow {
    background: #F59E0B;
}

.icdl-step__num--green {
    background: var(--icdl-ok);
}

.icdl-step__num--red {
    background: #EF4444;
}

.icdl-step__num--info {
    background: #0891B2;
}

.icdl-step__body {
    flex: 1;
    min-width: 0;
}

.icdl-step__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--icdl-g800);
    margin: 0 0 6px;
}

.icdl-step__desc {
    font-size: 14px;
    color: var(--icdl-g500);
    line-height: 1.7;
    margin: 0 0 10px;
}

.icdl-step__link {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--icdl-w);
    text-decoration: none;
    transition: opacity .2s;
}

    .icdl-step__link:hover {
        opacity: .85;
    }

.icdl-step__link--blue {
    background: var(--icdl-pri);
}

.icdl-step__link--yellow {
    background: #F59E0B;
    color: #1a1a1a;
}

.icdl-step__link--green {
    background: var(--icdl-ok);
}

.icdl-step__link--red {
    background: #EF4444;
}

.icdl-step__link--info {
    background: #0891B2;
}


/* ════════════════════════════════════════════════════════════
   FORM ELEMENTS (Find Center / Sessions / Verify)
   ════════════════════════════════════════════════════════════ */
.icdl-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.icdl-form-group--grow {
    flex: 1;
}

.icdl-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--icdl-g700);
}

.icdl-form-control {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--icdl-g200);
    font-size: 14px;
    color: var(--icdl-g800);
    background: var(--icdl-w);
    outline: none;
    transition: border-color .2s;
    width: 100%;
    font-family: inherit;
}

    .icdl-form-control:focus {
        border-color: var(--icdl-pri);
    }

.icdl-tree-container {
    margin-top: 8px;
}

.icdl-sessions-filters {
    background: var(--icdl-off);
    border: 1px solid var(--icdl-g100);
    border-radius: var(--icdl-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.icdl-sessions-date-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

    .icdl-sessions-date-row .icdl-form-group {
        flex: 1;
        min-width: 180px;
        margin-bottom: 0;
    }

.icdl-verify-form {
    background: var(--icdl-off);
    border: 1px solid var(--icdl-g100);
    border-radius: var(--icdl-radius-lg);
    padding: 24px;
    margin-bottom: 20px;
}

.icdl-verify-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.icdl-candidate-alert {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 16px;
}

.icdl-candidate-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--icdl-sec);
}

.icdl-divider {
    border: none;
    border-top: 1px solid var(--icdl-g100);
    margin: 20px 0;
}

.icdl-alert {
    display: block;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.icdl-alert--danger {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}


/* ════════════════════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════════════════════ */
.icdl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    line-height: 1;
}

.icdl-btn--primary {
    background: linear-gradient(135deg, var(--icdl-pri), var(--icdl-pri-d));
    color: var(--icdl-w);
    box-shadow: 0 2px 10px rgba(10,124,186,.2);
}

    .icdl-btn--primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(10,124,186,.3);
    }

.icdl-btn--icon {
    background: var(--icdl-g50);
    color: var(--icdl-g600);
    padding: 10px 14px;
    border-radius: 10px;
}

    .icdl-btn--icon:hover {
        background: var(--icdl-pri-10);
        color: var(--icdl-pri);
    }


/* ════════════════════════════════════════════════════════════
   TABLE
   ════════════════════════════════════════════════════════════ */
.icdl-table-wrap {
    overflow-x: auto;
    border-radius: var(--icdl-radius);
    border: 1px solid var(--icdl-g100);
}

.icdl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

    .icdl-table thead tr {
        background: var(--icdl-pri);
        color: var(--icdl-w);
    }

    .icdl-table th,
    .icdl-table td {
        padding: 12px 16px;
        text-align: left;
        border-bottom: 1px solid var(--icdl-g100);
    }

    .icdl-table tbody tr:hover {
        background: var(--icdl-pri-5);
    }

    .icdl-table tbody tr:last-child td {
        border-bottom: none;
    }


/* ════════════════════════════════════════════════════════════
   BOOKS / COURSEWARE
   ════════════════════════════════════════════════════════════ */
.icdl-books-search {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
}

    .icdl-books-search .icdl-form-control {
        max-width: 420px;
    }

.icdl-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.icdl-book-card {
    border-radius: var(--icdl-radius-lg);
    overflow: hidden;
    border: 1px solid var(--icdl-g100);
    background: var(--icdl-w);
    transition: box-shadow .25s, transform .25s;
}

    .icdl-book-card:hover {
        box-shadow: 0 10px 32px rgba(0,0,0,.09);
        transform: translateY(-4px);
    }

.icdl-book-card__img-wrap {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--icdl-g50);
}

    .icdl-book-card__img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.icdl-book-card__body {
    padding: 16px;
}

.icdl-book-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--icdl-g800);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
}

    .icdl-book-card__title:hover {
        color: var(--icdl-pri);
    }

.icdl-book-card__meta {
    font-size: 12px;
    color: var(--icdl-g500);
    line-height: 1.6;
}

.icdl-book-card__meta-label {
    font-weight: 700;
    color: var(--icdl-g700);
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .icdl-page {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 32px;
    }

    .icdl-sidebar {
        position: static;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .icdl-sidebar__nav {
        flex-direction: row;
        gap: 6px;
        min-width: max-content;
    }

    .icdl-sidebar__link {
        white-space: nowrap;
        padding: 9px 16px;
        font-size: 13px;
        border-radius: 100px;
        border: 1px solid var(--icdl-g200);
    }

        .icdl-sidebar__link.active {
            border-color: var(--icdl-pri);
        }

    .icdl-sidebar__collapse-wrap {
        display: contents;
    }

    .icdl-sidebar__link--has-sub .icdl-sidebar__chevron {
        display: none;
    }

    .icdl-sidebar__sub {
        display: contents;
    }

        .icdl-sidebar__sub.open {
            display: contents;
        }

    .icdl-hero__wrap {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .icdl-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .icdl-sessions-date-row {
        flex-direction: column;
    }

    .icdl-verify-row {
        flex-direction: column;
        align-items: stretch;
    }

    .icdl-step {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .icdl-hero {
        padding: 48px 0;
    }

    .icdl-hero__badge {
        display: none;
    }

    .icdl-cat-grid,
    .icdl-cat-grid--2col {
        grid-template-columns: 1fr;
    }

    .icdl-books-grid {
        grid-template-columns: 1fr 1fr;
    }

    .icdl-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}

.icdl-badge-feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
}

.icdl-badge-card {
    background: var(--icdl-w);
    border: 1px solid var(--icdl-g100);
    border-radius: var(--icdl-radius-lg);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    overflow: hidden;
}

.icdl-badge-card__img {
    width: 100%;
    height: 240px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f4f7fb;
}

.icdl-badge-card__meta {
    padding: 14px 16px;
}

.icdl-badge-card__title {
    font-size: 14px;
    font-weight: 800;
    color: var(--icdl-g800);
}

.icdl-badge-card__sub {
    font-size: 13px;
    color: var(--icdl-g500);
    margin-top: 4px;
}

.icdl-share-box {
    margin-top: 14px;
    background: #37397a;
    color: #fff;
    border-radius: var(--icdl-radius-lg);
    padding: 16px;
}

.icdl-share-box__title {
    font-weight: 800;
    font-size: 15px;
}

.icdl-share-box__desc {
    opacity: .9;
    font-size: 13px;
    margin-top: 4px;
}

.icdl-share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.icdl-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(255,255,255,.95);
    color: #1a1a1a;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: transform .15s var(--icdl-ease);
}

    .icdl-share-btn:hover {
        transform: translateY(-1px);
    }

    .icdl-share-btn i {
        font-size: 16px;
    }

.icdl-share-cta {
    margin-top: 14px;
    display: flex;
    justify-content: flex-start;
}

.icdl-badge-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.icdl-badge-step {
    background: var(--icdl-off);
    border: 1px solid var(--icdl-g100);
    border-radius: var(--icdl-radius-lg);
    padding: 14px 14px;
    display: flex;
    gap: 12px;
}

.icdl-badge-step__num {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--icdl-pri);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.icdl-badge-step__title {
    font-weight: 800;
    color: var(--icdl-g800);
    font-size: 14px;
}

.icdl-badge-step__desc {
    color: var(--icdl-g500);
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.6;
}

.icdl-badge-note {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--icdl-g500);
}

@media (max-width: 992px) {
    .icdl-badge-feature {
        grid-template-columns: 1fr;
    }

    .icdl-share-actions {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .icdl-share-actions {
        grid-template-columns: 1fr;
    }
}
