/* Reset CSS */
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
    color: inherit;
    list-style: none;
    background: transparent;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    font-family: "Lexend", sans-serif;
    height: 100%;
    width: 100%;
    overflow: auto;
    -ms-overflow-style: none; /* IE 11 */
    scrollbar-width: none; /* Firefox 64 */
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Normalizer CSS */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

main {
    display: block;
}

h1 {
    font-size: 2em;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
    border: 0;
    -webkit-appearance: none;
    appearance: none;
    max-width: 100%;
    height: auto;
    display: block;
    -webkit-user-drag: none;
    content-visibility: auto;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
    all: unset;
    box-sizing: border-box;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

::-webkit-file-upload-button {
    display: none;
}

::file-selector-button {
    display: none;
}

body::-webkit-scrollbar {
    display: none;
}

[type="color"] {
    -webkit-appearance: none;
    border: none;
}
[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}
[type="color"]::-webkit-color-swatch {
    border: none;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}

/* Lexend Font */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.overlay-content {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
}

/* Afficher la popup si l'URL contient #popup */
.overlay:target {
    opacity: 1;
    visibility: visible;
}

.show {
    opacity: 1;
    visibility: visible;
    display: block;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    width: 100%;
    max-width: 80%;
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 14px;
}

.form h1 {
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
    font-size: 18px;
    font-weight: 500;
}

.popup h1 {
    margin-bottom: 1.2rem;
    font-size: 18px;
    font-weight: 500;
}

.popup label,
.form label {
    display: flex;
    font-size: 16px;
    margin-bottom: 8px;
    justify-content: start;
    align-items: center;
}

.popup p,
.form p {
    font-size: 16px;
    line-height: 1.2;
}

.popup input[type="text"],
.form input[type="text"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup input[type="text"]:focus,
.form input[type="text"]:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup input[type="password"],
.form input[type="password"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup input[type="password"]:focus,
.form input[type="password"]:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup input[type="email"],
.form input[type="email"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup input[type="email"]:focus,
.form input[type="email"]:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup input[type="datetime-local"],
.form input[type="datetime-local"] {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup input[type="datetime-local"]:focus,
.form input[type="datetime-local"]:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup input[type="number"],
.form input[type="number"] {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup input[type="color"],
.form input[type="color"] {
    height: 1rem;
    width: 1rem;
    border-radius: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.color-picker {
    display: block;
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
    gap: 0.5rem;
}

.file-input {
    padding: 2rem;
    border: 1px solid #ddd;
    border-style: dashed;
    border-radius: 12px;
    border-width: 2px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.file-input:hover {
    border-color: #37b7d5;
}

.file-input #file-info {
    font-size: 16px;
    color: #000;
    text-align: center;
}

input[type="file"] {
    display: none;
}

.popup textarea,
.form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup textarea:focus,
.form textarea:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup select,
.form select {
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
}

.popup select:focus,
.form select:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.popup input[type="checkbox"],
.form input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    background-color: #fff;
    appearance: none;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.popup input[type="checkbox"]:checked,
.form input[type="checkbox"]:checked {
    background-color: #37b7d5;
    border-color: #37b7d5;
}

.popup input[type="checkbox"]:checked::after,
.form input[type="checkbox"]:checked::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.285 6.708l-11.285 11.285-5.285-5.285 1.414-1.414 3.871 3.871 9.871-9.871z"/></svg>');
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1rem;
    height: 1rem;
}

.popup input[type="checkbox"]:focus,
.form input[type="checkbox"]:focus {
    outline: 2px solid #37b7d5;
    outline-offset: 2px;
}

.popup button[type="submit"],
.form button[type="submit"] {
    width: 100%;
    padding: 18px;
    background-color: #37b7d5;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s ease;
}

.popup button[type="submit"].danger,
.form button[type="submit"].danger {
    background-color: #da4759;
}

.popup button[type="submit"].danger:hover,
.form button[type="submit"].danger:hover {
    background-color: #ce2340;
}

@keyframes fadeInPopup {
    from {
        opacity: 0;
        transform: translate(-50%, -55%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.overlay:target .popup {
    animation: fadeInPopup 0.4s ease-out;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 18px;
    text-decoration: none;
    color: #333;
    font-size: 30px;
}

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

.auth-form {
    gap: 28px;
    width: 50%;
    height: 100%;
    padding: 40px;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    /* border-right */
    border-right: 1.4px solid #ddd;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
}

.auth-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
    margin-bottom: auto;
}

.error-message {
    color: #ce2340;
}

.success-message {
    color: #00bd53;
}

.auth-form .copy-right {
    font-size: 14px;
    color: #555;
    text-align: center;
}

.auth-form .sub-link {
    font-size: 14px;
    color: #37b7d5;
    text-align: end;
    text-decoration: none;
}

.auth-form h2 {
    font-size: 24px;
    font-weight: 500;
    color: #333;
}

.input-group {
    width: 100%;
}

.input-group label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 14px;
    font-size: 16px;
    color: #333;
}

.input-group input:focus {
    outline: 1px solid #37b7d5;
    border: 1px solid #37b7d5;
}

.auth-form .btn {
    width: 100%;
    padding: 18px;
    background-color: #37b7d5;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-form .btn:hover {
    background-color: #37b7d5;
}

.auth-container .logo {
    width: 50%;
    height: 100%;
    background-color: #ececec;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-container .logo img {
    max-width: 80%;
    max-height: 80%;
}

.auth-form .logo-mobile {
    max-width: 100%;
    display: none;
    max-height: 100%;
    height: 40px;
}

@media (max-width: 868px) {
    .auth-container .logo {
        display: none;
    }

    .auth-form {
        width: 100%;
        border-right: none;
    }

    .logo-mobile {
        display: block;
    }
}

@font-face {
    font-family: "Lexend";
    src: url("../fonts/lexend.ttf") format("truetype");
}

.responsive-wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.app {
    min-height: 100vh;
    width: 100%;
    height: 100%;
    background-color: #fff;

    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.app-body {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(min-content, 275px) minmax(0, 1fr);
    overflow: scroll;
}

@media (max-width: 1200px) {
    .app-body {
        grid-template-columns: 1fr;
    }

    .app-body > * {
        margin-bottom: 3.5rem;
    }
}

.app-body-main-content {
    display: flex;
    flex-direction: column;
    margin-top: 1.2rem;
    padding: 0 1.2rem;
    width: 100%;
    overflow-y: scroll;
}

.navigation-container {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.app-body-navigation {
    display: flex;
    padding: 1rem;
    height: 100%;
    width: 100%;
    flex-direction: column;
    border-right: 1px solid #ececec;
    background-color: #ffffff;
    overflow-y: scroll;
    transition: transform 0.3s ease;
}

@media (max-width: 1200px) {
    .app-body-navigation {
        width: 300px;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateX(-100%);
    }

    .app-body-navigation.open {
        transform: translateX(0);
    }
}

.footer {
    margin-top: auto;
}

.navigation-header {
    display: flex;
    margin-top: 8px;
    align-items: center;
}

.navigation-header-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    width: 100%;
}

.navigation-header a {
    width: 100%;
}

.navigation-header .logo {
    display: flex;
    align-items: start;
    justify-content: start;
    height: 30px;
    padding-left: 0.5rem;
}

.navigation {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.navigation a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: 0.25s ease;
    gap: 0.4rem;
    background-color: transparent;
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: 8px;
}

.navigation a * {
    transition: 0.25s ease;
}

.navigation a.active,
.navigation a:hover,
.navigation a:focus {
    background-color: #f5f5f5;
}

.navigation a svg {
    flex-shrink: 0;
}

.user-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 12px;
    justify-content: space-between;
    padding: 0.6rem;
    outline: 1px solid #ddd;
    background-color: #fff;
}

.user-container .button-group {
    display: flex;
    gap: 0;
}

.user-container .button-group a {
    border: none;
    border-radius: 10px;
    padding: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-container .button-group a:hover {
    background-color: #f5f5f5;
}

.user-container > div {
    display: flex;
    gap: 0.5rem;
}

.user-circle {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #37b7d5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-transform: uppercase;
}

.user-details {
    width: 100%;
    max-width: 110px;
    gap: 0.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: start;
}

.user-details h3 {
    font-size: 1rem;
}

.user-details p {
    font-size: 0.875rem;
    color: #666;
}

.user-details h3,
.user-details p {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tabs {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--c-gray-600);
}

.tabs a {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-decoration: none;
    border-top: 2px solid transparent;
    display: inline-flex;
    transition: 0.25s ease;
}

.tabs a.active,
.tabs a:hover,
.tabs a:focus {
    background-color: #f5f5f5;
}

.classes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1rem;
    row-gap: 1rem;
    margin-top: 1.25rem;
}

@media (max-width: 1000px) {
    .classes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .classes {
        grid-template-columns: repeat(1, 1fr);
    }
}

.class {
    border-radius: 12px;
    background-color: #fff;
    outline: 1px solid #ddd;
    display: flex;
    position: relative;
    justify-content: space-between;
    transition: 0.25s ease;
}

.class .class-header-content {
    border-left: 0px solid transparent;
    transition: border-left 0.25s ease;
    width: 100%;
}

.class:hover .class-header-content {
    border-left: 8px solid #37b7d5;
}

.class-actions {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
}

.class-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.class-header a {
    width: 100%;
}

.class-header details {
    position: absolute;
    right: 0;
    top: 0;
}

.class-header button {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.class-header-container {
    overflow: hidden;
    border-radius: 12px;
    display: flex;
}

.class-header-content {
    display: flex;
    padding: 0.8rem;
    gap: 1rem;
}

.class-header .class-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: auto 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.class-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.class-header p {
    font-size: 0.875rem;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.class-header .class-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem;
    overflow: hidden;
    outline: 1px solid #ddd;
}

.class-header .class-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: none !important; /* Empêche Safari d'afficher une icône */
    text-indent: 0 !important; /* Supprime l'espace réservé */
    display: block; /* Évite les comportements imprévisibles */
    background: none !important; /* Supprime tout arrière-plan ajouté */
}

.class-header .class-icon span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    mix-blend-mode: hard-light;
}

.assignments {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
    margin-top: 1.25rem;
}

.assignment {
    position: relative;
    border-radius: 12px;
    background-color: #fff;
    outline: 1px solid #ddd;
    display: flex;
    position: relative;
    justify-content: space-between;
}

.assignment .dropdown {
    position: absolute;
    right: 0;
    top: 0;
}

.assignment-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.assignment-header-container {
    overflow: hidden;
    border-radius: 12px;
    display: flex;
}

.assignment-header-content {
    display: flex;
    padding: 0.8rem;
}

.assignment-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: 0.25s ease;
    border-bottom: 0px solid transparent;
    transition: 0.25s ease;
    width: 100%;
}

.assignment-main-content {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.assignment:hover .assignment-content {
    border-bottom: 8px solid #37b7d5;
}

.assignment-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.8rem;
}

.assignment-footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.assignment-footer-content div {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
}

.assignment-footer-content p {
    font-size: 0.775rem;
    color: #666;
}
.assignment-footer-content svg {
    height: 1rem;
    width: 1rem;
}

.assignment-state {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.assignment-state.submitted {
    fill: #8fbf55;
    color: #8fbf55;
}

.assignment-state.submitted-late {
    fill: #e4813f;
    color: #e4813f;
}

.assignment-state.not-submitted {
    fill: #da4759;
    color: #da4759;
}

/* ------------------ */

.sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
    margin-top: 1.25rem;
}

@media (max-width: 1000px) {
    .sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .sections {
        grid-template-columns: repeat(1, 1fr);
    }
}

.section {
    border-radius: 12px;
    background-color: #fff;
    outline: 1px solid #ddd;
    display: flex;
    position: relative;
    justify-content: space-between;
    transition: 0.25s ease;
}

.section .section-header-content {
    border-left: 0px solid transparent;
    transition: border-left 0.25s ease;
}

.section:hover .section-header-content {
    border-left: 8px solid #37b7d5;
}

.section-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.section-header a {
    width: 100%;
}

.section-header button {
    position: absolute;
    right: 0.8rem;
    top: 0.8rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-header-container {
    overflow: hidden;
    border-radius: 12px;
    display: flex;
}

.section-header-content {
    display: flex;
    padding: 0.8rem;
    gap: 1rem;
}

.section-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.section-header p {
    font-size: 0.875rem;
    color: #666;
}

/* ------------------ */

.page-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.25rem;
}

.toggle-navigation {
    flex-shrink: 0;
    cursor: pointer;
    bottom: 20px;
    right: 20px;
    background-color: #f9f9f9;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1200px) {
    .toggle-navigation {
        display: none;
    }
}

.page-header > h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.375;
}

.page-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.page-header .button {
    background-color: #37b7d5;
    color: #fff;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s ease;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-only {
    display: none;
}

@media (max-width: 1000px) {
    .mobile-only {
        display: inline-flex;
    }
}

.dropdown a.button {
    display: inline-block;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    padding: 0;
    border: none;
}

.dropdown summary {
    list-style: none;
    list-style-type: none;
    padding: 0.6rem;
    cursor: pointer;
}

.dropdown > summary::-webkit-details-marker {
    display: none;
}

.dropdown summary:focus {
    outline: none;
}

.dropdown summary:focus {
    outline: none;
}

.dropdown ul {
    position: absolute;
    margin: 10px 0 0 0;
    width: 200px;
    right: 0;
    box-sizing: border-box;
    z-index: 2;
    background: white;
    list-style: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    padding: 0.4rem;
}

.dropdown ul li {
    padding: 0;
    margin: 0;
}

.dropdown ul li a:link,
.dropdown ul li a:visited {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    color: #000;
    text-decoration: none;
    padding: 10px;
    transition: background 150ms linear;
    border-radius: 8px;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 0.3rem;
    font-size: 0.9rem;
}

.dropdown ul li a:hover {
    background-color: #f9f9f9;
}

.dropdown > summary::before {
    display: none;
}

.dropdown[open] > summary::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 1;
}

/* Dropdown items */
.dropdown ul li a.danger {
    background: #da4759;
    color: #fff;
}

.dropdown ul li a.danger:hover {
    background: #ce2340;
}

.dropdown ul li a svg {
    flex-shrink: 0;
    fill: #000;
}

.dropdown ul li a.danger svg {
    fill: #fff;
}

.dropdown ul li a:hover {
    background: #f9f9f9;
}

.dropdown ul li a span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ------------------ */

.form-part {
    margin-bottom: 1.25rem;
}

.multi-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.list-dropdown {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-box {
    display: block;
    width: 100%;
    padding: 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-sizing: border-box;
    cursor: pointer;
    background: white;
}

.list-dropdown:checked + .select-box::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent;
    pointer-events: auto;
}

.checkboxes {
    border-radius: 12px;
    overflow: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #dadada;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s;
}

.checkboxes p {
    padding: 16px;
    margin: 0;
}

.list-dropdown:checked ~ .checkboxes {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.checkboxes label {
    display: flex;
    padding: 10px;
    cursor: pointer;
    gap: 0.5rem;
}

.checkboxes label:hover {
    background-color: #f1f1f1;
}

.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
    margin-top: 1.25rem;
}

@media (max-width: 1000px) {
    .tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .tiles {
        grid-template-columns: repeat(1, 1fr);
    }
}

.tile {
    padding: 1rem;
    border-radius: 12px;
    outline: 1px solid #ddd;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: 0.25s ease;
}

.tile:hover {
    transform: translateY(-3px);
}

.tile .tile-footer {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 1rem;
}

.tile-header {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.tile-header h3 {
    display: flex;
    flex-direction: column;
    line-height: 1.375;
    font-size: 1.125rem;
    font-weight: 500;
}

.tile-header span {
    font-size: 0.875rem;
}

.tile-header svg {
    width: 2.5rem;
    height: 2.5rem;
}

.page-section {
    width: 100%;
}

.page-section > h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.page-breacrumb .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}
.page-breacrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #000;
}
.page-breacrumb .breadcrumb-item a {
    color: #000;
    text-decoration: none;
}
.page-breacrumb .breadcrumb-item svg {
    margin-left: 5px;
    margin-right: 5px;
}
.page-breacrumb .breadcrumb-item.active {
    color: #000;
}

/* table */

.content-table {
    margin-top: 1.25rem;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;

    border: 1px solid #f1f1f1;
}

.content-table th,
.content-table td {
    padding: 0.6rem 1.2rem;
    text-align: left;
    border-right: 1px solid #f1f1f1;
}

.content-table th {
    padding: 0.8rem 1.2rem;
    background-color: #f1f1f1;
    border: 1px solid #f1f1f1;
}

.content-table td {
    border-bottom: 1px solid #f1f1f1;
    max-width: 100px;
    word-wrap: break-word;
    white-space: normal;
}

.content-table td summary {
    list-style: none;
    list-style-type: none;
    padding: 0rem;
    cursor: pointer;
    max-width: max-content;
}

.content-table tr:nth-child(even) {
    background-color: #fff;
}

.content-table tr:hover {
    background-color: #f9f9f9;
}

.content-table tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

.content-table tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-table tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.content-table tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}
.badge {
    padding: 0.4rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid #ccc;
    color: #333;
    background-color: #f9f9f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge-container {
    display: flex;
    gap: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.container-error {
    display: flex;
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    height: 100vh;
    max-width: 600px;
    padding: 20px;
}

.container-error h1 {
    font-size: 120px;
    font-weight: 500;
    color: #37b7d5;
    margin: 0;
}

.container-error p {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
    margin-bottom: 28px;
}

.container-error .btn-home {
    display: inline-block;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background: #37b7d5;
    border-radius: 12px;
    text-decoration: none;
}

.container-error .btn-home:hover {
    background: #37b7d5;
}

.profile-info {
    margin-bottom: 30px;
}
.profile-info h1 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}
.profile-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.profile-info-item span:first-child {
    font-weight: 500;
}

.profile-info-item span:last-child {
    color: #666;
}

.assignment-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
    width: 100%;
}

.assignment-alert {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid #ddd;
}

.assignment-card-header-content {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.assignment-description {
    word-break: break-all;
    line-height: 1.5;
    font-size: 16px;
    color: #333;
}

.assignment-card-header-content a {
    background-color: #37b7d5;
    color: white;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background-color 0.3s;
}

.assignment-card-header-content a.danger {
    background: #da4759;
    color: #fff;
}

.assignment-card-header-content a.danger:hover {
    background: #ce2340;
}

.assignment-card-header-content h1 {
    font-size: 20px;
    font-weight: 500;
}

.assignment-card-instructions-files {
    margin-top: 20px;
}

.assignment-card-instructions-files h2 {
    font-size: 16px;
    font-weight: 500;
}
.assignment-card-instructions-files ul {
    list-style-type: none;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    overflow: hidden;
    gap: 10px;
}

.assignment-card-instructions-files li {
    padding: 10px;
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    gap: 10px;
}

.assignment-card-instructions-files li:hover {
    background-color: #f9f9f9;
}
.assignment-card-instructions-files li p {
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.assignment-card-instructions-files a {
    color: #37b7d5;
    fill: #37b7d5;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.demo-banner {
    background-color: #fef3c7;
    padding: 8px 0;
    text-align: center;
    border-bottom: 1px solid #fcd34d;
}

.demo-banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #92400e;
    line-height: 1.5;
}

.demo-banner svg {
    stroke: #92400e;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .demo-banner-content {
        padding: 0 16px;
        font-size: 12px;
    }
}

.auth-page-container {
    display: grid;
    grid-template-columns: 8px 1fr;
    height: 100vh;
    width: 100%;
}

.sidebar-color {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.content-area {
    display: flex;
    justify-content: center;
    align-items: center;
}
