.logo img {
    width: 50px;
    height: 50px;
}
body {
    font-family: Arial;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    display: flex;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background-color: #f1f1f1;
    width: 200px;
    height: 100vh;
    overflow-y: auto;
    position: fixed;
}

.sidebar h2 {
    padding: 10px;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: black;
}

.main {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    margin-left: 200px;
}

.main h1 {
    color: #0074d9;
}

.dropdown {
    position: fixed;
    top: 10px;
    right: 10px;
    display: inline-block;
}

.user-icon {
    width: 50px;
    height: 50px;
    background-color: #3498db;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.user-info h3 {
    margin-top: 0;
}

.button {
    display: block;
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2874a6;
}
/* ... existing styles ... */

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: black;
    transition: background-color 0.2s, border-left 0.2s;
}

.sidebar li a:hover {
    background-color: #e8e8e8; /* Change as per your color theme */
    border-left: 4px solid #0074d9; /* Indicate hover with a border */
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #888;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ... additional styles ... */

body {
    font-family: 'Open Sans', Arial, sans-serif;
    /* ... existing styles ... */
}

.main h1, .sidebar h2 {
    color: #0074d9;
    font-weight: bold;
}

/* ... additional typography and color styles ... */
.search-container {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#content-search {
    width: 90%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Active link styles */
.sidebar ul li a.active {
    position: relative;
    color: #0074d9; /* Your highlight color */
    font-weight: bold;
    transition: color 0.3s ease;
}

.sidebar ul li a.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #0074d9; /* Match the highlight color */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* Hover effect for all links */
.sidebar ul li a:hover {
    color: #0056b3; /* Darker shade for hover state */
}

.collapsible {
    margin-bottom: 10px;
}

.collapsible-header {
    background-color: #0074d9;
    color: white;
    cursor: pointer;
    padding: 10px;
    text-align: left;
    border: none;
    outline: none;
    transition: background-color 0.3s ease;
}

.collapsible-header:hover {
    background-color: #0056b3;
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.collapsible-content ul {
    padding: 0;
}

.collapsible-content ul li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: black;
}

/* Collapsible Sections */
.collapsible {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    overflow: hidden; /* Ensures the border-radius clips the content */
}

/* Headers for each part */
.collapsible-header {
    background-color: #3498db; /* Lighter blue for a fresh look */
    color: white;
    cursor: pointer;
    padding: 12px 15px;
    text-align: left;
    border: none;
    outline: none;
    font-size: 16px; /* Slightly larger font */
    font-weight: bold; /* Bold text */
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between; /* For spacing of title and icon */
    align-items: center;
}

.collapsible-header:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

.collapsible-header:after {
    content: '\002B'; /* Plus sign */
    font-size: 20px; /* Larger plus sign */
    transition: transform 0.3s ease;
}

.collapsible-header.active:after {
    content: '\2212'; /* Minus sign for active */
}

/* Collapsible Content */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Smoother transition */
    background-color: #f9f9f9;
    padding: 0 15px; /* Padding for content */
}

.collapsible-content ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
    margin: 0;
}

.collapsible-content ul li a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: black;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.collapsible-content ul li a:hover {
    background-color: #ecf0f1; /* Light background on hover */
}
body {
    font-family: Arial;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    display: flex;
    max-width: 1000px; /* Increased width for more space */
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar {
    background-color: #f1f1f1;
    width: 250px; /* Adjusted for better fitting */
    height: 100vh;
    overflow-y: auto;
    position: fixed;
}

.main {
    flex-grow: 1; /* Allows the main area to take up remaining space */
    padding: 15px;
    overflow-y: auto;
    margin-left: 250px; /* Match the sidebar width */
}

/* quiz */


#quiz-container {
    width: 50%;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#quiz-container1 {
    width: 50%;
    margin: auto;
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#question {
    font-size: 20px;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    background-color: #eee;
    margin: 10px 0;
    padding: 10px;
    cursor: pointer;
}

ul li:hover {
    background-color: #ddd;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
/* drag and drop */
body {
    font-family: 'Arial', sans-serif;

    background-color: #f0f0f0;
}

h1 {
    color: #333;
}

.game-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.game-section {
    margin: 0 20px;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: white;
    width: 200px;
    min-height: 200px;
}

.draggable, .droppable {
    padding: 10px;
    margin: 5px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background-color: #e9e9e9;
    cursor: pointer;
}

.draggable {
    background-color: #b0c4de;
}

#check-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #5cb85c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#check-button:hover {
    background-color: #4cae4c;
}

#score {
    margin-top: 10px;
    font-size: 18px;
}

.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.logo-image:hover {
    transform: scale(1.1);
}



/* ... existing styles ... */


.user-info {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    border-radius: 4px;
}

.user-info:hover .dropdown-content {
    display: block;
}

.dropdown-content p {
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
}

.dropdown-content form {
    margin-top: 10px;
}

.dropdown-content button {
    width: 100%;
    padding: 8px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.chapter {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subchapter {
    margin-bottom: 20px;
}

.content {
    line-height: 1.6;
}

.content h4 {
    margin-top: 20px;
}

.content pre {
    background-color: #d9d9d9;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}

.content code {
    font-family: Consolas, monospace;
}

.quiz-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quiz-container {
    margin-top: 20px;
}
.quiz-container1 {
    margin-top: 20px;
}

.quiz-container .question {
    font-weight: bold;
    margin-bottom: 10px;
}
.quiz-container1 .question {
    font-weight: bold;
    margin-bottom: 10px;
}

.quiz-container .options {
    list-style-type: none;
    padding: 0;
}
.quiz-container1 .options {
    list-style-type: none;
    padding: 0;
}

.quiz-container .options li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.quiz-container1 .options li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quiz-container .options li:hover {
    background-color: #e6e6e6;
}
.quiz-container1 .options li:hover {
    background-color: #e6e6e6;
}

.quiz-container .next-button,
.quiz-container .retake-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.quiz-container1 .next-button,
.quiz-container1 .retake-button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.quiz-container .next-button:hover,
.quiz-container .retake-button:hover {
    background-color: #2980b9;
}

.quiz-container1 .next-button:hover,
.quiz-container1 .retake-button:hover {
    background-color: #2980b9;
}
.quiz-container .quiz-status {
    margin-top: 20px;
    font-style: italic;
}
.quiz-container1 .quiz-status {
    margin-top: 20px;
    font-style: italic;
}

.quiz-container .score {
    font-weight: bold;
}
.quiz-container1 .score {
    font-weight: bold;
}
.question-number {
    font-weight: bold;
    color: #555; /* Adjust the color as needed */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    color: #e67e22;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid #e67e22;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
    color: #7f8c8d;
}

/* Code Blocks */
pre {
    background-color: #2c3e50;
    color: #000000;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
}

/* Content */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.content p {
    margin-bottom: 1.5rem;
}

/* Links */
a {
    color: #e67e22;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Quiz Section */
.quiz-section {
    background-color: #ecf0f1;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    color: #d35400;
}

h2 {
    font-size: 2.5rem;
    color: #e67e22;
    border-bottom: 2px solid #d35400;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 2rem;
    color: #e98b39;
}

h4 {
    font-size: 1.5rem;
    color: #7f8c8d;
}

/* Code Blocks */
pre {
    background-color: #d9d9d9;
    color: #000000;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', monospace;
}

/* Content */
.content {
    max-width: 800px;
    margin: 0;
    padding: 2rem;
}

.content p {
    margin-bottom: 1.5rem;
}

/* Links */
a {
    color: #e67e22;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Quiz Section */
.quiz-section {
    background-color: #ecf0f1;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ... remaining styles ... */

:root {
    --primary-color: #136995; /* Blue */
    --secondary-color: #1a8cff; /* Turquoise */
    --tertiary-color: #f5bd68; /* Yellow */
    --accent-color: #e74c3c; /* Vibrant Red */
    --light-color: #f5f5f5; /* Light Gray */
    --text-color: #333; /* Dark Text */

}
/* Headings */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    margin-top: 2rem;
}

h1 {
    font-size: 3rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 2.5rem;
    color: var(--tertiary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.logo-image:hover {
    transform: scale(1.1);
}
.progress-info {
    display: inline-block;
    margin-left: 10px;
    font-size: 14px;
}

.score {
    color: #888;
}

.score.has-score {
    color: #4CAF50;
    font-weight: bold;
}

.completed {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    margin-left: 5px;
    color: #fff;
    font-weight: bold;
}

.completed.is-completed {
    background-color: #4CAF50;
}

.completed:not(.is-completed) {
    background-color: #F44336;
}
.chapter-stats {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.chapter-score {
    background-color: #136995; /* Blue */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 10px;
}

.chapter-score.has-value {
    background-color: #1a8cff; /* Turquoise */
}

.chapter-completed {
    background-color: #f5bd68; /* Yellow */
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.chapter-completed.is-done {
    background-color: #4CAF50; /* Green */
    color: #fff;
}
.user-info {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    border-radius: 4px;
}

.user-info:hover .dropdown-content {
    display: block;
}

.dropdown-content p {
    margin: 0;
    padding: 8px 0;
    font-size: 14px;
}

.dropdown-content form {
    margin-top: 10px;
}

.dropdown-content button {
    width: 100%;
    padding: 8px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.user-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-info-item i {
    margin-right: 10px;
    color: #3498db;
    font-size: 18px;
}

.user-info-item span {
    font-weight: bold;
}

.user-info-item a {
    color: #3498db;
    text-decoration: none;
}
#floating-note-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#floating-note {
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#note-heading {
    margin-top: 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}

#user-note {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #f8f8f8;
    resize: vertical;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    transition: box-shadow 0.3s ease;
}

#user-note:focus {
    outline: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#save-note-btn {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#save-note-btn:hover {
    background-color: #45a049;
}
#message {
    margin-left: 10px;
    font-weight: bold;
}

#message.success {
    color: #4CAF50;
}

#message.error {
    color: #FF0000;
}


.user-info {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-info:hover {
    background-color: var(--tertiary-color);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: var(--light-color);
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    border-radius: 4px;
}

.user-info:hover .dropdown-content {
    display: block;
}

.user-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--light-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.user-info-item:hover {
    background-color: var(--tertiary-color);
}

.user-info-item i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.user-info-item span {
    font-weight: bold;
    color: var(--text-color);
}

.user-info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.dropdown-content form {
    margin-top: 10px;
}

.dropdown-content button {
    width: 100%;
    padding: 8px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropdown-content button:hover {
    background-color: var(--secondary-color);
}

/* Progress Page Styles */
.progress-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.progress-header {
    text-align: center;
    margin-bottom: 40px;
}

.progress-header h1 {
    font-size: 36px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.progress-header p {
    font-size: 18px;
    color: var(--text-color);
}

.progress-courses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.course-progress {
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.course-header {
    background-color: var(--secondary-color);
    padding: 20px;
    text-align: center;
}

.course-header h2 {
    color: var(--light-color);
    font-size: 24px;
    margin: 0;
}

.subchapter-list {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.subchapter-item {
    background-color: #fff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.subchapter-info {
    display: flex;
    flex-direction: column;
}

.subchapter-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* ... previous styles ... */

.subchapter-completion {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #FF5722;
    padding: 5px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.subchapter-completion.completed {
    background-color: #4CAF50;
}

/* ... remaining styles ... */

.subchapter-score {
    font-size: 14px;
    color: #666;
}

/* Progress Logo */
.progress-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.progress-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.progress-logo-image:hover {
    transform: scale(1.1);
}

/* Progress User Info */
.progress-user-info {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.progress-user-info:hover {
    background-color: var(--tertiary-color);
}

.progress-user-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    margin-right: 10px;
}

.progress-user-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
}

.progress-dropdown-content {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: var(--light-color);
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    border-radius: 4px;
}

.progress-user-info:hover .progress-dropdown-content {
    display: block;
}

.progress-user-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--light-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.progress-user-info-item:hover {
    background-color: var(--tertiary-color);
}

.progress-user-info-item i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 18px;
}

.progress-user-info-item span {
    font-weight: bold;
    color: var(--text-color);
}

.progress-user-info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.progress-dropdown-content form {
    margin-top: 10px;
}

.progress-dropdown-content button {
    width: 100%;
    padding: 8px;
    background-color: var(--accent-color);
    color: var(--light-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.progress-dropdown-content button:hover {
    background-color: var(--secondary-color);
}
/* ... previous styles ... */

.completion-status {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.status-label {
    font-weight: bold;
    margin-right: 5px;
}

.status-text {
    font-weight: bold;
}

.status-text.completed {
    color: #4CAF50;
}

.status-text.incomplete {
    color: #FF5722;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #FF5722;
    transition: width 0.5s ease;
}

.progress-fill.completed {
    background-color: #4CAF50;
    width: 100%;
}


.no-quiz {
    font-style: italic;
    color: #888;
}
/* ... remaining styles ... */