html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% de la hauteur de l'écran */
}

main {
    flex: 1 0 auto; /* Le contenu principal prend tout l'espace disponible */
    padding: 0.5em 0.5em;
    min-height: 90%;
    width: 100%;
}


.btn, .icon-parent {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* space between icon and text */
}

.material-symbols-outlined {
    font-size: 24px;
    line-height: 1;
}


.footer {
    background-color: rgb(255, 255, 255);
    padding: 20px 0;
    text-align: center;
    width: 100%;
    border-top: 1px solid #dee2e6;
    flex-shrink: 0; /* Le footer reste en bas */
}

.shadow-better{
    box-shadow: 0px 0.1rem 0.8rem rgba(0, 0, 0, 0.15) !important;
}


.pageCentered {
    height: 100%;
    align-content: center;
}

.footer a {
    color: #6c757d;
    text-decoration: none;
}

.footer a:hover {
    color: #dc3545;
    text-decoration: underline;
}

.footer-logo {
    font-size: 2rem;
    color: #dc3545;
}

img {
    border-radius: 0.375rem !important;
    border: 0.1em rgba(100, 100, 100, 0.405) solid;
    margin: 0.2em;
    width: -webkit-fill-available;
}

.text-sideway{
    text-orientation: sideways;
    writing-mode: sideways-rl;
}

.exercice {
    transition: all 250ms;
}
.minimal {
    transform: scale(0.96);
    opacity: 0.2 !important;
    transition: all 250ms;
    * {
        cursor: default !important;
    }
}
.mouseclick {
    cursor: pointer;
}
.hide {
    transition: 250ms cubic-bezier(0.31, 0.83, 0.43, 0.86);
    overflow: hidden;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    height: 0px !important;
    width: 0px !important;
}

.card-nav {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.card-nav .label {
    font-weight: 500;
    font-size: 15px;
    margin: 0 0 2px;
}

.card-nav .sublabel {
    font-size: 12px;
    color: #888;
    margin: 0;
}

.card-dash {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-dash .dash-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.card-dash .dash-label {
    font-weight: 500;
    font-size: 14px;
    margin: 0;
}
