:root {
    --page-bg: #f5f5f5;
    --header-text: #464646;
    --white: #ffffff;
    --text-secondary: #808080;
    --progress-bg: #e6e6e6;
    --progress-green: #51b330;
    --progress-yellow: #EEDE0E;
    --progress-orange: #F59D17;
    --progress-red: #ED1B24;
    --btn-dark: #111;
    --btn-light: #fff;
    --btn-browse: #161616;
    --font-main: "Plus Jakarta Sans", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}


body {
    background-color: var(--page-bg);
    display: flex;
}


.app {
    /* max-width: 420px; */
    background: transparent;
    border-radius: 28px;
    padding: 16px;
    width: 100%;
}

.header {
    display: flex;
    align-items: center;
    gap: 89px;
    margin-bottom: 8px;
    margin-left: 5px;
    color: var(--header-text);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    background: transparent;
}

.header h3 {
    font-size: 18px;
    font-weight: 600;
}

/* Mobile only - center h3 title */
@media (max-width: 767px) {
    .header h3 {
        text-align: center;
        flex: 1;
        margin-right: 89px;
    }
}

/* Breadcrumb styles */
.breadcrumb {
    display: none !important; /* Hide on mobile by default */
}

.app .breadcrumb {
    display: none !important; /* Higher specificity */
}

@media (min-width: 768px) {
    .breadcrumb {
        display: flex !important;
        align-items: center;
        gap: 6px;
        font-size: 16px;
        color: #808080;
        padding: 40px 0px;
        position: sticky;
        top: 0;
        z-index: 150;
    }
    
    .app .breadcrumb {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    .breadcrumb-divider {
        display: block;
    }
}

.course-card {
    background: var(--white);
    border-radius: 31px;
    padding: 32px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.11);
}
.course-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.course-card span {
    display: flex;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}
.course-card h4 {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
}
.course-card:last-child {
    margin-bottom: 36px;
}

.lesson {
    font-size: 15px;
    color: var(--header-text);
    font-weight: 500;
    margin-top: 8px;
}

.progress {
    width: 100%;
    height: 4px;
    background: var(--progress-bg);
    border-radius: 6px;
    margin-top: 24px;
}
.bar {
    display: block;
    height: 100%;
    border-radius: 6px;
}
.green { background: var(--progress-green); }
.yellow { background: var(--progress-yellow); }
.orange { background: var(--progress-orange); }
.red { background: var(--progress-red); }

.resume {
    margin-top: 16px;
    background: #3A356B;
    color: var(--btn-light);
    border: none;
    padding: 12px 14px;
    border-radius: 19px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty {
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
}
.empty p {
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 500;
}

.browse {
    margin-top: 24px;
    background: var(--btn-browse);
    color: var(--btn-light);
    border: none;
    padding: 18px 22px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tablet & Laptop */
@media (min-width: 768px) {
    /* body {
        justify-content: center;
        padding: 20px;
    } */

    #sidebar-placeholder {
        display: block;
        width: 250px;
        flex-shrink: 0;
    }

    .app {
        /* max-width: 600px; */
        margin-left: 30px;
        margin-right: 30px;
        padding: 0px;
    }

    .header {
        margin-bottom: 20px;
        justify-content: center;
        gap: 0;
    }

    .header a {
        display: none; /* hide back arrow */
    }

    .header h3 {
        text-align: center;
        font-size: 22px;
    }

    .course-list {
        margin-top: 30px;
        gap: 12px;
    }

    .course-card {
        padding: 36px 24px;
    }

    /* .course-card:last-child {
        margin-bottom: 10px;
    } */
}

/* Desktop - larger screens */
@media (min-width: 1024px) {
    .app {
        margin-left: 70px;
        margin-right: 50px;
        /* max-width: 700px; */
        padding: 0px;
    }

    .header h3 {
        font-size: 24px;
    }

    .course-card {
        padding: 40px 28px;
    }

    .course-card h4 {
        font-size: 16px;
    }

    .lesson {
        font-size: 16px;
    }
  
}