/* Design Geek - Terminal/Néon */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Share+Tech+Mono&display=swap');

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

:root {
    --neon-green: #00ff41;
    --neon-blue: #00d9ff;
    --neon-purple: #b400ff;
    --neon-pink: #ff00ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --terminal-bg: #1a1a1a;
    --text-primary: #00ff41;
    --text-secondary: #ffffff;
    --border-color: #00ff41;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(180, 0, 255, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Animation de scanline */
@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to bottom, transparent, var(--neon-green), transparent);
    opacity: 0.3;
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 9999;
}

/* Container principal */
.container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

/* Header avec effet terminal */
.terminal-header {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 
        0 0 10px rgba(0, 255, 65, 0.5),
        inset 0 0 10px rgba(0, 255, 65, 0.1);
    position: relative;
}

.terminal-header::before {
    content: '> ';
    color: var(--neon-green);
    font-weight: bold;
}

.terminal-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    text-shadow: 
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green),
        0 0 30px var(--neon-green);
    display: inline-block;
    margin-left: 10px;
}

/* Formulaire de connexion */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-box {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 255, 65, 0.1),
        transparent
    );
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.login-box > * {
    position: relative;
    z-index: 1;
}

.login-box h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px var(--neon-green);
    color: var(--neon-green);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 
        0 0 10px rgba(0, 217, 255, 0.5),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
}

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

.btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--neon-green);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 20px var(--neon-green),
        inset 0 0 20px rgba(0, 255, 65, 0.3);
}

.btn:hover::before {
    left: 0;
}

.btn:active {
    transform: scale(0.98);
}

.btn-inline {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    min-width: 0;
    flex: none;
}

/* Messages */
.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 4px solid;
    font-size: 0.9em;
}

.alert-success {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

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

/* Page joueur */
.joueur-container {
    padding: 20px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.profile-card {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--neon-green);
    object-fit: cover;
    box-shadow: 0 0 20px var(--neon-green);
}

.profile-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--neon-green);
    color: var(--neon-green);
}

.profile-info p {
    margin: 10px 0;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.profile-info .label {
    color: var(--neon-blue);
    font-weight: bold;
    margin-right: 10px;
}

.profile-info .steam-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    word-break: break-all;
}

.profile-info .steam-link:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    text-decoration: underline;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.3),
        inset 0 0 15px rgba(180, 0, 255, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 25px rgba(180, 0, 255, 0.5),
        inset 0 0 25px rgba(180, 0, 255, 0.1);
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-purple);
    font-size: 1.2em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-purple);
}

.stat-card .value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple);
}

.logout-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #ff4444;
    border-radius: 5px;
    color: #ff4444;
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #ff4444;
    color: var(--dark-bg);
    box-shadow: 0 0 20px #ff4444;
}

/* Effet de glitch */
@keyframes glitch {
    0%, 100% {
        text-shadow: 
            2px 0 var(--neon-green),
            -2px 0 var(--neon-blue);
    }
    50% {
        text-shadow: 
            -2px 0 var(--neon-green),
            2px 0 var(--neon-blue);
    }
}

.glitch {
    animation: glitch 0.3s infinite;
}

/* Navigation Bar */
.navbar {
    background: var(--terminal-bg);
    border-bottom: 2px solid var(--neon-green);
    box-shadow: 
        0 2px 10px rgba(0, 255, 65, 0.3),
        inset 0 -2px 10px rgba(0, 255, 65, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    font-weight: 900;
    color: var(--neon-green);
    text-shadow: 
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green);
    letter-spacing: 3px;
}

.nav-logo-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7em;
    color: var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
    letter-spacing: 5px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 15px;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
    display: inline-block;
}

.nav-link:hover {
    color: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 
        0 0 10px rgba(0, 255, 65, 0.5),
        inset 0 0 10px rgba(0, 255, 65, 0.1);
    text-shadow: 0 0 10px var(--neon-green);
}

.nav-link.logout-link {
    color: #ff4444;
    border-color: #ff4444;
}

.nav-link.logout-link:hover {
    color: var(--dark-bg);
    background: #ff4444;
    box-shadow: 
        0 0 15px rgba(255, 68, 68, 0.7),
        inset 0 0 15px rgba(255, 68, 68, 0.3);
    text-shadow: none;
}

.nav-link.nav-link-gerant {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
}

.nav-link.nav-link-gerant:hover {
    color: var(--dark-bg);
    background: var(--neon-purple);
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.7),
        inset 0 0 15px rgba(180, 0, 255, 0.3);
    text-shadow: none;
}

/* Ajustement du container pour la navbar */
body {
    padding-top: 0;
}

.container {
    padding-top: 20px;
}

/* Formulaire de proposition */
.form-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 40px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    box-sizing: border-box;
}

.form-container-full {
    max-width: 100%;
    width: 100%;
    padding: 20px;
    margin: 0;
    box-sizing: border-box;
}

.propose-form {
    width: 100%;
}

.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    resize: vertical;
    transition: all 0.3s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 
        0 0 10px rgba(0, 217, 255, 0.5),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
}

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

/* Tableau de classement */
.classement-table-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
    overflow-x: auto;
}

.classement-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
}

.classement-table thead {
    background: var(--darker-bg);
}

.classement-table th {
    padding: 15px;
    text-align: left;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.classement-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-secondary);
}

.classement-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.classement-table tbody tr.current-user {
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.5);
}

.classement-table .rank {
    font-weight: bold;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
    font-size: 1.2em;
}

.classement-table .username {
    font-weight: bold;
    color: var(--neon-blue);
}

.classement-table .level {
    color: var(--neon-green);
    font-weight: bold;
}

.classement-table .xp {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
}

.classement-table .empty {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

/* Top 3 du classement */
.top3-classement-container {
    margin-bottom: 30px;
}

.top3-classement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.top3-classement-card {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.top3-classement-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.5),
        inset 0 0 30px rgba(0, 217, 255, 0.1);
}

.top3-first {
    border-color: #ffd700;
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.4),
        inset 0 0 25px rgba(255, 215, 0, 0.05);
}

.top3-first:hover {
    box-shadow: 
        0 0 35px rgba(255, 215, 0, 0.6),
        inset 0 0 35px rgba(255, 215, 0, 0.1);
}

.top3-second {
    border-color: #c0c0c0;
    box-shadow: 
        0 0 25px rgba(192, 192, 192, 0.4),
        inset 0 0 25px rgba(192, 192, 192, 0.05);
}

.top3-second:hover {
    box-shadow: 
        0 0 35px rgba(192, 192, 192, 0.6),
        inset 0 0 35px rgba(192, 192, 192, 0.1);
}

.top3-third {
    border-color: #cd7f32;
    box-shadow: 
        0 0 25px rgba(205, 127, 50, 0.4),
        inset 0 0 25px rgba(205, 127, 50, 0.05);
}

.top3-third:hover {
    box-shadow: 
        0 0 35px rgba(205, 127, 50, 0.6),
        inset 0 0 35px rgba(205, 127, 50, 0.1);
}

.top3-classement-position {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.top3-medal {
    font-size: 2.5em;
    line-height: 1;
}

.top3-rank {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.top3-classement-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 15px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
}

.top3-classement-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top3-classement-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 4.5em;
    text-shadow: 0 0 10px var(--neon-blue);
}

.top3-first .top3-classement-image-wrapper {
    border-color: #ffd700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.top3-second .top3-classement-image-wrapper {
    border-color: #c0c0c0;
    box-shadow: 0 0 25px rgba(192, 192, 192, 0.5);
}

.top3-third .top3-classement-image-wrapper {
    border-color: #cd7f32;
    box-shadow: 0 0 25px rgba(205, 127, 50, 0.5);
}

.top3-classement-info {
    margin-bottom: 20px;
}

.top3-classement-username {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3em;
    color: var(--neon-blue);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-blue);
    transition: all 0.3s ease;
}

.top3-classement-username:hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
}

.top3-classement-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9em;
}

.top3-stat {
    color: var(--text-secondary);
}

.top3-stat strong {
    color: var(--neon-green);
    font-weight: bold;
}

.top3-classement-hauts-faits {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
    min-height: 60px;
    padding: 10px;
    width: 100%;
}

.top3-haut-fait-icon {
    font-size: 1.8em;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    transition: all 0.3s ease;
    cursor: help;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
}

.top3-haut-fait-icon:hover {
    color: var(--neon-green);
    text-shadow: 0 0 15px var(--neon-green);
    background: rgba(0, 255, 65, 0.2);
    border-color: var(--neon-green);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.top3-haut-fait-icon::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--darker-bg);
    color: var(--neon-blue);
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid var(--neon-blue);
    font-size: 0.7em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 10px;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    z-index: 1000;
    text-transform: none;
    letter-spacing: normal;
}

.top3-haut-fait-icon:hover::after {
    opacity: 1;
}

.top3-no-hauts-faits {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .top3-classement-grid {
        grid-template-columns: 1fr;
    }
}

/* Classement final du tournoi */
.classement-final-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.05);
    overflow-x: auto;
}

.classement-final-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
}

.classement-final-table thead {
    background: var(--darker-bg);
}

.classement-final-table th {
    padding: 15px;
    text-align: left;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.classement-final-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--text-secondary);
}

.classement-final-table tbody tr:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
}

.classement-row.place-1 {
    background: rgba(255, 215, 0, 0.15);
    border-left: 4px solid #ffd700;
}

.classement-row.place-1 .classement-place {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
    font-size: 1.3em;
}

.classement-row.place-2 {
    background: rgba(192, 192, 192, 0.15);
    border-left: 4px solid #c0c0c0;
}

.classement-row.place-2 .classement-place {
    color: #c0c0c0;
    text-shadow: 0 0 10px #c0c0c0;
    font-size: 1.2em;
}

.classement-row.place-3 {
    background: rgba(205, 127, 50, 0.15);
    border-left: 4px solid #cd7f32;
}

.classement-row.place-3 .classement-place {
    color: #cd7f32;
    text-shadow: 0 0 10px #cd7f32;
    font-size: 1.1em;
}

.classement-place {
    font-weight: bold;
    min-width: 80px;
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.classement-joueurs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.classement-joueurs .joueur-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(0, 217, 255, 0.1);
}

.classement-joueurs .joueur-link:hover {
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
    color: var(--neon-green);
    transform: translateY(-2px);
}

/* Tableaux de tournois sur la page joueur */
.tournois-joueur-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.05);
    overflow-x: auto;
    margin-top: 15px;
}

.tournois-joueur-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
}

.tournois-joueur-table thead {
    background: var(--darker-bg);
}

.tournois-joueur-table th {
    padding: 15px;
    text-align: left;
    color: var(--neon-blue);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.tournois-joueur-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    color: var(--text-secondary);
}

.tournois-joueur-table tbody tr:hover {
    background: rgba(0, 217, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2);
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.tournois-joueur-table tbody tr.tournoi-inactif-non-cliquable {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.tournois-joueur-table tbody tr.tournoi-inactif-non-cliquable:hover {
    background: none;
    box-shadow: none;
    transform: none;
}

.tournois-joueur-table tbody tr.place-1 {
    background: rgba(255, 215, 0, 0.15);
    border-left: 4px solid #ffd700;
}

.tournois-joueur-table tbody tr.place-2 {
    background: rgba(192, 192, 192, 0.15);
    border-left: 4px solid #c0c0c0;
}

.tournois-joueur-table tbody tr.place-3 {
    background: rgba(205, 127, 50, 0.15);
    border-left: 4px solid #cd7f32;
}

.tournoi-nom-cell {
    font-weight: bold;
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tournoi-mini-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid var(--neon-blue);
}

.tournoi-date-cell {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.tournoi-statut-cell,
.tournoi-place-cell {
    text-align: center;
}

.tournoi-inscrit-cell {
    color: var(--text-secondary);
    font-size: 0.85em;
}

/* Badges de places */
.badge-place-1 {
    background: rgba(255, 215, 0, 0.3);
    color: #ffd700;
    border: 2px solid #ffd700;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 0 0 10px #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-size: 1.1em;
}

.badge-place-2 {
    background: rgba(192, 192, 192, 0.3);
    color: #c0c0c0;
    border: 2px solid #c0c0c0;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 0 0 10px #c0c0c0;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
    font-size: 1.1em;
}

.badge-place-3 {
    background: rgba(205, 127, 50, 0.3);
    color: #cd7f32;
    border: 2px solid #cd7f32;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 0 0 10px #cd7f32;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.4);
    font-size: 1.1em;
}

.badge-place {
    background: rgba(0, 217, 255, 0.2);
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-blue);
}

.badge-no-place {
    background: rgba(100, 100, 100, 0.2);
    color: #999;
    border: 2px solid #666;
    padding: 8px 15px;
    border-radius: 5px;
    font-style: italic;
}

/* Grille de tournois */
.tournois-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1400px) {
    .tournois-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .tournois-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tournoi-card {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.3),
        inset 0 0 15px rgba(180, 0, 255, 0.05);
    transition: transform 0.3s ease;
}

.tournoi-card.tournoi-card-inactive {
    background: rgba(30, 30, 30, 0.9);
    border-color: #555;
    opacity: 0.8;
    filter: grayscale(0.2);
}

.tournoi-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 25px rgba(180, 0, 255, 0.5),
        inset 0 0 25px rgba(180, 0, 255, 0.1);
}

.tournoi-card.tournoi-card-inactive:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(120, 120, 120, 0.4),
        inset 0 0 20px rgba(120, 120, 120, 0.1);
}

.tournoi-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-purple);
    font-size: 1.3em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-purple);
}

.tournoi-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.tournoi-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    border: 2px solid var(--neon-purple);
}

.tournoi-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tournoi-info {
    margin-top: 10px;
}

.tournoi-status {
    margin-bottom: 10px;
}

.tournoi-inactif-note {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    font-size: 0.85em;
}

.tournoi-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.tournoi-description {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.tournoi-programme {
    margin-top: 15px;
}

.tournoi-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9em;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.btn-consulter {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.btn-consulter::before {
    background: var(--neon-blue);
}

.btn-consulter:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 15px rgba(0, 217, 255, 0.7),
        inset 0 0 15px rgba(0, 217, 255, 0.3);
}

.btn-modifier {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.btn-modifier::before {
    background: var(--neon-purple);
}

.btn-modifier:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.7),
        inset 0 0 15px rgba(180, 0, 255, 0.3);
}

.btn-danger {
    border-color: #ff4444;
    color: #ff4444;
}

.btn-danger::before {
    background: #ff4444;
}

.btn-danger:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 15px rgba(255, 68, 68, 0.7),
        inset 0 0 15px rgba(255, 68, 68, 0.3);
}

.badge-distanciel {
    background: rgba(0, 217, 255, 0.3);
    color: var(--neon-blue);
    border: 1px solid var(--neon-blue);
    text-shadow: 0 0 5px var(--neon-blue);
}

.badge-presentiel {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

/* Formulaire tournoi */
.tournoi-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--neon-green);
}

.error-message {
    color: #ff4444;
    font-size: 0.85em;
    margin-top: 5px;
}

.btn-cancel {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.btn-cancel:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-secondary);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-cancel::before {
    display: none;
}

/* Champs de fichier */
input[type="file"] {
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    padding: 8px;
}

input[type="file"]::file-selector-button {
    background: var(--neon-green);
    color: var(--dark-bg);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
}

/* Page détail tournoi */
.tournoi-detail-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
}

.tournoi-detail-image {
    margin-bottom: 30px;
}

.detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.tournoi-detail-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.tournoi-detail-section {
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 5px;
    border-left: 4px solid var(--neon-green);
}

.tournoi-detail-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    font-size: 1.3em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-green);
}

.tournoi-detail-section p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.95em;
    margin: 0;
}

.tournoi-detail-info {
    display: grid;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--darker-bg);
    border-radius: 5px;
    border-left: 3px solid var(--neon-blue);
}

.info-label {
    font-weight: bold;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85em;
}

.info-value {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
}

.programme-image-container {
    margin-top: 15px;
}

.programme-image {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(180, 0, 255, 0.3);
}

.tournoi-detail-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge-active {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.badge-inactive {
    background: rgba(255, 68, 68, 0.3);
    color: #ff4444;
    border: 1px solid #ff4444;
    text-shadow: 0 0 5px #ff4444;
}

.current-image {
    margin-bottom: 15px;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 5px;
    border: 1px solid var(--neon-green);
}

.current-image p {
    color: var(--neon-green);
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Section Inscriptions */
.inscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 255, 65, 0.3);
}

.inscription-count {
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-green);
}

.btn-inscrire {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-inscrire::before {
    background: var(--neon-green);
}

.btn-inscrire:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 20px var(--neon-green),
        inset 0 0 20px rgba(0, 255, 65, 0.3);
}

.badge-inscrit {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
    padding: 8px 15px;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
}

.inscriptions-list {
    margin-top: 20px;
}

.inscriptions-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
}

.inscriptions-table thead {
    background: var(--darker-bg);
}

.inscriptions-table th {
    padding: 12px;
    text-align: left;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    font-size: 0.9em;
}

.inscriptions-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-secondary);
}

.inscriptions-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.inscription-username {
    font-weight: bold;
    color: var(--neon-blue);
}

.inscription-level {
    color: var(--neon-green);
    font-weight: bold;
}

.inscription-xp {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
}

.inscription-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

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

.no-inscriptions {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 30px;
}

.empty-state {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2em;
}

/* Tableau liste des joueurs (gérants) */
.joueurs-table-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 
        0 0 20px rgba(180, 0, 255, 0.3),
        inset 0 0 20px rgba(180, 0, 255, 0.05);
    overflow-x: auto;
}

.joueurs-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Share Tech Mono', monospace;
}

.joueurs-table thead {
    background: var(--darker-bg);
}

.joueurs-table th {
    padding: 15px;
    text-align: left;
    color: var(--neon-purple);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
}

.joueurs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(180, 0, 255, 0.2);
    color: var(--text-secondary);
}

.joueurs-table tbody tr:hover {
    background: rgba(180, 0, 255, 0.1);
    box-shadow: 0 0 10px rgba(180, 0, 255, 0.2);
}

.username-cell {
    font-weight: bold;
    color: var(--neon-blue);
}

.email-cell {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.level-cell {
    color: var(--neon-green);
    font-weight: bold;
}

.xp-cell {
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
}

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

.date-cell {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

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

.steam-link-small {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.steam-link-small:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    text-decoration: underline;
}

.no-link {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.badge-count {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 65, 0.15);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.actions-cell {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.actions-cell .btn {
    width: auto;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 8px;
}

.badge-gerant {
    background: rgba(180, 0, 255, 0.3);
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    text-shadow: 0 0 5px var(--neon-purple);
}

.badge-staff {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.badge-no {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Stats summary */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.summary-card {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-purple);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.3),
        inset 0 0 15px rgba(180, 0, 255, 0.05);
}

.summary-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-purple);
    font-size: 1em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.summary-value {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--neon-purple);
    text-shadow: 0 0 15px var(--neon-purple);
    font-family: 'Orbitron', sans-serif;
}

/* Section d'édition du profil */
.edit-profile-section {
    margin-top: 40px;
}

.terminal-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5em;
    text-shadow: 
        0 0 10px var(--neon-green),
        0 0 20px var(--neon-green);
    display: inline-block;
    margin-left: 10px;
}

.edit-form-container {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-green);
    border-radius: 10px;
    padding: 30px;
    margin-top: 20px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
}

.edit-steam-form {
    max-width: 600px;
}

.steam-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--darker-bg);
    border: 2px solid var(--neon-green);
    border-radius: 5px;
    color: var(--text-primary);
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    transition: all 0.3s ease;
}

.steam-input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 
        0 0 10px rgba(0, 217, 255, 0.5),
        inset 0 0 10px rgba(0, 217, 255, 0.1);
}

.steam-input::placeholder {
    color: rgba(0, 255, 65, 0.5);
}

.form-help {
    display: block;
    margin-top: 8px;
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-save {
    flex: 1;
}

.btn-delete {
    flex: 1;
    border-color: #ff4444;
    color: #ff4444;
}

.btn-delete::before {
    background: #ff4444;
}

.btn-delete:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 20px #ff4444,
        inset 0 0 20px rgba(255, 68, 68, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .terminal-header h1 {
        font-size: 1.8em;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.8em;
        padding: 6px 12px;
    }
    
    .nav-logo-text {
        font-size: 1.4em;
    }
    
    .classement-table {
        font-size: 0.9em;
    }
    
    .classement-table th,
    .classement-table td {
        padding: 10px;
    }
    
    .tournois-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .edit-form-container {
        padding: 20px;
    }
    
    .joueurs-table-container {
        padding: 15px;
    }
    
    .joueurs-table {
        font-size: 0.85em;
    }
    
    .joueurs-table th,
    .joueurs-table td {
        padding: 8px;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .tournoi-image {
        height: 150px;
    }
    
    .tournoi-actions {
        flex-direction: column;
    }
    
    .btn-small {
        width: 100%;
    }
    
    .tournoi-detail-actions {
        flex-direction: column;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .inscription-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .inscriptions-table {
        font-size: 0.85em;
    }
    
    .inscriptions-table th,
    .inscriptions-table td {
        padding: 8px;
    }
}

/* Styles pour les créneaux */
.creneau-form-section {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.creneau-form-section h2 {
    color: var(--neon-green);
    font-size: 1.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-green);
    padding-bottom: 10px;
}

.creneaux-list-section {
    background: var(--terminal-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.creneaux-list-section h2 {
    color: var(--neon-green);
    font-size: 1.3em;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--neon-green);
    padding-bottom: 10px;
}

.creneaux-table-container {
    margin-top: 15px;
    overflow-x: auto;
}

.badge-fil-rouge {
    background: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid #ff4444;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.badge-normal {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--neon-green);
}

#date-group {
    transition: opacity 0.3s ease;
}

#date-group-inline {
    transition: opacity 0.3s ease;
}

/* Styles pour la section gérant */
.section-gerant {
    border-left: 4px solid var(--neon-purple) !important;
    background: rgba(180, 0, 255, 0.05) !important;
}

.creneau-form-inline {
    background: var(--darker-bg);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid var(--neon-purple);
}

.creneau-form-inline h3 {
    color: var(--neon-purple);
    font-size: 1.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creneau-form-compact {
    margin: 0;
}

.form-row-inline {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group-inline {
    flex: 1;
    min-width: 150px;
}

.form-group-inline label {
    display: block;
    color: var(--neon-blue);
    font-size: 0.85em;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group-inline input,
.form-group-inline select {
    width: 100%;
    padding: 8px;
    background: var(--darker-bg);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: 'Share Tech Mono', monospace;
}

.form-group-inline input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.creneaux-table-section {
    margin-top: 20px;
}

.creneaux-table-section h3 {
    color: var(--neon-green);
    font-size: 1.1em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creneaux-jeux-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--darker-bg);
    border-radius: 5px;
    overflow: hidden;
}

.creneaux-jeux-table thead {
    background: rgba(0, 255, 65, 0.1);
}

.creneaux-jeux-table th {
    padding: 12px;
    text-align: left;
    color: var(--neon-green);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--neon-green);
}

.creneaux-jeux-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-secondary);
    vertical-align: top;
}

.creneaux-jeux-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.05);
}

.creneaux-jeux-table tbody tr:last-child td {
    border-bottom: none;
}

.jeux-valides-cell {
    text-align: center;
}

/* Styles pour la zone d'alerte jeux non validés */
.section-gerant-alert {
    border-left: 4px solid var(--neon-pink) !important;
    background: rgba(255, 0, 255, 0.05) !important;
    padding: 15px !important;
}

.jeux-non-valides-alert {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.alert-text {
    color: var(--text-secondary);
    font-size: 1em;
}

.alert-text strong {
    color: var(--neon-pink);
    font-size: 1.2em;
}

.btn-alert {
    background: rgba(255, 0, 255, 0.2);
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.btn-alert:hover {
    background: rgba(255, 0, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* Styles pour la page de validation des jeux */
/* Onglets */
.tabs-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.tab-button {
    padding: 12px 24px;
    background: var(--darker-bg);
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    top: 2px;
}

.tab-button:hover {
    background: rgba(0, 255, 65, 0.1);
    color: var(--neon-green);
}

.tab-button.active {
    background: var(--terminal-bg);
    border-bottom-color: var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.tab-content {
    display: none;
    width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
    max-width: 100%;
}

.tab-content.active {
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Tableau de validation des jeux */
.jeux-validation-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: var(--terminal-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    min-width: 100%;
    table-layout: fixed;
    display: table;
}

.jeux-validation-table thead {
    background: var(--darker-bg);
    border-bottom: 2px solid var(--neon-green);
}

.jeux-validation-table th {
    padding: 15px;
    text-align: left;
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    white-space: nowrap;
}

.jeux-validation-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
    word-wrap: break-word;
}

.jeux-validation-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.05);
}

.jeux-validation-table tbody tr:last-child td {
    border-bottom: none;
}

.table-image {
    width: 8%;
    min-width: 80px;
    text-align: center;
}

.jeu-table-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.no-image {
    color: #666;
    font-style: italic;
}

.table-nom {
    width: 20%;
    min-width: 180px;
}

.table-nom strong {
    color: var(--neon-green);
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.table-nom small {
    color: var(--text-secondary);
    font-size: 0.85em;
    line-height: 1.4;
}

.table-joueur {
    width: 10%;
    min-width: 100px;
    color: var(--neon-blue);
    font-weight: bold;
}

.table-categories {
    width: 12%;
    min-width: 120px;
    color: var(--text-secondary);
    font-size: 0.9em;
    font-style: italic;
}

.table-liste {
    width: 18%;
    min-width: 180px;
}

.liste-form-inline {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.liste-select,
.liste-select-small {
    width: 100%;
    font-size: 0.85em;
    min-width: 150px;
}

.nouvelle-liste-input,
.nouvelle-liste-input-small {
    width: 100%;
    font-size: 0.85em;
    min-width: 150px;
}

.btn-toggle-liste,
.btn-toggle-liste-small {
    font-size: 0.75em;
    padding: 5px 10px;
    white-space: nowrap;
}

.badge-liste {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(0, 217, 255, 0.2);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
}

/* Tableau de vote des listes */
.listes-vote-container {
    margin-top: 20px;
}

.listes-vote-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--darker-bg);
    border-radius: 5px;
    overflow: hidden;
}

.listes-vote-table thead {
    background: rgba(0, 255, 65, 0.1);
}

.listes-vote-table th {
    padding: 12px;
    text-align: left;
    color: var(--neon-green);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--neon-green);
}

.listes-vote-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    color: var(--text-secondary);
    vertical-align: middle;
}

.listes-vote-table tbody tr:hover {
    background: rgba(0, 255, 65, 0.05);
}

.listes-vote-table tbody tr:last-child td {
    border-bottom: none;
}

.liste-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    font-style: italic;
}

.nombre-jeux-cell,
.nombre-votes-cell {
    text-align: center;
}

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

.actions-liste-cell {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.badge-votes {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-pret {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-non-pret {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-voted {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(180, 0, 255, 0.2);
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-restants {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid #ffd700;
    color: #ffd700;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.votes-restants-info {
    margin-top: 6px;
}

.votes-restants-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75em;
}

.btn-vote {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-vote::before {
    background: var(--neon-green);
}

.btn-vote:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 15px rgba(0, 255, 65, 0.7),
        inset 0 0 15px rgba(0, 255, 65, 0.3);
}

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.btn-toggle-pret {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

.btn-toggle-pret::before {
    background: var(--neon-purple);
}

.btn-toggle-pret:hover {
    color: var(--dark-bg);
    box-shadow: 
        0 0 15px rgba(180, 0, 255, 0.7),
        inset 0 0 15px rgba(180, 0, 255, 0.3);
}

.liste-associee {
    margin-top: 5px;
}

.table-votes {
    width: 20%;
    min-width: 180px;
}

.votes-display {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.vote-count-display {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.vote-count-display.vote-haut {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.vote-count-display.vote-bas {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.vote-icon {
    font-size: 1.1em;
}

.vote-number {
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.votes-details {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.votes-details small {
    color: #888;
    font-size: 0.75em;
}

.table-actions {
    width: 12%;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vote-buttons-inline {
    display: flex;
    gap: 5px;
}

.vote-liste-container {
    margin-top: 20px;
}

.vote-liste-intro {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.vote-liste-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

@media (max-width: 1024px) {
    .vote-liste-columns {
        grid-template-columns: 1fr;
    }
}

.vote-liste-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vote-liste-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.1);
    cursor: grab;
}

.vote-liste-item:active {
    cursor: grabbing;
}

.vote-liste-item.dragging {
    opacity: 0.6;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.vote-liste-item.drag-over {
    border: 2px dashed var(--neon-blue);
}

.vote-position-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
}

.vote-liste-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vote-liste-item-info strong {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.vote-liste-categories {
    color: rgba(0, 217, 255, 0.7);
    font-size: 0.85em;
}

.vote-liste-proposeur {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

.vote-liste-item-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.steam-link-icon {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.steam-link-icon:hover {
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    transform: scale(1.1);
}

.vote-help-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.vote-help-card h3 {
    color: var(--neon-blue);
    margin-bottom: 10px;
}

.vote-help-card ul {
    list-style: disc;
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.vote-submit-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-validate-blink {
    width: 50% !important;
    flex: 0 0 50% !important;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
        box-shadow: 
            0 0 20px var(--neon-green),
            0 0 40px var(--neon-green),
            inset 0 0 20px rgba(0, 255, 65, 0.3);
        border-color: var(--neon-green);
    }
    50% {
        opacity: 0.7;
        box-shadow: 
            0 0 60px var(--neon-green),
            0 0 80px var(--neon-green),
            inset 0 0 40px rgba(0, 255, 65, 0.6);
        border-color: var(--neon-green);
    }
}

.resultats-liste-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.resultats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.resultats-top3 h2,
.resultats-table-section h2 {
    color: var(--neon-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.top3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.top3-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.top3-position {
    font-size: 2em;
    font-weight: bold;
    color: var(--neon-blue);
}

.top3-name {
    margin-top: 10px;
    font-size: 1.1em;
    color: var(--text-secondary);
}

.top3-image-wrapper {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.top3-image {
    max-width: 320px;
    max-height: 320px;
    border-radius: 8px;
    border: 2px solid rgba(0, 217, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    object-fit: cover;
}

.top3-average {
    margin-top: 8px;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
}

.table-wrapper {
    overflow-x: auto;
}

.resultats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--darker-bg);
    border-radius: 8px;
    overflow: hidden;
}

.resultats-table th,
.resultats-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
    text-align: center;
}

.resultats-table th {
    background: rgba(0, 255, 65, 0.1);
    color: var(--neon-green);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

.resultats-table tr:nth-child(even) {
    background: rgba(0, 255, 65, 0.03);
}

.resultats-table tr:hover {
    background: rgba(0, 255, 65, 0.05);
}

.jeu-cell {
    text-align: left;
    font-weight: 600;
}

.moyenne-cell {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
}

.score-cell {
    font-family: 'Share Tech Mono', monospace;
}

.no-top {
    color: rgba(255, 255, 255, 0.6);
}

.badge-played {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 65, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
}

.badge-not-played {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff4444;
    color: #ff4444;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: bold;
}

.creneau-cell {
    text-align: left;
}

.creneau-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8em;
}

.resultats-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.resultats-actions form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.associer-creneau-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.associer-creneau-select {
    min-width: 220px;
}

.btn-played {
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-played::before {
    background: var(--neon-green);
}

.creneaux-joues-columns {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.creneaux-jour-column {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.jour-header {
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 15px;
    text-align: center;
    color: var(--neon-blue);
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.creneaux-jour-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.creneau-joue-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.no-creneaux-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 20px;
    background: rgba(0, 217, 255, 0.02);
    border: 1px dashed rgba(0, 217, 255, 0.2);
    border-radius: 8px;
}

.creneau-info-line {
    margin: 5px 0;
    color: rgba(255, 255, 255, 0.8);
}

.creneau-info-label {
    color: var(--neon-blue);
    font-weight: bold;
    margin-right: 6px;
}

.jeux-joues-list {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jeux-joues-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
}

.jeux-joues-list li.jeu-joue-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    min-height: 80px;
    padding: 0;
}

.jeu-joue-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    text-decoration: none;
    color: inherit;
    padding: 8px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.jeu-joue-link:hover {
    background: rgba(0, 255, 65, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
    transform: translateY(-2px);
}

.jeu-joue-image-container {
    flex: 0 0 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 8px;
}

.jeu-joue-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid rgba(0, 255, 65, 0.4);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.jeu-joue-image-placeholder {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 65, 0.05);
    border: 1px dashed rgba(0, 255, 65, 0.3);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85em;
    text-align: center;
}

.jeu-joue-info {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 8px;
    gap: 4px;
}

.jeu-joue-nom {
    color: var(--neon-green);
    font-size: 0.95em;
    margin: 0;
    word-wrap: break-word;
}

.jeu-joue-creneau-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

.jeu-joue-creneau-nom {
    color: var(--neon-blue);
    font-size: 0.85em;
    font-weight: bold;
    margin: 0;
    word-wrap: break-word;
}

.jeu-joue-creneau-heure {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    margin: 0;
    word-wrap: break-word;
}

.jeu-joue-creneau-liste {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75em;
    margin: 0;
    word-wrap: break-word;
}

.btn-vote-haut-small,
.btn-vote-bas-small {
    padding: 6px 12px;
    font-size: 1em;
    min-width: 40px;
}

.badge-validated-table,
.badge-inactive-table {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-validated-table {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
}

.badge-inactive-table {
    background: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.jeu-validation-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.jeu-validation-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.jeu-validation-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.3);
}

.jeu-validation-title h3 {
    color: var(--neon-green);
    font-size: 1.3em;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.jeu-propose-par {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin: 5px 0;
}

.jeu-categories {
    color: var(--neon-blue);
    font-size: 0.85em;
    font-style: italic;
    margin-top: 5px;
}

.jeu-validation-stats {
    display: flex;
    gap: 15px;
    align-items: center;
}

.vote-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 1.1em;
}

.vote-stat.vote-haut {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.vote-stat.vote-bas {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff4444;
    color: #ff4444;
}

.vote-icon {
    font-size: 1.3em;
}

.vote-count {
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.jeu-validation-description {
    margin: 15px 0;
    padding: 15px;
    background: var(--darker-bg);
    border-radius: 5px;
    border-left: 3px solid var(--neon-blue);
}

.jeu-validation-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95em;
}

.jeu-validation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.vote-buttons {
    display: flex;
    gap: 10px;
}

.btn-vote {
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-vote-haut {
    background: rgba(0, 255, 65, 0.1);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.btn-vote-haut:hover {
    background: rgba(0, 255, 65, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.btn-vote-haut.btn-vote-active {
    background: rgba(0, 255, 65, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.btn-vote-bas {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff4444;
    color: #ff4444;
}

.btn-vote-bas:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.btn-vote-bas.btn-vote-active {
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.btn-link {
    background: rgba(0, 217, 255, 0.1);
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
}

.btn-link:hover {
    background: rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.jeu-status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-validated {
    background: rgba(0, 255, 65, 0.3);
    color: var(--neon-green);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.badge-inactive {
    background: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    border: 2px solid #ff4444;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

/* Styles pour les Hauts Faits */
.hauts-faits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hauts-faits-grid-public {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    width: 100%;
}

.haut-fait-card-public {
    background: var(--terminal-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 
        0 0 20px rgba(0, 217, 255, 0.3),
        inset 0 0 20px rgba(0, 217, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.haut-fait-card-public:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.5),
        inset 0 0 30px rgba(0, 217, 255, 0.1);
    border-color: var(--neon-green);
}

.haut-fait-icon-public {
    font-size: 4em;
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 20px var(--neon-blue);
}

.haut-fait-info-public {
    flex: 1;
    width: 100%;
}

.haut-fait-info-public h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-green);
    font-size: 1.3em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--neon-green);
}

.haut-fait-count {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin: 0;
}

.haut-fait-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.haut-fait-card {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
    transition: all 0.3s ease;
}

.haut-fait-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    border-color: var(--neon-blue);
}

.haut-fait-icon {
    font-size: 4em;
    color: var(--neon-blue);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.haut-fait-info {
    width: 100%;
}

.haut-fait-info h3 {
    color: var(--neon-blue);
    font-size: 1.1em;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    word-wrap: break-word;
}

.haut-fait-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    margin: 5px 0;
}

.haut-fait-attributeur {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75em;
    font-style: italic;
    margin: 5px 0 0 0;
}

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

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

/* Styles pour la popup de sélection d'icônes */
.popup-icones-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.popup-icones-content {
    background: var(--dark-bg);
    border: 2px solid var(--neon-blue);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.5);
}

.popup-icones-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.popup-icones-header h2 {
    color: var(--neon-blue);
    margin: 0;
    text-transform: uppercase;
}

.popup-icones-close {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    font-size: 2em;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-icones-close:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

.popup-icones-body {
    padding: 20px;
    overflow-y: auto;
    max-height: calc(80vh - 80px);
}

.icones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.icone-item {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    gap: 8px;
}

.icone-item:hover {
    background: rgba(0, 217, 255, 0.15);
    border-color: var(--neon-blue);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.icone-item i {
    font-size: 2em;
    color: var(--neon-blue);
}

.icone-item span {
    font-size: 0.75em;
    color: rgba(255, 255, 255, 0.7);
    word-break: break-all;
}

