/* Typography Styles - Alexandria Font */
* {
    font-family: 'Alexandria', 'Cairo', sans-serif;
    box-sizing: border-box;
}

/* Heading Styles */
.heading-h1 {
    color: var(--Gray-900, #1F1F1F);
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    word-wrap: break-word;
}

.heading-h2 {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
}

.heading-h3 {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.heading-h4 {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

/* Body Text Styles */
.body-large-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.body-large-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.body-large-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
}

.body-medium-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.body-medium-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
}

.body-medium-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.body-small-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.body-small-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    word-wrap: break-word;
}

.body-small-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

/* Button Text Styles */
.button-large-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.button-large-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.button-large-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
}

.button-medium-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.button-medium-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
}

.button-medium-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.button-small-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.button-small-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    word-wrap: break-word;
}

.button-small-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

/* Label Text Styles */
.label-large-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.label-large-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    word-wrap: break-word;
}

.label-large-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    word-wrap: break-word;
}

.label-medium-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

.label-medium-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    word-wrap: break-word;
}

.label-medium-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    word-wrap: break-word;
}

.label-small-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.label-small-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    word-wrap: break-word;
}

.label-small-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

/* Caption Text Styles */
.caption-regular {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

/* Educational Subjects Styles */
.subjects-section-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
}

.my-courses-section-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
}

.subject-card-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
    text-align: center;
}

/* Recommended Courses Styles */
.courses-section-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
}

.course-card-title {
    color: var(--Gray-800, #292929);
    font-size: 16px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.course-meta-text {
    color: var(--Gray-600, #525252);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 16px;
    word-wrap: break-word;
}

.course-button-text {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

/* Courses Swiper */
.courses-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    /* max-width: 280px; */
}

/* Subjects Swiper */
.subjects-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

/* Navbar Styles */
.navbar-user-name {
    text-align: right;
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.navbar-points {
    text-align: right;
    color: var(--Yellow-700, #D4A000);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 700;
    line-height: 22px;
    word-wrap: break-word;
}

.navbar-page-title {
    text-align: right;
    color: black;
    font-size: 20px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 32px;
    word-wrap: break-word;
}

.navbar-category-btn {
    text-align: right;
    color: var(--Gray-500, #737373);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-category-btn.active {
    color: white;
}

/* Live Classes Styles */
.live-classes-section-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
}

/* Daily Schedule Styles */
.schedule-section-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
    word-wrap: break-word;
}

/* Calendar Styles */
.calendar-month-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.calendar-day-header {
    color: var(--Gray-400, #A3A3A3);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 18px;
    word-wrap: break-word;
}

.calendar-day-today {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.calendar-day-inactive {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.calendar-day-active {
    color: var(--Gray-800, #292929);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.calendar-day-other-month {
    color: var(--Gray-300, #D6D6D6);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.schedule-view-all {
    color: var(--Gray-500, #737373);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 16px;
    word-wrap: break-word;
    cursor: pointer;
    text-decoration: none !important;
}

.schedule-view-all:hover {
    text-decoration: underline !important;
}

.schedule-item-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.schedule-item-subtitle {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 18px;
    word-wrap: break-word;
}

.schedule-item-course {
    color: var(--Gray-600, #525252);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 18px;
    word-wrap: break-word;
}

.schedule-item-time {
    color: var(--Gray-400, #A3A3A3);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 18px;
    word-wrap: break-word;
}

.live-class-badge-free {
    color: var(--Success-600, #059669);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.live-class-badge-paid {
    color: var(--Yellow-Shades-700, #D4A000);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 16px;
    word-wrap: break-word;
}

.live-class-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 16px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 24px;
    word-wrap: break-word;
}

.live-class-description {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.live-class-instructor {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.live-class-meta {
    color: var(--Gray-600, #525252);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.live-class-button-text {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.caption-semibold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
    word-wrap: break-word;
}

.caption-bold {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    word-wrap: break-word;
}

.caption-light {
    color: var(--Gray-900, #1F1F1F);
    font-size: 12px;
    font-weight: 300;
    line-height: 16px;
    word-wrap: break-word;
}

/* Color Variables */
:root {
    --Primary-600: #165D31;
    --Gray-900: #1F1F1F;
    --Gray-700: #4A4A4A;
    --Gray-500: #858585;
    --Gray-300: #C4C4C4;
    --Success-700: #15803D;
    --Success-300: #86EFAC;
    --State-Warning-300: #FDE047;
}

/* Hero Banner Styles */
.hero-banner {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--Primary-500, #279354);
}

.hero-greeting {
    color: white;
    font-size: 20px;
    font-family: Alexandria;
    font-weight: 600;
    line-height: 32px;
    word-wrap: break-word;
}

.hero-description {
    color: var(--Gray-200, #E5E5E5);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.hero-button-text {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.hero-slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero-slider-dot {
    width: 6px;
    height: 6px;
    background: var(--Primary-200, #7BCF99);
    border-radius: 9999px;
}

.hero-slider-dot.active {
    width: 24px;
    height: 6px;
    background: white;
    border-radius: 100px;
}

.attachments-section {
    width: 100%;
    background: white;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.attachments-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.attachments-controls {
    display: flex;
    gap: 8px;
}

.attachments-arrow {
    width: 32px;
    height: 32px;
    padding: 4px;
    background: white;
    border-radius: 16px;
    border: 1px var(--Gray-200, #E5E5E5) solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.attachments-arrow--disabled {
    opacity: 0.4;
    pointer-events: none;
}

.attachments-arrow img {
    width: 16px;
    height: 16px;
}

.attachments-arrow.attachments-arrow-left img {
    transform: rotate(90deg);
}

.attachments-arrow.attachments-arrow-right img {
    transform: rotate(270deg);
}

.attachments-title-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.attachments-title {
    color: var(--Gray-900, #1F1F1F);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 28px;
}

.attachments-count {
    color: var(--Gray-600, #525252);
    font-size: 18px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 28px;
}

.attachments-swiper .swiper-slide {
    width: auto;
}

.attachment-card-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.attachment-card {
    width: 100%;
    height: 100%;
    padding: 16px 12px;
    border-radius: 20px;
    border: 0.5px solid var(--Gray-200, #E5E5E5);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: white;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}


.attachment-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    /* border: 1px solid var(--Layout-Divider, #DBDBDB); */
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.attachment-extension {
    background: #D92D20;
    color: white;
    font-size: 9px;
    font-family: Inter, Alexandria, sans-serif;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    letter-spacing: 0.4px;
}

.attachment-name {
    font-size: 14px;

    line-height: 22px;
    max-width: 100%;
}

.attachment-name p {
    text-align: center;
    font-family: Alexandria;
    font-weight: 400;
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.attachment-meta-action {
    width: 24px;
    height: 24px;
    /* padding: 4px; */
    /* border-radius: 16px; */
    /* border: 1px solid var(--Gray-200, #E5E5E5); */
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.attachment-meta-action img {
    width: 100%;
    height: 100%;
}

.attachment-size {
    color: var(--Gray-400, #A3A3A3);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 18px;
}

.attachments-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0;
    color: var(--Gray-500, #737373);
    font-family: Alexandria;
}

.attachments-empty i {
    color: var(--Gray-300, #D4D4D8);
}

@media (max-width: 991px) {
    /* .attachments-section {
        padding: 16px 12px;
    } */

    /* .attachment-card {
        width: 160px;
    } */
}

/* Dashboard Layout */
.dashboard-container {
    width: 100%;
    height: auto;
    position: relative;
    background: #FAFAFA;
    /* padding: 24px; */
    margin: 0 auto;
}

.dashboard-content {
    /* max-width: 1440px; */
    display: flex;
    /* grid-template-columns: 233px 1fr 326px; */
    gap: 24px;
}

/* Sidebar */
.sidebar {
    height: fit-content;
    background: white;
    border-radius: 16px;
    /* border: 1px #E5E5E5 solid; */
    padding: 16px;



    position: sticky;
    top: 0;
    font-family: 'Alexandria', 'Cairo', sans-serif;
    z-index: 999;
}

/* Main Content */
.main-content {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Right Panel */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.widget {
    background: white;
    border-radius: 16px;
    border: 1px #E5E5E5 solid;
    padding: 16px;
}

/* Sidebar Styles */
.sidebar-student-code-label {
    color: var(--Gray-600, #525252);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 18px;
    word-wrap: break-word;
}

.sidebar-student-code {
    color: var(--Gray-900, #1F1F1F);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.sidebar-menu-active {
    color: var(--Primary-600, #165D31);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.sidebar-menu-item {
    color: var(--Gray-600, #525252);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    word-wrap: break-word;
}

.sidebar-subject-count {
    padding: 2px 8px;
    background: var(--Gray-50, #FAFAFA);
    border-radius: 100px;
    border: 0.5px solid var(--Gray-200, #E5E5E5);
    color: var(--Gray-600, #525252);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 16px;
    text-align: center;
    word-wrap: break-word;
}

.sidebar-subject-name {
    color: var(--Gray-600, #525252);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 22px;
    text-align: right;
    word-wrap: break-word;
}

.sidebar-upgrade-title {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    word-wrap: break-word;
}

.sidebar-upgrade-description {
    color: var(--Gray-50, #FAFAFA);
    font-size: 12px;
    font-family: Alexandria;
    font-weight: 300;
    line-height: 16px;
    word-wrap: break-word;
}

.sidebar-upgrade-button {
    color: white;
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
    text-align: center;
    word-wrap: break-word;
}

.booking-live-class-btn {
    margin-inline-start: auto !important;
}

.attachment-card {
    width: 100%;
}

/* 
.sidebar-content {
    width: 250px;
    height: fit-content;
    background: white;
    border-radius: 24px;
    padding:24px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

 */










/* =========================
   BASE
   ========================= */
.sidebar-content {
    width: 220px;
    /* أساس بالسُلّم الواحد (هتزيد مع كِبر الشاشة) */
    height: fit-content;
    background: #fff;
    border-radius: 24px;
    padding: 24px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.main-content {
    max-width: 100%;
    display: flex;
    gap: 24px;
}

.right-panel {
    display: flex;
    gap: 24px;
}

.hero-greeting {
    font-size: 20px;
    line-height: 30px;
}

.hero-description {
    font-size: 14px;
    line-height: 22px;
}

.subjects-section-title,
.my-courses-section-title,
.courses-section-title,
.live-classes-section-title,
.schedule-section-title {
    font-size: 18px;
    line-height: 28px;
}

.subject-card-title {
    font-size: 15px;
    line-height: 22px;
}

.course-card-title {
    font-size: 16px;
    line-height: 24px;
}

.live-class-title {
    font-size: 16px;
    line-height: 24px;
}

.widget {
    padding: 20px;
}

/* =========================
   MOBILE SIDEBAR OVERLAY & TOGGLE
   ========================= */

/* Overlay Background for Mobile Sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar .upper-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
}

/* Mobile Sidebar Close Button */
.mobile-sidebar-close {
    display: none;
}

/* ===========================
   NAVBAR STYLES
   =========================== */

/* Navbar Container */
.navbar-container {
    padding: 16px;
    border-radius: 100px;
    margin-left: 24px;
    margin-right: 294px;
    transition: margin 0.3s ease, padding 0.3s ease, border-radius 0.3s ease;
}

/* Navbar Left Section */
.navbar-left-section {
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 45px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: transparent !important;
    transition: all .1s;
}

.mobile-menu-toggle:hover {
    background-color: white !important;
    box-shadow: 0px 0px 10px rgb(65 59 59 / 5%);
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0); */
}

/* Curriculum Switcher */
.navbar-curriculum-switcher {
    padding: 4px;
    background: #FFF;
    border-radius: 100px;
}

.navbar-category-btn-wrapper {
    min-width: 120px;
    padding: 9px 16px;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.navbar-category-btn-wrapper.active {
    background: var(--Primary-600, #165D31);
}

.navbar-category-btn {
    text-align: center;
}

/* Curriculum More Button (+ icon) */
.navbar-category-more-btn {
    height: 100%;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f3f3f3;
    padding-inline: 16px
}

.navbar-category-more-btn .navbar-category-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--Gray-500, #737373);
}

.navbar-category-more-btn:hover .navbar-category-btn {
    color: var(--Primary-600, #165D31);
}

/* Curriculum Dropdown Menu */
.navbar-curriculum-dropdown {
    max-height: 400px;
    overflow-y: auto;
}

.navbar-dropdown-curriculum-item {
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    color: var(--Gray-600, #525252);
    font-size: 14px;
    font-family: Alexandria;
    font-weight: 400;
    line-height: 22px;
}

.navbar-dropdown-curriculum-item:hover {
    background: var(--Primary-25, #EEFFF4);
    color: var(--Primary-600, #165D31);
}

.navbar-dropdown-curriculum-item.active {
    background: var(--Primary-50, #DCFAE6);
    color: var(--Primary-600, #165D31);
    font-weight: 600;
}

/* Navbar Right Section */
.navbar-right-section {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 150px;
    justify-content: flex-end;
}

/* Points Container */
.navbar-points-container {
    height: 40px;
    padding: 8px;
    background: var(--Yellow-50, #FFFBDE);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-coin-icon {
    width: 24px;
    height: 24px;
}

/* Icon Boxes (Cart, Notifications) */
.navbar-icon-link {
    text-decoration: none;
}

.navbar-icon-box {
    position: relative;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: white;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
}

.navbar-notification-badge {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 6px;
    background: var(--Error-600, #DC2626);
    border-radius: 9999px;
}

/* User Menu */
.navbar-user-menu {
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 100px;
    gap: 8px;
    cursor: pointer;
}

.navbar-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-user-info {
    align-items: center;
    gap: 4px;
}

.navbar-dropdown-arrow {
    width: 16px;
    height: 16px;
}

/* =========================
   SMALL SCREENS (unchanged)
   ========================= */
@media (max-width: 991px) {

    /* Show hamburger menu button on mobile */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .app-header {
        box-shadow: none !important;
    }

    /* Hide sidebar by default on mobile */
    .sidebar {
        display: block;
        position: fixed;
        top: 0;
        height: 100vh;
        z-index: 999;
        transition: transform 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        /* Force scrollbar direction to match page */
        direction: ltr;
        /* Hide scrollbar for Chrome, Safari and Opera */
        scrollbar-width: thin;
        scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    }

    /* Fix content direction inside sidebar */
    .sidebar .sidebar-content {
        direction: rtl;
    }

    /* For LTR sites, keep everything LTR */
    html[dir="ltr"] .sidebar {
        direction: ltr;
    }

    html[dir="ltr"] .sidebar .sidebar-content {
        direction: ltr;
    }

    /* Webkit scrollbar styling for sidebar */
    .sidebar::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .sidebar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }

    /* RTL (Arabic) - sidebar comes from RIGHT */
    html[dir="rtl"] .sidebar {
        right: 0;
        left: auto;
        transform: translateX(100%);
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    }

    /* LTR (English) - sidebar comes from LEFT */
    html[dir="ltr"] .sidebar {
        left: 0;
        right: auto;
        transform: translateX(-100%);
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.15);
    }

    /* Show sidebar when active */
    .sidebar.mobile-active {
        transform: translateX(0) !important;
    }

    /* Show close button on mobile sidebar */
    .sidebar.mobile-active .mobile-sidebar-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* .app-container.container-fluid {
        margin-right: 24px !important;
    } */

    .dashboard-content {
        gap: 20px;
    }

    .main-content {
        width: 100%;
    }

    /* Navbar responsive adjustments for mobile */
    .navbar-container {
        margin-left: 12px !important;
        margin-right: 12px !important;
        padding: 12px !important;
        border-radius: 20px !important;
    }

    .navbar-left-section {
        min-width: auto;
        gap: 8px;
    }

    .navbar-right-section {
        min-width: auto;
        gap: 6px;
    }

    .navbar-points {
        font-size: 10px;
    }

    .navbar-icon-box {
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .navbar-points-container {
        height: 36px;
        padding: 6px 8px;
    }

    .navbar-coin-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    /* .dashboard-container {
        padding: 16px;
    } */

    /* MAIN DASHBOARD LAYOUT - Single Column */
    .dashboard-content {
        flex-direction: column;
        gap: 16px;
    }

    /* Right panel should appear AFTER main content on mobile */
    .right-panel {
        order: 2;
        gap: 16px;
        width: 100%;
    }

    .main-content {
        order: 1;
        gap: 16px;
        width: 100%;
    }

    /* HERO BANNER - Mobile Adjustments */
    .hero-banner {
        padding: 0;
        border-radius: 16px;
    }

    .hero-banner>div {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .hero-banner>div>div:first-child {
        width: 100% !important;
        padding: 16px !important;
        text-align: center !important;
        position: static !important;
    }

    .hero-banner>div>div:first-child>div {
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-banner>div>div:first-child>div:first-child {
        justify-content: center !important;
    }

    .hero-banner>div>div:last-child {
        width: 100% !important;
        position: absolute !important;
        bottom: 0;
        left: 0;
        height: 120px !important;
        display: flex;
        justify-content: center;
    }

    .hero-slider-dots {
        display: none !important;
    }

    /* .hero-banner > div > div:last-child img {
        position: static !important;
        height: 120px !important;
        width: auto !important;
    } */

    .hero-greeting {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 18px;
        text-align: start !important;
    }

    /* CARDS - All cards should have consistent mobile padding */

    .main-content>div[style*="padding: 16px"] {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    /* Section titles - reduce size on mobile */
    .subjects-section-title,
    .my-courses-section-title,
    .courses-section-title,
    .live-classes-section-title,
    .schedule-section-title,
    .attachments-title {
        font-size: 16px;
        line-height: 24px;
    }

    /* CALENDAR WIDGET - Full width on mobile */
    .widget {
        padding: 16px;
        width: 100%;
    }

    /* DAILY SCHEDULE - Adjust time column width */
    .schedule-item-time {
        font-size: 11px;
        line-height: 16px;
    }

    /* Sidebar adjustments */
    .sidebar .upper-content {
        gap: 16px;
    }

    /* Navbar adjustments for tablets */
    .navbar-container {
        margin-left: 16px !important;
        margin-right: 16px !important;
        padding: 14px !important;
        border-radius: 24px !important;
    }

    .navbar-page-title {
        font-size: 16px;
    }

    .navbar-icon-box {
        width: 38px;
        height: 38px;
    }

    .navbar-points-container {
        height: 38px;
    }

    /* Hide curriculum switcher on mobile - it's in sidebar */
    .navbar-curriculum-switcher {
        display: none !important;
    }
}

@media (max-width: 576px) {

    /* CONTAINER - Tighter padding for small screens */
    /* .dashboard-container {
        padding: 16px;
    } */

    .dashboard-content {
        gap: 16px;
    }

    /* HERO BANNER - Compact on mobile */
    .hero-banner {
        border-radius: 16px;
        /* padding: 16px !important; */
    }

    .hero-banner>div>div:last-child {
        height: 100px !important;
    }

    .hero-banner>div>div:last-child img {
        height: 100px !important;
    }

    .hero-greeting {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 18px;
    }

    .hero-button-text {
        font-size: 12px;
        line-height: 18px;
    }

    /* SECTION TITLES - Smaller for mobile */
    .subjects-section-title,
    .my-courses-section-title,
    .courses-section-title,
    .live-classes-section-title,
    .schedule-section-title,
    .attachments-title {
        font-size: 14px;
        line-height: 20px;
    }

    .attachments-count {
        font-size: 14px;
        line-height: 20px;
    }

    /* CARD CONTENT - Adjust for readability */
    .subject-card-title {
        font-size: 12px;
        line-height: 18px;
    }

    .course-card-title {
        font-size: 14px;
        line-height: 20px;
    }

    .live-class-title {
        font-size: 14px;
        line-height: 20px;
    }

    .live-class-description {
        font-size: 12px;
        line-height: 18px;
    }

    .live-class-instructor,
    .live-class-meta {
        font-size: 12px;
        line-height: 18px;
    }

    /* SCHEDULE ITEMS - Compact layout */
    .schedule-item-title {
        font-size: 13px;
        line-height: 20px;
    }

    .schedule-item-subtitle {
        font-size: 11px;
        line-height: 16px;
    }

    .schedule-item-time {
        font-size: 10px;
        line-height: 14px;
    }

    /* CALENDAR - Smaller day cells */
    .calendar-day-active,
    .calendar-day-inactive,
    .calendar-day-other-month,
    .calendar-day-today {
        font-size: 13px;
        line-height: 20px;
    }

    .calendar-month-title {
        font-size: 14px;
        line-height: 22px;
    }

    /* GAPS & SPACING */
    .main-content {
        gap: 16px;
    }

    .right-panel {
        gap: 16px;
    }

    .sidebar .upper-content {
        gap: 16px;
    }

    /* WIDGET PADDING */
    .widget {
        padding: 16px;
    }

    /* LIVE CLASS CARDS - Stack better on mobile */
    .main-content>div[style*="padding: 16px"] {
        padding: 16px !important;
    }

    /* ATTACHMENTS - Smaller cards */
    .attachment-card {
        /* width: 160px; */
        padding: 12px 8px;
    }

    .attachment-icon {
        width: 36px;
        height: 36px;
    }

    .attachment-name p {
        font-size: 13px;
        line-height: 20px;
    }

    .attachment-size {
        font-size: 11px;
    }

    /* MY COURSES - Better image sizing */
    .my-courses-swiper .swiper-slide img.course-full-img {
        height: 140px !important;
    }

    /* NAVBAR - Very compact for small screens */
    .navbar-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .navbar-left-section {
        min-width: auto;
        gap: 8px;
    }

    .navbar-right-section {
        min-width: auto;
        gap: 6px;
    }

    .navbar-page-title {
        font-size: 14px !important;
        line-height: 22px;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-points {
        font-size: 10px !important;
        line-height: 18px;
    }

    .navbar-icon-box {
        width: 36px !important;
        height: 36px !important;
        padding: 8px !important;
    }

    .navbar-points-container {
        height: 36px;
        padding: 6px 8px;
    }

    .navbar-coin-icon {
        width: 20px !important;
        height: 20px !important;
    }

    .navbar-user-avatar {
        width: 32px !important;
        height: 32px !important;
    }

    .navbar-dropdown-arrow {
        width: 14px;
        height: 14px;
    }

    /* Hide user name on very small screens */
    .navbar-user-name {
        display: none !important;
    }

    /* MOBILE MENU TOGGLE */
    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .mobile-menu-toggle svg {
        width: 20px;
        height: 20px;
    }

    /* CURRICULUM SWITCHER - Hidden on mobile */
    .navbar-curriculum-switcher {
        display: none !important;
    }
}

/* =========================
   DESKTOP UP (min-width only)
   ========================= */

/* 992+ */
@media (min-width: 992px) {
    /* .dashboard-container {
        padding: 20px;
    } */

    .main-content {
        gap: 20px;
    }

    .right-panel {
        gap: 20px;
    }

    .hero-greeting {
        font-size: 18px;
        line-height: 28px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 20px;
    }

    .sidebar-content {
        padding: 20px 0;
    }

    .navbar-container {
        margin-right: 264px;
    }

    .navbar-left-section {
        min-width: 100px;
    }

}

/* 1200–1399 */
@media (min-width: 1200px) and (max-width: 1399px) {
    /* .dashboard-container {
        padding: 24px;
    } */

    .main-content {
        gap: 24px;
    }

    .sidebar-content {
        padding: 24px 0;
    }

    .navbar-category-btn-wrapper {
        min-width: 110px;
        padding: 9px 10px;
        border-radius: 100px;
    }

    .navbar-category-more-btn {
        min-width: 40px;
        padding-inline: 16px;
    }

    .navbar-container {
        margin-right: 264px !important;
    }
}

/* 1400+ */
@media (min-width: 1400px) {
    /* .dashboard-container {
        max-width: 1920px;
    } */

    .main-content {
        max-width: 100%;
    }

    .sidebar-content {
        width: 230px;
    }

    .navbar-container {
        /* padding: 16px;
    border-radius: 100px;
    margin-left: 24px; */
        margin-right: 274px;
        /* transition: margin 0.3s ease, padding 0.3s ease, border-radius 0.3s ease; */
    }

    /* سُلّم السايدبار: 230 */
}

/* 1600+ */
@media (min-width: 1600px) {
    .dashboard-container {
        max-width: 2200px;
        /* padding: 32px; */
    }

    .hero-greeting {
        font-size: 24px;
        line-height: 36px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    .subjects-section-title,
    .my-courses-section-title,
    .courses-section-title,
    .live-classes-section-title,
    .schedule-section-title {
        font-size: 20px;
        line-height: 32px;
    }

    .main-content {
        gap: 32px;
    }

    .right-panel {
        gap: 32px;
    }

    .sidebar-content {
        width: 250px;
    }

    .navbar-container {
        margin-right: 294px;
    }

    /* سُلّم السايدبار: 250 */
}

/* 1920+ (Ultra-wide) */
/* @media (min-width: 1920px) {
  .dashboard-container { max-width: 2400px; padding: 40px; }

  .sidebar-content {
    width: 300px;           
    padding: 32px 12px;
  }

  .hero-greeting { font-size: 28px; line-height: 40px; }
  .hero-description { font-size: 18px; line-height: 28px; }

  .subjects-section-title,
  .courses-section-title,
  .live-classes-section-title,
  .schedule-section-title {
    font-size: 22px; line-height: 34px;
  }

  .subject-card-title { font-size: 16px; line-height: 24px; }
  .course-card-title  { font-size: 18px; line-height: 28px; }
  .live-class-title   { font-size: 18px; line-height: 28px; }

  .widget { padding: 24px; }
} */