:root {
    --page-bg: #f5f5f5;
    --header-text: #464646;
    --white: #ffffff;
    --text-secondary: #808080;
    --course-title: #363636;
    --btn-gray: #808080;
    --btn-light: #fff;
    --font-main: "Plus Jakarta Sans", sans-serif;
}

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

body {
    display: flex;
    /* justify-content: center; */
    background-color: var(--page-bg);
}

/* App Container */
.app {
    /* max-width: 420px; */
    background: transparent;
    border-radius: 28px;
    padding: 16px;
    width: 100%;
}
/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 90px;
    margin-bottom: 8px;
    color: var(--header-text);
    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: 90px;
    }
}

/* 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 Cards */
.course-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-card {
    background: var(--white);
    border-radius: 31px;
    padding: 38px 20px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.11);
}

.course-card span {
    display: flex;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 18px;
}

.course-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--course-title);
    line-height: 20px;
}
/* Button */
.resume {
    background: #3A356B;
    color: var(--btn-light);
    border: none;
    padding: 14px 18px;
    border-radius: 19px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}
.course-card:last-child {
    margin-bottom: 36px;
}

/* Tablet & Laptop */
@media (min-width: 768px) {
    #sidebar-placeholder {
        display: block;
        width: 280px;
        flex-shrink: 0;
    }
    body {
        display: flex;
        /* justify-content: start; */
        background-color: var(--page-bg);
    }

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

    /* .course-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    } */
    .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-card:last-child {
        margin-bottom: 0px;
    } */
}

/* Desktop - larger screens */
@media (min-width: 1024px) {
    .app {
        /* max-width: 700px; */
        padding: 0px;
    }
    .course-list{
        margin-top: 30px;
    }
    .header h3 {
        font-size: 24px;
    }

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

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

    .lesson {
        font-size: 16px;
    }
    .course-card span{
        font-size:14px
    }
}