@charset "utf-8";
:root {
    --sidebar-width: 16rem;
    --sidebar-gap: 0rem;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*:focus {
    box-shadow: none!important;
    outline: none!important;
}
/* FONTS */
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/nunito/Nunito-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Nunito SemiBold */
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/nunito/Nunito-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Nunito Bold */
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/nunito/Nunito-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Nunito ExtraBold */
@font-face {
    font-family: 'Nunito';
    src: url('/fonts/nunito/Nunito-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* GESTION DES TAILLES */
html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 18px;
    }
}

/* GLOBAL */
body, html {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    background-color: #071424;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #000000;
    min-height: 100%;
    min-height: 100dvh;
}
body {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 100dvh;
    transition: margin-left 0.28s cubic-bezier(.2,.9,.2,1);
    margin-left: 0;
    padding-top: 1rem;
    padding-left: calc(3rem + var(--sidebar-gap));
    padding-right: 1rem;
    box-sizing: border-box;
}
body.page-centered main,
main.centered {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
}
.conteneur-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: max-content;
}

.space-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: max-content;
}

.notification-message {
    background-color: #040A12;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.50rem;
    padding-bottom: 0.50rem;
    border-radius: 0.50rem;
    color: #E6ECF1;
    font-size: 0.85rem;
    text-align: center;
    letter-spacing: 0.1rem;
    margin-top: 0.50rem;
    margin-bottom: 0.50rem;
    border: 0.125rem solid #0E1822;
    display: none;

}

/* PAGE IDENTIFICATION */
.identification-logo {
    width: min(15rem, 60%);
    height: auto;
}
.identification-titre {
    color: #FFFFFF;
    font-size: 2rem;
    letter-spacing: 0.2rem;
    word-spacing: 0.2rem;
    text-align: center;
}
.identification-titre,
.identification-input {
    width: min(30rem, 90%);
    margin: 0 auto;
}
.identification-input {
    background-color: #040A12;
    padding: 0.75rem;
    border-radius: 1.3rem;
    color: #E6ECF1;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 0.1rem;
    margin-top: 1rem;
    border: 0.125rem solid #0E1822;
    transition: border-color 0.3s ease;
}
.identification-input:focus {
    border-color: #032859;
}
.identification-input::placeholder {
    color: #7A8A99;
    opacity: 1;
}
.identification-cartouche {
    background-color: #F56F45;
    color: #ffffff;
    padding: 0.50rem;
    padding-top: 0.80rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    height: 2rem;
    text-align: center;
    letter-spacing: 0;
    word-spacing: 0;
}

/* BUTTON */
.btn-global {
    padding: 0.625rem 1rem;
    font-size: 1rem;
    border-radius: 1.3rem;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.625rem;
    min-width: 10.625rem;
    transition: background-color 0.2s, transform 0.1s;
}
.btn-global:active {
    transform: scale(0.97);
}
.btn-global i {
    font-size: 1.125rem;
}
.btn-global i:first-child {
    color: rgba(255, 255, 255, 0.6);
}
.btn-orange {
    background-color: #F56F45;
}
.btn-orange:hover {
    background-color: #e56139;
}

/* MENU */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background-color: #040A12;
    padding: 1rem;
    transform: translateX(calc(-1 * var(--sidebar-width)));
    transition: transform 0.28s cubic-bezier(.2,.9,.2,1);
    z-index: 1000;
    overflow: hidden;
    will-change: transform;
    font-size: 0.90rem;
}
body.sidebar-open .sidebar {
    transform: translateX(0);
}
#sidebar-toggle-btn {
    position: fixed;
    top: 1.3rem;
    left: 0rem;
    z-index: 2000;
    background-color: #040A12;
    padding: 0.6rem;
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    cursor: pointer;
    color: #E6ECF1;
    transition: left 0.28s cubic-bezier(.2,.9,.2,1), background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.sidebar-open #sidebar-toggle-btn {
    left: calc(var(--sidebar-width) + var(--sidebar-gap));
}

#sidebar-toggle-btn:hover {
    background-color: #F56F45;
}
.sidebar-links a i {
    color: #F56F45;
}
.submenu .arrow {
    color: inherit;
    transition: transform 0.18s;
}
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #E6ECF1;
}
.sidebar-title {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 0.08rem;
    color: #F56F45;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}

.sidebar-links a {
    color: #E6ECF1;
    text-decoration: none;
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.12s;
}

.sidebar-links a:hover {
    background-color: #0E1822;
}

/* SUBMENU */
.submenu .submenu-items {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    flex-direction: column;
    gap: 0.5rem;
}

.submenu.open .submenu-items {
    display: flex;
    list-style: none;
}
.submenu.open .submenu-items li,
.submenu.open .submenu-items a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 0.50rem;
}

.arrow {
    margin-left: auto;
    transition: transform 0.18s;
}

.submenu.open .arrow {
    transform: rotate(180deg);
}
body.sidebar-open main {
    margin-left: var(--sidebar-width);
}
@media (max-width: 600px) {
    :root { --sidebar-width: 14rem; }
}
.main-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}