/*
Theme Name: Hidden Fifty
Theme URI: 
Description: Thème pour le jeu Hidden Fifty - Trouvez les 50 sportifs cachés
Author: 
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hidden-fifty
*/

/* Variables */
:root {
    --primary-color: #e33c2e;
    --secondary-color: #e9573f;

    --yellow-color: #ffab22;
    --font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;

    --text-color: #2e2b2a;
    --background-color: #cfcfcf;

    --header-icon-size: 24px;

    --border-rgba-1: rgba(0, 0, 0, 0.35);
    --border-rgba-1: rgba(0, 0, 0, 0.5);
    --background-rgba-1: rgba(255, 255, 255, 0.5);

    --max-width: 600px;
    --max-width-small: 300px;
    --swiper-navigation-sides-offset: 50px;
}

@media screen and (max-width: 767px) {
    :root {
        --swiper-navigation-sides-offset: 100px;
    }
}

@media screen and (max-width: 479px) {
    :root {
        --swiper-navigation-sides-offset: 125px;
    }
}
/* Fonts */
@font-face {
    font-family: 'Ketchup Manis';
    src: url('assets/fonts/ketchup-manis/woff/ketchup-manis.woff2') format('woff2'),
         url('assets/fonts/ketchup-manis/woff/ketchup-manis.woff') format('woff'),
         url('assets/fonts/ketchup-manis/ttf/ketchup-manis.ttf') format('truetype'),
         url('assets/fonts/ketchup-manis/otf/ketchup-manis.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: var(--font-family);
    /*line-height: 1.45;*/
    line-height: 1.15;
    color: var(--text-color);
    font-size: 1rem;
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    /*
    background: #c3e6cb;
    */
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    max-width: 740px;
    margin: 0 auto;
    /*
    margin-bottom: -37px;
    */
}
/*
body:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 37px;
    background: transparent url('assets/images/damier.png') repeat-x center top;
    z-index: 0;
    pointer-events: none;
}
*/

h1 {
    color: var(--text-color);
    font-size: 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    animation: fadeIn 0.3s ease;
}

h2 {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
img {
    max-width: 100%;
}

/* Utility Classes */
.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

.mt-5 {
    margin-top: 5rem !important;
}

.pt-5 {
    padding-top: 5rem !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-uppercase {
    text-transform: uppercase;
}

.entry-content {
    background: #fff;
    color: #333;
    padding: 2rem;
    max-width: 1140px;
    margin: 0 auto;
}

.entry-content ul,
.entry-content li,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #333;
}

.entry-content a {
    color: var(--primary-color);
}
.entry-content a:hover {
    color: var(--yellow-color);
}

ul {
    margin-top: 5px;
}

ul li {
    margin-left: 1.25rem;
}

button,
input,
textarea {
    font-size: 1rem;
}


.gap10 {
    gap: 10px;
}

.gap20 {
    gap: 20px;
}



.d-flex {
    display: flex;
}

.d-flex-column {
    flex-direction: column;
}

.d-flex-center {
    align-items: center;
    justify-content: center;
}


.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

/* Styles de la page d'accueil */
body.home {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1rem;
}

.home-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

.home-container .logo-container img {
    max-width: 350px;
    width: 100%;
    animation: fadeIn 0.3s ease;
}

.home-container .btn {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.home-container .logo-papy {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.neon-logo {
    width: 100%;
    max-width: 350px;
    font-size: 3.5rem;
    color: var(--primary-color);
    text-shadow: 
        0 0 7px var(--primary-color),
        0 0 10px var(--primary-color),
        0 0 21px var(--primary-color),
        0 0 42px var(--secondary-color);
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.game-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    /*line-height: 1.4;*/
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;


    font-family: 'Ketchup Manis', var(--font-family);
    font-weight: normal;
    font-size: 1.25rem;
    line-height: 1.2;
}

.challenge-text {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
/*
*/
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Base Button Style */
.btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    margin: 0 auto;
    /*
    max-width: 400px;
    */
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 10px 30px 10px rgba(255, 75, 43, 0.3),
        0 20px 100px 50px rgba(255, 75, 43, 0.1);
    box-shadow: 
        0 10px 20px 10px rgba(255, 75, 43, 0.2),
        0 20px 60px 50px rgba(255, 75, 43, 0.05);
}

.btn svg {
    width: 0.8em;
    height: 0.8em;
    fill: currentColor;
    margin-top: -4px;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px 15px rgba(255, 75, 43, 0.4),
        0 30px 150px 60px rgba(255, 75, 43, 0.15);
    box-shadow: 
        0 10px 20px 10px rgba(255, 75, 43, 0.4),
        0 20px 60px 50px rgba(255, 75, 43, 0.1);
}

/* Button Variants */

.btn-yellow {
    background-color: var(--yellow-color);
    box-shadow: 
        0 10px 20px 10px rgba(255, 171, 34, 0.2),
        0 20px 60px 50px rgba(255, 171, 34, 0.05);
}

.btn-yellow:hover {
    background-color: #ffb844;
    box-shadow: 
        0 10px 20px 10px rgba(255, 171, 34, 0.4),
        0 20px 60px 50px rgba(255, 171, 34, 0.1);
}

.btn-large {
    font-size: 1.2rem;
}

.btn-lg {
    width: 100%;
    max-width: var(--max-width-small);
    margin-top: 2rem;
}

.btn-full {
    width: 100%;
    margin-top: 2rem;
}

.btn-location {
    background: var(--background-rgba-1);
    border: 2px solid var(--border-rgba-1);
    text-transform: none;
    box-shadow: none;
    padding: 1rem;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 400;
    min-height: 80px;
    width: 100%;

    color: var(--text-color);
    font-weight: 600;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px) saturate(180%);
    /*
    */
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(118, 119, 129, 0.2), 
                inset 0 4px 20px rgba(255, 255, 255, 0.3);
}
.btn-location::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(1px);
    box-shadow: inset -10px -8px 0px -11px rgba(255, 255, 255, .7),
                inset 0px -9px 0px -8px rgba(255, 255, 255, .5);
    opacity: 0.6;
    z-index: -1;
    filter: blur(1px) drop-shadow(10px 4px 6px black) brightness(115%);
}

.btn-location:hover,
.btn-location.selected {
    color: #fff;
    background: rgba(255, 75, 43, 0.8);
    border-color: var(--primary-color);
    transform: none;
    box-shadow: none;
}

.btn-location.selected {
    border-color: var(--yellow-color);
    background: rgba(255, 171, 34, 0.8);

}

.btn-location:hover::after,
.btn-location.selected::after {
    opacity: 0.7;
}

.site-footer {
    margin-top: 1rem;
    font-size: .6rem;
    opacity: .5;
}

.footer-branding {
    text-align: center;
    color: var(--text-color);
    margin-top: 3rem;
}

.footer-branding img {
    max-width: 150px;
}

.cooked-with-love {
    font-size: .8rem;
    margin-bottom: 0.5rem;
}

/* Game Interface */
.game-interface {
    min-height: 100vh;
    min-height: calc(100vh - 6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    /*
    padding-top: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    */
    overflow: hidden;
    width: 100%;
}

/* Game Progress */
.game-progress {
    display: none;
}

/* Steps Navigation */
.step-navigation {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    padding: 0 0 1rem 0;
    padding: 0;
    /* min-height: 6vh; */
    height: 1.5rem;
    margin: .25rem 0;
    overflow: hidden;
}

.step-dot {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #eee;
    border: 5px solid var(--primary-color);
    opacity: 0.5;
    cursor: default;
    transition: all 0.3s ease;
}

.step-dot.active {
    opacity: 1;
}
/*
.step-navigation .step-dot.active::last-child {
    background: aqua !important;
}
*/

.step-dot.active ~ .step-dot,
.step-dot.active ~ .step-dot ~ .step-dot {
    cursor: default;
    /*
    background: aqua;
    */
}

.step-dot.active,
.step-dot:not(.active) {
    cursor: pointer;
}

.step-dot:hover:not(.active ~ .step-dot) {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 75, 43, 0.3);
    border-color: var(--yellow-color);
}

/* Game Steps */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1rem 1rem 2rem 1rem;
    padding: 1rem 1rem 4rem 1rem;
    width: 100%;
    /*
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    */
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    /*visibility: hidden;*/
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: 100vw;
    max-height: 0;

    opacity: 0 !important;
}

.step.active {
    /*visibility: visible;*/
    transform: translateX(0);
    opacity: 1 !important;
}

.step.completed {
    /*visibility: visible;*/
    transform: translateX(0);
    opacity: 0 !important;
}

.step.completed.active {
    opacity: 1 !important;
}

.logo-papy {
    width: 120px;
    height: 120px;
    margin: 0 0 1rem;
    animation: fadeIn 0.3s ease;
}

.step-title {
    color: var(--text-color);
    /*line-height: 1.35;*/
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 320px;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.step-title .lead {
    display: block;
    font-size: 1.5rem;
    line-height: 1.05;
    font-weight: 300;
    margin-top: .75rem;
    font-family: 'Ketchup Manis', var(--font-family);
    font-weight: normal;
}

/* Form Elements */
.game-form input[type="text"],
.game-form input[type="email"] {
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 1rem;
    color: var(--text-color);
    padding: 1rem;
    width: 100%;
    max-width: var(--max-width);
    text-align: center;
}

.game-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}


/* Game Help Text */
.game-help {
    color: var(--text-color);
    margin-top: 2rem;
    text-align: center;
    max-width: 350px;
    font-weight: 600;
}

.game-help strong {
    color: var(--primary-color);
    margin-bottom: -10px;
    display: block;
}

/* Hide default step styles */


.score-display {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
}

/* Messages */
.message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.alert a {
    font-weight: normal;
    color: var(--text-color);
}

.login-register-form .alert {
    width: calc(100% - 4rem);
}

.alert-error {
    background-color: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.alert-success {
    background-color: rgba(0, 255, 0, 0.1);
    border: 2px solid rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.alert-info {
    background-color: rgba(0, 0, 255, 0.1);
    border: 2px solid rgba(0, 0, 255, 0.2);
    color: #4444ff;
}

/* Notifications */
.alert {
    padding: 15px 25px;
}

.game-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    max-width: 350px;
    animation: slideIn 0.3s ease-out;
}

.alert-info,
.game-notification.info {
    border: 1px solid #007bff;
    background: rgba(0,123,255,.74);
    color: #fff;
}

.alert-error,
.game-notification.error {
    /*
    background-color: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
    color: #ef4444;
    */
    border: 1px solid #ef4444;
    background: rgba(153,27,27,.74);
    color: #fff;
}

.alert-success,
.game-notification.success {
    background-color: #dcfce7;
    border-left: 4px solid #22c55e;
    color: #166534;
    border: 1px solid #22c55e;
    background: rgba(27,153,74,.74);
    color: #fff;
}

.alert-warning,
.game-notification.warning {
    /*
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
    */
    border: 1px solid #f59e0b;
    background: rgba(255,239,88,.74);
    color: #fff;
}

.alert-wip {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    max-width: var(--max-width);
    margin: 0 auto;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Step 2 - Zone Selection */
.zone-selection {
    max-width: var(--max-width);
    position: relative;
    perspective: 1000px;
    /*
    margin: 2rem 0;
    padding: 50px 0;
    */
    margin: 0;
    padding: 0;
    margin-bottom: -9px;
}

.zone-selection .swiper {
    width: 100%;
    /*padding: 50px 0;*/
    padding: 0;
    overflow: visible;
}

.zone-selection .swiper-wrapper {
    transform-style: preserve-3d;
    align-items: center;
}

.zone-selection .swiper-slide {
    width: 300px;
    background-position: center;
    background-size: cover;
    transform-origin: center;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}
/*
@media screen and (max-width: 768px) {
    .zone-selection .swiper-slide {
        width: 300px;
    }
}
*/
.zone-selection .swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
}

.zone-selection .swiper-slide-prev,
.zone-selection .swiper-slide-next {
    opacity: 0.7;
}


.zone-selection .swiper-slide {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    /*
    filter: blur(1.5px);
    opacity: .75 !important;
    */
    filter: blur(2.5px);
    filter: blur(0);
    opacity: 0 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 00);
}

.zone-selection .swiper-slide.swiper-slide-visible {
    opacity: .25 !important;
    opacity: .2 !important;
}

.zone-selection .swiper-slide-active,
.zone-selection .swiper-slide-active.swiper-slide-visible {
    filter: blur(0);
    transition: all 0.3s ease;
    opacity: 1 !important;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 80px rgb(255, 171, 34, 0.45);
}

/*
@media screen and (max-width: 767px) {
    .zone-selection .swiper-slide {
        transform: scale(0.8);
    }
    .zone-selection .swiper-slide-active,
    .zone-selection .swiper-slide-active.swiper-slide-visible {
        transform: scale(1);
    }
}
*/

.zone-selection .zone-option {
    position: relative;
    width: 100%;
    border-radius: 1rem;
    /*
    aspect-ratio: 1.5;
    overflow: hidden;
    */
    cursor: pointer;
    border: 2px solid transparent;
    
    background: #fff;

    background: var(--text-color);
}

.zone-selection .zone-option.selected {
    border-color: var(--yellow-color);
}

.zone-selection .zone-option img {
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1.5;
}

.zone-selection .zone-option-label {
    position: relative;
    border-radius: 0 0 1rem 1rem;
    bottom: 0;
    left: 0;
    right: 0;
    /*
    background: rgba(0, 0, 0, 0.7);
    */
    background: #fff;
    color: var(--text-color);

    background: var(--text-color);
    color: white;

    padding: 0.5rem;
    font-size: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zone-selection .zone-option-label strong {
    font-weight: normal;
    font-family: 'Ketchup Manis', var(--font-family);
}
.zone-selection .zone-option-label em {
    background: transparent;
    padding: 0.5rem;
    font-size: 0.8rem;
}

/*
.zone-selection .selected,
.zone-selection .selected .zone-option-label {
    background: var(--yellow-color);
    color: #fff;
}
*/

.zone-selection .swiper-button-next,
.zone-selection .swiper-button-prev {
    background: #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 10px;
    color: var(--primary-color);
}
.zone-selection .swiper-button-next:after,
.zone-selection .swiper-button-prev:after {
    font-size: 1.5rem;
}

.zone-selection .swiper-button-next:after {
    margin-left: 3px;
}

.zone-selection .swiper-button-prev:after {
    margin-right: 3px;
}

.zone-selection .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.zone-selection .swiper-pagination-bullet {
    background: var(--text-color);
}

.zone-selection .swiper-pagination-bullet-active {
    background: var(--primary-color);
    background: var(--text-color);
}

.hidden {
    display: none;
}

/* Step 3 - Location Selection */
.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 0 2rem 0;
}


/* Navigation Buttons */
.step-navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prev-step {
    background-color: var;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-step:hover {
    background-color: var(--border-rgba-1);
}

/* Login/Register Form */
/*
.login-register-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.register-form {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}
*/
.form-header {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.form-group label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
}

.form-group input {
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 0.5rem;
    color: var(--text-color);
    padding: 1rem;
    font-size: 16px;
    width: 100%;
}

@media (min-width: 768px) {
    .form-group input {
        font-size: 1rem;
    }
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

/* Styles communs pour les inputs désactivés */
.login-form input[disabled],
.register-form input[disabled],
.reset-form input[disabled],
.account-form input[disabled],
.game-form input[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Alertes et notifications */
.alert-error,
.game-notification.error {
    border: 1px solid #ef4444;
    background: rgba(153,27,27,.74);
    color: #fff;
}

.alert-success,
.game-notification.success {
    border: 1px solid #22c55e;
    background: rgba(27,153,74,.74);
    color: #fff;
}

.alert-warning,
.game-notification.warning {
    border: 1px solid #f59e0b;
    background: rgba(255,239,88,.74);
    color: #fff;
}

.alert-info,
.game-notification.info {
    border: 1px solid #007bff;
    background: rgba(0,123,255,.74);
    color: #fff;
}

/* Conteneur pour gérer le positionnement absolu des étapes */
.game-form {
    width: 100%;
    position: relative;
    min-height: 100vh;
    min-height: calc(100vh - 8rem);
    overflow: hidden;
}

/* Site Header */
.site-header {
    padding: 0 1rem;
    /*
    background-color: rgba(26, 26, 26, 0.92);
    position: fixed;
    */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /*
    border-bottom: 1px solid var;
    */
    min-height: 80px;
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
}

.site-header .container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.site-header .container .header-25 {
    width: 25%;
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
}


@media screen and (max-width: 479px) {
    .site-header .container .header-25 {
        align-items: flex-start;
    }
}

.site-header .container .header-25 a {
    padding: .5rem .75rem;
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    background: transparent;
}

.site-header .container .header-25 a svg,
.site-header .container .header-25 a img {
    padding: .35rem;
    height: 2.5rem;
    width: 2.5rem;
    background: var(--text-color);
    border-radius: 3rem;
}

.site-header .container a:last-child {
    text-align: right;
}

.user-name {
    font-weight: 500;
}

.user-account {
    justify-content: flex-end;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.2s ease;
}

.user-account:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.user-account svg {
    width: var(--header-icon-size);
    height: var(--header-icon-size);
}



.user-score {
    justify-content: flex-start;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}


@media screen and (max-width: 479px) {
    .site-header .container .header-left .user-score {
        flex-direction: column;
    }
}

.user-score svg {
    stroke-width: 3px;
    stroke: #fff;
    stroke-miterlimit: 10;
    fill: none;
    margin-right: 8px;
}

.user-score span {
    display: inline-block;
    transition: color 0.2s ease;
    font-weight: 800;
}
.user-score span em {
    font-style: normal;
    color: var(--primary-color);
    transition: color 0.2s ease;
}

.user-score:hover {
    color: var(--primary-color);
    /*
    color: #fff !important;
    */
    transform: scale(1.1);
}
.user-score:hover span,
.user-score:hover span em {
    /*
    color: #fff !important;
    */
}

/* Page Score */
.score-page {
    /*
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    padding: 6rem 0 2rem;
    padding: 6rem 0 0;
    padding: 2rem 0 0;
    */
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*
    justify-content: space-between;
    */
}

.score-header {
    margin-top: 2rem;
    text-align: center;
}
.score-header .logo-score {
    max-width: 172px;
}

.score-count {
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.score-count-number {
    display: inline-block;
    margin-right: .25rem;
    font-size: 3rem;
    font-weight: bold;
    color: var(--text-color);
}

.found-athletes-wrapper {
    width: 100%;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.found-athletes-wrapper .bg-score-top,
.found-athletes-wrapper .bg-score-bottom {
    width: 100%;
    display: block;
}

.found-athletes-list {
    background: #fff url('assets/images/bg-score.jpg') repeat-y center top;
    background-size: 100% auto;
    width: 100%;
    padding: 0 3.5rem 2rem 4rem;
    min-height: 30vh;
    /*max-width: 1200px;*/
    /*
    margin-bottom: 3rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
    */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.score-athlete {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    color: #000;
    margin-bottom: 1rem;
}


.score-athlete .athlete-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.score-athlete .athlete-info {
    color: #000;
}
.score-athlete .athlete-info h3,
.score-athlete .score-athlete-number {
    color: #000;
    font-family: "Covered By Your Grace", cursive;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0;
    font-size: 2rem;
    text-transform: none;
    position: relative;
    top: -.65rem;
    margin-bottom: -1rem;
}

.score-athlete .score-athlete-number {
    top: 0;
    color: var(--primary-color);
}

.score-athlete .athlete-info h3::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 40px;
    background: transparent url(assets/images/check.svg) no-repeat center center;
    background-size: 100% auto;
    background-size: contain;
    position: relative;
    top: 10px;
    margin-right: 12px;
}

.score-athlete .athlete-info p {
    color: #000;
}

.athletes-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.athlete-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 1rem;
    padding: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.athlete-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 75, 43, 0.3);
}

.athlete-card-nofx:hover {
    transform: none;
}

.athlete-image,
.athlete-image-result {
    /*
    width: 80px;
    height: 80px;
    border-radius: 50%;
    */
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.athlete-image-result {
    width: 180px;
    height: 180px;
    border: 4px solid #fff;
    margin-bottom: 2rem;
    box-shadow: 8px 5px 18px 7px rgb(0 0 0 / 34%);
}

.athlete-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.athlete-info {
    flex-grow: 1;
    padding: 0;
}

.athlete-info h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}
.athlete-info-result h3 {
    font-family: 'Ketchup Manis', var(--font-family);
    color: var(--primary-color);
    font-size: 2.5rem;
    text-transform: none;
    margin: 20px 0 -20px;
}

.athlete-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.no-athletes {
    text-align: center;
    padding: 3rem;
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 10px;
    color: var(--text-color);
}

.score-actions {
    position: relative;
    text-align: center;
    margin-top: 4rem;
    /*
    left: -2rem;
    */
}


/* Header Logo sur la page Score */

.score-coupe {
    width: 30px;
    margin-right: 7px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    transition: transform 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.1);
}

.header-logo .logo-hidden-fifty {
    width: auto;
    height: 70px;
    height: 100px;
    width: auto;
    margin-bottom: -20px;
}

/* Styles pour l'écran de succès */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: var(--background-color);
}

.success-screen.active {
    display: flex;
}

.success-logo {
    width: 200px;
    height: auto;
    margin-bottom: 2rem;
}

.success-title {
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-athlete {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.success-message {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.success-actions .btn {
    min-width: 200px;
}

/* Form Navigation */
.form-navigation,
.tabs-nav {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 1rem;
    margin-bottom: 2rem;
    background: var(--border-rgba-1);
    padding: 0.5rem;
    border-radius: 0.5rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.tabs-nav {
    animation: fadeIn 0.3s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-nav-link,
.tab-link {
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.form-nav-link:hover,
.tab-link:hover {
    opacity: 1;
}

.form-nav-link.active,
.tab-link.active {
    background-color: var(--primary-color);
    opacity: 1;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles communs pour tous les formulaires */
.login-register-form,
.login-form,
.register-form,
.reset-form,
.account-form,
.game-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.login-register-form {
    justify-content: flex-start;
    gap: .5rem;
    padding-bottom: 3rem;
}

/* Styles communs pour les groupes de formulaires */
.login-form .form-group,
.register-form .form-group,
.reset-form .form-group,
.account-form .form-group,
.game-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

/* Styles communs pour les labels */
/*
.login-form label,
.register-form label,
.reset-form label,
.account-form label,
.game-form label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
}
*/
label {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: bold;
}

/* Styles communs pour les inputs */
.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"],
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.reset-form input[type="text"],
.reset-form input[type="email"],
.reset-form input[type="password"],
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.game-form input[type="text"],
.game-form input[type="email"] {
    
    max-width: 400px;
    margin: 0 auto;
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 0.5rem;
    color: var(--text-color);
    padding: 1rem;
    font-size: 16px;
    font-size: 20px;
    width: 100%;
    font-family: 'Ketchup Manis', var(--font-family);
}

/* Styles communs pour les placeholders */
.login-form input::placeholder,
.register-form input::placeholder,
.reset-form input::placeholder,
.account-form input::placeholder,
.game-form input::placeholder {
    font-family: 'Ketchup Manis', var(--font-family);
    color: rgba(0, 0, 0, 0.3);
}

/* Styles communs pour le focus des inputs */
.login-form input:focus,
.register-form input:focus,
.reset-form input:focus,
.account-form input:focus,
.game-form input:focus {
    font-family: 'Ketchup Manis', var(--font-family);
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

/* Style spécifique pour l'écran de succès */
#success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /*
    min-height: 100vh;
    min-height: calc(100vh - 6rem);
    padding-top: 6rem;
    */
    /*
    background-color: var(--background-color);
    background-image: url('assets/images/brick-texture.png');
    */
    z-index: 990;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    display: flex;
    visibility: hidden;
    overflow-x: hidden;
}

#success-screen.active {
    transform: translateX(0);
    visibility: visible;
}


#success-screen img.success-papy,
#success-screen img.success-image {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
    animation: popIn 0.6s ease-out forwards;
    animation-delay: 0.2s;
}

#success-screen img.success-image {
    animation-delay: 0.35s;
    width: 60%;
    margin-right: 20%;
    max-width: 300px;
}

.success-wins {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(-20px);
    }
    50% {
        transform: scale(1.1) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#step1 input[type="text"] {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

#step1 .btn {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

#step1 .game-help {
    animation: fadeIn 0.3s ease;
    animation-delay: 0.8s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.step-back {
    display: block;
    margin-top: 1rem;
}

.step-back:hover {
    opacity: 1;
    color: var(--primary-color);
}

.form-description {
    color: var(--text-color);
    opacity: 0.8;
    text-align: center;
    margin-bottom: 1rem;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.3s ease;
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.form-link {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.form-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* Formulaires de la page Mon Compte */
.account-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.account-form .form-group {
    margin-bottom: 1rem;
}

.account-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--background-rgba-1);
    border: 1px solid var(--border-rgba-1);
    border-radius: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.account-form input[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

.account-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 75, 43, 0.2);
}

.athlete-card .athlete-info {
    width: 100%;
    padding: 1rem;
}

.athlete-card .athlete-info h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.score-page .athlete-card .athlete-info h3 {
    margin-bottom: 1.5rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
    opacity: 0.7;
} 


/* Complianz */

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {
    max-width: none;
    font-size: 19px;
  }
  #cmplz-document li::marker {
    display: none;
    color: rgba(255,255,255,0);
  } 
  
  #cmplz-document h2, .editor-styles-wrapper .cmplz-unlinked-mode h2, #cmplz-document h3, .editor-styles-wrapper .cmplz-unlinked-mode h3 {
    font-size: 28px;
    margin-top: 1.5rem;
  }
  
  #cmplz-document p, .editor-styles-wrapper .cmplz-unlinked-mode p, #cmplz-document li, .editor-styles-wrapper .cmplz-unlinked-mode li, #cmplz-document td, .editor-styles-wrapper .cmplz-unlinked-mode td {
    font-size: 19px;
  }
  #cmplz-document li {
    padding-left: 15px;
  }
  
  .fl-rich-text #cmplz-document ul li::before {
        top: 14px;
        left: -15px;
    }
  