:root {
    --white: #F6F6F4;
    --white-hover: #F5F2E6;

    --black: #1D1D1B;

    --grey-little-information: #86868b;
    --border-radius: 4px;
}

img:not(.svg) {
    background-color: #ECECEC;
}

* {
    margin: 0;
    padding: 0;

    font-family: 'Manrope', sans-serif;
    line-height: 120%;
    color: var(--black);
}

body {
    font-size: 16px;
    background: var(--white);
}

main {
    position: relative;
    width: 100vw;
    padding-top: 130px;
    min-height: calc(100vh - 130px);
}

a {
    text-decoration: none;
}

.titleCase {
    text-transform: capitalize !important;
}

/*Width gestion for the content*/
.content-20 {
    width: calc(100% - 40px);
}

.content-40 {
    width: calc(100% - 80px);
}

/*Button style*/
button, .button {
    padding: 1rem 3rem;
    border: none;
    border-radius: var(--border-radius);

    background-color: var(--white);
    transition: 0.3s;

    cursor: pointer;
}

button:hover, .button:hover {
    background-color: var(--white-hover);
}

/*Animations for link and BTN text*/
.hover {
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    cursor: pointer;
}

.hover::before,
.hover::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--black);
    bottom: 0;
    transform: scaleX(1); /* Initialement visible */
    transition: transform 0.3s ease-in-out; /* Transition pour le glissement */
}

.hover::before {
    right: 0;
    transform-origin: left;
}

.hover::after {
    left: 0;
    transform-origin: right;
}

button:hover .hover::before,
button:hover .hover::after,
.hover:hover::before,
.hover:hover::after {
    transform: scaleX(0); /* Disparaît au survol */
}

.unupper {
    text-transform: unset;
}

/*Form management*/

.error > ul > li,
.error{
    font-weight: 200;
    list-style: none;
    font-size: 12px;
    margin-top: 5px;
    color: #ED677F;
}

label {
    font-size: 12px;
    opacity: 50%;
}

/*gestion des popup*/

.popup {
    box-sizing: border-box;
    z-index: 81;
    position: fixed;
    width: 100%;
    padding: 20px;
    background-color: white;
    top: 125px;
}

.popup.succes {
    background-color: #ffff;
}
.popup.danger {
    background-color: #FFF3F3;
}

.popup.t0 {
    top: 0 !important;
}

.popup > div,
.popup > div > p
{
    text-align: center;
    width: fit-content;
}

.popup > div {

    margin: 0 auto;
}

.popup .hover {
    margin-left: 20px;
}

/*form*/

input {
    color: #1D1D1B;
    width: 100%;
    border: none;
    border-bottom: 1px solid black;
    outline: none;

    font-size: 20px;
    padding: 9px 0;

    transition: 0.6s;
}

form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/*Paginator*/
.navigation {
    width: fit-content;
    margin: 0 auto;
    margin-top: 80px;
}

.pagination {
    display: flex;
    gap: 20px;
    align-items: center;
}

.pagination .first,
.pagination .last {
    display: none;
}
.pagination .page {
    opacity: 0.3;
}

.pagination .next,
.pagination .previous{
    height: 30px;
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    background-color: white;
}

/*adminbtn*/

.adminBtn {
    display: flex;
    gap: 30px;
    position: fixed;
    z-index: 100;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.adminBtn .unvalid {
    background-color: #ffffff;
}
.adminBtn .restreindre {
    background-color: #f3e9e9;
}