body {
    background: var(--bg-light);
}
body.accueil,body.contact {
    background: unset;
}
#page-return {
    display: none;
}


/* category index */
@media {
    .category-list,
    .users-list {
        display       : flex;
        flex-direction: column;
        gap           : 1rem;
    }
    .category-item,
    .users-item {
        padding      : 16px;
        background   : #fff;
        border-radius: 5px;
        display      : flex;
        align-items  : center;
        width        : 100%;
        gap          : 16px;
    }
    .category-infos {
        flex: 1 1 100%;
    }
    .category-title {
        font-weight  : 600;
        margin-bottom: 8px;
        display      : block;
    }
    .category-infos .progress {
        background: var(--bg-light);
    }
    .category-infos .progress-bar {
        background: var(--color-1-alt);
    }
    .category-img {
        flex         : 0 0 52px;
        height       : 52px;
        background   : var(--bg-light);
        border-radius: 5px;
    }
    .category-edit {
        flex: 0 0 52px;
    }
    .category-edit i {
        width          : 52px;
        height         : 52px;
        border-radius  : 5px;
        display        : flex;
        justify-content: center;
        align-items    : center;
        font-size      : 25px;
        background     : var(--bg-light);
        transition     : all ease 0.25s;
    }
    .category-edit i.completed {
        background: var(--color-1-alt);
        color     : #fff;
        font-size : 36px;
    }
    .category-edit > a:hover i {
        background: var(--color-3);
        color     : #fff;
    }
}
/* persons index */
@media {
    .user-img {
        flex           : 0 0 69px;
        height         : 90px;
        background     : var(--bg-light);
        border-radius  : 5px;
        overflow       : hidden;
        display        : flex;
        justify-content: center;
        align-items    : center;
        color          : var(--bg-light-2);
        font-size      : 50px;
    }
    .user-name {
        font-weight  : 600;
        margin-bottom: 8px;
        display      : block;
    }
    .user-category {
        font-size : 13px;
        font-style: italic;
    }
    .user-edit {
        flex: 0 0 52px;
    }
    .user-edit i {
        width          : 52px;
        height         : 52px;
        border-radius  : 5px;
        display        : flex;
        justify-content: center;
        align-items    : center;
        font-size      : 25px;
        background     : var(--bg-light);
        transition     : all ease 0.25s;
    }
    .user-edit i.completed {
        background: var(--color-1-alt);
        color     : #fff;
        font-size : 36px;
    }
    .user-edit > a:hover i {
        background: var(--color-3);
        color     : #fff;
    }
    .user-infos {
        flex: 1 1 100%;
    }
}
/* Splash screen code */
@media {
    .splash-content {
        width         : 100%;
        height        : 100%;
        padding       : 1rem 3rem;
        display       : flex;
        flex-direction: column;
        Align-items   : center;
        color         : #fff;
        font-weight   : 300;
    }
    .splash-content .logo {
        pointer-events: none;
    }
    .splash-content .logo img {
        width : 130px;
        height: auto;
    }
    h1.splash-title {
        font-size: 25px;
    }
    .otp {
        display: flex;
        gap    : 0.5rem;
    }
    .otp-digit {
        width        : 3rem;
        height       : 3rem;
        text-align   : center;
        font-size    : 1.5rem;
        border       : 1px solid #ccc;
        border-radius: 0.5rem;
        outline      : none;
    }
    .otp-digit:focus {
        border-color: #333;
        box-shadow  : 0 0 0 2px rgba(0,0,0,.1);
    }
}
/* Capture screen */
@media {
    .capture-infos {
        padding   : 8px 16px;
        color     : #ffffff;
        background: var(--color-1-alt);
    }
    .capture-name {
        font-size    : 20px;
        font-weight  : 500;
        margin-bottom: 4px;
    }
    .capture-category {
        font-size: 15px;
    }

    .capture-controls {
        display        : flex;
        justify-content: space-between;
        align-items    : center;
        gap:5px;
    }
    .capture-controls span{
        font-size: 1em;
    }
    /*#capture-button {
        width        : 70px;
        height       : 70px;
        border-radius: 50% !important;
        font-size    : 36px;
    }*/
}
.capture {
    position: relative;
}
.capture video {
    position  : absolute;
    top       : 0;
    left      : 0;
    width     : 100vw;
    height    : 130vw;
    object-fit: cover;
    /*transform : scaleX(-1);*/
    /* effet miroir */
    z-index   : 1;
}
.capture-button-header {
	position:absolute;
	z-index:300;
    display: flex;
    justify-content: space-between;
  
}
.capture .mask {
    width   : 100%;
    height  : auto;
    z-index : 200;
    width   : 100%;
    height  : auto;
    position: absolute;
    top     : 0;
    left    : 0;
}

.button-header {
    display: flex;
    justify-content: space-between;
    z-index: 9999;
    position:relative;
      padding:5px;
}

.capture #astuces-btn,
.capture #flip-btn,
.capture #confirm-btn,
.capture #retake-btn

 {
    position       : absolute;
    width          : 52px;
    height         : 52px;
    background     : #ffffff;
    border         : none;
    border-radius  : 50%;
    font-size      : 24px;
    z-index        : 4;
    cursor         : pointer;
    bottom         : 20px;
    z-index        : 300;
    padding        : 0;
    display        : flex;
    justify-content: center;
    align-items    : center;
}
#capture-button {
    position: absolute;
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    z-index: 4;
    cursor: pointer;
    bottom: 16px;
    z-index: 300;
    padding: 0;
    left: 44%;
    justify-content: center;
    align-items: center;
}

.capture .left{
    display:flex;
    gap:5px;
}
.capture #cam-close {
    width: 50px;
    height: 50px;
    background     : #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    z-index: 4;
    cursor: pointer;
    z-index: 300;
    display:flex;
    justify-content: center;
    align-items: center;

}
.capture #show-queue-btn {
    width: 50px;
    height: 50px;
    background     : #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    z-index: 4;
    cursor: pointer;
    z-index: 300;
    display:flex;
    justify-content: center;
    align-items: center;
}
.capture #show-queue-btn.active {
    background     : #ffc107;
    color:#fff;
}

.capture #astuces-btn {
    left: 20px;
}
.capture #flip-btn {
    right: 20px;
}
.capture #retake-btn {
    left : 20px;
    right: unset;
}
.capture #confirm-btn {
    right: 20px;
	background     : #63e6be;
}
#capture {
    position     : absolute;
    bottom       : 15%;
    left         : 50%;
    transform    : translateX(-50%);
    padding      : 12px 24px;
    background   : #ffffffdd;
    border       : none;
    font-size    : 25px;
    font-weight  : bold;
    border-radius: 8px;
    cursor       : pointer;
    z-index      : 3;
}
.capture canvas {
    display: none;
}
.traitement-en-cours span {
    display      : inline-block;
    width        : 3px;
    height       : 3px;
    margin-left  : 3px;
    background   : #333;
    border-radius: 50%;
    opacity      : 0;
    animation    : dot 1s infinite;
}
.traitement-en-cours span:nth-child(1) {
    animation-delay: 0s;
}
.traitement-en-cours span:nth-child(2) {
    animation-delay: 0.2s;
}
.traitement-en-cours span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes dot {
    0%,
    100%,
    20% {
        opacity  : 0;
        transform: translateY(0);
    }
    50% {
        opacity  : 1;
        transform: translateY(-5px);
    }
}
.upload, .ia-analyze {
    position      : absolute;
    top           : 0;
    left          : 0;
    z-index       : 500;
    width         : 100%;
    height        : 100%;
    background    : var(--bg-light);
    display       : flex;
    flex-direction: column;
    align-items   : center;
    padding       : 4rem 2rem 2rem;
}
.upload .logo, .ia-analyze .logo {
    pointer-events: none;
}
.upload .logo img, .ia-analyze .logo img {
    width : 150px;
    height: auto;
}
.upload .progress, .ia-analyze .progress {
    background: #fff;
    width     : 100%;
}
.upload .progress-bar, .ia-analyze .progress-bar {
    background: var(--color-1-alt);
}

/*-----------------------page accueil--------------------------*/
.bg-dark{
    color:#fff;
    background:url(../../img/dark.svg) no-repeat;
    background-size: cover;
}
h1.title{
    font-weight: bold;
    font-size: 36px;
}
h2.title{
    font-weight: bold;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
h2 strong{
    font-weight: bold;
    font-size: 50px;
      color:var(--color-1);
}
.title strong{
     font-weight: bold;
    color:var(--color-1-alt);
}
.number{    position:relative;}

.number h3{
    width:50px;
    height:50px;
    border-radius:50%;
    background-color: var(--color-1);
    display:flex;
    align-items: center;
    justify-content: center;
    margin : 1rem auto;
    border:1px solid #616D85;
}

.numbers  .col-md-4:first-child .number:after{
    content:"";
    position:absolute;
    top:50%;
    left:calc(50% + 25px);
    right:-12px;
    height:2px;
    background: #616D85;
}
.numbers  .col-md-4:nth-child(2) .number:after{
    content:"";
    position:absolute;
    top:50%;
    left:calc(50% + 25px);
    right:-12px;
    height:2px;
    background: #616D85;
}

.numbers  .col-md-4:nth-child(2) .number:before{
    content:"";
    position:absolute;
    top:50%;
    right:calc(50% + 25px);
   left:-12px;
    height:2px;
    background: #616D85;
}

.numbers  .col-md-4:last-child .number:before{
    content:"";
    position:absolute;
    top:50%;
    right:calc(50% + 25px);
   left:-12px;
    height:2px;
    background: #616D85;
}