/* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Space+Grotesk:wght@300..700&display=swap');

/* Importation des fichiers css */
@import url("base/buttons.css");

/* Styles globaux */
* {
    font-family: "Montserrat", serif;
}

body, html {
    padding: 0;
    margin: 0;
    position: relative;
    min-height: 100vh;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

.error_container {
    height: 50px;
    width: 100%;
}

.error {
    height: 100%;
    background: #FDCEBF;
    display: flex;
    align-items: center;
    padding: 0 20px;
    width: calc(100% - 40px);
    color: #7D645A;
    border-radius: 5px;
}

.dash_body {
    background: #F0F1F3;
}

input[type=checkbox]{
    cursor: pointer;
}

.popup_overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup_modal {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

.alert{
    gap: 10px;
    min-height: 30px;
    min-width: 300px;
    max-width: 700px;
    margin: 0 auto;
    z-index: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 15px;
    border: 1px solid transparent;
    border-radius: .25rem;
    font-size: 14px;
}

.alert p{
    padding: 0;
    margin: 0;
}

.alert-abs{
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: alert-apear 0.3s ease-out;
}

@keyframes alert-apear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes alert-abs-apear {
    0% {
        top: -50px;
        opacity: 0;
    }
    100% {
        top: 30px;
        opacity: 1;
    }
}

.alert-success{
    color: #155724;
    background-color: #aef5bf;
    border-color: #c3e6cb;
}

.alert-danger{
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

a{
    text-decoration: none;
    color: #000;
}

.transitionBase{
    transition: all .2s linear;
}

.wrap_label{
    cursor: pointer;
    border: 1px solid #EAF2FF;
    transition: all .2s linear;
}

.wrap_label:hover{
    border: 1px solid #7ca5f1;
}

.mw_300{
    max-width: 300px;
}

.body_content{
    overflow: hidden;
}


.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 25px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.link{
    cursor: pointer;
    color: #63C2D0;
}
.link:hover{
    text-decoration: underline;
}

.bold{
    font-weight: bold;
}

.text{
    font-size: 13px;
}