.main-content {
    background-color: #f5f6fa;
    margin-left: 250px;
}
.main-dashboard-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}
.col-12 {
    grid-column: span 12;
  }
.col-9 {
    grid-column: span 9;
    padding: 0px 20px !important;
    overflow: hidden;
}
.col-3 {
    grid-column: span 3;
}
.progress-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stat-card:active {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.circular-progress {
    position: relative;
    margin-bottom: 15px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    stroke: #eee;
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.35s;
    transform-origin: 50% 50%;
}

.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.progress-value {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.stat-info {
    text-align: center;
}

.stat-info h4 {
    margin: 0 0 8px;
    color: #2c3e50;
}

.stat-description {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.quiz-status-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quiz-status-section h3 {
    margin: 0 0 20px;
    color: #2c3e50;
}

.quiz-status-section h3 i {
    margin-right: 5px;
    color: #4ce2fa;
}

.quiz-status-grid {
    display: flex;
    gap: 14px;
}

.quiz-stats-card {
    flex: 0 0 300px;
}

.quiz-overview {
    text-align: center;
}

.quiz-numbers {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.separator {
    color: #666;
    margin: 0 5px;
}

.subject-quiz-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
}

.subject-quiz-item {
    flex: 0 0 calc(50% - 10px);
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 0;
}

.subject-quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.subject-quiz-header h4 {
    margin: 0;
    color: #2c3e50;
}

.quiz-count {
    color: #666;
    font-size: 14px;
}

.mini-progress-bar {
    flex: 1;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-label {
    font-size: 12px;
    color: #666;
    min-width: 120px;
}

.subjects-progress {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.circular-progress-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 20px 0;
    width: 100%;
}

.achievements-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.study-time-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.study-time-grid {
    /* display: flex;
    justify-content: center;
    padding: 20px; */
    margin-top: 20px;
}

.study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Update Study Time Section styles */
/* .study-time-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

.study-time-section h3 {
    color: #2c3e50;
    /* margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 5px; */
}

.study-time-section h3 i {
    color: #4ce2fa;
}

/* .study-time-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px 0;
} */

.study-time-card {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.circular-timer {
    flex: 0 0 auto;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.timer-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.time-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.time-value {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.unit {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.study-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}



.stat-item i {
    font-size: 18px;
    color: #4ce2fa;
    background: rgba(76, 226, 250, 0.1);
    padding: 12px;
    border-radius: 10px;
}

.stat-details {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.achievement-card.top-performer {
    background: linear-gradient(45deg, #4ce2fa20, #0a719120);
    border: 1px solid #4ce2fa50;
}

.achievement-icon {
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.achievement-icon i {
    font-size: 24px;
    color: #f8b31a;
}

.achievement-content h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
    font-size: 16px;
}

.achievement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* Update Quiz Status Section styles */
.quiz-status-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


.completion-rate {
    color: #0a7191;
    font-weight: 600;
    font-size: 36px;
    margin-bottom: 10px;
}


/* Add these styles in your style section */
.circular-progress-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.circular-progress-item .circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
}

.circular-progress-item .progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.circular-progress-item .progress-value {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

/* Add these new styles before the achievement-card styles */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.view-all-link {
    color: #0a7191;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #4ce2fa;
}

.view-all-link i {
    font-size: 12px;
}

/* Update Achievement Section styles */
.section-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.section-header h3 {
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-header h3 i {
    color: #f8b31a;
}

.view-all-link {
    margin-left: auto;
    color: #0a7191;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.achievement-card .achievement-icon {
    width: 50px;
    height: 50px;
    background: rgba(248, 179, 26, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.achievement-content {
    flex: 1;
}

.achievement-date {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.achievement-content h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.achievement-content p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.achievement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

.achievement-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.achievement-points {
    color: #0a7191;
    font-weight: 600;
}
.performance-tab, .overall-progress-tab, .challenge-heading {
    color: #2c3e50;
    margin: 0px !important;
}
.performance-header, .overall-progress, .challenge-box-header {
    display: flex;
    align-items: center;
    margin: 20px 0px !important;
}
.right-sidebar {
    width: 100%;
    height: 100vh;
    background-color: white;
    color: #2c3e50;
    position: sticky;
    top: 60px;
    right: 0;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}
.top-bar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;
    background: white;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.slide-right-sidebar {
    display: none;
    padding-right: 0px !important;
}
.close-sidebar-btn {
    display: none;
}
.left-sidebar {
    max-width: 250px;
    width: 100%;
    height: 100vh;
    background: #0a7191;
    color: white;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.left-close-sidebar {
    display: none;
}
.slide-left-sidebar{
    display: none;
    transform: scaleX(-1);
}
.challenge-box, .challenges-container, .public-info-box, .quiz-progress-container {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .challenge-heading, .challenges-heading {
    margin: 0 0 20px;
    color: #2c3e50;
  }
  
  .challenge-table {
    width: 100%;
    font-size: 0.875rem;
    border-collapse: collapse;
  }
  
  .challenge-table thead {
    background-color: #f3f4f6;
    color: #4b5563;
  }
  
  .challenge-table th,
  .challenge-table td {
    padding: 0.5rem;
    text-align: left;
  }
  
  .challenge-table tbody tr + tr {
    border-top: 1px solid #e5e7eb;
  }
  
  .status-completed {
    color: #16a34a;
  }
  
  .status-awaiting {
    color: #ca8a04;
  }

  .challenge-section-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
  }
  
  .scroll-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .accepted-challenges, .invited-friends, .ongoing-challenge {
    margin-bottom: 30px;
  }
  .challenge-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
  
  .accepted-card {
    border-left: 4px solid #16a34a;
  }
  .invited-card {
    border-left: 4px solid #f87171;
  }
  .ongoing-card {
    border-left: 4px solid #facc15;
  }

  .card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
  }

  .card-info div {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 5px;
  }

  .section-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
  }

  .ongoing-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
  }

  .ongoing-info div {
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 5px;
  }

.study-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.header-content .section-title {
    margin: 0px !important;
}
@media (max-width: 1200px) {
    .study-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .all-items-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .study-stats-row {
        grid-template-columns: 1fr;
    }
    .all-items-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .description-group {
        margin-bottom: 20px;
    }
    .section-header-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
}

@media (max-width: 1700px) {
    .right-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        max-width: 400px;
        width: 100%;
        height: 100vh;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(.4,0,.2,1);
        z-index: 999;
    }
    .slide-right-sidebar {
        display: block;
    }
    .right-sidebar.visible {
        transform: translateX(0);
    }
    .col-9 {
        grid-column: span 12;
    }
    .close-sidebar-btn {
        display: block !important;
    }
}

@media (max-width: 1200px) {
    .subject-quiz-item {
        flex: 0 0 calc(100% - 10px);
    }
    .circular-progress-grid {
        grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)) !important;
    }
    .study-stats {
        grid-template-columns: repeat(2, 1fr);
      }
}
@media (max-width: 991px) {
    .progress-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .left-sidebar {
        max-width: 250px;
        width: 100%;
        height: 100vh;
        background: #0a7191;
        color: white;
        transition: left 0.3s ease-in-out;
        position: absolute;
        z-index: 999;
        top: 0;
        left: -100%;
    }
    .left-sidebar.visible {
        left: 0;
    }
    .slide-left-sidebar {
        display: block;
    }
    .main-content {
        margin-left: 0px;
    }
    .left-close-sidebar {
        margin: 10px;
        display: block;
    }
    .left-close-sidebar .close-sidebar-btn .svg-icon {
        fill:rgb(255, 255, 255);
    }
    .slide-left-sidebar{
        display: flex;
    }
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
      }
}
@media (max-width: 768px) {
    .quiz-status-grid {
        display: block;
    }
    .subject-quiz-list {
        margin-top: 25px !important;
    }
    .study-stats {
        grid-template-columns: repeat(1, 1fr);
    }
    .top-bar-title {
        font-size: 16px !important;
    }
    .top-bar-actions {
        gap: 0px !important;
    }
    .back-to-home {
        gap: 5px !important;
        padding: 5px 8px !important;
        font-size: 12px !important;
    }
}
@media (max-width: 545px) {
    .top-bar-title {
        font-size: 16px !important;
    }
    .top-bar-actions {
        gap: 0px !important;
    }
    .achievements-grid {
        grid-template-columns: repeat(1, 1fr) !important;
      }
      .study-time-card {
        display: block;
      }
      .progress-ring {
        margin: auto;
        display: block;
      }
      .study-stats {
        margin-top: 25px;
      }
}
@media (max-width: 480px) {
    .progress-cards {
        grid-template-columns: repeat(1, 1fr) !important;
      }
}


.challenge-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.challenge-table th, .challenge-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.challenge-table th {
    background-color: #f3f4f6;
    color: #4b5563;
}

.challenge-table tbody tr:hover {
    background-color: #f9fafb;
}


/* Table styles */
.items-table-section {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-top: 20px;
}
.table-outer {
    overflow-x: auto;
}
.items-table {
    width: 100%;
    border-collapse: collapse;
}

.items-table th,
.items-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.items-table th {
    font-weight: 600;
    color: #2c3e50;
    background: #f8f9fa;
}

.items-table tr:hover {
    background: #f8f9fa;
}

.table-progress {
    width: 200px;
    position: relative;
}

.table-progress-bar {
    height: 6px;
    background: linear-gradient(45deg, rgba(76, 226, 250, 0.1), rgba(10, 113, 145, 0.1));
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.table-progress-label {
    font-size: 12px;
    color: #666;
    display: block;
}

.table-progress-fill {
    height: 100%;
    border-radius: 3px;
}

.table-progress-fill.table-progress-learn {
    background: linear-gradient(45deg, #4ce2fa, #0a7191);
}

.table-progress-fill.table-progress-quiz {
    background: linear-gradient(45deg, #f8b31a, #e67e22);
}

.table-actions {
    display: flex;
    gap: 8px;
}

.table-button {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Quiz Overview styles */
.quiz-overview {
    text-align: center;
}


.quiz-stats-breakdown {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    gap: 20px;
}

.quiz-stat-item {
    flex: 1;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}


.stat-value.positive {
    color: #2ed573;
}
.type-filter {
    display: flex;
    gap: 10px;

}


/* Add here tab form styles */

.performance-tabs-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin: 20px 0;
}
.tab-content {
    position: relative;
    z-index: 0;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -1px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.quiz-status-section {
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.quiz-status-section h3 {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filter-toggles {
    background: #eff0f4;
    border-radius: 8px;
    padding: 10px;
  
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn i {
    font-size: 14px;
}

.filter-btn:hover {
    color: #0a7191;
}

.filter-btn.active {
background: #0a7191;
  color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #0a7191;
    background: rgba(76, 226, 250, 0.1);
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: rgba(76, 226, 250, 0.2);
    transform: translateY(-2px);
}

.view-all-button i {
    font-size: 14px;
}
.Performance-section {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 20px 0;
}

/* ADD THE ALL ITEMS SECTION STYLES */

.stats-flex-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.circular-progress-wrapper {
    flex: 0 0 auto;
}

.vertical-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* margin-top: 1rem; */
}

.vertical-stats .stat-item {
    display: flex;
    align-items: center;
    padding: 0.25rem;
    border-radius: 8px;
    transition: background-color 0.2s;
    background-color: rgba(0,0,0,0.02);
}

.vertical-stats .stat-details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.vertical-stats .stat-label {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    text-align: left;
    flex: 1;
}

.vertical-stats .stat-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    width: 40px;
}

.vertical-stats .stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-right: 8px;
    padding: 8px;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.stat-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-card-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #0a7191;
    margin: 10px ;
}

.card-container {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 280px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-description {
    text-align: center;
    color: #666;
    margin-top: 12px;
}

.quiz-icon i {
    color: #33b7d2;
}

.quiz-icon {
    background: rgba(76, 226, 250, 0.1);
}

.stat-icon.completed i {
    color: #33b7d2;
}

.stat-icon.completed {
    background: rgba(76, 226, 250, 0.1);
}

.stat-icon.remaining i {
    color: #33b7d2;
}

.stat-icon.remaining {
    background: rgba(76, 226, 250, 0.1);
}

/* Study Performance Icons */
.stat-icon.study i {
    color: #f8b31a;
}

.stat-icon.study {
    background: rgba(248, 179, 26, 0.1);
}

.view-all-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(52, 152, 219, 0.1);
    color: #0a7191;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-all-button:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.progress-bar {
    width: 100%;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-top: 12px;
}

.progress-bar .progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #4ce2fa;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.section-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 25px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.section-title {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.description-group {
    color: #95a5a6;
    margin-top: 10px;
}
.section-description {
    margin: 0;
}
.all-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 0 30px;
    width: 100%;
}
.item-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}
.item-card:hover {
    border-color: rgba(52, 152, 219, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.item-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8%;
    font-size: 16px;
    background: rgb(219, 249, 254);
    color: #0a7191;
}
.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.item-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #34495e;
    flex: 1;
}

.item-badge-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.item-badge {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgb(219, 249, 254);
    color: #0a7191;
}

.item-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

.item-subject,
.item-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(219, 249, 254);
    color: #0a7191;
    white-space: nowrap;
}

.progress-bar {
    height: 6px;
    background: #ecf0f1;
    border-radius: 3px;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
}

.progress-fill.progress-quiz,
.progress-fill.progress-learn {
    background: linear-gradient(45deg, #0a7191, #2980b9);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.2);
}

.item-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
}

.resume-button {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    color: #107499;
    border: 1px solid #3388a8;
}

.resume-button:hover {
    transform: translateY(-2px);
}

.page-loader {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.loader-wrapper {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(10, 113, 145, 0.12);
    text-align: center;
    transform: translateY(10px);
    animation: floatIn 0.5s ease forwards;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(10, 113, 145, 0.1);
    border-radius: 50%;
    border-top: 3px solid #0a7191;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: #0a7191;
    font-size: 18px;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.2s forwards;
}

.col-9 {
    position: relative;
    min-height: 200px;
}

.content-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}