* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.split-container {
    display: flex;
    min-height: 100vh;
}

.form-side {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #fff;
}


/* Style pour la barre de séparation */

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #aaa;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

.form-content {
    width: 100%;
    max-width: 500px;
    /* On garde ta largeur actuelle */
    display: flex;
    /* On ajoute la structure verticale */
    flex-direction: column;
    margin: 0 auto;
    /* Pour bien centrer le tout */
}

.logo {
    width: 260px;
    height: 70px;
    margin: 0 auto 30px auto;
    display: block;
}

h2 {
    margin-bottom: 10px;
    font-size: 1.6rem;
    color: #1a1a1a;
}

p.subtitle {
    margin-bottom: 25px;
    color: #666;
    font-size: 0.9rem;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

button {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 20px auto 0 auto;
    padding: 14px;
    background: #00577D !important;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
    border-radius: 0 23px 0 23px;
}

button:active {
    transform: scale(0.98);
}

button:active {
    transform: scale(0.98);
}

input[type="email"],
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}


/* Cas particulier si un champ est seul sur une ligne */

.full-width {
    width: 100%;
    margin-bottom: 15px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.form-options label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #444;
}

.form-options input {
    margin-right: 8px;
}

.form-options a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

button {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}

.signup-text {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #555;
}

.signup-text a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
}

.copyright {
    margin-top: 50px;
    text-align: center;
    font-size: 0.75rem;
    color: #aaa;
}


/* --- DROITE : IMAGE --- */

.image-side {
    flex: 3;
    position: relative;
    overflow: hidden;
}

.image-side img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* --- RESPONSIVE --- */

@media (max-width: 992px) {
    .split-container {
        flex-direction: column;
        min-height: auto;
    }
    .image-side {
        order: -1;
        width: 100%;
        height: 100%;
        flex: none;
    }
    .form-side {
        width: 100%;
        padding: 30px 20px;
        align-items: flex-start;
    }
    .form-content {
        max-width: 100%;
    }
    /* Aligner les champs verticalement sur mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 15px;
    }
    #mouse-follow {
        display: none;
    }
    .mouseCursor {
        display: none;
    }
}

@media (max-width: 1024px) {
    .split-container {
        flex-direction: column;
        min-height: auto;
    }
    .image-side {
        order: -1;
        width: 100%;
        height: 100%;
        flex: none;
    }
    .form-side {
        width: 100%;
        padding: 30px 20px;
        align-items: flex-start;
    }
    .form-content {
        max-width: 100%;
    }
    /* Aligner les champs verticalement sur mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-row .form-group {
        margin-bottom: 15px;
    }
}

body {
    overflow-y: auto;
}

.navbar_nav .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    color: black;
    border-radius: 5px;
    padding: 10px 0;
    max-width: 100%;
    overflow: hidden;
}

.navbar_nav .dropdown:hover .dropdown-menu {
    display: block;
    color: black;
}

.navbar_nav .dropdown:hover .dropdown-menu .dropdown-item {
    color: black;
    padding: 10px 20px;
}

.navbar_nav .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    transition: background 0.3s ease-in-out;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
}

.navbar_nav .dropdown-menu .dropdown-item:hover {
    background-color: #fff;
    padding-right: 20px;
}

.navbar_nav .dropdown:hover .dropdown-menu .dropdown-item:hover {
    color: black;
}

#mouse-follow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 40px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#mouse-follow .icon {
    position: absolute;
    width: 30px;
    opacity: 0.5;
    user-select: none;
    transition: none;
}

.icon1 {
    z-index: 3;
}

.icon2 {
    z-index: 2;
}

.icon3 {
    z-index: 1;
}

@media (max-width: 992px) {
    .navbar_nav .dropdown-menu {
        display: block !important;
        position: relative;
        box-shadow: none;
        background-color: transparent;
        width: 100%;
    }
    .navbar_nav .dropdown-menu .dropdown-item {
        background-color: white;
        padding: 12px;
        width: 100%;
    }
    .navbar_nav .dropdown-menu .dropdown-item:hover {
        background-color: #26c9c3;
        color: white;
    }
}

@keyframes flash {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.card-triathlon {
    height: 74vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    padding: 20px;
    color: white;
}

.bg-long {
    background-image: url('assets/images/banner/crs_long.png');
    background-color: #00577D;
}

.bg-sprint {
    background-image: url('assets/images/banner/crs_sprint.png');
    background-color: #00736D;
}

.bg-kidz {
    background-image: url('assets/images/banner/crs_kidz.png');
    background-color: #F7B82B;
}

.card-icon-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.card-icon {
    width: 50px;
    height: 60px;
    background-color: white;
    color: black;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

@media (min-width: 915px) and (max-width: 935px) {
    .custom-915 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 768px) {
    .sandy {
        padding: 30px !important;
    }
    .reduce {
        font-size: 12px !important;
    }
}

.lato {
    font-family: 'Lato', sans-serif;
}

.groboto {
    font-family: 'GROBOLD', sans-serif !important;
}

.trubi {
    font-family: 'Turbinado Pro', sans-serif !important;
}

.latoblack {
    font-family: 'Lato', sans-serif;
}

.fixed-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border-radius: 8px;
    padding: 2px 4px;
    text-align: center;
    box-shadow: 0 2px 6px #06a39a;
    display: inline-block;
    max-width: max-content;
    z-index: 100;
    white-space: nowrap;
    font-size: 12px !important;
}

.fixed-tooltip .tooltip-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FFF;
    filter: drop-shadow(0 1px 2px #06a39a);
}

@media (max-width: 1200px) {
    .fixed-tooltip {
        left: 0;
        transform: translateX(0);
        font-size: 12px !important;
        padding: 4px 8px;
        box-shadow: 0 2px 6px #06a39a;
    }
    .fixed-tooltip .tooltip-arrow {
        left: 20px;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 5px solid #fff;
        filter: drop-shadow(0 1px 2px #06a39a);
    }
}