* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #18191e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    overflow: hidden;
    position: relative;
}

/* ── Fond bokeh atmosphérique ── */
.bg-bokeh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 62% 58% at 72% 42%, rgba(25, 85, 175, 0.40) 0%, transparent 68%),
        radial-gradient(ellipse 44% 50% at 20% 58%, rgba(148, 52, 22, 0.30) 0%, transparent 62%),
        radial-gradient(ellipse 38% 40% at 88% 74%, rgba(18, 108, 192, 0.22) 0%, transparent 58%),
        radial-gradient(ellipse 30% 32% at 8% 16%, rgba(168, 68, 22, 0.18) 0%, transparent 56%),
        radial-gradient(ellipse 28% 26% at 50% 84%, rgba(18, 98, 42, 0.16) 0%, transparent 56%);
}

/* ── Grille tactique ── */
.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
    background-size: 48px 48px;
}

/* ── Vignette ── */
.bg-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 48%, transparent 28%, rgba(8, 10, 14, 0.84) 100%);
}

/* ── Accent top : liseré charcoal + 3 points tri-service ── */
.top-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #c0392b;
    z-index: 10;
}

.top-dots {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.top-dot {
    border-radius: 50%;
}

.td-p {
    background: #1a5ea8;
}

.td-f {
    background: #c0392b;
}

.td-m {
    background: #1e7e3e;
}

/* ── Accent bas : rouge AS ── */
.bottom-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #c0392b;
    z-index: 10;
}

/* ── Logo (injecté en base64 par GDScript) ── */
.shield-wrap {
    margin-bottom: 0;
}

#shield {
    object-fit: contain;
    display: block;
}

.logo-sep {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
}

/* ── Bloc titre ── */
#titleBlock {
    display: block;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Badge BETA + version en colonne ── */
.badge-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-beta {
    color: #ff0000;
    font-weight: 700;
    letter-spacing: 0.20em;
    border: 3px solid #ff0000;
    padding: 4px 14px;
    text-transform: uppercase;
    display: inline-block;
    animation: beta-ending-flicker 7.2s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(255, 0, 0, 0);
}

@keyframes beta-ending-flicker {
    0% {
        border-color: #ff0000;
        color: #ff2a2a;
        background: rgba(255, 0, 0, 0.06);
        box-shadow: 0 0 16px rgba(255, 0, 0, 0.62);
        transform: scale(1);
        filter: none;
    }

    8% {
        border-color: #9a1717;
        color: #b91c1c;
        background: rgba(90, 0, 0, 0.10);
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.20);
        transform: scale(0.99);
        filter: brightness(0.68) saturate(0.78);
    }

    10%,
    22% {
        border-color: #ff0000;
        color: #ff2a2a;
        background: rgba(255, 0, 0, 0.06);
        box-shadow: 0 0 18px rgba(255, 0, 0, 0.70);
        transform: scale(1.01);
        filter: none;
    }

    24% {
        border-color: rgba(95, 0, 0, 0.52);
        color: rgba(140, 0, 0, 0.56);
        background: rgba(0, 0, 0, 0.46);
        box-shadow: none;
        transform: scale(0.985);
        filter: brightness(0.44) saturate(0.66);
    }

    26%,
    34% {
        border-color: #ff2020;
        color: #ff3131;
        background: rgba(160, 0, 0, 0.14);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.64);
        transform: scale(1.015);
        filter: brightness(1.08) saturate(1.16);
    }

    36% {
        border-color: rgba(95, 0, 0, 0.52);
        color: rgba(140, 0, 0, 0.56);
        background: rgba(0, 0, 0, 0.46);
        box-shadow: none;
        transform: scale(0.985);
        filter: brightness(0.44) saturate(0.66);
    }

    40% {
        border-color: rgba(95, 0, 0, 0.50);
        color: rgba(120, 0, 0, 0.44);
        background: rgba(0, 0, 0, 0.48);
        box-shadow: none;
        transform: scale(0.975);
        filter: brightness(0.40) saturate(0.65);
    }

    44%,
    70% {
        border-color: rgba(80, 0, 0, 0.38);
        color: rgba(120, 0, 0, 0.28);
        background: rgba(0, 0, 0, 0.54);
        box-shadow: none;
        transform: scale(0.97);
        filter: brightness(0.32) saturate(0.58);
    }

    74% {
        border-color: rgba(130, 0, 0, 0.58);
        color: rgba(190, 0, 0, 0.58);
        background: rgba(90, 0, 0, 0.10);
        box-shadow: 0 0 8px rgba(255, 0, 0, 0.24);
        transform: scale(0.985);
        filter: brightness(0.58) saturate(0.82);
    }

    78% {
        border-color: rgba(90, 0, 0, 0.42);
        color: rgba(130, 0, 0, 0.36);
        background: rgba(0, 0, 0, 0.50);
        box-shadow: none;
        transform: scale(0.975);
        filter: brightness(0.38) saturate(0.60);
    }

    82% {
        border-color: #ff0000;
        color: #ff2a2a;
        background: rgba(207, 37, 37, 0.20);
        box-shadow: 0 0 18px rgba(255, 0, 0, 0.62);
        transform: scale(1.02);
        filter: none;
    }

    86%,
    100% {
        border-color: #ff0000;
        color: #ff2a2a;
        background: rgba(255, 0, 0, 0.06);
        box-shadow:
            0 0 0 1px rgba(255, 0, 0, 0.20),
            0 0 20px rgba(255, 0, 0, 0.72);
        transform: scale(1);
        filter: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .badge-beta {
        animation: none;
        filter: none;
        box-shadow: 0 0 0 1px rgba(255, 0, 0, 0.18);
    }
}

.badge-version {
    color: rgba(255, 255, 255, 0.42);
    letter-spacing: 0.15em;
    font-weight: 400;
}

/* ── Sous-titre ── */
.logo-subtitle {
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
}

/* ── Divider ── */
.divider {
    display: block;
    background: rgba(255, 255, 255, 0.10);
}

/* ── Zone statut ── */
.status-area {
    display: block;
    flex-direction: column;
    align-items: center;
}

.status-row {
    display: flex;
    align-items: center;
}

.status-dot {
    border-radius: 50%;
    background: #c0392b;
    flex-shrink: 0;
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.28;
        transform: scale(0.68);
    }
}

.status-label {
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ── Barre de progression : remplissage centre → extérieur ── */
.progress-bg {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    animation: gyro 1.4s ease-in-out infinite;
}

.bar-left {
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    border-radius: 4px 0 0 4px;
    width: 0%;
    transition: width 0.45s ease;
    background: #c0392b;
}

.bar-right {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    border-radius: 0 4px 4px 0;
    width: 0%;
    transition: width 0.45s ease;
    background: #c0392b;
}

/* ── Gyrophare bleu ── */
@keyframes gyro {

    0%,
    100% {
        box-shadow: block;
    }

    18% {
        box-shadow: block;
    }

    22% {
        box-shadow: 0 0 16px 6px rgba(60, 140, 255, 0.92);
    }

    26% {
        box-shadow: 0 0 4px 1px rgba(60, 140, 255, 0.10);
    }

    34% {
        box-shadow: block;
    }

    38% {
        box-shadow: 0 0 16px 6px rgba(60, 140, 255, 0.92);
    }

    42% {
        box-shadow: 0 0 4px 1px rgba(60, 140, 255, 0.10);
    }
}

.progress-pct {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.10em;
    text-align: right;
}

/* ── Bouton Réessayer ── */
#retryBtn {
    display: block;
    margin-top: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.80);
    border: 2px solid rgba(255, 255, 255, 0.30);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

#retryBtn:hover {
    border-color: #c0392b;
    color: #ffffff;
}

/* ── Pied de page ── */
.footer {
    position: absolute;
    bottom: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.28);
    letter-spacing: 0.07em;
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
}

/* ── Powered by Godot ── */
.godot-wrap {
    position: absolute;
    bottom: 3vh;
    right: 2.5vw;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.18;
    transition: opacity 0.2s;
    max-width: 20vw;
    overflow: hidden;
}

.godot-wrap:hover {
    opacity: 0.55;
}

#godot-logo {
    fill: white;
    flex-shrink: 0;
}

.godot-label {
    color: white;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* ── Fade-in (déclenché par GDScript via classList.add) ── */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
    color: #92badd;
    display: inline-block;
    text-decoration: none;
    font-weight: 400;
}

h2 {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin: 40px 8px 10px 8px;
    color: #cccccc;
}



/* STRUCTURE */

.wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 20px;
}

#formContent {
    -webkit-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    background: #325ace14;
    color: #f6f6f6;
    padding: 30px;
    width: 90%;
    max-width: 800px;
    position: relative;
    padding: 0px;
    -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
    text-align: center;
}

#formFooter {
    background-color: #728ee214;
    border-top: 1px solid #b4bfe0;
    text-align: center;
    -webkit-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
}



/* TABS */

h2.inactive {
    color: #cccccc;
}

h2.active {
    color: #0d0d0d;
    border-bottom: 2px solid #5fbae9;
}



/* FORM TYPOGRAPHY*/

input[type=button],
input[type=submit],
input[type=reset] {
    background-color: #56baed;
    border: none;
    color: white;
    padding: 15px 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    font-size: 13px;
    -webkit-box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    box-shadow: 0 10px 30px 0 rgba(95, 186, 233, 0.4);
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    margin: 5px 20px 40px 20px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover {
    background-color: #39ace7;
}

input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
    -moz-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    -o-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

input[type=text],
input[type="password"] {
    background-color: #f6f6f6;
    border: none;
    color: #0d0d0d;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    width: 85%;
    border: 2px solid #f6f6f6;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}

input[type=text]:focus,
input[type="password"]:focus {
    background-color: #fff;
    border-bottom: 2px solid #5fbae9;
}

input[type=text]:placeholder,
input[type="password"]:placeholder {
    color: #cccccc;
}



/* ANIMATIONS */

/* Simple CSS3 Fade-in-down Animation */
.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, -100%, 0);
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

/* Simple CSS3 Fade-in Animation */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;

    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;

    -webkit-animation-duration: 1s;
    -moz-animation-duration: 1s;
    animation-duration: 1s;
}

.fadeIn.first {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.fadeIn.second {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.fadeIn.third {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.fadeIn.fourth {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s;
}

/* Simple CSS3 Fade-in Animation */
.underlineHover:after {
    display: block;
    left: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background-color: #56baed;
    content: "";
    transition: width 0.2s;
}

.underlineHover:hover {
    color: #0d0d0d;
}

.underlineHover:hover:after {
    width: 100%;
}

/* OTHERS */

*:focus {
    outline: none;
}

#icon {
    max-height: 80px;
}

.fullview {
    height: 100%;
    position: relative;

}

.fullVideo {
    height: 100vh;
    width: 100%;
}

.textFull {
    position: absolute;
    top: 0;
    color: white;
    vertical-align: middle;
    text-align: center;
}

.pop-ip-btn-vld {
    color: #fff;
    width: 175px;
    padding: 18px 45px;
    background-color: #429eb6;
    font-size: .675rem;
    min-width: 64px;
    box-sizing: border-box;
    min-height: 36px;
    font-weight: 500;
    line-height: 1.4em;
    border-radius: 2px;
    text-transform: uppercase;
    border: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    outline: none;
    padding: 0;
    position: relative;
    align-items: center;
    user-select: none;
    border-radius: 0;
    vertical-align: middle;
    justify-content: center;
}

.pop-ip-btn-vld-2 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    position: absolute;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.pop-ip-btn-vld-txt {
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
}

.pop-up-bot {
    align-items: center;
    justify-content: space-evenly;
}

.pop-up-bot-1 {
    margin: 0 45px;
    display: flex;
    justify-content: space-evenly;
}

.pop-up-bot-2 {
    color: #757575;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.pop-up-bot-3 {
    border: solid 2px #757575;
    padding: 15px 30px;
    margin-left: 20px;
    border-radius: 3px;
    color: #429eb6;
    font-size: .675rem;
    min-width: 64px;
    box-sizing: border-box;
    min-height: 36px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.4em;
    margin: 0;
    display: inline-flex;
    outline: none;
    position: relative;
    align-items: center;
    user-select: none;
    vertical-align: middle;
    justify-content: center;
    background-color: transparent;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.pop-up-bot-4 {
    color: #e0e0e0;
    margin-left: 0;
    width: 100%;
    display: inherit;
    align-items: inherit;
    justify-content: inherit;
}

.pop-up-bot-5 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    position: absolute;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.pop-up-id-souvenir-box {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    -webkit-tap-highlight-color: transparent;
}

.pop-up-body-id {
    width: 90%;
    margin: 15px auto 35px;
    display: block;
}

.pop-up-id-box {
    color: #757575;
    display: inline-flex;
    transition: none;
    align-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 50%;
    border: 0;
    margin: 0;
    outline: none;
    position: relative;
    vertical-align: middle;
    justify-content: center;
    text-decoration: none;
}

.pop-up-id-box-2 {
    width: 100%;
    display: flex;
    align-items: inherit;
    justify-content: inherit;
    color: #757575;
    font-size: 1.5rem;
    text-align: center;
}

.pop-up-id-box-3 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    position: absolute;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    color: #757575;
}

.pop-up-id-box-4 {
    color: #9e9e9e;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.46429em;
    margin: 0;
    display: block;
}

.pop-up-id-box-svg {
    fill: currentColor;
    width: 1em;
    height: 1em;
    display: inline-block;
    font-size: 24px;
    transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    user-select: none;
    flex-shrink: 0;
}

.pop-up-id-box-input {
    top: 0;
    left: 0;
    width: 100%;
    cursor: inherit;
    height: 100%;
    margin: 0;
    /*opacity: 0;*/
    padding: 0;
    position: absolute;
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
}

[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
    position: absolute;
    left: -9999px;
    opacity: 0
}

[type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    /*
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select: none
    */
}

[type="checkbox"]+label:before,
[type="checkbox"]:not(.filled-in)+label:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    transition: .2s
}

[type="checkbox"]:not(.filled-in)+label:after {
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0)
}

[type="checkbox"]:not(:checked):disabled+label:before {
    border: none;
    background-color: rgba(0, 0, 0, 0.26)
}

[type="checkbox"].tabbed:focus+label:after {
    -webkit-transform: scale(1);
    transform: scale(1);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.1)
}

[type="checkbox"]:checked+label:before {
    top: -4px;
    left: -5px;
    width: 12px;
    height: 22px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #26a69a;
    border-bottom: 2px solid #26a69a;
    -webkit-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"]:checked:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    border-bottom: 2px solid rgba(0, 0, 0, 0.26)
}

[type="checkbox"]:indeterminate+label:before {
    top: -11px;
    left: -12px;
    width: 10px;
    height: 22px;
    border-top: none;
    border-left: none;
    border-right: 2px solid #26a69a;
    border-bottom: none;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"]:indeterminate:disabled+label:before {
    border-right: 2px solid rgba(0, 0, 0, 0.26);
    background-color: transparent
}

[type="checkbox"].filled-in+label:after {
    border-radius: 2px
}

[type="checkbox"].filled-in+label:before,
[type="checkbox"].filled-in+label:after {
    content: '';
    left: 0;
    position: absolute;
    transition: border .25s, background-color .25s, width .20s .1s, height .20s .1s, top .20s .1s, left .20s .1s;
    z-index: 1
}

[type="checkbox"].filled-in:not(:checked)+label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 20% 40%;
    transform-origin: 100% 100%
}

[type="checkbox"].filled-in:not(:checked)+label:after {
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 2px solid #5a5a5a;
    top: 0px;
    z-index: 0
}

[type="checkbox"].filled-in:checked+label:before {
    top: 0;
    left: 1px;
    width: 8px;
    height: 13px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%
}

[type="checkbox"].filled-in:checked+label:after {
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #26a69a;
    background-color: #26a69a;
    z-index: 0
}

[type="checkbox"].filled-in.tabbed:focus+label:after {
    border-radius: 2px;
    border-color: #5a5a5a;
    background-color: rgba(0, 0, 0, 0.1)
}

[type="checkbox"].filled-in.tabbed:checked:focus+label:after {
    border-radius: 2px;
    background-color: #26a69a;
    border-color: #26a69a
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:before {
    background-color: transparent;
    border: 2px solid transparent
}

[type="checkbox"].filled-in:disabled:not(:checked)+label:after {
    border-color: transparent;
    background-color: #BDBDBD
}

[type="checkbox"].filled-in:disabled:checked+label:before {
    background-color: transparent
}

[type="checkbox"].filled-in:disabled:checked+label:after {
    background-color: #BDBDBD;
    border-color: #BDBDBD
}

.pop-ip-id-co {
    display: flex;
    justify-content: space-between;
}

.confirm-cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    line-height: 3em;
    padding-left: 1rem;
    width: 100%;
    background: rgb(49, 49, 49);
    display: none;
    /*height: 140px;*/
    color: white;
    z-index: 11000;
}

.confirm-cookies a:hover {
    color: lightblue;
}

.btn-confirm-cookies {
    background-color: rgba(255, 170, 0, .8);
    color: #fff;
    border-color: transparent;
    text-decoration: none;
    margin-right: 20px;
    border-radius: 5px;
    float: right !important
}

.btn-confirm-cookies:hover {
    color: black;
}

#notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.hidden,
.display-none {
    display: none;
}

.pop-up-id-input {
    height: 51px;
    display: block;
    margin-top: 0;
    border-radius: 3px;
    width: 50%;
    margin-top: 0 !important;
    color: rgba(0, 0, 0, 0.87);
    border: solid 2px #bdbdbd;
    display: inline-flex;
    position: relative;
    font-size: 1rem;
    line-height: 1.1875em;
}

.btn-danger-as {
    background: #c0392b;
    border: none;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.btn-danger-as:hover {
    background: #e74c3c;
    box-shadow: 0 0 14px rgba(231, 76, 60, 0.6);
}

.btn-as {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 12px 28px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.btn-as:hover {
    border-color: #c0392b;
    box-shadow: 0 0 12px rgba(192, 57, 43, 0.5);
    background: rgba(192, 57, 43, 0.08);
}

.login-actions {
    text-align: right;
    margin-right: 20px;
    margin-top: 10px;
}

/* inscription = priorité */
.btn-primary-as {
    background: #c0392b;
    color: white;
    border: none;
    padding: 12px 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary-as:hover {
    background: #e74c3c;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.5);
}

/* jouer sans compte = secondaire mais visible */
.btn-secondary-as {
    background: rgba(0, 255, 13, 0.121);
    border: 1px solid rgba(4, 242, 0, 0.2);
    color: white;
    padding: 12px 24px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.2s;
}

.btn-secondary-as:hover {
    border-color: #3498db;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}

body.application-dashboard-open {
    height: auto;
    min-height: 100%;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 32px 0 56px;
}

body.application-dashboard-open #formContent {
    width: min(94%, 760px);
    max-width: 760px;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.application-dashboard-page {
    display: grid;
    gap: 16px;
    color: #ffffff;
}

.application-dashboard-logout {
    display: grid;
    flex: 0 0 44px;
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(231, 76, 60, .45);
    border-radius: 8px;
    background: rgba(192, 57, 43, .18);
    color: #ffffff;
}

.application-dashboard-logout i,
.application-dashboard-page .material-icons {
    overflow: hidden;
    font-family: "Material Icons" !important;
    font-feature-settings: "liga";
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.application-dashboard-page #application-dashboard {
    display: grid;
    gap: 16px;
}

.application-dashboard-page .dashboard-loading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 132px;
    padding: 18px;
    border: 1px solid rgba(180, 191, 224, .18);
    border-radius: 8px;
    background: rgba(14, 20, 30, .82);
    color: rgba(255, 255, 255, .74);
}

.application-dashboard-page .dashboard-loading-icon,
.application-dashboard-page .dashboard-shortcuts i {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(158, 203, 255, .24);
    border-radius: 7px;
    background: rgba(60, 140, 255, .12);
    color: #9ecbff;
}

.application-dashboard-page .dashboard-loading-icon i {
    animation: dashboard-spin 1.4s linear infinite;
}

.application-dashboard-page .dashboard-loading span,
.application-dashboard-page .dashboard-eyebrow,
.application-dashboard-page .dashboard-shortcuts span {
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.application-dashboard-page .dashboard-loading p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .52);
}

@keyframes dashboard-spin {
    to {
        transform: rotate(360deg);
    }
}

.application-dashboard-page .dashboard-hero-panel,
.application-dashboard-page .dashboard-shortcuts a {
    border: 1px solid rgba(180, 191, 224, .18);
    border-radius: 8px;
    background: rgba(14, 20, 30, .86);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.application-dashboard-page .dashboard-hero-panel {
    position: relative;
    display: grid;
    gap: 18px;
    overflow: hidden;
    min-height: 290px;
    padding: 22px 18px;
    background:
        linear-gradient(120deg, rgba(192, 57, 43, .22), transparent 36%),
        linear-gradient(135deg, rgba(26, 94, 168, .26), rgba(8, 10, 14, .92) 66%),
        rgba(14, 20, 30, .94);
}

.application-dashboard-page .dashboard-hero-panel::after {
    content: "local_hospital";
    position: absolute;
    right: 18px;
    bottom: 6px;
    color: rgba(255, 255, 255, .055);
    font-family: "Material Icons";
    font-size: 6rem;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
}

.application-dashboard-page .dashboard-hero-copy {
    position: relative;
    z-index: 1;
    padding-right: 56px;
}

.application-dashboard-page .dashboard-eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: #9ecbff;
    font-size: .72rem;
}

.application-dashboard-page .dashboard-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.application-dashboard-page .dashboard-hero-copy p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .70);
    font-size: .98rem;
    line-height: 1.55;
}

.application-dashboard-page .dashboard-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.application-dashboard-page .dashboard-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 4px;
    color: #ffffff;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.application-dashboard-page .dashboard-action-primary {
    border: 1px solid rgba(231, 76, 60, .82);
    background: linear-gradient(180deg, #e04a3d, #b83228);
    box-shadow: 0 14px 30px rgba(192, 57, 43, .28);
}

.application-dashboard-page .dashboard-action-secondary {
    border: 1px solid rgba(180, 191, 224, .20);
    background: rgba(255, 255, 255, .07);
}

.application-dashboard-page .as-social-links {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    margin-top: 18px;
    padding: 7px;
    border: 1px solid rgba(180, 191, 224, .16);
    border-radius: 8px;
    background: rgba(8, 10, 14, .56);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .20);
    backdrop-filter: blur(8px);
}

.application-dashboard-page .as-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: #ffffff;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.application-dashboard-page .as-social-links a:hover,
.application-dashboard-page .as-social-links a:focus {
    border-color: rgba(158, 203, 255, .50);
    background: rgba(60, 140, 255, .12);
    box-shadow: 0 0 14px rgba(60, 140, 255, .22);
    transform: translateY(-1px);
}

.application-dashboard-page .link-box {
    display: inline-flex;
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: grayscale(1) brightness(1.8);
    opacity: .88;
}

.application-dashboard-page .link-box.facebook {
    background-image: url("/images/link/fb.png");
}

.application-dashboard-page .link-box.twitter {
    background-image: url("/images/link/x.png");
}

.application-dashboard-page .link-box.discord {
    background-image: url("/images/link/discord.png");
}

.application-dashboard-page .link-box.youtube {
    background-image: url("/images/link/youtube.png");
}

.application-dashboard-page .dashboard-shortcuts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.application-dashboard-page .dashboard-shortcuts a {
    min-height: 132px;
    padding: 16px;
}

.application-dashboard-page .dashboard-shortcuts span {
    display: block;
    margin-top: 14px;
    color: rgba(255, 255, 255, .54);
    font-size: .72rem;
}

.application-dashboard-page .dashboard-shortcuts span {
    margin-top: 0;
}

.application-dashboard-page .dashboard-shortcuts strong {
    display: block;
    margin-top: 8px;
    color: #ffffff;
    font-size: 1.26rem;
    font-weight: 900;
    line-height: 1.2;
    word-break: break-word;
}

.application-dashboard-page .dashboard-shortcuts a {
    display: grid;
    color: inherit;
    text-decoration: none;
}

@media only screen and (min-width: 560px) {
    .application-dashboard-page .dashboard-shortcuts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 420px) {
    body.application-dashboard-open {
        padding-top: 18px;
    }

    body.application-dashboard-open #formContent {
        width: calc(100% - 20px);
    }

}
