/* General Styles */
* {
    margin-right: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
	font-optical-sizing: auto;
  	font-style: normal;

}
body {
    display: flex;
}

/* Sidebar Styles */
.sidebar {
    width: 15%;
    background-color: #222;
    color: #fff;
	font-family: "Inter";
	font-style: bold;
    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: #DB1313;
}

/* 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: 20px;
    border-top: 12px solid #DB1313;
    margin-bottom: 0px;
    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;
    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;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.dashboard-header span {
    color: #DB1313;
    font-weight: bold;
}

.student-dashboard {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.dashboard-box {
    flex: 1;
    margin: 0 10px;
    background-color: #C4C8CC;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.todo-section {
    width: 850px;
    margin-top: -100px;
    margin-bottom: 40px;
    display: flex;
	border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    justify-content: center;
}

.todo-box {
    background-color: #393939;
    padding: 20px;
    height: 350px;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.todo-header {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
	margin-top: -10px;
    margin-bottom: 15px;
    width: 100%;
}

.todo-list {
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.todo-list li {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #393939;
	color: #FFFFFF;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.todo-list li:hover {
    background-color: #393939;
    transform: translateY(-2px);
}

.todo-list li input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 10px;
    accent-color: #DB1313;
}

.delete-btn {
    background: none;
    border: none;
    color: #ff4d4d;
    font-size: 1.2em;
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.delete-btn:hover {
    color: #ff0000;
}


.gpa-box {
    background-color: #C4C8CC;
    border: none;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.gpa-circle {
    background-color: #DB1313;
    color: white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    top: 20px;
    left: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gpa-circle h2 {
    margin: 0;
    line-height: 1.2;
}

.gpa-circle h2 span {
    font-size: 0.8rem;
    font-weight: normal;
}

.gpa-image {
    width: 250px;
    height: auto;
    object-fit: contain;
    position: absolute;
    bottom: 10px;
    right: 20px;
}

.notes-box {
    position: relative;
    background-color: #fff;
    width: 100%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.notes-header {
    color: #DB1313;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.notes-box textarea {
    width: 90%;
    height: 60%;
    border: none;
    outline: none;
    background: transparent;
    resize: none;
    font-size: 1rem;
    color: black;
    text-align: center;
    font-family: inherit;
}

.notes-box .placeholder {
    color: lightgray;
    font-style: italic;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.notes-box textarea:focus + .placeholder {
    display: none;
}

.notes-box textarea:focus {
    color: black;
}

/* Upcoming Classes */
.upcoming-classes {
    margin-bottom: 30px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.upcoming-classes h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.class-list {
    background: #C4C8CC;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.class-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.class-item:last-child {
    margin-bottom: 0;
}

.class-item p {
    flex: 1;
    margin-right: 40px;
    font-size: 1rem;
    color: #000;
	padding: 5px;
}

.class-item button {
    background-color: #DB1313;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
	margin-right: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
}

.class-item button:hover {
    background-color: #a81010;
	color: #FFFFFF;
	font-variant: normal;
}


/* Announcements */
.announcements {
    margin-bottom: 30px;
    padding: 20px;
    background: #393939;
    border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    background: #393939;
    color: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    position: relative;
}

.announcement-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    background: #d32f2f;
    padding: 10px;
    object-fit: contain;
}

.announcement-content {
    flex-grow: 1;
}

.announcement-title {
    font-size: 1rem;
    font-weight:lighter;
    margin: 0 0 5px;
}

.announcement-details {
    font-size: 0.9rem;
    color: #818181;
    margin: 0;
}

.announcement-link {
    font-size: 0.9rem;
    color: #aaa;
    text-decoration: none;
    margin-left: 20px;
    align-self: flex-start;
    white-space: nowrap;
}

.announcement-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Courses Section */
.courses {
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 30px;
}

.courses::-webkit-scrollbar {
    height: 8px;
}

.courses::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.courses::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.course-item {
    display: inline-block;
    background: #fff;
    margin-right: 15px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
    height: 280px;
}

.course-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 10px;
    background-color: #ccc;
}

/* 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;
}

/* General Popup Styling */
.popup-hidden {
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    width: 50%;
    max-width: 400px;
    height: 68%;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.popup-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #DB1313;
    color: white;
    border: none;
    font-size: 16px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
}


.calendar-box {
    height: auto; /* Adjust height dynamically */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

.calendar {
    width: 100%;
    max-width: 400px; /* Limit max width */
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.calendar .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.calendar .btns {
    display: flex;
    justify-content: center; /* Center align the buttons horizontally */
    align-items: center;
    gap: 10px; /* Add spacing between the buttons */
}

.calendar .btns .btn {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar .btns .btn:hover {
    background-color: #DB1313;
    color: white;
}


.calendar .month {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

.weekdays, .days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px; /* Space between cells */
    margin-top: 10px;
}

.weekdays .day {
    text-align: center;
    font-weight: bold;
    padding: 8px 0;
    background-color: #f4f4f4;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #555;
}

.days .day {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.days .day:hover {
    background-color: #f0f0f0;
    transform: scale(1.05);
}

.days .day.today {
    background-color: #DB1313;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.days .day.next, .days .day.prev {
    color: #ccc;
}

