















body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: url('SEVE/img-acc.webp') repeat center center/cover;
    height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s;
}




.logo img {
    width: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}


.logo-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: rgba(255, 107, 107, 0.01);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}


.logo-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.8);
    filter: brightness(1.5);
}


.logo-btn:hover {
    background-color: #ff3b3b;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /
}


.logo-btn.clicked {
    filter: brightness(2);
    transition: filter 0.3s ease;
}


@keyframes glowEffect {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 1);
    }
}


.logo img {
    width: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 100px;
    padding: 0;
    margin: 0;
    position: relative;
    left: -190px;
}


nav ul li {
    display: inline;
}

.nav-btn {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 12px 25px;
    transition: 0.3s ease-in-out;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;


}

.nav-btn:hover {
    background: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: rotate(360deg);
    transition: transform 0.5s ease-in-out;
}

#language-selector {
    padding: 8px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}




@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 12px;
        margin-top: 10px


    }

    .nav-btn {
        display:flex;
        width: 100%;
        text-align: center;
    }
}
.language-logo .language-icon {
    cursor: pointer;
    margin-right: -90px;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
    gap:;
}

.language-logo:hover .language-icon {
    transform: scale(1.1);
}




#taskSection {
    display: none;
    margin-top: 80px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


h2 {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 15px;
}






#formulaireInscription {
    background-color: #fff;
    max-width: 400px;
    margin: 800px auto;
    margin-left: 990px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    position: relative;
    top: 650px;
}

#formulaireInscription h2 {
    text-align: center;
    color: #3b5998;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

form input[type="text"],
form input[type="email"],
form input[type="date"],
form input[type="file"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="date"]:focus,
form input[type="file"]:focus {
    border-color: #3b5998;
}

form button {
    padding: 12px 20px;
    background-color: #3b5998;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #1d3c7c;
}

#inscriptionsEnAttente {
    list-style: none;
    padding: 0;
}

#inscriptionsEnAttente li {
    background-color: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.3s ease-in-out;
}

#inscriptionsEnAttente li button {
    padding: 10px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

#inscriptionsEnAttente li button:hover {
    background-color: #218838;
}

#inscriptionsEnAttente li button:nth-child(2) {
    background-color: #dc3545;
}

#inscriptionsEnAttente li button:nth-child(2):hover {
    background-color: #c82333;
}

#inscriptionsEnAttente li:hover {
    transform: scale(1.05);
}




.nav-btn.default-btn {
    background-color: transparent;

}


.nav-btn.menu-btn {
    background: linear-gradient(135deg, rgba(51, 7, 7, 0), rgba(0, 86, 179, 0.08));
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    text-align: center;
    position: relative;
    cursor: pointer;
    margin-left: 270px;
}

.nav-btn.menu-btn:hover {
    background: linear-gradient(135deg, #b00c0c, #b00c0c);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 200%;
    left:80px;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
    z-index: 100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


.menu-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.menu-dropdown li {
    text-align: center;
    margin: 5px 0;
}

.menu-dropdown a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.menu-dropdown a:hover {
    background: #007BFF;
    color: #fff;
    transform: scale(1.05);
}




.hidden {
    display: none;
}

.sub-menu {
    display: none;
    padding-left: 200px;
}

#notes-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#notes-table th, #notes-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

#notes-table th {
    background-color: #007BFF;
    color: white;
}

.note {
    font-weight: bold;
}

.note.red {
    color: red;
}

.note.yellow {
    color: orange;
}

.note.green {
    color: green;
}






#calendar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#calendar-container h2 {
    text-align: center;
    color: white;
    font-size: 24px;
}

#close-calendar {
    position: absolute;
    top: 20px;
    right: 20px;
    background: red;
    color: white;
    padding: 10px;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#close-calendar:hover {
    background: darkred;
}

#calendar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.month {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid white;
    padding: 10px;
    border-radius: 10px;
    min-width: 250px;
    text-align: center;
}

.month h3 {
    color: white;
}

.weekdays,
.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day {
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.premiere-day {
    background-color: yellow;
    color: black;
}

.deuxieme-day {
    background-color: red;
    color: white;
}

.ferie-day {
    background-color: black;
    color: white;
}

.hidden {
    display: none;
}





.hidden {
    opacity: 0;
    pointer-events: none;
}




.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
    margin-top:800px;
}
.btn-container {
    position: relative;
    top: 600px;
}



.btn-container {

    position: relative;
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
}

.btn-container:hover .btn-img {
    transform: scale(1.1);
}


.btn-img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}


.btn-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}




body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


#calendarContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    overflow: auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#closeCalendarBtn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


#closeCalendarBtn:hover {
    background-color: #c0392b;
    transform: scale(1.1);
}


#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
    padding: 10px;
}


#calendar > div {
    background-color: #34495e;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}


#calendar > div > div {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ecf0f1;
}


.day {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    background-color: #bdc3c7;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}


.day:hover {
    background-color: #95a5a6;
    transform: scale(1.1);
}


.day.holiday {
    background-color: #2c3e50;
    color: #ffffff;
}


.day.course1 {
    background-color: #f1c40f;
    color: #000000;
}


.day.course2 {
    background-color: #e74c3c;
    color: #ffffff;
}


.day.weekend {
    background-color: #7f8c8d;
    color: white;
}


#openCalendarBtn {
    padding: 15px 30px;
    font-size: 18px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


#openCalendarBtn:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

#calendarContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1000;
    overflow: auto;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}


#colorLegend {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}


.legendItem {
    display: flex;
    align-items: center;
    margin: 0 20px;
}


.colorBox {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    margin-right: 10px;
}


.colorBox.course1 {
    background-color: #f1c40f;
}

.colorBox.course2 {
    background-color: #e74c3c;
}

.colorBox.holiday {
    background-color: #2c3e50;
}

.colorBox.weekend {
    background-color: #7f8c8d;
}


#colorLegend span {
    font-size: 14px;
    font-weight: bold;
    color: #ecf0f1;
}


#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
    max-width: 100%;
    margin-top: 20px;
    padding: 10px;
}


#calendar > div {
    background-color: #34495e;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}


#calendar > div > div {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ecf0f1;
}


.day {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    background-color: #bdc3c7;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.day:hover {
    background-color: #95a5a6;
    transform: scale(1.1);
}


.day.holiday {
    background-color: #2c3e50;
    color: #ffffff;
}


.day.course1 {
    background-color: #f1c40f;
    color: #000000;
}


.day.course2 {
    background-color: #e74c3c;
    color: #ffffff;
}


.day.weekend {
    background-color: #7f8c8d;
    color: white;
}







#viewOther {
    position: relative;
    top: 600px;
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(0, 123, 255, 0);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: box-shadow 0.3s ease-in-out;
}




.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 20px;
    text-align: center;
    position: relative;
}


.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: red;
}




.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}


.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}


form {
    margin-bottom: 20px;
}

input {
    display: block;
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}

/
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid black;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #007BFF;
    color: white;
}


.delete-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
}




.hidden {
    display: none;
}

#economat-page {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


#economat-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}


.casiers-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}


.casier {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.green {
    background-color: #d4edda;
    border-left: 5px solid #155724;
}

.yellow {
    background-color: #fff3cd;
    border-left: 5px solid #856404;
}

.red {
    background-color: #f8d7da;
    border-left: 5px solid #721c24;
}


#fermer-economat {
    display: block;
    margin: 20px auto;
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#fermer-economat:hover {
    background-color: #c82333;
}






#bottom-buttons {
    position:relative;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

#bottom-buttons button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

#bottom-buttons img {
    width: 200px;
    height: 200px;
    transition: transform 0.3s ease-in-out;
}

#bottom-buttons button:hover img {
    transform: scale(1.2);
}

.hidden {
    display: none;
}

.bright-button {
    filter: brightness(1.5);
}



html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

}


main {
    flex: 1;
}


footer {
    background-color: #222;
    margin-top: 400px;
    color: white;
    text-align: center;
    padding: 15px 0;
    width: 100%;
}




#backgroundText {
    position: absolute;
    bottom: 350px;
    left: 58%;
    transform: translateX(-50%);
    font-size: 5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(128, 203, 245);
    text-shadow: 0 0 20px rgba(2, 22, 52, 0.8),
    0 0 40px rgb(51, 91, 131),
    0 0 60px rgb(12, 94, 180);
    user-select: none;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}






#aboutSection {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


.about-content {
    text-align: center;
}


#closeAbout {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
    font-size: 20px;
    border-radius: 5px;
}

