/* Selection Row Layout */
.selection-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #F2F5FF;
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* Selection Progress Indicator */
.selection-progress {
    flex-shrink: 0;
}

.progress-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
}

.progress-item {
    text-align: center;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.progress-item span {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.progress-count {
    background: #6FCCD8;
    color: #ffffff;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    transition: all 0.3s ease;
}

.progress-item.active .progress-count {
    background: #6FCCD8;
    color: white;
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #E9EDF4;
    position: relative;
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #07A56F;
} */

/* Subject Cards */
/* Subject Cards */
.subjects-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.subject-card {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* When there's only one subject or when you want it to take full width */
.subjects-container:has(.subject-card:only-child) .subject-card,
.subjects-container .subject-card.full-width {
    flex: 1 1 100%;
    max-width: 100%;
}


.subject-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #6FCCD8;
}

.subject-card.selected {
    border-color: #6FCCD8;
    box-shadow: 0 0 0 3px rgba(9, 189, 128, 0.1);
}

.subject-header {
    background: #F2F5FF;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subject-card.selected .subject-header {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    color: white;
}

.subject-checkbox-container {
    display: flex;
    align-items: center;
}

.subject-checkbox {
    cursor: pointer;
    /* Removed width and height restrictions to allow standard form-check-input rendering */
}

.subject-label {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: color 0.3s ease;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.3px;
    line-height: 1.5;
}

.subject-card.selected .subject-label {
    color: white;
}

.subject-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    background: white;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subject-card.selected .stat-item {
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
}

.subject-content {
    display: none;
    padding: 0;
    background: #fafbfc;
    border-top: 1px solid #e9ecef;
}

.subject-card.selected .subject-content {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* Units Container */
.units-container {
    padding: 20px;
}

/* Loading Skeleton */
.loading-skeleton {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-item {
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 8px;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Unit Cards */
.unit-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin: 10px 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.unit-card:hover {
    border-color: #6FCCD8;
    box-shadow: 0 4px 15px rgba(9, 189, 128, 0.1);
    transform: translateY(-1px);
}

.unit-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.unit-checkbox-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.unit-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #6FCCD8;
    cursor: pointer;
}

.unit-label {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    cursor: pointer;
    margin: 0;
    transition: color 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.unit-checkbox:checked+.unit-label {
    color: #6FCCD8;
}

.show-topics-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-topics-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.show-topics-btn.active {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Topics Container */
.topics-container {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: none;
}

.topics-container.show {
    display: block;
    animation: expandDown 0.4s ease-out;
}

@keyframes expandDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.topics-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #6FCCD8;
}

.topics-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.2px;
}

.select-all-topics {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #2196f3;
}

.select-all-topics .form-check-input {
    margin-right: 10px;
    accent-color: #2196f3;
}

.select-all-topics .form-check-label {
    font-weight: 600;
    color: #1976d2;
    cursor: pointer;
}

/* Topic Cards */
.topic-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 8px 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.topic-card:hover {
    border-color: #6FCCD8;
    box-shadow: 0 2px 8px rgba(9, 189, 128, 0.1);
}

.topic-header {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.topic-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    accent-color: #6FCCD8;
}

.topic-label {
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    flex-grow: 1;
    margin: 0;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.topic-checkbox:checked+.topic-label {
    color: #6FCCD8;
}

/* Subtopics Container */
.subtopics-container {
    padding: 15px 15px 15px 35px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: none;
}

.subtopics-container.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.subtopics-header {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-all-subtopics {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 10px;
}

.select-all-subtopics .form-check-input {
    margin-right: 8px;
    accent-color: #f39c12;
}

.select-all-subtopics .form-check-label {
    font-size: 12px;
    font-weight: 600;
    color: #856404;
    cursor: pointer;
}

.subtopic-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 5px 0;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.subtopic-item:hover {
    background: #f0f8ff;
    border-color: #6FCCD8;
}

.subtopic-checkbox {
    width: 14px;
    height: 14px;
    margin-right: 8px;
    accent-color: #6FCCD8;
}

.subtopic-label {
    font-size: 14px;
    font-weight: 400;
    color: #495057;
    margin: 0;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.1px;
    line-height: 1.4;
}

.subtopic-checkbox:checked+.subtopic-label {
    color: #6FCCD8;
    font-weight: 600;
}

/* Exam Configuration Section */
.exam-config-section {
    background: #F2F5FF;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}


.config-item {
    display: flex;
    flex-direction: column;
}

.config-label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.config-input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.config-input:focus {
    border-color: #6FCCD8;
    box-shadow: 0 0 0 3px rgba(9, 189, 128, 0.1);
    outline: none;
}

.time-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
}

.time-input:focus {
    border-color: #6FCCD8;
    box-shadow: 0 0 0 3px rgba(9, 189, 128, 0.1);
    outline: none;
}

.time-separator {
    font-size: 20px;
    font-weight: bold;
    color: #6c757d;
}

/* Submit Section */
.submit-section {
    text-align: center;
    margin-top: 30px;
}

.start-practice-btn {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(9, 189, 128, 0.3);
}

.start-practice-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(9, 189, 128, 0.4);
}

.start-practice-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container.shadow.lavish-theme {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .selection-row {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .progress-items {
        /* display: grid; */
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        justify-content: center;
    }
    
    .progress-item {
        min-width: auto;
    }
    
    .subjects-scrollable-container {
        grid-template-columns: 1fr !important;
        /* max-height: 400px; */
        gap: 10px;
        padding: 10px;
    }
    
    .subject-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }

    .subject-stats {
        width: 100%;
      justify-content: end;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .stat-item {
        font-size: 11px;
        padding: 4px 8px;
    }

    .unit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }

    .show-topics-btn {
        align-self: flex-end;
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .exam-config-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .config-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .time-inputs {
        gap: 8px;
    }
    
    .time-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .start-practice-btn {
        padding: 12px 20px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .main-header {
        font-size: 1.5rem;
        padding: 15px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .btn-back {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .container.shadow.lavish-theme {
        margin: 0.25rem;
        padding: 0.75rem;
    }
    
    .progress-items {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .progress-item span {
        font-size: 10px;
    }
    
    .progress-count {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .subject-label {
        font-size: 16px;
    }
    
    .unit-label {
        font-size: 14px;
    }
    
    .topic-label {
        font-size: 13px;
    }
    
    .subtopic-label {
        font-size: 12px;
    }
    
    .config-input, .time-input {
        padding: 8px 10px;
        font-size: 14px;
    }
    
    .start-practice-btn {
        padding: 10px 15px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }
}

/* Scrollbar Styling */
.scrollable-select::-webkit-scrollbar {
    width: 20px;
}

.scrollable-select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.scrollable-select::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.scrollable-select::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #078a5e 0%, #065a4a 100%);
    transform: scale(1.05);
}

.show-subtopics-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0fdf4;
    border: 1px solid #d1fae5;
    border-radius: 4px;
    color: #059669;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: 8px;
}

.show-subtopics-btn:hover {
    background: #dcfce7;
    border-color: #a7f3d0;
    color: #047857;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    min-width: 250px;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    margin-top: 70px;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.notification-success {
    background: #2ecc71;
}

.notification-error {
    background: #e74c3c;
}

.notification-warning {
    background: #f39c12;
}

.notification-info {
    background: #3498db;
}

/* Topics container scrolling - limit to 3 topics */
.topics-container .topics-content {
    max-height: 180px;
    /* Approximately height for 3 topics */
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    background-color: #f8f9fa;
}

/* Custom scrollbar styling */
.topics-container .topics-content::-webkit-scrollbar {
    width: 20px;
}

.topics-container .topics-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.topics-container .topics-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.topics-container .topics-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #078a5e 0%, #065a4a 100%);
    transform: scale(1.05);
}

/* Ensure topic cards have consistent height */
.topic-card {
    min-height: 50px;
    margin-bottom: 8px;
}

.topic-card:last-child {
    margin-bottom: 0;
}

/* Add these styles to fix unit card layout */
.unit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    /* Adds a small space between the text and the button */
}

.unit-checkbox-container {
    display: flex;
    align-items: center;
    flex-grow: 1;
    /* Allows the container with the name to take available space */
}

.unit-label {
    margin-bottom: 0;
    /* Resets any default bottom margin */
}

.show-topics-btn {
    flex-shrink: 0;
    /* Prevents the button from shrinking or wrapping */
}

/* Additional CSS for notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.notification-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.notification-info {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.select-all-container {
    margin-bottom: 20px;
}

.select-all-units {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #6FCCD8;
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #6FCCD8;
}

.select-all-units .form-check-input {
    margin-right: 10px;
    accent-color: #6FCCD8;
}

.select-all-units .form-check-label {
    font-weight: 700;
    color: #155724;
    cursor: pointer;
    font-size: 16px;
}

.no-data,
.loading-text,
.error-text {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

.loading-text {
    color: #007bff;
}

.error-text {
    color: #dc3545;
}

/* Scrollable Units Styling */
.units-scrollable-container {
    scrollbar-width: thick;
    scrollbar-color: #6FCCD8 #f1f1f1;
}

.units-scrollable-container::-webkit-scrollbar {
    width: 20px;
}

.units-scrollable-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.units-scrollable-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.units-scrollable-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #078a5e 0%, #065a4a 100%);
    transform: scale(1.05);
}

.units-scrollable-container .unit-card {
    margin-bottom: 8px;
}

.units-scrollable-container .unit-card:last-child {
    margin-bottom: 0;
}

/* Subtopics Container Scrollbar Styling */
.subtopics-container::-webkit-scrollbar {
    width: 20px;
}

.subtopics-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.subtopics-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtopics-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #078a5e 0%, #065a4a 100%);
    transform: scale(1.05);
}

/* Enhanced scroll icon styling */
.fa-scroll {
    color: #6FCCD8;
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Scrollable Subjects Container */
.subjects-scrollable-container {
    /* max-height: 500px; */
    overflow-y: auto;
    /* border: 1px solid #e0e0e0; */
    border-radius: 12px;
    padding: 15px;
    /* background: #fafafa; */
    scrollbar-width: thin;
    scrollbar-color: #6FCCD8 #f1f1f1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.subjects-scrollable-container::-webkit-scrollbar {
    width: 12px;
}

.subjects-scrollable-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.subjects-scrollable-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 100%);
    border-radius: 6px;
    border: 2px solid #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subjects-scrollable-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #078a5e 0%, #065a4a 100%);
    transform: scale(1.05);
}


/* Sticky Exam Configuration */
.sticky-config {
    position: sticky;
    top: 20px;
    background: white;
    border: 2px solid #6FCCD8;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(9, 189, 128, 0.1);
    z-index: 100;
}

.sticky-config .section-title {
    background: linear-gradient(135deg, #6FCCD8 0%, #07A56F 50%, #2C80FA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.sticky-config .start-practice-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}

.subject-header {
    width: 100%;
    box-sizing: border-box;
}

.subject-content {
    width: 100%;
    box-sizing: border-box;
}

.units-container {
    width: 100%;
    box-sizing: border-box;
}

.units-scrollable-container {
    width: 100%;
    box-sizing: border-box;
}



/* Fix Nav Tabs Hover */
.nav-tabs .nav-link {
    color: #333; /* Normal text color */
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #333 !important;   /* Change to your theme color */
    background-color: #f8f9fa;   /* Light background */
}

.nav-tabs .nav-link.active {
    color: #ffffff !important;
    font-weight: 600;
}
