/* Define the custom font */

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi-Variable.ttf') format('truetype');
}

@font-face {
    font-family: 'SFProdDisplayRegular';
    src: url('../fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayMedium';
    src: url('../fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayBold';
    src: url('../fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplaySemiBoldItalic';
    src: url('../fonts/SFPRODISPLAYSEMIBOLDITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayUltralightItalic';
    src: url('../fonts/SFPRODISPLAYULTRALIGHTITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayLightItalic';
    src: url('../fonts/SFPRODISPLAYLIGHTITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayThinItalic';
    src: url('../fonts/SFPRODISPLAYTHINITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayHeavyItalic';
    src: url('../fonts/SFPRODISPLAYHEAVYITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'SFProdDisplayBlackItalic';
    src: url('../fonts/SFPRODISPLAYBLACKITALIC.OTF') format('opentype');
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'FigtreeItalic';
    src: url('../fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'AvenirBlack';
    src: url('../fonts/AvenirLTStd-Black.otf') format('opentype');
}

@font-face {
    font-family: 'AvenirBook';
    src: url('../fonts/AvenirLTStd-Book.otf') format('opentype');
}

@font-face {
    font-family: 'AvenirRoman';
    src: url('../fonts/AvenirLTStd-Roman') format('opentype');
}

/* Background Styling */

body {
    background-color: #F2F6F5; /* Green background color */
    font-family: 'Figtree', sans-serif;
    color: #1D272F; 
    font-optical-sizing: auto;
    font-style: normal;
}

body, html {
    height: 100%;
    margin: 0;
}

.blue-gradient {
    /* background: linear-gradient(225deg, rgba(185, 228, 213, 0.50) -4.34%, rgba(166, 207, 242, 0.50) 100.01%); */
    background: linear-gradient(to bottom left, rgba(166, 207, 242, 0.6), rgba(185, 228, 213, 0.6));
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps the gradient in place while scrolling */
    min-height: 100vh;
}

.blue-gradient-cover {
    background: linear-gradient(228deg, #D2E5F5 7.32%, #BCE6D7 88.43%);
}

.green-gradient {
    background: linear-gradient(45deg, #91CED8, #BBE1BA);
}

.violet-gradient {
    background: linear-gradient(45deg, #CDDDF4, #CDBAFA);
}

/* Input Form Styling */

.form-group {
    position: relative;
    margin-bottom: 10px;
}
.form-group label {
    display: block;
}
.form-control {
    width: 100%;
    padding: 8px;
    /* Adjust padding to prevent text from overlapping the button */
    border: 1px solid #ccc;
    border-radius: 5px;
}
.input-color::placeholder {
    color: #A2ABB1; 
}
.form-row {
    display: flex;
    justify-content: space-between; /* Adjusts spacing between the form groups */
}
.form-group {
    flex: 1; /* Allows each form group to take equal space */
    margin: 5px; /* Adds a bit of space between the form elements */
}

/* Margin Styling */

.margin-top-10 {
    margin-top: 10px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-left-25 {
    margin-left: 25px;
}

.margin-left-100 {
    margin-left: 100px;
}

/* Font Type Styling */

.avenir-text {
    color: #1E1E1E;
    font-family: Avenir;
    font-size: 5em;
    font-style: normal;
    font-weight: 900;
    line-height: 115%; 
}

.avenir-gray-text {
    color: #676767;
    font-family: Avenir;
    font-size: 20px;
    font-style: normal;
    line-height: 138%;
}

.figtree-gray-text {
    color: #676767; 
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; 
}

.figtree-button-text {
    color: #4d4daf;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.figtree-lightgray-text {
    color: var(--Paragraph, #4E4E4E);
    font-family: Figtree;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
}

/* Font Size Styling */

.size-24-text {
    font-size: 24px;
    font-family: Figtree;
    font-weight: 500;
    color: #5D6C7A;
}

.size-15-text {
    font-size: 15px;
}

.size-40-text {
    font-size: 40px;
    font-family: Figtree;
    font-weight: 600;
    color: #3A454F;
}

/* Font Styling */

.bold-text {
    font-weight: bold;
}

.italic-text {
    font-style: italic;
}

.bold-italic-text {
    font-weight: bold;
    font-style: italic; 
}

.weight-400-text {
    font-weight: 400;
}

.weight-500-text {
    font-weight: 500;
}

.weight-600-text {
    font-weight: 600;
}

.weight-700-text {
    font-weight: 700;
}

/* Color Styling */

.blue-text {
    color: #2A4F6E;
}

.white-text {
    color: white;
}

.green-text {
    color: #44AA88;
}

.gray-text {
    color: #3A454F; 
}

.lightgray-text{
    color: #A2ABB1; 
}

.pink-background {
    color: #CCB5C3; 
}

/* Alignment Styling  */

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

/* Password Styling */

.toggle-password {
    position: absolute;
    right: 10px;
    top: 65%;/* Adjust based on the height of the button to vertically center */
    transform: translateY(-50%); /* Center vertically */
    border: none;
    background: none;
    cursor: pointer;
}
.password-toggle-icon {
    width: 20px; /* Adjust based on your preference */
    height: auto; /* Maintain aspect ratio */
}

/* Button Styling */
.btn-primary {
    background-color: #44AA88; /* Green button color */
    border: none;
    margin-top: 20px;
    margin-left: 5px;   
}
.btn-primary:hover {
    background-color: #44AA88; /* Darker green on hover */
}
.btn-transparent {
    background-color: rgba(255, 255, 255, 0.2); /* 20% transparent white */
}

.btn-finish {
    border-radius: 32px;
}

/* Alert Styling */
.custom-alert {
    padding: 10px;
    line-height: 1;
}

/* Additional Styling */

.login-container {
    max-width: 500px; /* Adjust width as needed */
    width: 100%;
    margin: 0 auto;
    padding: 30px 50px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 20px;
}

/* Additional Styling */
.top-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px; 
    margin-left: 100px;
    margin-right: 100px;
}

#logo img {
    height: 40px; /* Adjust based on your logo size */
    width: auto; /* Keeps the aspect ratio */
}

#title {
    flex: 2; /* Allows the title to grow, ideally centered due to space distribution */
    text-align: center;
    margin-right: 100px;
}

#close-btn {
    padding: 8px 16px; /* Controls the size of the button */
    margin-left: auto; /* Ensures the button stays to the right */
    margin-right: 20px; /* Increase spacing from the right if needed */
    text-align: center; /* Centers the text within the button */
}

.middle-section {
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    margin-top: 50px;
    min-height: 50vh; /* Make it at least as tall as the viewport */
    flex-direction: row; /* Stack children vertically */
    text-align: center; /* Ensures text and inline(-block) elements inside flex items are centered */
}

.current-subject {
    margin-top: 8px;
}
.current-subject h6 {
    color: #6c757d; /* Gray color for a lighter emphasis */
    font-size: 14px;
    margin: 0;
}

.exam-container {
    display: flex;               /* Use flexbox for layout */
    justify-content: center;     /* Center the exam box horizontally */
    align-items: flex-start;     /* Align items to the top */
    position: relative;          /* For proper positioning of children */
    width: 100%;                 /* Full width of the screen */
    padding: 20px;               /* Optional padding for spacing around the container */
    box-sizing: border-box;      /* Include padding in width calculation */
}

/* #exam-box {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin: auto;
    min-height: 500px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    font-family: "Figtree", sans-serif;
    color: #333;
    flex: 1;
    width: 100%;
    max-width: 1000px;
    min-width: 700px;
    justify-content: center;
    box-sizing: border-box;
} */

#exam-box{
    background-color: #ffffff;   /* Background color */
    border-radius: 20px;         /* Rounded corners */
    padding: 30px;               /* Inner spacing for content */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 100%;                 /* Take full width of parent space */
    max-width: 1000px;            /* Maximum width for the box */
    min-width: 300px;            /* Minimum width for the box */
    box-sizing: border-box;      /* Include padding in width calculation */
    text-align: center;          /* Center text/content */
}


.exam-title-box {
    text-align: left;
    display: flex; /* This will also make the answers a flex container */
    flex-direction: row; /* Align answers in a row */
    justify-content: space-between; /* Space out the answers evenly */
    flex-wrap: wrap; /* Allow answers to wrap into multiple lines */
}

.exam-detail{
    font-weight: 600;
    color: #2A4F6E;
    margin-bottom: 2px;
}

.timer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px; /* Spacing before the timer */
}

.total-time-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.time-left-text {
    text-align: right;
}


.question-tracker {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 15px;
    width: 180px;
    max-width: 250px;
    min-width: 80px;
    height: 250px;
    margin-left: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    text-align: center;
  }
  

  .question-tracker h4 {
    display: block;
  }
  

@media (max-width: 768px) {
    .question-tracker h4 {
      display: none;
    }
  
    .question-text {
      display: none;
    }
  
    .question-number {
      display: inline-block;
    }
  

    .question-tracker {
      width: 120px;
    }

    .tracker-grid{
        margin-left: -20px;
      }
  }
  

  @media (max-width: 480px) {
    .question-tracker {
      width: 100px;
    }
  }
  

  .question-text {
    margin-right: 5px;
  }
  
.question-tracker h4 {
    margin-bottom: 10px;
    text-align: center;
    font-size: 22px;
    color: #2A4F6E;
    font-size: 600;
}

.tracker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 5px;
    justify-items: start;
    align-items: center;
    width: 100%;
    padding: 0 15px;
  }

.tracker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    color: #ababab;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.tracker-item.active {
    /* background-color: #0d6efd; */
    color: #2A4F6E;
    font-weight: 700;
}

.tracker-item.answered svg{
    stroke: #2A4F6E; /* Ensure stroke of the icon is blue */
}

.tracker-item.active.unanswered .icon {
    color: white;
}

.tracker-item:hover {
    color: #2A4F6E;
}

.practice-title-box {
    text-align: left;
    align-self: flex-start; /* Aligns the title box to the left */
    margin-bottom: 10px; /* Spacing before the question */
}

#question-box {
    background-color: #ffffff;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
    font-weight: 500;
}

#answers {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.answer {
    background-color: #DEE7EF;
    border: 1px solid #DEE7EF; 
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    flex-basis: calc(50% - 10px);
    text-align: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.answer:hover {
    background-color: #BCC9D8;
}

.selected, 
.answer.selected, 
.answer.default-selected { 
    background-color: #44AA88; 
    color: white;
}

.resize-image {
    max-width: 400px;
    height: auto;
    object-fit: contain; /* This ensures the image keeps its aspect ratio */
}

.bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 325px; /* Adjust padding to ensure 'Finish' aligns with the box end */
}

.prev-next-finish-container {
    display: flex;
    justify-content: space-between; /* Center buttons horizontally */
    align-items: center; /* Align buttons vertically */
    gap: 20px; /* Add space between buttons */
    margin-top: 60px; /* Add some spacing from the content above */
    width: 100%; /* Ensure container spans full width for centering */
    position: relative;
    margin-bottom: 20px;
}

.prev-next-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
    margin-bottom: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Center the Prev/Next buttons */
}

#prev, #next {
    background-color: #F5F7F9; /* Light gray background for answers */
    border-radius: 20px; /* Slightly smaller radius for a subtle effect */
    margin: 0 10px; /* Spacing between 'Previous' and 'Next' */
    margin-bottom: 10px; /* Space between rows of answers if they wrap */
    cursor: pointer; /* Change cursor to indicate clickable items */
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: space-between; /* Space between text and image */
    color: #3A454F;
    font-weight: 600;
}

#prev{
    padding-right: 30px;
}

#next{
    padding-left: 30px;
}

#prev img {
    margin-right: auto; /* Push icon to the far left */
    margin-left: -10px;
}

#next img {
    margin-left: auto; /* Push icon to the far right */
    margin-right: -10px;
}

#prev:hover, #next:hover {
    background-color: #EAEFF3; /* Light gray background on hover */
}

.prev-next-container button img {
    width: 40px; /* Circle size */
    height: 40px;
    border-radius: 50%; /* Make the image a perfect circle */
    background-color: #EAEFF3; /* Circle background color */
    padding: 10px; /* Space inside the circle */
    transition: transform 0.2s ease;
}

.btn-finish-exam {
    background-color: #44AA88; /* Deep blue for contrast */
    color: white; /* White text for readability */
    font-size: 16px;
    font-weight: 600;
    padding: 8px 20px;
    border: none;
    border-radius: 100px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    width: 100px; /* Make it full width */
    max-width: 200px; /* Prevent it from being too wide */
    text-align: center;
    margin: 20px;
    position: absolute;
    right: 0;
    top: -50px;
    white-space: nowrap; /* Prevent text from wrapping */
}

/* Hover effect */
.btn-finish-exam:hover {
    background-color: #3b9476; /* Darker blue on hover */
    transform: scale(1.02); /* Slight zoom effect */
}

/* Active/Click effect */
.btn-finish-exam:active {
    background-color: #337e65; /* Even darker blue */
    transform: scale(0.98); /* Slight press effect */
}

/* Button Styling */

button {
    cursor: pointer;
}

.toast-notification {
    position: fixed;
    top: -50px; /* Initially hidden */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: top 0.5s ease-in-out;
    opacity: 0.9;
    z-index: 1000;
}

.toast-notification.show {
    top: 20px; /* Slide down */
}

/* Sidebar Styling */

.dashboard {
    display: flex;
    /* height: 100%;
    display: flex;
    align-items: flex-start;
    align-items: stretch;*/
}

.sidebar {
    width: 256px; /* Fixed width for the sidebar */
    background-color: white; /* White background */
    color: gray; /* Gray text color */
    padding: 20px;
    margin-right: 50px;
    /* min-height: 100vh; Ensure it covers the full viewport height at minimum */
    position: relative; /* Relative position to allow footer alignment */
}

.sidebar nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: -20px;
}

.sidebar-gray-text, 
.sidebar nav ul li a {
    color: #282828; 
    text-decoration: none;
    padding: 10px;
    display: block;
    font-size: 16px;
}

.sidebar nav ul li a:hover {
    background-color: #eae9e9; /* Light gray background on hover */
    color: #282828;
}

.sidebar-link {
    display: flex; /* Make the link a flex container */
    align-items: center; /* Align icon and text vertically */
    gap: 8px; /* Add space between the icon and the text */
    border-radius: 8px;
    width: 192px;
    padding: 12px 16px;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
    text-decoration: none;
    color: inherit; /* Keep inherited text color */
}

.sidebar-link i {
    width: 18px;
    height: 18px;
    object-fit: contain;
    vertical-align: middle; /* Ensures alignment with the text */
    margin-left: 15px;
}

.sidebar-link span {
    line-height: 1;
    vertical-align: middle; /* Ensure text aligns well with the icon */
    margin-left: 5px;
}

.icon {
    margin-right: 10px; /* Spacing between icon and text */
}

.sidebar-link.active {
    background-color: #44AA88; /* Green background for active link */
    color: white; /* White text */
}

.sidebar-link {
    color: #1e1e1e; /* Default color */
    text-decoration: none; /* Removes underline from links */
}

.sidebar-link:hover {
    background-color: #44AA88; /* Green background on hover */
    color: white; /* White text */
}

.sidebar-logo {
    display: block;
    max-width: 100%; /* Adjust as necessary */
    margin-bottom: 50px; /* Spacing below the logo */
}

/* Sidebar Footer Adjustments */

.sidebar-footer {
    position: absolute;
    bottom: 40px;
    width: 100%; /* Ensure the footer takes full width */
    /* padding: 0 20px; Add padding to keep the links aligned */
}

.sidebar-footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-footer li {
    list-style: none;
    margin-bottom: 15px; /* Adds space between each list item */
}

.sidebar-lightgray-text,
.sidebar-link {
    display: flex;
    align-items: center; /* Align icon and text vertically */
    color: #A2ABB1; /* Light gray color */
    text-decoration: none;
    padding: 12px 0; /* Padding for each link */
}

.sidebar-lightgray-text img {
    margin-right: 10px; /* Spacing between the icon and text */
}

.sidebar-lightgray-text:hover {
    color: #44AA88; /* Hover color */
}


/* YouTube Video Container */
.youtube-video {
    margin-top: 50px;
    text-align: left;      /* Aligns content to the left */
    color: #333;
}

.youtube-video h2{
    color: #333;
    margin-bottom: 15px; /* Space between the heading and subtitle text */
}

/* YouTube Iframe Styling */
.youtube-video iframe {
    width: 100%;           /* Makes the video responsive */
    max-width: 800px;      /* Sets a max width for larger screens */
    height: 450px;         /* Adjust height as needed */
    border-radius: 12px;    /* Adds rounded corners */
    border: 1px solid #ddd;
    margin-top: 10px;
}



/* Navigation Bar Styling */

.main-content {
    flex-grow: 1;
    min-height: 100vh;
    background-color: #F2F6F5; /* Light green background */
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.top-nav {
    display: flex;
    justify-content: space-between; /* Positions items on the left and right */
    align-items: start; /* Centers items vertically */
    /* padding: 10px 20px; */
}

/* Right-Side Container */
.right-side-container {
    display: flex;
    align-items: center; /* Ensures vertical alignment */
    gap: 10px; /* Spacing between notification and profile */
}

.search-container {
    display: flex;
    justify-content: center; /* Center the search bar container */
    align-items: center;
    padding: 10px;
    width: 100%; /* Full width */
    max-width: 600px; /* Limit the maximum width */
    background-color: #eae9e9; /* Default background */
    border-radius: 12px; /* Rounded container */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.search-container:hover {
    background-color: #dcdcdc; /* Change background on hover */
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: #f0f0f0; /* Light background for the input container */
    border-radius: 25px; /* Rounded container */
    padding: 10px;
    width: 100%;
    max-width: 400px;
}

.search-icon {
    width: 20px; /* Icon size */
    height: 20px;
    margin-right: 10px; /* Space between icon and placeholder text */
}

#searchInput {
    border: none;
    outline: none; /* Remove default input border */
    background: none; /* Transparent background */
    flex-grow: 1; /* Allow the input to expand */
    font-size: 16px; /* Text size */
    color: #333; /* Text color */
}


.back-dashboard-btn {
        background-color: #E0E3E5; /* Set the gray background color */
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative; /* Position relative for absolute positioning of dropdown content */
        margin-right: 30px; /* Adjust spacing as needed */
        height: 40px; /* Match the height to your bell icon */
        padding: 0px 4px;
        border-radius: 8px; /* Keep it round */
        gap: 4px;
    }
    

.bell-icon-container {
    background-color: #E0E3E5; /* Set the gray background color */
    display: flex;
    align-items: center; /* Center the icon if the container is taller than the icon */
    justify-content: center; /* Center the icon if the container is wider than the icon */
    width: 40px; /* Adjust width as needed */
    height: 40px; /* Adjust height as needed */
    border-radius: 8px; /* Keep it round */
    margin-right: 10px; /* Add space between the icon and search bar */
}

.bell-icon {
    width: 24px; /* Adjust as needed */
    height: 24px; /* Adjust as needed */
}

.profile-dropdown {
    background-color: #E0E3E5; /* Set the gray background color */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Position relative for absolute positioning of dropdown content */
    margin-right: 30px; /* Adjust spacing as needed */
    height: 40px; /* Match the height to your bell icon */
    padding: 0px 4px;
    border-radius: 8px; /* Keep it round */
    gap: 4px;
}

.dropdown-button {
    background: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    color: #000; /* Color of the text */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    top: 100%; /* Position the dropdown right below the parent container */
    right: 0; /* Align dropdown to the right of the button */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

.header-content h1 {
    margin-top: 20px; /* Align with the search bar */
    margin-bottom: 10px; /* Space between the heading and subtitle text */
}

.header-content .subtitle {
    margin-bottom: 30px; /* Space between the subtitle text and boxes */
    color: #3A454F; /* Subtle text color */
    font-size: 1rem; /* Adjust size as needed */
}

.subject-link {
    display: block; /* Make the link cover the whole area */
    color: inherit; /* Inherit the color from the parent */
    text-decoration: none; /* Remove the default underline */
}

.subject-box-link {
    text-decoration: none; /* Remove the default underline */
    color: #333; /* Dark text color */
}

.subject-link:hover {
    text-decoration: none; /* Optional: remove the underline on hover */
}

.folder-boxes{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); /* Smaller minimum card width */
    gap: 24px; /* Reduced gap between cards */
    padding: 10px; /* Reduced overall padding */
}

.subject-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns in a row */
    gap: 30px; /* Reduced gap between cards */
    padding: 30px; /* Reduced overall padding */
}

.subject-box {
    background-color: white;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    width: 100%;
    height: 350px;
    overflow: hidden;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    will-change: transform, box-shadow;
}

.subject-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.subject-box img {
    width: 100%;
    height: 210px; /* Reduced image height */
    object-fit: cover; /* Crop images to fit perfectly */
    margin-bottom: 0;  /* Remove extra space below the image */
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    image-rendering: smooth;
    max-width: 100%;
    image-rendering: auto;
}

.subject-box-content {
    padding: 20px 18px 20px 18px;
}

.subject-box-header {
    display: flex;
    justify-content: space-between; /* Spread the subject and item count across the width */
    width: 100%;
    margin-bottom: 4px; /* Space between header and description */
}

.subject-name {
    font-size: 1.25em; /* Adjust as needed */
    font-weight: 600;
    margin-bottom: 0px;
    color: #333; /* Dark text color */
}

.subject-item-count {
    margin-left: auto; /* Pushes the item count to the right */
    font-size: 1em; /* Adjust as needed */
}

.subject-description{
    margin: 0;
    /* Additional styles for the description text */
    padding-bottom: 10px;
    color: #7a7a7a;
    font-size: 14px;
}

.subject-categories {
    display: flex;
    gap: 20px;               /* Space between cards */
    justify-content: flex-start;  /* Align cards to the left */
    flex-wrap: wrap;         /* Allow wrapping on smaller screens */
    padding: 20px 0;
}

.filter-buttons {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    justify-content: start; /* Center align the buttons */
}

.filter-btn {
    padding: 10px 20px;
    border: none;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: #eae9e9;
}

.filter-btn.active {
    background-color: #44AA88;
    color: #fff;
}

.category-box-link {
    text-decoration: none;
    width: 90%;              /* Two cards per row with spacing */
}

/* Main Card Container */
.category-box {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    height: 200px;  /* Increased height */
    margin: 20px 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Left Image Section */
.category-image {
    width: 40%;
    height: 100%;  /* Ensure full height */
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* Better image scaling */
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

/* Right Content Section */
.category-box-content {
    width: 65%;
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;  /* Align text to the left */
    text-align: left;         /* Ensure text is left-aligned */
}

.category-name {
    font-size: 1.5rem; /* Same size for all headings */
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.category-description {
    font-size: 1rem;
    color: #7a7a7a;
}

.category-box:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Analytics Styling */

.report-container {
    width: 1100px;
    min-height: 1000px;
    flex-shrink: 0;
    margin: 20px auto;
    background-color: #fff;
    margin-bottom: 20px;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0px 7px 20px 0px rgba(0, 0, 0, 0.07);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 5px;
}

.header-container .logo {
    /* Adjust width as needed, or keep it auto if you have a set logo size */
    width: auto;
}

.header-container .title {
    text-align: right;
    font-size: 2em; /* Adjust as needed */
    color: #2A4F6E;
    font-family: Figtree;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 54px */
}

.filter-bar {
    display: flex;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    width: 97%;
}

.tabs {
    display: flex;
    justify-content: space-evenly;
    position: relative;
}

.tab {
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: #A2ABB1;
}

.tab.active {
    color: #2A4F6E;
    /* Blue text color */
}

.tab::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: transparent;
    /* Default transparent underline */
}

.tab.active::after {
    background-color: #2A4F6E;
    /* Active tab underline color */
}

.bottom-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    /*background-color: #e2e8f0; /* Light gray border */
}

.info-section {
    display: flex; /* This will also make the answers a flex container */
    flex-direction: row; /* Align answers in a row */
    justify-content: space-between; /* Space out the answers evenly */
    flex-wrap: wrap; /* Allow answers to wrap into multiple lines */
    align-items: center;
    margin-bottom: 10px; /* Adjust as needed */
    text-align: left;
}

.info-container {
    display: flex; /* This will also make the answers a flex container */
    flex-direction: row; /* Align answers in a row */
    justify-content: space-between; /* Space out the answers evenly */
    flex-wrap: wrap; /* Allow answers to wrap into multiple lines */
    text-align: left;
    padding: 15px;
    margin: 5px;
    margin-bottom: 20px; /* Adjust as needed */
    width: 800px;
}

.overall-performance-box {
    text-align: left;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 600px;
}

.info-item {
    color: #5D6C7A;
    font-family: Figtree;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
}

.info-item-content {
    color: var(--Color-Neutral-2---Grey, #3A454F);
    font-family: Figtree;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 133.333% */
    margin-right: 10px; /* Spacing before the progress bar */
}

.score-value-container {
    border-radius: 15px;
    width: 180px;
    height: 150px;
    align-items: center;
    /* color: white; */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    margin-bottom: 20px;

}

.score-value-header {
    background-color:#4685B9; /* Darker shade of blue */
    padding: 10px;
    text-align: center;
    font-size: 0.85em;
    text-transform: uppercase;
    color: #FFFFFF;
    border-radius: 16px 16px 0px 0px;
}

.score-header-content {
    color: #FFFFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
}

.score-value {
    background-color: #DDECE7; /* Lighter shade of blue */
    padding: 20px;
    text-align: center;
    color: #2A4F6E;
    font-size: 64px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%; /* 70.4px */
}

#report-logo img {
    width: auto;
    height: 50px;
    flex-shrink: 0;
}

.gray-divider {
    border-bottom: 1px solid #ccc; /* Add border to create divider */
    margin-bottom: 20px; /* Add margin to separate the rows */
    width: 98%;
    height: 1px;
}

/* Wrapper for the progress bar */
.score-wrapper {
    position: relative;
    width: 100%; /* Full width */
    height: 15px; /* Height of the progress bar */
    background-color: #DAE7F1; /* Light gray background */
    border-radius: 10px; /* Rounded corners */
    margin: 20px 0 20px; /* Vertical spacing */
}

/* The actual progress bar */
.score-bar {
    position: relative; /* To position the percentage text inside */
    height: 100%; /* Full height of the progress bar */
    background-color: #4685B9; /* Blue color for the filled portion */
    border-radius: 10px; /* Rounded corners on the left side */
    transition: width 1s linear; /* Smooth transition for width change */
}


.overall-performance-box {
    width: 600px; /* Width of the overall performance box */
}

.test-statistics-container {
    text-align: left;
    padding: 15px;
    margin: 5px;
    margin-bottom: 20px; /* Adjust as needed */
}

.performance-header-content {
    margin-bottom: 30px;
    text-align: left;
    color: var(--Color-Neutral-2---Grey, #3A454F);
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 36px */
}

.performance-statistics-content {
    display: flex; /* This will also make the answers a flex container */
    flex-direction: row; /* Align answers in a row */
    justify-content: space-between; /* Space out the answers evenly */
    text-align: left;
    width: 300px;
    margin-bottom: 30px;
}

/* Responsive Flexbox for number boxes */
.number-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.number-box {
    box-sizing: border-box;
    padding: 10px;
    margin: 5px; /* This margin creates the gutter between boxes */
    width: calc(50% - 10px); /* Adjust the width taking into account the margin */
    flex-grow: 0;
    flex-shrink: 0;
    background-color: #F5F7F9; /* Gray background for boxes */
    text-align: center;
    border-radius: 20px;
    display: flex;
    height: 150px;
    padding: 16px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* For the second row, we adjust the width to be one-third */
.number-box:nth-child(n+3) {
    width: calc(33.3333% - 10px);
}

@media (max-width: 600px) {
    .number-box {
        width: calc(100% - 10px); /* Full width on smaller screens */
    }
}

.performance-container, .description-container, .done-container {
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.subject-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.accordion-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    padding: 0 5px 0 0;
    margin-right: 5px;
}

.subject-title {
    flex-grow: 1;
    color: var(--Color-Neutral-2---Grey, #3A454F);
    font-family: Figtree;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
}

.bar {
    height: 20px;
    background-color: #ccc;
    margin: 5px 0;
    height: 32px;
    flex-shrink: 0;
    border-radius: 16px;
}

.bar-outer {
    height: 20px;
    background-color: #ccc;
    width: 100%;
    margin-left: 10px;
    height: 32px;
    border-radius: 16px;

    align-items: center; /* Align items vertically */
}

.bar-inner {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding-right: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #4685B9;
    border-radius: 16px;
}

.bar-inner-math {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #E59B9B;
    border-radius: 16px;
}

.bar-inner-science {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #9CC5B2;
    border-radius: 16px;
}

.bar-inner-english {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #749AB7;
    border-radius: 16px;
}

.bar-inner-filipino {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #F9D383;
    border-radius: 16px;
}

.bar-inner-abstract {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #CCB5C3;
    border-radius: 8px; 
}

.bar-inner-araling {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #E5B19B;
    border-radius: 8px; 
}

.bar-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px; /* Space between the bar and percentage */
}

.panel {
    display: none;
}

.performance-bar-container:not(.subject-container) .subsubject {
    margin-left: 25px; /* Indent subsubjects */
    color: #5D6C7A;
    font-family: Figtree;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px; /* 133.333% */
}

/* Add this CSS to style your toggle button when active */
.accordion-toggle.active:after {
    content: "▼";
}

.accordion-toggle:after {
    content: "▶";
    margin-left: 5px;
}

.analytics-text-report {
    text-align: left;
    color: #5C6B79;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 30px */
}

/* Admin Styling */

.view-content{
    width: 90%;
}

.filter-batch {
    display: flex;
    justify-content: flex-start; /* Align to the right */
    padding:20px 0px;
    margin-bottom: 20px;
    margin-right: 30px;
}

/* #filter-form {
    display: flex;
    padding: 20px;
} */

.filter-dropdown {
    position: relative;
    display: inline-block;
    padding: 20px;
}

/* .filter-dropdown select {
    padding: 5px 20px;
    border-radius: 5px;
    border: 0px solid #111111;
    background-color: #4d4daf;
    appearance: none;
} */

.select-wrapper {
    position: relative;
    width: 200px; /* Adjust as needed */
    display: inline-block;
}

.select-wrapper select {
    width: 100%;
    padding-right: 30px; /* Adjust for space on the right for the icon */
    padding-left: 10px;
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 16px;
    border: none; /* Add border for better visibility */
    appearance: none; /* Remove default dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FFFFFF; /* Make sure background is transparent for custom icon */
}


.select-wrapper select:focus,
.select-wrapper select:active {
    outline: none; /* Remove the default outline */
    box-shadow: 0px 7px 64px rgba(0, 0, 0, 0.07);
    background-color: #f9f9f9; /* Optional: Change background on focus */
    color: #000; /* Ensure text color is readable */
}

select option {
    outline: none;
    font-size: 16px; /* Adjust font size */
    color: #333; /* Default text color */
    background-color: #fff; /* Default background */
    padding: 8px; /* Add padding */
    border: none; /* Remove default borders */
}

.icon-container {
    position: absolute;
    padding: 10px;
    top: 50%;
    right: 10px; /* Position the icon to the right */
    transform: translateY(-50%); /* Vertically center the icon */
    pointer-events: none; /* Prevent the icon from blocking the dropdown interaction */
    font-size: 18px; /* Adjust icon size as needed */
}


.card-container {
    display: flex;
    justify-content: flex-start; 
    gap: 40px; /* Increase space between cards */
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 60px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    border: none;   
    box-shadow: 0px 7px 64px rgba(0, 0, 0, 0.07);
    padding: 20px;
    flex-basis: calc(25% - 10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--color-neutral-3-grey-75, #A2ABB1);
    text-align: center;
    font-family: Figtree;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 21px */
}

.card-value {
    font-size: 32px;
    font-weight: 600;
    color: #3A454F;
}

.card-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.admin-table-divider {
    padding: 10px;
    flex-basis: calc(50% - 20px);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: top;
    gap: 40px;
    margin-right: 10px;

}

.admin-table-container {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px; /* Space between tables */
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    width: calc(50% - 40px);
    margin-top: 10px;
}

.admin-table-header {
    color: var(--Color-Neutral-2---Grey, #3A454F);
    font-family: Figtree;
    font-size: 1.2em;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 150% */
}

.admin-table-colname{
    font-family: Figtree;
    font-size: 1em;
    font-style: normal;
    font-weight: 600;
    color: #999;
}

.admin-table-subheader {
    color: var(--Color-Neutral-2---Grey, #ababab);
    font-family: Figtree;
    font-size: 1em;
    font-style: normal;
    line-height: 24px; /* 150% */
}

.admin-subject-title {
    color: var(--Color-Neutral-2---Grey, #3A454F);
    font-family: Figtree;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; /* 171.429% */
}

.admin-bar {
    height: 20px;
    background-color: #ccc;
    margin: 5px 0;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
}

.admin-bar-outer {
    height: 20px;
    background-color: #ccc;
    width: 100%;
    margin-left: 10px;
    height: 32px;
    border-radius: 8px;
    align-items: center; /* Align items vertically */
}

.admin-bar-inner {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding-right: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #4685B9;
    border-radius: 8px;
}

.admin-bar-inner-math {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #E59B9B;
    border-radius: 8px;
}

.admin-bar-inner-science {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #9CC5B2;
    border-radius: 8px;
}

.admin-bar-inner-english {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #749AB7;
    border-radius: 8px;
}

.admin-bar-inner-filipino {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #F9D383;
    border-radius: 8px; 
}

.admin-bar-inner-abstract {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #CCB5C3;
    border-radius: 8px; 
}

.admin-bar-inner-araling {
    height: 100%;
    color: black;
    line-height: 20px; /* Align the text vertically */
    padding: 5px;
    box-sizing: border-box;
    text-align: right;
    background-color: #E5B19B;
    border-radius: 8px; 
}


.exam-filter {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around; /* Evenly space the items */
    border-bottom: 2px solid #E0E0E0; /* Grey bottom border */
    margin-top: 20px; /* Space above the filter */
}

.exam-filter li {
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: Figtree, sans-serif; /* Your preferred font */
    font-size: 1em; /* Adjust size as needed */
    color: #3A454F; /* Text color */
}

.exam-filter li.active {
    border-bottom: 2px solid var(--Color-Primary-Blue, #2A4F6E);
}

exam-filter li:hover {
    color: #2A4F6E; /* Hover effect color */
}
.subject-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align subjects to the left */
    padding: 0px 10px;
    margin-top: 10px;
}

.subject-breakdown {

    padding: 20px;
}
.subject-title {
    text-align: left; /* Align subject titles to the left */
}

.subject-header {
    display: flex;
    align-items: center; /* Align items vertically */
    width: 100%;
}

.subsubjects-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 10px;
}

.subsubject {
    text-align: left;
}

.subject-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.performance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;  /* Ensure this spans the full width */
    margin-bottom: 5px; /* Adjust as needed */
}

button {
    all: unset; /* Reset all styles */
    cursor: pointer; /* Ensure it looks clickable */
    display: inline-block; /* Allow proper box model behavior */
    padding: 0px 10px;
    color: #659CA4; /* White text color */
    font-size: 0.8em;
}

/* Subject Title */
.subject-title {
    text-align: left;
    font-size: 1em;
    font-weight: bold;
    color: #3A454F;
    /* margin-right: 10px; */
    width: 100px;
    box-sizing: border-box;

}

.subsubjects-container {
    display: flex;
    width: 100%;
}

.subsubject-title {
    text-align: left;
    font-size: 0.9em;
    color: #3A454F;
    font-weight:500;
    width: 100%; /* Ensure titles take equal width of the parent */
    box-sizing: border-box;
    margin-left: 30px;
}

/* Bar Container */
.bar-container {
    width: 100%;
    max-width: 100%; /* Prevents the bar from taking up too much space */
    display: flex;
    justify-content: center; /* Centers the bar */
    align-items: center; /* Vertically centers the bar */
}

/* Outer Bar Container */
.bar-outer {
    width: 100%; /* Ensure the bar-outer fills the width of the container */
    height: 25px;
    background-color: #e0e0e0; /* Background color of the outer bar */
    border-radius: 8px;
    position: relative;
}

/* Inner Bar */
.admin-bar-inner {
    height: 100%;
    background-color: var(--Color-Primary, #4685B9); /* Default color */
    border-radius: 8px;
    transition: width 0.3s ease-in-out; /* Smooth transition for width changes */
}

/* Score Percentage */
.score-percentage {
    flex: 0 0 50px; /* Prevent the width from resizing, give it a fixed minimum width */
    text-align: right;
    font-size: 0.85em;
    font-weight: 500;
    color: #3A454F;
    margin-left: 5px;
    width: 80px; /* Set a fixed width */
    padding-right: 10px; /* Optional: adds some padding to the right for text */
}

.subsubjects-container .bar-outer {
    height: 15px;                 /* Smaller height for subsubject bars */
}

.admin-table-container-full {
    width: 100%; /* Make the container take up full width */
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px; /* Space between tables */
    box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
    margin-right: 40px;
}

.admin-table {
    width: 100%; /* Ensure the table takes up full width */
    border-collapse: collapse; /* Remove table spacing between cells */
    margin-top: 10px;
}

.admin-table th,
.admin-table td {
    padding: 10px; /* Optional: Add padding for spacing within table cells */
    text-align: center; /* Center-align the content in table cells */
}

.admin-table-header {
    font-weight: bold;
}

.admin-table-subheader {
    margin-top: 10px;
    font-size: 1.1em;
    font-weight: normal;
}

/* Container styling */
#section-ranking-container {
    margin: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Table styling */
#section-ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

#section-ranking-table thead {
    background-color: #f7f9fc;
}

.ranking-column-header {
    text-align: left;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    position: relative;
}

.ranking-column-header:hover {
    background-color: #eef2f7;
}

.sort-indicator {
    margin-left: 8px;
    width: 10px;
    height: 10px;
    display: inline-block;
    background: url('sort-icon.svg') no-repeat center;
    background-size: contain;
}

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

.ranking-row:nth-child(odd) {
    background-color: #f9f9f9;
}

.ranking-row:nth-child(even) {
    background-color: #ffffff;
}

.ranking-data {
    padding: 12px 16px;
    font-size: 14px;
    color: #555;
    border-bottom: 1px solid #eaeaea;
}

.no-data {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #999;
}

/* Responsive styling */
@media (max-width: 768px) {
    #section-ranking-table {
        font-size: 12px;
    }
    .ranking-data {
        padding: 8px;
    }
    .ranking-column-header {
        padding: 8px;
    }
}

/* Increase width of the 4th column (Average Score) */
.admin-table td:nth-child(4),
.admin-table th:nth-child(4) {
    width: 50%;  /* Set the desired width for the Average Score column */
}

/* Increase width of the 4th column (Average Score) */
.admin-table-section td:nth-child(3),
.admin-table-section th:nth-child(3) {
    width: 50%;  /* Set the desired width for the Average Score column */
}

/* Increase width of the 4th column (Average Score) */
.admin-table-section td:nth-child(1),
.admin-table-section th:nth-child(1) {
    text-align: left;
}

.scrollable-table-container-adjust, 
.scrollable-table-container-full {
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}

.scrollable-table-container-adjust::-webkit-scrollbar, 
.scrollable-table-container-full::-webkit-scrollbar {
    width: 8px;
}

.scrollable-table-container-adjust::-webkit-scrollbar-track, 
.scrollable-table-container-full::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
    margin: 10px 0;
}

.scrollable-table-container-adjust::-webkit-scrollbar-thumb, 
.scrollable-table-container-full::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.scrollable-table-container-adjust::-webkit-scrollbar-thumb:hover, 
.scrollable-table-container-full::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar styling */
.question-tracker::-webkit-scrollbar {
    width: 8px; /* Adjust scrollbar width */
}

.question-tracker::-webkit-scrollbar-track {
    background: transparent; /* Keeps track area hidden */
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.question-tracker::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.question-tracker::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* General View Content Styles */
.view-content {
    display: none; /* Hidden by default */
}

/* Show active view */
.active-view {
    display: block;
}

.scrollable-table-container {
    max-height: 450px; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
}

.section-click-btn {
    background-color: #f5f5f5; /* Light gray background */
    color: #1e1e1e; /* Dark gray text */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    padding: 8px 12px; /* Spacing inside the button */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 14px; /* Readable font size */
    font-weight: 500; /* Slightly bold text */
    transition: background-color 0.3s, color 0.3s; /* Smooth hover effect */
    width: 80%;
    text-align: center;
}

.section-click-btn:hover {
    background-color:#2A4F6E; /* Dark gray background on hover */
    color: #ffffff; /* White text on hover */
}

.section-click-btn.active {
    background-color: #2A4F6E; /* Change to your preferred active color */
    color: white;
    font-weight: bold;
}

#selected-section {
    font-size: 40px; /* Larger font size */
    font-weight: bold; /* Bold text */
    margin-bottom: 10px; /* Space below the selected section */
    color: #2A4F6E;
}

.scrollable-table-container-full {
    max-height: 600px; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
}


/* Highlight the row on hover */
#sortable-table tr:hover {
    background-color: #2a4f6e18; /* or any color of your choice */
}

/* Make the entire row clickable */
#sortable-table tr td a {
    display: block; /* Make the link block-level to cover the entire cell */
    padding: 3px;  /* Optional: Add padding for better touch targets */
    text-decoration: none; /* Remove underlines from links */
    color: inherit; /* Ensure text color doesn't change */
}

#reports-container {
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    /* padding: 20px; */
    margin-left: 15px;
    width: 1032px;
    min-height: 100px;
    flex-shrink: 0;
    
    /* Fixed height and scrollable overflow */
    max-height: 400px;  /* You can adjust this value based on your design */
    overflow-y: auto;   /* Allows scrolling when content exceeds max-height */
}

/* Table header row styling */
#sortable-table th {
    background-color: #2A4F6E;
    color: #FFF;
    font-weight: bold; /* Make text bold */
    text-align: center; /* Align text to the left */
    border-bottom: 1px solid #e6e6e6; /* Bottom border for the header */
    cursor: pointer;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    border-bottom: 2px solid #ccc;
}

.tab-button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin: 0 10px;
    border-bottom: 3px solid transparent;
}

.tab-content {
    display: none;
    padding: 20px;
}

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

#export-pdf {
    margin-left: auto; /* Pushes the button to the right */
    background-color: #44AA88;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
}

#export-pdf:hover {
    background-color: #399173;
}
