/* Page de connexion */
/* Page de connexion */
.container-signin, .container-register {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    margin: 0 auto;
}

.container-signin a {
    text-decoration: none;
    color: var(--text-color-main);
}
.container-signin a:hover {
    text-decoration: underline;
    color: var(--link-color-main);
}

.container-register {
    max-width: 750px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap:2px;
}
.form-check-input {
    margin-bottom: 10px;
}

/* Page profil */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.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;
}

.flex_column input:checked + .slider, .switch-container input:checked + .slider  {
    background-color: var(--main-color);
}

.flex_column input:focus + .slider, .switch-container input:focus + .slider {
    box-shadow: 0 0 1px var(--main-color);
}

.flex_column input:checked + .slider:before, .switch-container input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}
.type_compte {
    grid-area: informations;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.8em;
}

.type_compte.gratuit {
    background-color: gray;
    color: white;
}

.type_compte.premium {
    background-color: var(--main-color);
    color: white;
}

.type_compte.VIP {
    background-color: darkblue;
    color: white;
}

.type_compte.équipe {
    background-color: darkgreen;
    color: white;
}

.classements, .notices, .outils_favoris, .profil {
    margin-bottom:30px;
}

.classements h2, .notices h2, .outils_favoris h2, .profil h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px 0;
}

.classements_header, .notices_header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}
.classements_header.header_toutelargeur, .notices_header.header_toutelargeur {
    max-width: none;
}

.classements_info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.classements_info a {
    text-decoration: none;
    color: var(--text-color-main);
}

.row__email .adresse_email {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: 500;
}
.row__email .adresse_email a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    text-decoration: none;
}
.row__email .adresse_email.green {
    color: green;
    background-color: lightgreen;
}
.row__email .adresse_email.red {
    color: red;
    background-color: lightcoral;
}

#nb_classements_par_page {
    width: 70px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 1em;
    background-color: #ccc;
}


/* Page formules VIP */
.slider.round {
    border-radius: 34px;
}

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

.formules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px,350px));
    grid-template-rows: repeat(auto-fit, minmax(100px,1fr));
    grid-gap:10px;
    justify-content: center;
}

.switch-container {
    display: flex;
    justify-content: center;
    gap:30px;
    align-items: center;
    margin-bottom: 20px;
}

.formules .an {
    display:none;
}

.formules .an.show {
    display:block;
}

.formules .mois.hide {
    display:none;
}

.formule {
    border-radius: 10px;
    padding:10px;
}

.formule h1 {
    font-size: 1.2em;
    margin:5px 0;
}

.formule-card {
    height:100%;
}

.formule-card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.formule-card-body ul {
    flex:1;
}

.formule.gratuit {
    border:1px solid gray;
}
.formule.gratuit h1 {
    color:gray;
}

.formule.premium {
    border:1px solid var(--main-color);
}
.formule.premium h1 {
    color:var(--main-color);
}

.formule.vip {
    border:1px solid darkblue;
}
.formule.vip h1 {
    color:darkblue;
}

.choix-periode {
    font-weight: 600;
    color:var(--main-color);
}

#row_classement {
    display:none;
}
#row_classement.show {
    display:flex;
}

.user-message {
    background-color: var(--main-color);
    color: white;
    align-self: flex-end;
    text-align: right;
}

.admin-message {
    background-color: #f0f0f0;
    color: black;
    align-self: flex-start;
    text-align: left;
}