:root {
    --brand-color: #FFAF1F;
    --brand-hover: #ffbf4d;
    --bg-page: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-btn-orange: #FFAF1F;
    --bg-track: #eeeeee;
    --bg-overlay: rgba(0, 0, 0, 0.9);
    --bg-placeholder: #c4c4c4;
    --Gray---bs-gray-0: FEFEFE;
    --Gray---bs-gray-600: #D8D8D8;
    --Gray---bs-gray-900: #414141;
    --Gray---bs-gray-1050: #25272C;
    --White---bs-white: #FFF;
    --text-primary: #222222;
    --text-secondary: #5a6066;
    --text-muted: #808080;
    --text-light: #ffffff;
    --status-success: #34C065;
    --status-success-bg: #34C0651A;
    --status-border: #d5f5e3;
    --border-light: #e0e0e0;
    --border-card: #f0f0f0;
    --border-hover: #d1d5db;
    --spacing-block: 30px;
}


body {
    background-color: var(--bg-page);
    font-family: "Open Sans", sans-serif;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
}

.main-container {
    max-width: 70%;
    margin: 0 auto;
    padding: 0 15px;
}

.d-none {
    display: none !important;
}


.white-card-container {
    background: var(--White---bs-white);
    border-radius: 8px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('frames/background.png');
    background-size: cover;
    background-position: bottom;
    padding: 40px 0 60px;
    color: var(--text-light);
}

.nav-tabs-clean {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 16px;
    gap: 0;
}

    .nav-tabs-clean li {
        flex: 1 1 auto;
        min-width: 100px;
        text-align: center;
        padding: 12px 8px 15px;
        cursor: pointer;
        color: #E3E3E3;
        transition: 0.3s;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.07px;
        white-space: nowrap;
    }

        .nav-tabs-clean li.active {
            color: #FAFAFA;
            border-bottom: 3px solid var(--bg-btn-orange);
            font-weight: 600;
        }

.hero-split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.hero-text-side {
    flex: 1;
    min-width: 0;
}

.feature-label {
    color: var(--brand-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
    font-size: 18px;
}

.hero-text-side h1 {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -1.92px;
    color: var(--Gray---bs-gray-0);
}

.hero-text-side .highlight {
    color: var(--brand-color);
}

.hero-text-side .subtitle {
    color: var(--Gray---bs-gray-0);
    line-height: 1.6;
    font-size: 20px;
}

.hero-video-side {
    flex: 1;
    min-width: 0;
}

.video-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
    font-size: 16px;
}


.progress-info-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    gap: 30px;
}

.cta-text {
    flex: 1;
    min-width: 0;
}

    .cta-text h2 {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: -0.28px;
        margin-bottom: 8px;
    }

    .cta-text p {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 16px;
        letter-spacing: -0.16px;
        font-weight: 400;
    }

.progress-mini-card {
    flex: 1;
    max-width: 800px;
    min-width: 280px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.completion-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    width: 25px;
    height: 25px;
    background: linear-gradient(135deg, #34C065 0%, #2DA855 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    /* box-shadow: 0 4px 12px rgba(52, 192, 101, 0.4); */
    z-index: 10;
    animation: badgePop 0.5s ease-out;
}


@keyframes badgePop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}


/*.progress-mini-card.completed {
    border-color: #34C065;
    background: linear-gradient(to bottom, rgba(52, 192, 101, 0.05), #fff);
}*/

.progress-mini-card.completed .completion-badge {
    display: flex;
}

.progress-mini-card.completed .progress-fill {
    background-color: #34C065;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 8px;
}

.progress-track {
    width: 100%;
    height: 8px;
    background-color: var(--bg-track);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background-color: var(--bg-btn-orange);
    transition: 0.5s;
    width: 0%;
    border-radius: 10px;
}

.fw-bold {
    font-size: 18px;
    font-style: normal;
    font-weight: 600 !important;
    line-height: normal;
    letter-spacing: -0.18px;
}

.btn-orange-cta {
    background-color: var(--bg-btn-orange);
    color: var(--brand-text);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    padding: 8px 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.14px;
    width: 100%;
}


.section-divider-title {
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.28px;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.module-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
}

    .module-card:hover {
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }

.card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.card-info {
    padding: 15px;
}

    .card-info h3 {
        margin-bottom: 8px;
        font-size: 18px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.18px;
    }

    .card-info h6 {
        margin-bottom: 16px;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        letter-spacing: -0.07px;
    }


.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.detail-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.12px;
    color: var(--Gray---bs-gray-1050);
    margin: 0;
    margin-top: 50px;
    flex: 1;
    min-width: 200px;
}

.btn-back {
    border-radius: 4px;
    font-weight: 600;
    color: var(--text-primary);
    transition: 0.2s;
    cursor: pointer;
    margin-top: 50px;
    display: flex;
    padding: 8px 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--Gray---bs-gray-600, #D8D8D8);
    background: var(--White---bs-white, #FFF);
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.14px;
    color: var(--Gray---bs-gray-900, #414141);
    text-align: center;
    flex-shrink: 0;
}

    .btn-back:hover {
        background-color: #f8f9fa;
        border-color: #ccc;
    }

.status-badge-success {
    color: var(--status-success);
    background-color: rgba(52, 192, 101, 0.10);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    line-height: normal;
    letter-spacing: -0.07px;
}


.video-item {
    background-color: #FAFAFA;
    border-radius: 8px;
    border: 1px solid var(--border-light) !important;
    transition: all 0.2s ease;
    cursor: pointer;
    padding: 12px;
    margin-bottom: 12px;
}

    .video-item:hover {
        box-shadow: 0 2px 8px rgba(0,0,0,0.01);
        background-color: #fff;
    }

        .video-item:hover .btn-orange {
            background-color: var(--brand-hover);
        }

.video-item-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.video-thumb {
    width: 120px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

    .video-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.video-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.video-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.video-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.video-item-date {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}


.video-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


.btn-orange {
    background-color: var(--bg-btn-orange);
    color: var(--brand-text);
    border: none;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    padding: 8px 14px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

    .btn-orange:hover {
        background-color: var(--brand-hover);
    }


.tab-hero-content, .tab-progress-content, .tab-grid-content {
    display: none;
}

    .tab-hero-content.active, .tab-progress-content.active, .tab-grid-content.active {
        display: block !important;
    }

.video-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    .video-modal-overlay.active {
        display: flex;
    }

.video-modal-content {
    width: 90%;
    max-width: 900px;
    position: relative;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 8px;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.close-modal-btn {
    position: absolute;
    top: -45px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* =====================================================
   WORKFLOW / STEP-BY-STEP STYLES - ATUALIZADO
   ===================================================== */

.timeline-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.timeline-item {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s;
    border: 2px solid transparent;
    background-color: transparent;
    overflow: visible;
}


    .timeline-item .timeline-connector {
        position: absolute;
        left: 32px;
        top: 54px;
        width: 4px;
        height: calc(100% - 20px);
        background-color: #FBC02D;
        z-index: 0;
        border-radius: 2px;
    }

    .timeline-item.completed .timeline-connector {
        background-color: #34C065;
    }

    .timeline-item:last-child .timeline-connector {
        display: none;
    }


.timeline-item-header {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.2s;
    gap: 12px;
}

.timeline-item:hover .timeline-item-header {
    background-color: var(--brand-color);
}


.timeline-item.completed .timeline-item-header {
    background-color: #D6F2E0;
    border-radius: 10px;
}

.timeline-item.completed:hover .timeline-item-header {
    background-color: #D6F2E0;
}


.timeline-item.active {
    background-color: transparent;
    border: 2px solid transparent;
}

    .timeline-item.active .timeline-item-header {
        background-color: transparent;
        border-radius: 10px;
    }


.timeline-item.completed.active {
    background-color: transparent;
    border: 2px solid transparent;
}

    .timeline-item.completed.active .timeline-item-header {
        background-color: #D6F2E0;
        border-radius: 10px;
    }

.timeline-marker {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 50%;
    background-color: #FBC02D;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
    font-size: 16px;
    z-index: 2;
}

.timeline-item.completed .timeline-marker {
    background-color: #34C065;
    color: #FFF;
}

.timeline-content {
    flex: 1;
    padding-top: 2px;
    min-width: 0;
    overflow: hidden;
}

    .timeline-content .step-label {
        display: block;
        font-size: 11px;
        color: #999;
        text-transform: uppercase;
        margin-bottom: 2px;
        font-weight: 500;
    }

.step-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-content h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    word-break: break-word;
}

.timeline-content .video-count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    white-space: nowrap;
}

.timeline-item.active .timeline-content h5 {
    color: #111;
}

.timeline-item.completed .timeline-content h5 {
    color: #333;
}


.timeline-video-list {
    list-style: none;
    padding: 8px 12px 12px 12px;
    margin: 0;
    margin-left: 54px;
    background-color: #FFF;
    border-radius: 0 0 8px 8px;
}

.timeline-video-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    margin: 6px 0;
    background-color: #FFF;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    gap: 12px;
}

    .timeline-video-item:hover {
        background-color: #fff8e1;
        border-color: #FBC02D;
    }


    .timeline-video-item.active-video {
        background-color: #FBC02D;
        border-color: #FBC02D;
        color: #111;
    }


    .timeline-video-item.watched {
        background-color: #FFF;
        border-color: #eee;
    }

        .timeline-video-item.watched:hover {
            background-color: #fff8e1;
            border-color: #FBC02D;
        }

    .timeline-video-item .video-icon {
        font-size: 14px;
        width: 20px;
        min-width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    .timeline-video-item .watched-icon {
        color: #34C065;
    }

    .timeline-video-item .play-icon {
        color: #111;
    }

    .timeline-video-item .play-icon-gray {
        color: #bbb;
    }

    .timeline-video-item.active-video .play-icon {
        color: #111;
    }

    .timeline-video-item .video-title {
        flex: 1;
        font-weight: 500;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.task-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    color: #555;
}

    .task-item:last-child {
        border-bottom: none;
    }

    .task-item input[type="checkbox"] {
        margin-top: 2px;
        width: 18px;
        height: 18px;
        min-width: 18px;
        accent-color: #FBC02D;
        cursor: pointer;
        flex-shrink: 0;
    }

    .task-item label {
        cursor: pointer;
        flex: 1;
        line-height: 1.5;
        min-width: 0;
    }

    .task-item.completed label {
        color: #34C065;
        text-decoration: line-through;
    }

.workflow-video-frame {
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    margin-bottom: 20px;
}

/* =====================================================
   RESPONSIVE - MOBILE (max-width: 576px)
   ===================================================== */
@media (max-width: 576px) {
    .main-container {
        max-width: 100%;
        padding: 0 12px;
    }


    .nav-tabs-clean {
        flex-direction: column;
        margin-bottom: 30px;
        border-bottom: none;
        gap: 4px;
    }

        .nav-tabs-clean li {
            min-width: auto;
            width: 100%;
            padding: 14px 12px;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            text-align: left;
        }

            .nav-tabs-clean li.active {
                border-bottom: 1px solid rgba(255,255,255,0.1);
                border-left: 3px solid var(--bg-btn-orange);
                background: rgba(255,255,255,0.05);
            }

    .hero-section {
        padding: 20px 0 40px;
    }

    .hero-split-layout {
        flex-direction: column;
        gap: 25px;
    }

    .hero-text-side h1 {
        font-size: 28px;
        letter-spacing: -1px;
    }

    .hero-text-side .subtitle {
        font-size: 16px;
    }

    .feature-label {
        font-size: 14px;
    }


    .progress-info-layout {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }

    .progress-mini-card {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }

    .cta-text h2 {
        font-size: 22px;
    }

    .cta-text p {
        font-size: 14px;
    }


    .detail-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .detail-title {
        margin-top: 20px;
        font-size: 18px;
        order: 2;
    }

    .btn-back {
        margin-top: 20px;
        width: 100%;
        order: 1;
    }


    .section-divider-title {
        font-size: 20px;
    }

    /* =====================================================
       VIDEO ITEM CARD - Mobile Layout (Stacked)
       ===================================================== */
    .video-item {
        padding: 14px;
        margin-bottom: 14px;
    }

    .video-item-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .video-thumb {
        width: 100%;
        height: 160px;
        border-radius: 8px;
    }

    .video-item-content {
        gap: 10px;
    }

    .video-item-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .video-item-meta {
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
    }

    .video-item-date {
        font-size: 13px;
    }

    .video-item-actions {
        flex-direction: row;
        gap: 10px;
        margin-top: 4px;
    }

        .video-item-actions .status-badge-success {
            flex: 1;
            justify-content: center;
            padding: 10px 12px;
            font-size: 13px;
        }

        .video-item-actions .btn-orange {
            flex: 1;
            padding: 10px 12px;
            font-size: 13px;
        }


    .timeline-steps {
        padding-left: 0;
    }

    .timeline-item .timeline-connector {
        left: 24px;
        top: 44px;
    }

    .timeline-item-header {
        padding: 10px;
        gap: 10px;
    }

    .timeline-marker {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 13px;
    }

    .timeline-content h5 {
        font-size: 13px;
    }

    .timeline-content .video-count {
        font-size: 11px;
    }

    .timeline-content .step-label {
        font-size: 9px;
    }

    .step-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .timeline-video-list {
        margin-left: 0;
        padding: 8px;
    }

    .timeline-video-item {
        padding: 10px;
        font-size: 12px;
        gap: 8px;
    }

        .timeline-video-item .video-icon {
            font-size: 12px;
            width: 16px;
            min-width: 16px;
        }

        .timeline-video-item .video-title {
            font-size: 12px;
        }

    .row.g-4 > .col-md-4,
    .row.g-4 > .col-md-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .card-info h3 {
        font-size: 16px;
    }

    .card-info h6 {
        font-size: 13px;
    }


    .task-item {
        font-size: 13px;
        padding: 12px 0;
        gap: 10px;
    }

        .task-item input[type="checkbox"] {
            width: 16px;
            height: 16px;
            min-width: 16px;
        }


    .workflow-video-frame {
        margin-bottom: 16px;
    }

    #workflow-step-title {
        font-size: 18px !important;
    }


    .progress-header {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

/* =====================================================
   RESPONSIVE - TABLET (577px - 992px)
   ===================================================== */
@media (min-width: 577px) and (max-width: 992px) {
    .main-container {
        max-width: 90%;
    }


    .nav-tabs-clean {
        gap: 0;
    }

        .nav-tabs-clean li {
            min-width: 80px;
            padding: 12px 6px 15px;
            font-size: 13px;
        }


    .hero-section {
        padding: 30px 0 50px;
    }

    .hero-split-layout {
        flex-direction: column;
        gap: 35px;
    }

    .hero-text-side h1 {
        font-size: 36px;
    }

    .hero-text-side .subtitle {
        font-size: 18px;
    }


    .progress-info-layout {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
    }

    .progress-mini-card {
        max-width: 100%;
        width: 100%;
    }

    .cta-text h2 {
        font-size: 24px;
    }


    .detail-header {
        gap: 15px;
    }

    .detail-title {
        font-size: 22px;
    }

    /* =====================================================
       VIDEO ITEM CARD - Tablet Layout
       ===================================================== */
    .video-item {
        padding: 14px;
    }

    .video-item-inner {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .video-thumb {
        width: 140px;
        height: 80px;
    }

    .video-item-title {
        font-size: 15px;
    }

    .video-item-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .video-item-actions {
        flex-direction: column;
        gap: 8px;
        min-width: 100px;
    }

        .video-item-actions .status-badge-success,
        .video-item-actions .btn-orange {
            width: 100%;
            justify-content: center;
            text-align: center;
        }


    .timeline-item .timeline-connector {
        left: 30px;
        top: 50px;
    }

    .timeline-marker {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 15px;
    }

    .timeline-video-list {
        margin-left: 50px;
    }


    .row.g-4 > .col-md-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin-bottom: 20px;
    }

    .row.g-4 > .col-md-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* =====================================================
   RESPONSIVE - SMALL DESKTOP (993px - 1200px)
   ===================================================== */
@media (min-width: 993px) and (max-width: 1200px) {
    .main-container {
        max-width: 85%;
    }

    .hero-split-layout {
        gap: 40px;
    }

    .hero-text-side h1 {
        font-size: 40px;
    }

    .progress-info-layout {
        padding: 25px 30px;
    }

    .timeline-video-list {
        margin-left: 52px;
    }
}

/* =====================================================
   RESPONSIVE - LARGE DESKTOP (1201px+)
   ===================================================== */
@media (min-width: 1201px) {
    .main-container {
        max-width: 70%;
    }


    .timeline-item .timeline-connector {
        left: 32px;
        top: 54px;
    }

    .timeline-video-list {
        margin-left: 54px;
    }

    /* =====================================================
       VIDEO ITEM CARD - Desktop Layout
       ===================================================== */
    .video-item-inner {
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }

    .video-thumb {
        width: 140px;
        height: 80px;
    }

    .video-item-title {
        font-size: 16px;
    }

    .video-item-actions {
        flex-direction: row;
        gap: 12px;
    }

        .video-item-actions .status-badge-success,
        .video-item-actions .btn-orange {
            white-space: nowrap;
            gap: 10px;
        }
}

/* =====================================================
   UTILITY CLASSES FOR ICONS
   ===================================================== */
/* Prevent icon overlap */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.fa, .fas, .far, .fab {
    display: inline-block;
    vertical-align: middle;
}


.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-with-icon i,
    .btn-with-icon svg {
        flex-shrink: 0;
    }


@media (max-width: 576px) {
    .row.g-4 > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .row.g-4 > .col-md-3,
    .row.g-4 > .col-lg-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .row.g-4 > .col-md-3,
    .row.g-4 > .col-lg-3 {
        width: 33.333% !important;
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}

/* =====================================================
   SHARE BUTTON & TOAST
   ===================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-shrink: 0;
}

    .header-actions .btn-back {
        margin-top: 0;
    }

.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--Gray---bs-gray-600, #D8D8D8);
    background: var(--White---bs-white, #FFF);
    color: var(--Gray---bs-gray-900, #414141);
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    padding: 8px 14px;
    gap: 8px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.14px;
}

    .btn-share:hover {
        background-color: #f8f9fa;
        border-color: #ccc;
    }

    .btn-share.copied {
        background-color: var(--bg-btn-orange);
        color: var(--text-light);
        border-color: var(--bg-btn-orange);
    }

.share-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--Gray---bs-gray-900, #414141);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

    .share-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .share-toast i {
        color: var(--status-success);
        font-size: 16px;
    }

/* Mobile adjustments for share button */
@media (max-width: 576px) {
    .header-actions {
        margin-top: 20px;
        width: 100%;
        order: 1;
    }

    .btn-share {
        flex: 1;
        justify-content: center;
    }

    .btn-back {
        flex: 1;
    }
}

