@font-face {
    font-family: "SF Pro";
    src: url(SF-Pro.ttf);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "SF Pro", Helvetica Neue, sans-serif;
    /* background-color: #f5f5f7; */

}

nav {
    display: flex;
    position: sticky;
    padding: 10px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    top: 0;
    background-color: white;
}

.nav_logo {
    height: 80px;
    padding: 10px;
}

.deconnect {
    color: white;
    transition: all 1s;
    text-decoration: none;
    text-align: center;
    padding: 10px;
}

.deconnect img {
    height: 30px;
}

.deconnect:hover {
    color: #333;
}

.deconnect::after {
    content: "Se déconnecter";
    display: block;
    width: auto;
    height: 2px;
    font-size: 9px;
    transition: width .3s;
    position: fixed;
    top: 70px;
    right: 5px;
    opacity: 0;
    transition: all 0.5s ease;
}

.deconnect:hover::after {
    width: auto;
    opacity: 1;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(0, 29, 37, 0.6);
    background-blend-mode: multiply;
    min-height: calc(100vh - 100px);
}

section {
    width: 100%;
    max-width: 600px;
    margin: 20px;
    
}

section .content {

    padding: 20px;
    box-shadow: rgba(0, 0, 0, 0.2) 15px 15px 40px 0px;
    background-color: #fff;
    border-radius: 10px;
    overflow: auto;
}

section h2 {
    width: 100%;
    margin-top: 5px;
}

.form_fichier {
    margin: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.file_extension {
    width: 30px;
    /* box-shadow: rgba(0, 0, 0, 0.2) 5px 5px 15px 0px; */
}

.extension-icon {
    display: inline-block;
    width: 35px;
    height: 18px;
    border-radius: 50vh;
    /* background-color: gray; */
    font-size: 9px;
    color: white;
    text-align: center;
    line-height: 18px;
    font-weight: bold;
    text-transform: uppercase;
    /* box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px; */
    border: 0.2px solid rgba(0, 0, 0, 0.2);
    /* background-image: linear-gradient(-180deg, #FF89D6 0%, #C01F9E 100%); */
    background-image: linear-gradient(-180deg, rgba(70, 70, 70, 0.5) 0%, rgba(70, 70, 70, 1) 100%);
    transition: all 0.4s;
    box-shadow: 0 0.1rem 0.125rem 0 rgba(0, 0, 0, 0.0),
        0 .075rem .05rem rgba(255, 255, 255, 0.4) inset;

}

form:has(.extension-icon):hover .extension-icon {
    /* transform: scale(1.1); */
    /* box-shadow: 0 0.2rem 0.3rem 0 rgba(0, 0, 0, 0.35),
        0 .075rem .05rem rgba(255, 255, 255, 0.4) inset; */
}

.extension-pdf {
    color: white;
    background-image: linear-gradient(-180deg, rgba(253, 36, 36, .5), rgba(253, 36, 36, 1));
    /* background: rgb(253, 36, 36); */
}

.extension-doc,
.extension-docx.extension-txt {
    color: white;
    background-image: linear-gradient(-180deg, rgba(39, 91, 167, .5), rgba(39, 91, 167, 1));
    /* background: rgb(39, 91, 167); */
}

.extension-ppt,
.extension-pptx {
    color: white;
    background-image: linear-gradient(-180deg, rgba(196, 63, 28, .5), rgba(196, 63, 28, 1));
    /* background: rgb(196, 63, 28); */
}

.extension-xls,
.extension-xlsx,
.extension-csv,
.extension-xlsxm {
    color: white;
    background-image: linear-gradient(-180deg, rgba(8, 125, 65, .5), rgba(8, 125, 65, 1));
    /* background: rgb(8, 125, 65); */
}

.extension-zip,
.extension-rar {
    color: white;
    background-image: linear-gradient(-180deg, rgba(59, 8, 125, .5), rgba(59, 8, 125, 1));
    /* background: rgb(59, 8, 125); */
}

.extension-jpeg,
.extension-jpg,
.extension-png,
.extension-gif,
.extension- {
    color: white;
    background-image: linear-gradient(-180deg, rgba(3, 142, 255, .5), rgba(3, 142, 255, 1));
    /* background: rgb(3, 142, 255); */
}

.form_fichier:hover {
    cursor: pointer;
}

.login-box {
    text-align: center;
}

.erreur {
    color: rgb(255, 0, 51);
    text-align: center;
}

.logo {
    width: 250px;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.login-button {
    width: 100%;
    padding: 15px;
    background-color: #007aff;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}

.login-button:hover {
    background-color: #005ec4;
}

.login-box .footer span {
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.login-box .footer span:hover {
    text-decoration: underline;
}

footer {
    font-size: 0.7em;
    color: gray;
    text-align: center;
}

/* Accordion styles */
.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f5f5f7;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 500;
}

.accordion-header:hover {
    background-color: #e8e8ea;
}

.accordion-icon {
    transition: transform 0.3s;
    font-size: 12px;
}

.accordion-icon.open {
    transform: rotate(90deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 20px;
}

.accordion-body.show {
    max-height: 200000px;
    padding-top: 10px;
}