/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 15%;
    background-color: #222;
    color: #fff;
    min-height: 100vh;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
}

.sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    margin-top: 20px;
}

.sidebar ul li {
    margin: 20px 0;
}

.sidebar ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    display: block;
    padding: 10px;
    transition: color 0.3s;
}

.sidebar ul li a:hover {
    color: red;
}

/* Content Styles */
.content {
    flex: 1;
    margin-left: 15%;
    padding: 20px;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-top: 8px solid red;
    margin-bottom: 20px;
    position: sticky;
    z-index: 100;
    margin-top: -20px;
    margin-left: -20px;
    margin-right: -20px;
}


.logo {
    height: 60px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 20px;
}

.search-bar .icon {
    height: 20px;
    margin-right: 10px;
}

.search-bar input {
    border: none;
    outline: none;
    background: none;
    font-size: 1rem;
}

.user-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-options a {
    text-decoration: none;
    color: #000;
    font-size: 0.9rem;
}

.user-options .icon {
    height: 24px;
    cursor: pointer;
}

/* Grades Header */
.grades-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.grades-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    background: #eaeaea;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    width: 50px; /* Adjust as needed */
    height: auto;
    margin-bottom: 10px;
}

.footer p {
    font-size: 12px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Grades Section Styling */
.grades-section {
    margin: 20px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grades-section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.module {
    margin-bottom: 20px;
    cursor: pointer;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.module:hover {
    background-color: #f1f1f1;
}

.module h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.grades-list {
    display: none; /* Hidden by default */
    margin-top: 10px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

.assignment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.assignment-lock img {
    width: 30px;
    height: 30px;
}

.assignment-info {
    flex: 1;
    margin-left: 15px;
}

.assignment-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.assignment-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.submitted-status {
    color: green;
    font-weight: bold;
}

.not-submitted-status {
    color: red;
    font-weight: bold;
}

.assignment-grade {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.module {
    margin-bottom: 20px;
    cursor: pointer;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.module:hover {
    background-color: #f1f1f1;
}

.module h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.grades-section img {
    max-width: 100%;
    height: 120px;
    border-radius: 10px;
    margin-bottom: 10px;
}



