/* ===== PARTIE 1/5 : BASE + SPLASH + MENU ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b4e 50%, #1a1d2e 100%);
    color: #fff;
    overflow: visible;
}

.app-container {
    display: flex;
    width: 100%;
    min-min-height: 100vh;
}

.hidden {
    display: none !important;
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 50%, #3d2463 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.splash-screen::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.splash-content {
    z-index: 10;
    text-align: center;
}

.logo-container {
    margin-bottom: 60px;
    animation: fadeInScale 1.5s ease-out;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-text {
    font-size: 86px;
    font-weight: 900;
    letter-spacing: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.esport {
    color: #fff;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8),
                 0 0 40px rgba(138, 43, 226, 0.5);
    animation: glow 2s ease-in-out infinite;
}

.manager {
    background: linear-gradient(90deg, #8a2be2, #da70d6, #8a2be2);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s linear infinite, glow 2s ease-in-out infinite;
}

@keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.logo-subtitle {
    font-size: 56px;
    color: #da70d6;
    font-weight: 700;
    margin-top: 10px;
    letter-spacing: 12px;
}

.play-button {
    padding: 20px 80px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border: 3px solid #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
    animation: buttonFloat 3s ease-in-out infinite;
}

@keyframes buttonFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(138, 43, 226, 1);
    background: linear-gradient(135deg, #9a3bf2 0%, #ea80e6 100%);
}

.play-button:active {
    transform: scale(1.05);
}

.splash-footer {
    position: absolute;
    bottom: 30px;
    color: #888;
    font-size: 17px;
}

/* ===== MENU PRINCIPAL ===== */

/* Logo dans le header */
#header-team-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-team-logo .team-logo-container {
    width: 100%;
    height: 100%;
}

#header-team-logo .team-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#header-team-logo .team-logo-emoji {
    font-size: 38px;
}
.main-menu {
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #2a1a4e 0%, #1a1a3e 100%);
    padding: 40px;
    overflow-y: auto;
    position: relative;
}

.main-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(218, 112, 214, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.menu-logo {
    font-size: 50px;
    font-weight: 900;
    color: white;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.year {
    color: #da70d6;
}

.news-button {
    padding: 14px 28px;
    background: rgba(138, 43, 226, 0.2);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 10px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}

.news-button:hover {
    background: rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.menu-content {
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;
}

.menu-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.6) 0%, rgba(50, 50, 80, 0.6) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: visible;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
    transition: left 0.5s;
}

.menu-btn:hover::before {
    left: 100%;
}

.menu-btn:hover {
    background: linear-gradient(135deg, rgba(80, 80, 110, 0.8) 0%, rgba(70, 70, 100, 0.8) 100%);
    border-color: #8a2be2;
    transform: translateX(8px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4);
}

.menu-btn:active {
    transform: translateX(6px) scale(0.98);
}

.version {
    color: #888;
    font-size: 16px;
    margin-bottom: 12px;
    text-align: center;
}

.quit-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.3) 0%, rgba(200, 20, 60, 0.3) 100%);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}

.quit-btn:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.5) 0%, rgba(200, 20, 60, 0.5) 100%);
    border-color: rgba(220, 20, 60, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}
/* ===== PARTIE 2/5 : MODALS + CONFIGURATION + CRÉATION CLUB ===== */

/* ===== MODAL MODE DE JEU ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #2a1a4e 0%, #1a1a3e 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 16px;
    padding: 40px;
    max-width: 1100px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(138, 43, 226, 0.4);
    animation: slideUp 0.4s ease;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.modal-header h2 {
    font-size: 38px;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

.close-modal {
    width: 40px;
    height: 40px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: rgba(220, 20, 60, 0.5);
    border-color: rgba(220, 20, 60, 0.8);
    transform: rotate(90deg);
}

.game-modes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.game-mode-card {
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.6) 0%, rgba(40, 40, 70, 0.6) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: visible;
}

.game-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.2), transparent);
    transition: left 0.6s;
}

.game-mode-card:hover::before {
    left: 100%;
}

.game-mode-card:hover {
    background: linear-gradient(135deg, rgba(80, 80, 110, 0.8) 0%, rgba(60, 60, 90, 0.8) 100%);
    border-color: #8a2be2;
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(138, 43, 226, 0.5);
}

.mode-icon {
    font-size: 76px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
}

.mode-title {
    font-size: 28px;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.mode-description {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 50px;
}

/* ===== PAGES DE CONFIGURATION ===== */
.page-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #2a1a4e 100%);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 40px !important;
    z-index: 100 !important;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.back-button {
    padding: 12px 24px;
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 8px;
    color: white;
    font-size: 19px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.back-button:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
    transform: translateX(-5px);
}

.page-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

/* ===== CONFIGURATION DE PARTIE ===== */
.config-content {
    max-width: 1650px;
    margin: 0 auto;
}

.config-info-box {
    background: linear-gradient(135deg, rgba(40, 40, 70, 0.7) 0%, rgba(30, 30, 60, 0.7) 100%);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.config-info-box h2 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.config-info-box p {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
}

.config-section {
    background: rgba(40, 40, 70, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 25px;
}

.section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.leagues-table {
    background: rgba(30, 30, 50, 0.8);
    border-radius: 8px;
    overflow: visible;
    margin-bottom: 20px;
}

.leagues-table table {
    width: 100%;
    border-collapse: collapse;
}

.leagues-table thead {
    background: rgba(20, 20, 40, 0.9);
}

.leagues-table th {
    padding: 12px 15px;
    text-align: left;
    font-size: 15px;
    color: #aaa;
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.category-row {
    background: rgba(138, 43, 226, 0.2);
    cursor: pointer;
}

.category-row:hover {
    background: rgba(138, 43, 226, 0.3);
}

.category-title {
    padding: 12px 15px !important;
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-arrow {
    margin-left: auto;
    font-size: 17px;
    transition: transform 0.3s;
}

.league-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.league-row:hover {
    background: rgba(60, 60, 90, 0.3);
}

.league-row td {
    padding: 12px 15px;
    font-size: 17px;
    color: #ddd;
}

.flag {
    margin-right: 8px;
    font-size: 21px;
}

.league-player-count {
    font-size: 15px;
    color: #888;
    margin-left: 10px;
}

.mode-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(60, 60, 90, 0.8);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.mode-select:focus {
    outline: none;
    border-color: #8a2be2;
}

.remove-btn {
    background: rgba(220, 20, 60, 0.3);
    border: 1px solid rgba(220, 20, 60, 0.5);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: white;
    font-size: 21px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: rgba(220, 20, 60, 0.5);
    transform: rotate(90deg);
}

.start-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

.cancel-btn {
    padding: 14px 32px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn:hover {
    background: rgba(220, 20, 60, 0.5);
    border-color: rgba(220, 20, 60, 0.8);
}

.start-game-btn {
    padding: 14px 40px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border: 2px solid #ffa500;
    border-radius: 8px;
    color: white;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
}

.start-game-btn:hover {
    background: linear-gradient(135deg, #ffb520 0%, #ffa500 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
}

/* ===== SÉLECTION FINALE D'ÉQUIPE ===== */
#final-team-selection {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(135deg, #1a1a3e 0%, #2a1a4e 100%);
    overflow-y: auto !important;
    padding: 40px !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: column !important;
}

#final-team-selection.hidden {
    display: none !important;
}

.final-selection-header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(40, 40, 70, 0.8) 0%, rgba(30, 30, 60, 0.8) 100%);
    border-radius: 12px;
    margin-bottom: 30px;
}

.final-selection-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
}

.search-filters-final {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.country-league-filters {
    display: flex;
    gap: 15px;
    flex: 1;
}

.filter-dropdown {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(180deg, #1a1d2e 0%, #0f111a 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.filter-dropdown:hover,
.filter-dropdown:focus {
    background: linear-gradient(180deg, #2a2d3e 0%, #1a1d2e 100%);
    border-color: #8a2be2;
    outline: none;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
}

.search-bar-final {
    flex: 1;
}

.search-bar-final input {
    width: 100%;
    padding: 12px 16px;

.search-bar-final input:hover,
.search-bar-final input:focus {
    background: linear-gradient(180deg, #2a2d3e 0%, #1a1d2e 100%);
    border-color: #8a2be2;
    outline: none;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.4);
}
    background: rgba(60, 60, 90, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
}

.final-teams-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    flex: 1 !important;
    max-height: 600px !important;
    overflow-y: scroll !important;
    padding: 20px !important;
    background: rgba(30, 30, 50, 0.8) !important;
    border-radius: 12px !important;
    margin-bottom: 40px !important;
}

.final-team-card {
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.8) 0%, rgba(40, 40, 70, 0.8) 100%);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 150px;
}

.final-team-card:hover {
    background: linear-gradient(135deg, rgba(80, 80, 110, 0.9) 0%, rgba(60, 60, 90, 0.9) 100%);
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
}

.final-team-card.selected {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.6) 0%, rgba(218, 112, 214, 0.6) 100%);
    border-color: #ffa500;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.6);
}

.final-team-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.final-team-name {
    font-size: 19px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.final-team-league {
    font-size: 15px;
    color: #aaa;
}

.final-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.mode-btn-final {
    padding: 14px 32px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border: 2px solid #ffa500;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
}

.cancel-btn-final {
    padding: 14px 32px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cancel-btn-final:hover {
    background: rgba(220, 20, 60, 0.5);
}

/* ===== CRÉATION DE CLUB STYLE FM ===== */
.creation-content-fm {
    display: grid;
    grid-template-columns: 530px 1fr;
    gap: 20px;
    max-width: 1650px;
    margin: 0 auto;
}

.creation-left-fm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-section,
.club-info-section,
.game-selection-section,
.league-selection-section {
    background: rgba(40, 40, 70, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.logo-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-preview-large {
    width: 150px;
    height: 150px;
    margin-bottom: 15px;
}

.club-shield {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 76px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(60, 60, 90, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 6px;
    color: white;
    font-size: 21px;
    cursor: pointer;
    transition: all 0.3s;
}

.logo-nav-btn:hover {
    background: rgba(80, 80, 110, 0.9);
    border-color: #8a2be2;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    font-size: 16px;
    color: #ccc;
    margin-bottom: 6px;
    font-weight: 600;
}

.required {
    color: #ff6b6b;
}

.form-field input {
    width: 100%;
    padding: 10px 14px;
    background: rgba(30, 30, 50, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 17px;
}

.form-field input:focus {
    outline: none;
    border-color: #8a2be2;
}

.game-categories-fm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.game-category-card-fm {
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.game-category-card-fm:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
    transform: scale(1.05);
}

.game-category-card-fm.selected {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4) 0%, rgba(218, 112, 214, 0.4) 100%);
    border-color: #8a2be2;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.game-icon-fm {
    font-size: 38px;
    margin-bottom: 8px;
}

.game-name-fm {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.league-select-fm {
    width: 100%;
    padding: 12px;
    background: rgba(30, 30, 50, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
    cursor: pointer;
}

/* Colonne droite */
.creation-right-fm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kits-section,
.finances-section,
.club-preview-section {
    background: rgba(40, 40, 70, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.kits-section h3,
.finances-section h3,
.club-preview-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.single-kit-display {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.kit-preview-large {
    width: 120px;
    height: 150px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    box-shadow: 0 8px 30px rgba(138, 43, 226, 0.4);
}

.kit-body-large {
    width: 90px;
    height: 110px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.kit-color-picker {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.color-picker-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color-picker-row label {
    font-size: 16px;
    color: #ccc;
    font-weight: 600;
}

.color-picker-row input[type="color"] {
    width: 80px;
    height: 40px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
}

.budget-slider-container {
    padding: 10px 0;
}

.budget-display {
    text-align: center;
    margin-bottom: 20px;
}

.budget-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #8a2be2;
    margin-bottom: 5px;
}

.budget-subtitle {
    display: block;
    font-size: 15px;
    color: #888;
}

.budget-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right, #dc143c 0%, #ffa500 50%, #32cd32 100%);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 10px;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8a2be2;
    border: 3px solid white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.5);
}

.budget-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #8a2be2;
    border: 3px solid white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.5);
}

.budget-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888;
}

.club-preview-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.8) 0%, rgba(40, 40, 70, 0.8) 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 12px;
    padding: 20px;
}

.preview-logo-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.preview-info {
    flex: 1;
}

.preview-club-name {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.preview-club-tag {
    font-size: 17px;
    color: #8a2be2;
    font-weight: 600;
    margin-bottom: 8px;
}

.preview-club-game {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 4px;
}

.preview-club-league {
    font-size: 15px;
    color: #888;
}

.creation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1650px;
    margin: 30px auto 0;
}

.footer-quit-btn,
.footer-start-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-quit-btn {
    background: rgba(60, 60, 90, 0.8);
    border: 2px solid rgba(138, 43, 226, 0.3);
    color: white;
}

.footer-quit-btn:hover {
    background: rgba(80, 80, 110, 0.9);
    border-color: #8a2be2;
}

.footer-start-btn {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border: 2px solid #ffa500;
    color: white;
}

.footer-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
}
/* ===== PARTIE 3/5 : INTERFACE DE JEU + SIDEBAR + HEADER ===== */

/* ===== CONTAINER PRINCIPAL ===== */

.container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b4e 50%, #1a1d2e 100%);
}

/* ===== SIDEBAR ===== */

/* ===== SIDEBAR AMÉLIORÉE ===== */

.sidebar {
    width: 300px;
    background: linear-gradient(180deg, #1a1d2e 0%, #0f111a 100%);
    border-right: 2px solid rgba(138, 43, 226, 0.3);
    padding: 20px 0;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Effet de fond au survol */
.menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8a2be2, #da70d6);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover::before {
    transform: scaleY(1);
}

.menu-item:hover {
    background: rgba(138, 43, 226, 0.15);
    color: #fff;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.2);
}

.menu-item.active {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(218, 112, 214, 0.2));
    color: #ffa500;
    border: 1px solid rgba(138, 43, 226, 0.5);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(6px);
}

.menu-item.active::before {
    transform: scaleY(1);
    width: 6px;
    background: linear-gradient(180deg, #ffa500, #ff8c00);
}

/* Icônes */
.menu-item > span:first-child {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: all 0.3s;
}

.menu-item:hover > span:first-child {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.8));
}

.menu-item.active > span:first-child {
    transform: scale(1.2);
    filter: drop-shadow(0 0 12px rgba(255, 165, 0, 0.8));
}

/* Texte */
.menu-item > span:nth-child(2) {
    flex: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Badge de notification */
.badge {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.8);
    }
}

/* Séparateur visuel (optionnel) */
.menu-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
    margin: 12px 20px;
}

/* Animation d'entrée */
.menu-item {
    animation: slideInLeft 0.3s ease-out backwards;
}

.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7) { animation-delay: 0.35s; }
.menu-item:nth-child(8) { animation-delay: 0.4s; }
.menu-item:nth-child(9) { animation-delay: 0.45s; }
.menu-item:nth-child(10) { animation-delay: 0.5s; }
.menu-item:nth-child(11) { animation-delay: 0.55s; }
.menu-item:nth-child(12) { animation-delay: 0.6s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Effet de glow pour l'item actif */
.menu-item.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), transparent);
    pointer-events: none;
    opacity: 0;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 5px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
    font-size: 17px;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.15);
}

.menu-item .badge {
    position: absolute;
    right: 10px;
    background: #e63946;
    color: white;
    font-size: 14px;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: bold;
}

/* ===== MAIN CONTENT AREA ===== */

.main-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar violette pour main-content-area */
.main-content-area::-webkit-scrollbar {
    width: 14px;
}

.main-content-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.main-content-area::-webkit-scrollbar-thumb {
    background: #8a2be2;
    border-radius: 6px;
}

.main-content-area::-webkit-scrollbar-thumb:hover {
    background: #9d3ef3;
}

/* ===== GAME HEADER ===== */

.game-header {
    background: linear-gradient(135deg, #2a2a3e 0%, #1f1f2e 100%);
    border-bottom: 2px solid #3a3a52;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 100;
    left: 300px;
    right: 0;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-arrow {
    width: 35px;
    height: 35px;
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 19px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
}

.team-info-header {
    display: flex;
    align-items: center;
    gap: 12px;
}


.team-logo-header {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 40, 70, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 10px;
    overflow: visible;
    flex-shrink: 0;
}
.team-details-header h2 {
    font-size: 21px;
    color: white;
    margin: 0;
}

.team-details-header p {
    font-size: 15px;
    color: #888;
    margin: 3px 0 0 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.game-date {
    text-align: right;
    font-size: 16px;
    color: #ffa500;
    font-weight: 600;
    line-height: 1.3;
}

.save-btn {
    padding: 10px 20px;
    background: #2a2d3a;
    border: 2px solid #3a3d4a;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s;
}

.save-btn:hover {
    background: #8a2be2;
    border-color: #8a2be2;
}

.inbox-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border: 2px solid #8a2be2;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inbox-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.5);
}

.inbox-badge {
    background: #e63946;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 14px;
}

/* ===== PAGES CONTAINER ===== */

#pages-container {
    flex: 1;
    padding-top: 100px;
    
    
    background: transparent;
}

/* ===== SCROLLBAR PERSONNALISÉE ===== */

#pages-container::-webkit-scrollbar {
    width: 14px;
}

#pages-container::-webkit-scrollbar-track {
    background: rgba(26, 29, 46, 0.3);
}

#pages-container::-webkit-scrollbar-thumb {
    background: #8a2be2;
    border-radius: 6px;
}

#pages-container::-webkit-scrollbar-thumb:hover {
    background: #9d3ef3;
}

/* ===== PAGES DU JEU - AFFICHAGE EXCLUSIF ===== */

.game-page {
    display: none !important;
    width: 100%;
    min-height: 100%;
    padding: 0;
    background: transparent;
}

.game-page.active {
    display: block !important;
}


/* Toutes les autres pages gardent leur scroll normal */
#page-team,
#page-stats,
#page-data,
#page-calendar,
#page-competitions,
#page-staff,
#page-training,
#page-recruitment,
#page-transfers,
#page-finances,
#page-info {
    display: none;
    width: 100%;
    min-height: 100%;
}


/* Scrollbar pour toutes les pages */
#page-data::-webkit-scrollbar,
#page-calendar::-webkit-scrollbar,
#page-competitions::-webkit-scrollbar,
#page-staff::-webkit-scrollbar,
#page-training::-webkit-scrollbar,
#page-recruitment::-webkit-scrollbar,
#page-transfers::-webkit-scrollbar,
#page-finances::-webkit-scrollbar,
#page-info::-webkit-scrollbar {
    width: 14px;
}

#page-data::-webkit-scrollbar-track,
#page-calendar::-webkit-scrollbar-track,
#page-competitions::-webkit-scrollbar-track,
#page-staff::-webkit-scrollbar-track,
#page-training::-webkit-scrollbar-track,
#page-recruitment::-webkit-scrollbar-track,
#page-transfers::-webkit-scrollbar-track,
#page-finances::-webkit-scrollbar-track,
#page-info::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

#page-data::-webkit-scrollbar-thumb,
#page-calendar::-webkit-scrollbar-thumb,
#page-competitions::-webkit-scrollbar-thumb,
#page-staff::-webkit-scrollbar-thumb,
#page-training::-webkit-scrollbar-thumb,
#page-recruitment::-webkit-scrollbar-thumb,
#page-transfers::-webkit-scrollbar-thumb,
#page-finances::-webkit-scrollbar-thumb,
#page-info::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border-radius: 6px;
}

#page-data::-webkit-scrollbar-thumb:hover,
#page-calendar::-webkit-scrollbar-thumb:hover,
#page-competitions::-webkit-scrollbar-thumb:hover,
#page-staff::-webkit-scrollbar-thumb:hover,
#page-training::-webkit-scrollbar-thumb:hover,
#page-recruitment::-webkit-scrollbar-thumb:hover,
#page-transfers::-webkit-scrollbar-thumb:hover,
#page-finances::-webkit-scrollbar-thumb:hover,
#page-info::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9d3ef3, #5a0a96);
}

#page-team.active,
#page-stats.active,
#page-data.active,
#page-calendar.active,
#page-competitions.active,
#page-staff.active,
#page-training.active,
#page-recruitment.active,
#page-transfers.active,
#page-finances.active,
#page-info.active {
    display: block !important;
}

/* ===== PAGE TABS (Pour toutes les pages avec onglets) ===== */

.page-tabs,
.dynamics-tabs,
.staff-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.page-tab,
.dynamics-tab,
.staff-tab {
    padding: 12px 28px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.page-tab:hover,
.dynamics-tab:hover,
.staff-tab:hover {
    color: #fff;
}

.page-tab.active,
.dynamics-tab.active,
.staff-tab.active {
    color: #8a2be2;
    border-bottom-color: #8a2be2;
}

/* ===== CONTENU DES PAGES (Padding uniforme) ===== */

.dynamics-content,
.staff-content {
    display: none;
    padding: 40px;
}

.dynamics-content.active,
.staff-content.active {
    display: block;
}

/* ===== PAGE INBOX (CORRECTION LAYOUT HORIZONTAL) ===== */

/* Container principal de la page inbox */
#page-inbox {
    display: grid;
    grid-template-columns: 400px 1fr; /* Liste 400px à gauche, contenu à droite */
    gap: 0;
    height: 100%;
    overflow: visible;
}

/* Section des messages (colonne gauche) */
.messages-section {
    width: 100%;
    background: rgba(26, 29, 46, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid #3a3a52;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.messages-header {
    padding: 20px;
    border-bottom: 1px solid #3a3a52;
}

.messages-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
    color: white;
}

.subtitle {
    font-size: 15px;
    color: #888;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    border-bottom: 1px solid #3a3a52;
    font-size: 16px;
}

.tab {
    padding: 10px 0;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    color: #888;
    transition: all 0.3s;
}

.tab:hover {
    color: white;
}

.tab.active {
    border-bottom-color: #8a2be2;
    color: white;
}

.search-box {
    padding: 15px;
}

.search-box input {
    width: 100%;
    padding: 10px;
    background: #3a3a52;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.5);
}

.search-box h3 {
    margin-top: 15px;
    font-size: 17px;
    color: white;
}



/* Scrollbar pour la liste des messages */
.messages-list::-webkit-scrollbar {
    width: 6px;
}

.messages-list::-webkit-scrollbar-track {
    background: rgba(20, 20, 40, 0.5);
}

.messages-list::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.5);
    border-radius: 3px;
}

.messages-list::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.7);
}

.message-item {
    padding: 15px 20px;
    border-bottom: 1px solid #3a3a52;
    cursor: pointer;
    transition: background 0.3s;
}

.message-item:hover {
    background: #353550;
}

.message-item.important {
    border-left: 4px solid #8a2be2;
}

.message-item.selected {
    background: #3a3a52;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}

.message-sender {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    font-weight: 600;
}

.message-time {
    color: #888;
    font-size: 15px;
}

.message-subject {
    font-size: 16px;
    font-weight: 500;
    color: #aaa;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

/* Zone de contenu (colonne droite) */
.content-area {
    flex: 1;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 30px;
}

/* Scrollbar pour la zone de contenu */
.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: rgba(20, 20, 40, 0.5);
}

.content-area::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.5);
    border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb:hover {
    background: rgba(138, 43, 226, 0.7);
}

.article {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 10px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.article-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.club-badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.article-title-section {
    flex: 1;
}

.author {
    color: #888;
    font-size: 16px;
    margin-bottom: 8px;
}

.main-title {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.intro-box {
    background: rgba(138, 43, 226, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    line-height: 1.6;
    border-left: 4px solid #8a2be2;
    color: #aaa;
}

.article-heading {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 25px;
    color: white;
}

.article-text {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #b0b0b0;
}

/* ===== NOTIFICATIONS ===== */

.notification {
    position: fixed;
    top: 80px;
    right: 20px;
    padding: 16px 24px;
    background: #1a1d2e;
    border: 2px solid #2a2d3a;
    border-radius: 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-color: #4ade80;
    background: linear-gradient(135deg, #1a1d2e, #1a2e1d);
}

.notification-error {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, #1a1d2e, #2e1a1a);
}

.notification-warning {
    border-color: #ffa500;
    background: linear-gradient(135deg, #1a1d2e, #2e2a1a);
}
/* ===== PARTIE 4/5 : PAGES ÉQUIPE + STATISTIQUES + DATA CENTER ===== */

/* ===== PAGE ÉQUIPE ===== */

.team-filters {
    padding: 25px 40px;
    background: rgba(26, 29, 46, 0.3);
    backdrop-filter: blur(10px);
}

.game-filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-filter-btn {
    padding: 10px 20px;
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.game-filter-btn:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
}

.game-filter-btn.active {
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-color: #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

#page-team > div:not(.page-tabs):not(.team-filters) {
    padding: 30px 40px;
}

/* ===== TEAM TABLE ===== */

.team-table-container {
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: visible;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.team-table {
    width: 100%;
    border-collapse: collapse;
}

.team-table thead {
    background: rgba(42, 45, 58, 0.6);
}

.team-table th {
    padding: 16px;
    text-align: left;
    color: #888;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.team-table tbody tr {
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
    transition: background 0.2s;
}

.team-table tbody tr:hover {
    background: rgba(138, 43, 226, 0.1);
}

.team-table td {
    padding: 16px;
    font-size: 17px;
    color: #ddd;
}

.col-select {
    width: 40px;
}

.col-select input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.col-status {
    width: 50px;
    text-align: center;
}

.status-icon {
    font-size: 19px;
}

.col-name {
    min-width: 200px;
}

.player-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-flag {
    font-size: 21px;
}

.player-name-text {
    font-weight: 600;
    color: white;
}

.col-role {
    width: 150px;
}

.player-role {
    background: rgba(138, 43, 226, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    color: #da70d6;
    display: inline-block;
}

.col-moral {
    width: 100px;
    text-align: center;
}

.moral-icon {
    font-size: 24px;
}

.col-satisfaction {
    width: 150px;
}

.satisfaction-text {
    font-size: 16px;
    font-weight: 500;
}

.satisfaction-content {
    color: #7FFF00;
}

.satisfaction-satisfait {
    color: #90EE90;
}

.satisfaction-neutre {
    color: #FFD700;
}

.satisfaction-mecontent {
    color: #FFA500;
}

.satisfaction-tres-mecontent {
    color: #FF4500;
}

.col-rating {
    width: 100px;
    text-align: center;
}

.player-rating {
    font-size: 19px;
    font-weight: 700;
    color: #8a2be2;
}

.team-footer {
    padding: 20px 0;
    color: #888;
    font-size: 17px;
}

/* ===== PAGE STATISTIQUES (DYNAMICS) ===== */

.dynamics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 10px;
}

.dynamics-agent {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-photo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-radius: 50%;
}

.agent-info h3 {
    font-size: 21px;
    color: white;
    margin: 0 0 5px 0;
}

.agent-role {
    font-size: 16px;
    color: #888;
    margin: 0;
}

.meeting-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border: 2px solid #8a2be2;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.meeting-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.dynamics-intro {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: rgba(60, 60, 90, 0.3);
    border-left: 4px solid #8a2be2;
    border-radius: 6px;
}

/* ===== DYNAMICS CARDS ===== */

.dynamics-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.dynamics-card {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 38px;
}

.card-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffa500;
    letter-spacing: 1px;
}

.card-status {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
}

.card-status.catastrophic {
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    color: #ff6b6b;
}

.card-status.average {
    background: rgba(255, 165, 0, 0.3);
    border: 2px solid rgba(255, 165, 0, 0.5);
    color: #ffa500;
}

.card-status.good {
    background: rgba(50, 205, 50, 0.3);
    border: 2px solid rgba(50, 205, 50, 0.5);
    color: #7FFF00;
}

.card-description {
    font-size: 17px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.team-cohesion-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cohesion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 6px;
}

.cohesion-status {
    width: 14px;
    height: 12px;
    border-radius: 50%;
}

.cohesion-status.bad {
    background: #ff6b6b;
}

.cohesion-status.medium {
    background: #ffa500;
}

.cohesion-status.good {
    background: #7FFF00;
}

.atmosphere-points,
.support-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.point {
    font-size: 16px;
    line-height: 1.5;
    padding-left: 25px;
    position: relative;
}

.point.positive {
    color: #7FFF00;
}

.point.warning {
    color: #ffa500;
}

.point.negative {
    color: #ff6b6b;
}

/* ===== DYNAMICS BOTTOM ===== */

.dynamics-bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.influents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.influent-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 8px;
    text-align: center;
}

.influent-photo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8a2be2 0%, #da70d6 100%);
    border-radius: 50%;
    margin-bottom: 10px;
}

.influent-name {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.influent-role {
    font-size: 15px;
    color: #888;
}

.problems-content {
    padding: 20px;
    background: rgba(60, 60, 90, 0.3);
    border-radius: 8px;
    text-align: center;
    color: #888;
    font-size: 17px;
}

@media (max-width: 1200px) {
    .dynamics-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .dynamics-bottom-section {
        grid-template-columns: 1fr;
    }
}

/* ===== PAGE DATA CENTER ===== */

.data-center-filters {
    padding: 25px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.data-center-content {
    padding: 40px;
}

.data-game-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #aaa;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.data-game-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.data-game-btn.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: #6366f1;
    color: white;
}

/* ===== ANALYST CARD ===== */

.analyst-card,
.upcoming-matches-section,
.opponent-reports-section {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.analyst-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.analyst-photo {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.analyst-info h3 {
    font-size: 21px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.analyst-info p {
    font-size: 16px;
    color: #888;
    margin-bottom: 8px;
}

/* Prochains matchs - Affichage horizontal */
.upcoming-matches-list {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.upcoming-match-card {
    flex: 1;
    min-width: 250px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.upcoming-match-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.upcoming-match-logo {
    flex-shrink: 0;
}

.upcoming-match-info {
    flex: 1;
}

.upcoming-match-opponent {
    font-size: 21px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.upcoming-match-date {
    font-size: 17px;
    color: #00d4ff;
    margin-bottom: 3px;
}

.upcoming-match-location {
    font-size: 16px;
    color: #999;
}

/* ===== OPPONENT REPORTS ===== */

.opponent-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.opponent-report-card {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.opponent-report-card:hover {
    background: rgba(26, 29, 46, 0.8);
    border-color: rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

.opponent-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opponent-logo {
    font-size: 38px;
}

.opponent-name {
    flex: 1;
}

.opponent-name h3 {
    font-size: 19px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.opponent-name p {
    font-size: 15px;
    color: #888;
}

.opponent-insights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insight-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.insight-icon {
    font-size: 19px;
    margin-top: 2px;
}

.insight-text {
    flex: 1;
}

.insight-label {
    font-size: 15px;
    color: #888;
    margin-bottom: 4px;
}

.insight-value {
    font-size: 16px;
    color: white;
    font-weight: 500;
}

.insight-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.insight-chip {
    padding: 4px 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 600;
}
/* ===== PARTIE 5/5 : CALENDRIER + STAFF + FINAL ===== */

/* ===== PAGE CALENDRIER ===== */

.calendar-filters {
    padding: 25px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.calendar-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-left {
    display: flex;
    gap: 12px;
}

.filter-right {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.season-select,
.game-select {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.season-select:hover,
.game-select:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-icon-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

#calendar-matches > div:not(.calendar-filters) {
    padding: 30px 40px;
}

.calendar-content {
    display: none;
}

.calendar-content.active {
    display: block;
}

/* ===== NEXT MATCH CARD ===== */

.next-match-card {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(139, 92, 246, 0.15));
    border: 2px solid rgba(249, 115, 22, 0.3);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.next-match-header {
    font-size: 15px;
    font-weight: 600;
    color: #f97316;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.next-match-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.next-match-teams {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.next-match-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.next-match-logo {
    font-size: 56px;
}

.next-match-name {
    font-size: 19px;
    font-weight: 600;
    color: white;
}

.next-match-vs {
    font-size: 24px;
    font-weight: 700;
    color: #888;
}

.next-match-info {
    text-align: right;
}

.next-match-date {
    font-size: 21px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.next-match-time {
    font-size: 17px;
    color: #888;
    margin-bottom: 4px;
}

.next-match-competition {
    font-size: 16px;
    color: #f97316;
    font-weight: 600;
}

/* ===== MATCHES TABLE ===== */

.matches-table-container {
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: visible;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
}

.matches-table thead {
    background: rgba(42, 45, 58, 0.6);
}

.matches-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.matches-table th.sortable {
    cursor: pointer;
    user-select: none;
}

.matches-table th.sortable:hover {
    color: white;
}

.sort-arrow {
    font-size: 13px;
    margin-left: 4px;
}

.matches-table th.text-center {
    text-align: center;
}

.matches-table tbody tr {
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
    transition: all 0.2s;
}

.matches-table tbody tr:hover {
    background: rgba(138, 43, 226, 0.1);
}

.matches-table tbody tr.past-match {
    opacity: 0.6;
}

.matches-table tbody tr.upcoming-match {
    background: rgba(249, 115, 22, 0.05);
}

.matches-table td {
    padding: 16px 20px;
    font-size: 17px;
    color: #ddd;
}

.match-date-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.match-day {
    font-size: 15px;
    color: #888;
}

.match-date-full {
    font-size: 17px;
    font-weight: 600;
    color: white;
}

.match-game-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 6px;
    color: #6366f1;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.match-time {
    font-weight: 600;
    color: white;
}

.match-opponent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.match-location {
    text-align: center;
}

.location-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.location-badge.home {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.location-badge.away {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.match-result {
    text-align: center;
}

.result-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
}

.result-badge.win {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.result-badge.loss {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.result-badge.scheduled {
    background: rgba(234, 179, 8, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.match-competition {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.competition-name {
    font-weight: 600;
    color: white;
}

.competition-split {
    font-size: 15px;
    color: #888;
}

/* ===== PAGINATION ===== */

.calendar-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.pagination-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-info {
    font-size: 16px;
    color: #888;
}

/* ===== PAGE STAFF ===== */

.staff-structure-filters {
    padding: 25px 40px;
    background: rgba(26, 29, 46, 0.3);
    backdrop-filter: blur(10px);
}

.staff-structure-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.staff-structure-btn {
    padding: 12px 24px;
    background: #2a2d3a;
    border: 2px solid #3a3d4a;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s;
}

.staff-structure-btn:hover {
    border-color: #8a2be2;
}

.staff-structure-btn.active {
    background: #8a2be2;
    border-color: #8a2be2;
}

.staff-view {
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
}

.staff-view.hidden {
    display: none;
}

.staff-category-card {
    background: rgba(26, 29, 46, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 28px;
}

.card-header-staff {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #2a2d3a;
}

.card-header-staff h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 5px;
}

.category-description {
    color: #888;
    font-size: 15px;
    margin: 0;
}

.staff-count {
    color: #8a2be2;
    font-size: 21px;
    font-weight: 700;
}

.staff-roles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.staff-role-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: #0f1119;
    border-radius: 8px;
    border-left: 3px solid transparent;
    transition: all 0.3s;
}

.staff-role-row:hover {
    background: #1a1d2e;
}

.staff-role-row.filled {
    border-left-color: #4ade80;
}

.staff-role-row.empty {
    border-left-color: #ff6b6b;
    opacity: 0.6;
}

.role-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.role-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    background: #2a2d3a;
}

.role-icon.filled {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
}

.role-details {
    flex: 1;
}

.role-title {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 3px;
}

.role-subtitle {
    color: #888;
    font-size: 15px;
}

.role-status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.role-status-badge.filled {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.role-status-badge.empty {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.role-status-badge.needed {
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
}

/* ===== ANIMATION ===== */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.staff-category-card {
    animation: slideIn 0.4s ease-out;
}

/* ===== FORCER L'AFFICHAGE DU CONTENU ===== */

.upcoming-matches-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.opponent-reports-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
    gap: 20px !important;
}

.upcoming-matches-section,
.opponent-reports-section {
    display: block !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

.calendar-tab-content {
    display: block !important;
    width: 100% !important;
    min-height: 400px !important;
}

.matches-table-container {
    display: block !important;
    width: 100% !important;
    min-height: 300px !important;
}

.next-match-card {
    display: block !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

.matches-table {
    display: table !important;
    width: 100% !important;
}

/* ===== PAGE HOME ===== */

#page-home {
    padding: 40px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
    .dynamics-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .dynamics-bottom-section {
        grid-template-columns: 1fr;
    }
    
    .staff-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .game-modes {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    .modal-header h2 {
        font-size: 28px;
    }
    
    .creation-content-fm {
        grid-template-columns: 1fr;
    }
}

/* ===== IMAGES DES JOUEURS ===== */

.player-image,
.coach-image {
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(138, 43, 226, 0.5);
    background: rgba(26, 29, 46, 0.6);
}

.player-image-small,
.coach-image-small {
    width: 32px;
    height: 32px;
}

.player-image-medium,
.coach-image-medium {
    width: 60px;
    height: 60px;
}

.player-image-large,
.coach-image-large {
    width: 120px;
    height: 120px;
}

.player-image.default-image,
.coach-image.default-image {
    opacity: 0.6;
    filter: grayscale(50%);
}

/* ===== LOGOS D'ÉQUIPES ===== */

.team-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: visible;
}
.team-logo-header .team-logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.team-logo-header {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    flex-shrink: 0;
}
/* Image du logo */
.team-logo-header .team-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Emoji du logo */
.team-logo-header .team-logo-emoji {
    font-size: 28px;
}

/* Forcer la suppression du texte par défaut */
.team-logo-header::before {
    content: '';
    display: none;
}
.team-logo-small {
    width: 32px;
    height: 32px;
}

.team-logo-medium {
    width: 50px;
    height: 50px;
}

.team-logo-large {
    width: 80px;
    height: 80px;
}

.team-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-logo-emoji {
    font-size: 28px;
}

.team-logo-small .team-logo-emoji {
    font-size: 21px;
}

.team-logo-large .team-logo-emoji {
    font-size: 40px;
}

/* ===== PLAYER NAME AVEC IMAGE ===== */

.player-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-name .player-image {
    flex-shrink: 0;
}

/* ===== PAGE ENTRAÎNEMENT ===== */

.training-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
    overflow-x: auto;
}

.training-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.training-tab:hover {
    color: #fff;
}

.training-tab.active {
    color: #8a2be2;
    border-bottom-color: #8a2be2;
}

.training-content {
    display: none;
    padding: 30px 40px;
}

.training-content.active {
    display: block;
}

/* Header */
.training-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
}

.training-coach-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coach-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.coach-details h3 {
    color: #ffa500;
    font-size: 19px;
    margin-bottom: 4px;
}

.coach-details p {
    color: #888;
    font-size: 16px;
}

.training-week-selector {
    display: flex;
    align-items: center;
    gap: 20px;
}

.week-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 21px;
    cursor: pointer;
    transition: all 0.3s;
}

.week-nav-btn:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
}

#current-training-week {
    font-size: 17px;
    color: white;
    text-align: center;
    line-height: 1.4;
    min-width: 200px;
}

.training-calendar-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: 2px solid #8a2be2;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.training-calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

/* Filtres d'équipe */
.training-team-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.training-team-filter-btn {
    padding: 10px 20px;
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.training-team-filter-btn:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
}

.training-team-filter-btn.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-color: #8a2be2;
}

/* Planning de la semaine */
.training-schedule {
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 30px;
}

.schedule-header {
    display: grid;
    grid-template-columns: 120px repeat(3, 1fr) 200px;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(42, 45, 58, 0.6);
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.schedule-label {
    font-size: 16px;
    color: #888;
    font-weight: 600;
    text-align: center;
}

.schedule-intensity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    color: #888;
    text-align: center;
}

.schedule-days {
    padding: 10px;
}

.schedule-day-row {
    display: grid;
    grid-template-columns: 120px repeat(3, 1fr) 200px;
    gap: 10px;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
}

.schedule-day-row:last-child {
    border-bottom: none;
}

.day-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.day-name {
    font-size: 17px;
    font-weight: 600;
    color: white;
}

.day-date {
    font-size: 15px;
    color: #888;
}

.session-card {
    background: rgba(60, 60, 90, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.session-card:hover {
    background: rgba(80, 80, 110, 0.8);
    border-color: #8a2be2;
    transform: translateY(-2px);
}

.session-card.match {
    background: rgba(255, 165, 0, 0.2);
    border-color: #ffa500;
}

.session-card.rest {
    background: rgba(50, 205, 50, 0.2);
    border-color: #32cd32;
}

.session-card.travel {
    background: rgba(100, 100, 120, 0.4);
    border-color: #666;
}

.session-type {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 6px;
}

.session-focus {
    font-size: 14px;
    color: #aaa;
}

.session-opponent {
    font-size: 15px;
    color: #ffa500;
    font-weight: 600;
}

.intensity-bar-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.intensity-bar {
    width: 100%;
    height: 8px;
    background: rgba(40, 40, 60, 0.6);
    border-radius: 4px;
    overflow: visible;
}

.intensity-fill {
    height: 100%;
    background: linear-gradient(to right, #32cd32, #ffa500, #ff4500);
    border-radius: 4px;
    transition: width 0.3s;
}

.intensity-percentage {
    font-size: 15px;
    color: white;
    font-weight: 600;
}

/* Sections du bas */
.training-bottom-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.training-satisfaction-card,
.training-performance-card,
.training-medical-card {
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.training-satisfaction-card h3,
.training-performance-card h3,
.training-medical-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.satisfaction-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-icon {
    font-size: 24px;
}

#satisfaction-details {
    font-size: 16px;
    color: #aaa;
    line-height: 1.5;
}

.performer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 8px;
    margin-bottom: 10px;
}

.performer-rating {
    font-size: 19px;
    font-weight: 700;
    min-width: 40px;
}

.performer-rating.good {
    color: #7FFF00;
}

.performer-rating.bad {
    color: #ff6b6b;
}

.performer-name {
    flex: 1;
    font-size: 17px;
    color: white;
}

.medical-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.medical-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: #8a2be2;
}

.stat-label {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-top: 5px;
}

.risk-player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: rgba(220, 20, 60, 0.2);
    border-left: 3px solid #ff6b6b;
    border-radius: 6px;
    margin-bottom: 8px;
}

.risk-player-name {
    font-size: 16px;
    color: white;
}

.risk-level {
    font-size: 15px;
    padding: 4px 10px;
    background: rgba(220, 20, 60, 0.3);
    border-radius: 6px;
    color: #ff6b6b;
    font-weight: 600;
}

@media (max-width: 1400px) {
    .training-bottom-sections {
        grid-template-columns: 1fr;
    }
}


/* ===== SESSIONS VIDES ET VERROUILLÉES ===== */

.session-card.empty {
    background: rgba(40, 40, 60, 0.3);
    border: 2px dashed rgba(138, 43, 226, 0.4);
    cursor: pointer;
}

.session-card.empty:hover {
    background: rgba(60, 60, 90, 0.5);
    border-color: #8a2be2;
}

.session-card.locked {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}

.session-locked-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 19px;
}

.remove-session-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(220, 20, 60, 0.8);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 19px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-session-btn:hover {
    background: #dc143c;
    transform: scale(1.1);
}

/* ===== MODAL SÉLECTION ENTRAÎNEMENT ===== */

.training-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

.training-modal.show {
    opacity: 1;
}

.training-modal-content {
    background: linear-gradient(135deg, #2a1a4e 0%, #1a1a3e 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 16px;
    padding: 40px;
    max-width: 1000px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(138, 43, 226, 0.4);
}

.training-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.training-modal-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.close-training-modal {
    width: 40px;
    height: 40px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-training-modal:hover {
    background: rgba(220, 20, 60, 0.5);
    transform: rotate(90deg);
}

.training-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.training-type-card {
    background: linear-gradient(135deg, rgba(60, 60, 90, 0.6), rgba(40, 40, 70, 0.6));
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.training-type-card:hover {
    background: linear-gradient(135deg, rgba(80, 80, 110, 0.8), rgba(60, 60, 90, 0.8));
    border-color: #8a2be2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.5);
}

.training-type-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.training-type-name {
    font-size: 19px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.training-type-focus {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 12px;
}

.training-type-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 14px;
    color: #8a2be2;
    font-weight: 600;
}

/* ===== PAGE RECRUTEMENT ===== */

.recruitment-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
    overflow-x: auto;
}

.recruitment-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.recruitment-tab:hover {
    color: #fff;
}

.recruitment-tab.active {
    color: #ffa500;
    border-bottom-color: #ffa500;
}

.recruitment-content {
    display: none;
    padding: 30px 40px;
}

.recruitment-content.active {
    display: block;
}

/* Header */
.recruitment-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.mercato-status {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 12px;
    min-width: 200px;
}

.mercato-icon {
    font-size: 56px;
}

.mercato-label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.mercato-value {
    font-size: 19px;
    color: #4CAF50;
    font-weight: 700;
}

.mercato-days {
    font-size: 14px;
    color: #aaa;
}

.recruitment-budget {
    display: flex;
    gap: 15px;
    flex: 1;
    overflow-x: auto;
}

.budget-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    min-width: 250px;
}

.budget-icon {
    font-size: 42px;
}

.budget-label {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.budget-value {
    font-size: 24px;
    color: #ffa500;
    font-weight: 700;
}

.budget-sub {
    font-size: 13px;
    color: #aaa;
}

/* Sections */
.recruitment-section {
    margin-bottom: 30px;
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #ffa500;
    letter-spacing: 1px;
}

.setup-team-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.setup-team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

/* Recommendation card */
.recommendation-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(60, 60, 90, 0.4);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    margin-bottom: 15px;
}

.recommendation-icon {
    font-size: 56px;
}

.recommendation-content {
    flex: 1;
}

.recommendation-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.recommendation-content p {
    font-size: 15px;
    color: #aaa;
    line-height: 1.5;
}

.action-btn {
    padding: 10px 20px;
    background: rgba(138, 43, 226, 0.3);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.action-btn:hover {
    background: rgba(138, 43, 226, 0.5);
    border-color: #8a2be2;
}

.confirm-btn {
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.3);
    border: 2px solid rgba(76, 175, 80, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.confirm-btn:hover {
    background: rgba(76, 175, 80, 0.5);
}

/* Network */
.recruitment-network-card {
    padding: 20px;
}

.network-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #ffa500;
}

.network-icon {
    font-size: 28px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #1a1d2e 0%, #2a2d4e 100%);
    border-radius: 12px;
    border: 2px solid rgba(138, 43, 226, 0.3);
}

.map-region {
    position: absolute;
    font-size: 56px;
    cursor: pointer;
    transition: all 0.3s;
}

.map-region:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.8));
}

/* ===== SCOUT PLAYERS DATABASE ===== */

.player-search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.filter-group select,
.filter-group input {
    padding: 10px;
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 16px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #8a2be2;
}

.generate-players-btn {
    grid-column: 1 / -1;
    padding: 12px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.generate-players-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.results-counter {
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #ffa500;
    font-weight: 600;
}

.scout-players-table {
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    overflow: visible;
}

.scout-players-table table {
    width: 100%;
    border-collapse: collapse;
}

.scout-players-table thead {
    background: rgba(42, 45, 58, 0.8);
}

.scout-players-table th {
    padding: 15px 10px;
    text-align: left;
    font-size: 15px;
    color: #888;
    font-weight: 700;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.scout-players-table tbody tr {
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
    transition: all 0.3s;
}

.scout-players-table tbody tr:hover {
    background: rgba(60, 60, 90, 0.4);
}

.scout-players-table td {
    padding: 12px 10px;
    font-size: 16px;
    color: white;
}

.scout-player-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.scout-player-skill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
}

.skill-elite {
    background: rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.skill-excellent {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.skill-good {
    background: rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

.skill-average {
    background: rgba(255, 152, 0, 0.3);
    color: #FF9800;
}

.skill-poor {
    background: rgba(244, 67, 54, 0.3);
    color: #F44336;
}

.scout-action-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.scout-action-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.5);
}
.setup-team-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: 2px solid #8a2be2;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.setup-team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}
/* ===== PAGE TRANSFERTS ===== */

.transfers-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 40px;
    background: rgba(26, 29, 46, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
    overflow-x: auto;
}

.transfers-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 17px;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    white-space: nowrap;
}

.transfers-tab:hover {
    color: #fff;
}

.transfers-tab.active {
    color: #ffa500;
    border-bottom-color: #ffa500;
}

.transfers-content {
    display: none;
    padding: 30px 40px;
}

.transfers-content.active {
    display: block;
}

/* Header */
.transfers-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: stretch;
}

.transfers-responsibility {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    min-width: 300px;
}

.responsibility-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.responsibility-label {
    font-size: 13px;
    color: #888;
    font-weight: 700;
    letter-spacing: 1px;
}

.responsibility-name {
    font-size: 19px;
    color: #ffa500;
    font-weight: 700;
    margin-top: 4px;
}

.responsibility-role {
    font-size: 15px;
    color: #aaa;
}

.transfers-recruitment-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 250px;
}

.transfers-recruitment-link:hover {
    border-color: #ffa500;
    background: rgba(40, 40, 60, 0.8);
}

.recruitment-icon {
    font-size: 56px;
}

.recruitment-label {
    font-size: 15px;
    color: #ffa500;
    font-weight: 700;
}

.recruitment-value {
    font-size: 19px;
    color: white;
    font-weight: 700;
}

.recruitment-sub {
    font-size: 14px;
    color: #888;
}

.transfers-budgets {
    display: flex;
    gap: 15px;
    flex: 1;
}

.budget-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    flex: 1;
}

/* Sections */
.transfers-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 19px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border-left: 4px solid #ffa500;
    border-radius: 8px;
}

/* Filtres multichoix */
.transfers-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    transition: all 0.3s;
}

.checkbox-label:hover {
    border-color: #8a2be2;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-reset-btn {
    width: 100%;
    padding: 10px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-reset-btn:hover {
    background: rgba(220, 20, 60, 0.5);
}

/* Market tabs */
.market-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.market-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.market-tab:hover {
    background: rgba(60, 60, 90, 0.8);
    border-color: #8a2be2;
}

.market-tab.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-color: #8a2be2;
}

.tab-icon {
    font-size: 19px;
}

/* Results counter */
.results-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 17px;
    color: #ffa500;
    font-weight: 600;
}

.show-starred-btn {
    padding: 8px 16px;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 6px;
    color: #FFD700;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.show-starred-btn:hover {
    background: rgba(255, 215, 0, 0.3);
    border-color: #FFD700;
}

/* Starred section */
.starred-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
}

.starred-title {
    font-size: 19px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 15px;
}

/* Table */
.transfers-table-container {
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    overflow-x: auto;
}

.transfers-table {
    width: 100%;
    border-collapse: collapse;
}

.transfers-table thead {
    background: rgba(42, 45, 58, 0.8);
}

.transfers-table th {
    padding: 15px 12px;
    text-align: left;
    font-size: 15px;
    color: #888;
    font-weight: 700;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    white-space: nowrap;
}

.transfers-table tbody tr {
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
    transition: all 0.3s;
}

.transfers-table tbody tr:hover {
    background: rgba(60, 60, 90, 0.4);
}

.transfers-table td {
    padding: 12px;
    font-size: 16px;
    color: white;
}

.star-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    filter: grayscale(100%);
}

.star-btn.starred {
    filter: grayscale(0%);
    transform: scale(1.2);
}

.star-btn:hover {
    transform: scale(1.3);
}

.player-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.status-available {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.status-negotiation {
    background: rgba(255, 152, 0, 0.3);
    color: #FF9800;
}

.status-unavailable {
    background: rgba(244, 67, 54, 0.3);
    color: #F44336;
}

/* Footer */
.transfers-footer {
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border-top: 2px solid rgba(138, 43, 226, 0.2);
    border-radius: 0 0 12px 12px;
    font-size: 16px;
    color: #aaa;
}

.transfers-footer strong {
    color: white;
    font-weight: 700;
}

.status-freeagent {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.status-contract {
    background: rgba(33, 150, 243, 0.3);
    color: #2196F3;
    border: 1px solid rgba(33, 150, 243, 0.5);
}

/* ===== RECHERCHE DE STAFF ===== */

.staff-search-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.staff-budget-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    flex: 1;
}

.staff-search-section {
    margin-bottom: 30px;
}

.staff-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
}

.staff-market-table-container {
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    overflow-x: auto;
}

.staff-market-table {
    width: 100%;
    border-collapse: collapse;
}

.staff-market-table thead {
    background: rgba(42, 45, 58, 0.8);
}

.staff-market-table th {
    padding: 15px 12px;
    text-align: left;
    font-size: 15px;
    color: #888;
    font-weight: 700;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
    white-space: nowrap;
}

.staff-market-table tbody tr {
    border-bottom: 1px solid rgba(42, 45, 58, 0.3);
    transition: all 0.3s;
}

.staff-market-table tbody tr:hover {
    background: rgba(60, 60, 90, 0.4);
}

.staff-market-table td {
    padding: 12px;
    font-size: 16px;
    color: white;
}

.staff-photo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.staff-level-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
}

.level-elite {
    background: rgba(255, 215, 0, 0.3);
    color: #FFD700;
}

.level-excellent {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.level-verygood {
    background: rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

.level-good {
    background: rgba(255, 152, 0, 0.3);
    color: #FF9800;
}

.level-beginner {
    background: rgba(244, 67, 54, 0.3);
    color: #F44336;
}


/* ===== PAGE FINANCES ===== */

.finances-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.finance-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    transition: all 0.3s;
}

.finance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: #8a2be2;
}

.finance-icon {
    font-size: 56px;
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.6));
}

.finance-label {
    font-size: 14px;
    color: #888;
    font-weight: 700;
    letter-spacing: 1px;
}

.finance-value {
    font-size: 28px;
    color: #ffa500;
    font-weight: 700;
    margin: 4px 0;
}

.finance-change {
    font-size: 15px;
    font-weight: 600;
}

.finance-change.positive {
    color: #4CAF50;
}

.finance-change.negative {
    color: #ff6b6b;
}

.finances-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
}

.finance-chart-section,
.finance-breakdown-section {
    background: rgba(26, 29, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 12px;
    padding: 24px;
}

.finance-chart-section h3,
.finance-breakdown-section h3 {
    font-size: 19px;
    color: #ffa500;
    margin-bottom: 20px;
}

.finance-chart-placeholder {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    min-height: 300px;
}

.finance-breakdown-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 8px;
    font-size: 17px;
}

.breakdown-item.expense {
    background: rgba(255, 107, 107, 0.1);
}

.breakdown-amount {
    font-weight: 700;
    color: #4CAF50;
}

.breakdown-item.expense .breakdown-amount {
    color: #ff6b6b;
}

/* ===== ONGLETS FINANCES ===== */

.finances-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.finances-tab {
    padding: 12px 28px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.finances-tab:hover {
    background: rgba(60, 60, 90, 0.8);
    color: #fff;
    border-color: #8a2be2;
}

.finances-tab.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.finances-content {
    display: none;
}

.finances-content.active {
    display: block;
}

.finances-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
}

/* ===== EMPRUNTS ===== */

.loans-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.loan-summary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
}

.loan-icon {
    font-size: 56px;
}

.loan-label {
    font-size: 14px;
    color: #888;
    font-weight: 700;
    letter-spacing: 1px;
}

.loan-value {
    font-size: 28px;
    color: #ffa500;
    font-weight: 700;
    margin: 4px 0;
}

.loan-sub {
    font-size: 15px;
    color: #aaa;
}

.loans-section {
    margin-bottom: 30px;
}

.loans-section h3 {
    font-size: 19px;
    color: #ffa500;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border-left: 4px solid #ffa500;
    border-radius: 8px;
}

.loans-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loan-item {
    padding: 20px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.loan-request-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: #aaa;
    margin-bottom: 10px;
    font-weight: 600;
}

#loan-amount-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(138, 43, 226, 0.3);
    outline: none;
    margin-bottom: 10px;
}

#loan-amount-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(138, 43, 226, 0.5);
}

.loan-amount-display {
    font-size: 28px;
    color: #ffa500;
    font-weight: 700;
    text-align: center;
}

#loan-duration {
    width: 100%;
    padding: 12px;
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
}

.loan-simulation {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 12px;
    padding: 25px;
}

.loan-simulation h4 {
    font-size: 19px;
    color: #ffa500;
    margin-bottom: 20px;
}

.simulation-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sim-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 8px;
    font-size: 17px;
}

.sim-item.total {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.5);
    font-size: 19px;
}

.loan-conditions {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.loan-conditions h5 {
    font-size: 17px;
    color: #ffa500;
    margin-bottom: 10px;
}

.loan-conditions ul {
    list-style: none;
    padding: 0;
}

.loan-conditions li {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.loan-conditions li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffa500;
}

.loan-request-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.loan-request-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

/* ===== SPONSORS ===== */

.sponsors-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.sponsor-summary-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
}

.sponsor-icon {
    font-size: 56px;
}

.sponsor-label {
    font-size: 14px;
    color: #888;
    font-weight: 700;
    letter-spacing: 1px;
}

.sponsor-value {
    font-size: 28px;
    color: #ffa500;
    font-weight: 700;
    margin: 4px 0;
}

.sponsor-sub {
    font-size: 15px;
    color: #aaa;
}

.sponsors-section {
    margin-bottom: 30px;
}

.sponsors-section h3 {
    font-size: 19px;
    color: #ffa500;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: rgba(26, 29, 46, 0.6);
    border-left: 4px solid #ffa500;
    border-radius: 8px;
}

.sponsors-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.sponsors-filters select {
    flex: 1;
    padding: 12px;
    background: rgba(40, 40, 60, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 17px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sponsor-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: #8a2be2;
}

.sponsor-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sponsor-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.sponsor-name {
    font-size: 21px;
    font-weight: 700;
    color: white;
}

.sponsor-category {
    font-size: 15px;
    color: #888;
}

.sponsor-details {
    margin: 15px 0;
}

.sponsor-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    font-size: 16px;
}

.sponsor-detail-item:last-child {
    border-bottom: none;
}

.sponsor-detail-label {
    color: #888;
}

.sponsor-detail-value {
    color: #ffa500;
    font-weight: 600;
}

.sponsor-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.sponsor-sign-btn {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sponsor-sign-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
}

.sponsor-terminate-btn {
    flex: 1;
    padding: 10px;
    background: rgba(220, 20, 60, 0.3);
    border: 2px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.sponsor-terminate-btn:hover {
    background: rgba(220, 20, 60, 0.5);
}

.sponsor-active-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(76, 175, 80, 0.3);
    border: 1px solid #4CAF50;
    border-radius: 6px;
    color: #4CAF50;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
}

/* ===== PAGE INFOS STRUCTURE ===== */

.structure-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.structure-tab {
    padding: 12px 28px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.structure-tab:hover {
    background: rgba(60, 60, 90, 0.8);
    color: #fff;
    border-color: #8a2be2;
}

.structure-tab.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.structure-content {
    display: none;
}

.structure-content.active {
    display: block;
}

/* === GÉNÉRAL === */

.club-info-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.club-info-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.club-logo-display {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.club-info-details h2 {
    font-size: 38px;
    color: white;
    margin-bottom: 8px;
}

.club-info-details p {
    font-size: 21px;
    color: #ffa500;
    font-weight: 700;
    margin-bottom: 15px;
}

.club-badges {
    display: flex;
    gap: 10px;
}

.club-badge {
    padding: 6px 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    border-radius: 6px;
    font-size: 15px;
    color: #aaa;
}

.color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin: 0 2px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.club-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(40, 40, 60, 0.4);
    border-radius: 12px;
}

.info-icon {
    font-size: 38px;
}

.info-label {
    font-size: 15px;
    color: #888;
    margin-bottom: 4px;
}

.info-value {
    font-size: 19px;
    color: white;
    font-weight: 700;
}

.structure-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 16px;
    padding: 30px;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-header .stat-icon {
    font-size: 42px;
}

.stat-header h3 {
    font-size: 19px;
    color: #ffa500;
}

.stat-main-value {
    font-size: 56px;
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-subtitle {
    font-size: 17px;
    color: #888;
    margin-bottom: 25px;
}

.stat-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    font-size: 17px;
}

.stat-progress {
    margin-top: 20px;
}

.progress-label {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 8px;
}

.progress-bar {
    height: 8px;
    background: rgba(40, 40, 60, 0.6);
    border-radius: 4px;
    overflow: visible;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 4px;
    transition: width 0.3s;
}

.progress-value {
    font-size: 16px;
    color: #4CAF50;
    font-weight: 600;
}

/* Réputation */

.reputation-level {
    color: #ffa500 !important;
}

.reputation-ladder {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.reputation-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    font-size: 17px;
    color: #666;
    position: relative;
}

.reputation-step.completed {
    color: #aaa;
}

.reputation-step.current {
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.5);
    color: #ffa500;
    font-weight: 700;
}

.step-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(100, 100, 120, 0.5);
    border: 2px solid #666;
}

.reputation-step.completed .step-dot {
    background: #4CAF50;
    border-color: #4CAF50;
}

.reputation-step.current .step-dot {
    background: #ffa500;
    border-color: #ffa500;
    box-shadow: 0 0 12px rgba(255, 165, 0, 0.6);
}

.reputation-benefits {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.reputation-benefits h4 {
    font-size: 17px;
    color: #ffa500;
    margin-bottom: 10px;
}

.reputation-benefits ul {
    list-style: none;
    padding: 0;
}

.reputation-benefits li {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.reputation-benefits li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
}

/* === INFRASTRUCTURES === */

.infrastructure-intro {
    background: rgba(138, 43, 226, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 30px;
    font-size: 17px;
    color: #aaa;
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.infrastructure-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.infrastructure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: #8a2be2;
}

.infra-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.infra-icon {
    font-size: 42px;
}

.infra-header h3 {
    font-size: 19px;
    color: white;
    font-weight: 700;
}

.infra-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.current-level {
    font-size: 16px;
    color: #888;
}

.level-name {
    font-size: 17px;
    color: #ffa500;
    font-weight: 700;
}

.infra-description {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 20px;
}

.infra-benefits {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.infra-benefits h4 {
    font-size: 16px;
    color: #888;
    margin-bottom: 10px;
}

.infra-benefits ul {
    list-style: none;
    padding: 0;
}

.infra-benefits li {
    font-size: 15px;
    color: #aaa;
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.infra-benefits li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ffa500;
}

.infra-upgrade {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.upgrade-cost {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 16px;
}

.upgrade-cost span:first-child {
    color: #888;
}

.upgrade-cost span:last-child {
    color: #ffa500;
    font-weight: 700;
    font-size: 19px;
}

.upgrade-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.5);
}

.upgrade-btn:disabled {
    background: rgba(100, 100, 120, 0.3);
    cursor: not-allowed;
    transform: none;
}

/* === HISTORIQUE === */

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.history-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
}

.history-stat-card .stat-icon {
    font-size: 56px;
}

.history-stat-card .stat-value {
    font-size: 42px;
    color: #ffa500;
    font-weight: 700;
}

.history-stat-card .stat-label {
    font-size: 16px;
    color: #888;
}

.history-timeline {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.history-timeline h3 {
    font-size: 21px;
    color: #ffa500;
    margin-bottom: 25px;
}

.timeline-content {
    position: relative;
}

.no-history {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-history p:first-child {
    font-size: 21px;
    margin-bottom: 10px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(40, 40, 60, 0.4);
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #8a2be2;
}

.timeline-date {
    font-size: 17px;
    color: #ffa500;
    font-weight: 700;
    min-width: 120px;
}

.timeline-competition {
    flex: 1;
}

.timeline-competition-name {
    font-size: 19px;
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
}

.timeline-result {
    font-size: 17px;
    color: #aaa;
}

.best-results-section {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 30px;
}

.best-results-section h3 {
    font-size: 21px;
    color: #ffa500;
    margin-bottom: 25px;
}

.best-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* ===== PAGE COMPÉTITIONS ===== */

.competitions-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0 0 20px 0;
    border-bottom: 2px solid rgba(138, 43, 226, 0.2);
}

.competitions-tab {
    padding: 12px 28px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.competitions-tab:hover {
    background: rgba(60, 60, 90, 0.8);
    color: #fff;
    border-color: #8a2be2;
}

.competitions-tab.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.competitions-content {
    display: none;
}

.competitions-content.active {
    display: block;
}

/* === VUE D'ENSEMBLE === */

.competitions-search {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.search-filters-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.competitions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.competition-item {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 0;
    overflow: visible;
    transition: all 0.3s;
    cursor: pointer;
}

.competition-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
    border-color: #8a2be2;
}

.competition-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(40, 40, 60, 0.4);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}

.competition-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.competition-icon {
    font-size: 38px;
}

.competition-name {
    font-size: 21px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.competition-subtitle {
    font-size: 16px;
    color: #888;
}

.competition-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
}

.status-badge.ongoing {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.status-badge.upcoming {
    background: rgba(255, 152, 0, 0.2);
    border: 1px solid #ff9800;
    color: #ff9800;
}

.status-badge.finished {
    background: rgba(100, 100, 120, 0.2);
    border: 1px solid #888;
    color: #888;
}

.competition-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding: 25px;
}

/* Format de compétition (gauche) */
.competition-format {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.format-section {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    padding: 15px;
}

.format-section h4 {
    font-size: 17px;
    color: #ffa500;
    margin-bottom: 12px;
}

.match-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(60, 60, 90, 0.4);
    border-radius: 6px;
    margin-bottom: 8px;
}

.match-row:last-child {
    margin-bottom: 0;
}

.team-in-match {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: white;
}

.team-logo-small {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.match-score {
    font-size: 19px;
    font-weight: 700;
    color: #ffa500;
}

.match-vs {
    font-size: 15px;
    color: #888;
}

/* Classement (droite) */
.competition-standings {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    padding: 15px;
}

.competition-standings h4 {
    font-size: 17px;
    color: #ffa500;
    margin-bottom: 12px;
}

.standings-table {
    width: 100%;
}

.standings-table thead {
    border-bottom: 1px solid rgba(138, 43, 226, 0.3);
}

.standings-table th {
    padding: 8px 4px;
    text-align: left;
    font-size: 14px;
    color: #888;
    font-weight: 600;
}

.standings-table tbody tr {
    border-bottom: 1px solid rgba(138, 43, 226, 0.1);
}

.standings-table tbody tr:hover {
    background: rgba(138, 43, 226, 0.1);
}

.standings-table td {
    padding: 10px 4px;
    font-size: 16px;
    color: white;
}

.standings-position {
    font-weight: 700;
    color: #ffa500;
    width: 30px;
}

.standings-team {
    display: flex;
    align-items: center;
    gap: 8px;
}

.standings-team-logo {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.standings-record {
    color: #888;
    font-size: 15px;
}

/* Highlight pour votre équipe */
.standings-table tr.your-team {
    background: rgba(138, 43, 226, 0.2);
    border-left: 3px solid #8a2be2;
}

/* === RÉSULTATS === */

.results-game-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.results-game-btn {
    padding: 12px 24px;
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 8px;
    color: #888;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.results-game-btn:hover {
    background: rgba(60, 60, 90, 0.8);
    color: #fff;
    border-color: #8a2be2;
}

.results-game-btn.active {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    color: white;
    border-color: #8a2be2;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.results-game-view {
    display: none;
}

.results-game-view.active {
    display: block;
}

.results-competitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 20px;
}

.result-competition-card {
    background: rgba(26, 29, 46, 0.6);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    overflow: visible;
}

.result-comp-header {
    padding: 20px;
    background: rgba(40, 40, 60, 0.4);
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.result-comp-name {
    font-size: 21px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.result-comp-info {
    font-size: 16px;
    color: #888;
}

.result-comp-body {
    padding: 20px;
}

.split-format-title {
    font-size: 17px;
    color: #ffa500;
    margin-bottom: 15px;
    font-weight: 700;
}

.split-matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.split-match {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
}

.split-standings {
    background: rgba(40, 40, 60, 0.4);
    border-radius: 8px;
    padding: 15px;
}

.split-standings-title {
    font-size: 16px;
    color: #ffa500;
    margin-bottom: 10px;
    font-weight: 700;
}

.no-competitions {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

.no-competitions-icon {
    font-size: 76px;
    margin-bottom: 20px;
}

.no-competitions p {
    font-size: 19px;
}

/* ===== BOÎTE DE RÉCEPTION ===== */
.inbox-header {
    padding: 25px 30px;
    border-bottom: 1px solid #2a2a2a;
    background: transparent;
}

.inbox-header h1 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
}

.inbox-tabs {
    display: flex;
    gap: 30px;
}

.inbox-tabs .tab {
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
    color: #888;
    font-size: 17px;
    font-weight: 500;
}

.inbox-tabs .tab.active {
    border-bottom-color: #00d4ff;
    color: #00d4ff;
}

.inbox-tabs .tab:hover {
    color: #00d4ff;
}

.inbox-container {
    display: flex;
    height: calc(100vh - 200px);
    gap: 0;
    background: transparent;
}

.messages-list {
    flex: 0 0 380px;
    width: 380px;
    overflow-y: auto;
    border-right: 1px solid #2a2a2a;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.message-item {
    padding: 18px 25px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    position: relative;
}

.message-item:hover {
    background: rgba(0, 212, 255, 0.05);
}

.message-item.unread {
    background: transparent;
}

.message-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00d4ff;
}

.message-item .message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.message-sender {
    font-weight: 600;
    color: #00d4ff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-date {
    color: #666;
    font-size: 14px;
}

.message-subject {
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.3;
}

.message-preview {
    color: #777;
    font-size: 16px;
    line-height: 1.4;
    overflow: visible;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.message-content {
    flex: 1;
    overflow-y: auto;
    background: transparent;
    padding: 0;
}

.no-message-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #555;
    font-size: 18px;
}

.message-full {
    padding: 40px 50px;
    max-width: 1100px;
}

.back-to-inbox {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 30px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 16px;
    font-weight: 500;
}

.back-to-inbox:hover {
    background: #00d4ff;
    color: #000;
    border-color: #00d4ff;
}

.message-full-header {
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.message-full-header h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}

.message-meta {
    display: flex;
    gap: 25px;
    color: #999;
    font-size: 17px;
}

.sender-name {
    color: #00d4ff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.message-full-body {
    color: #ddd;
    line-height: 1.9;
    font-size: 19px;
}

.message-full-body p {
    margin-bottom: 20px;
}

.message-full-body strong {
    color: #fff;
    font-weight: 600;
}

.message-full-body a {
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px solid #00d4ff;
    transition: all 0.2s;
    padding-bottom: 2px;
}

.message-full-body a:hover {
    color: #00f0ff;
    border-bottom-color: #00f0ff;
}

.no-messages {
    padding: 80px 20px;
    text-align: center;
    color: #555;
    font-size: 18px;
}
/* ===== ÉCRAN DE CHARGEMENT ===== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b4e 50%, #1a1d2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-content {
    text-align: center;
    max-width: 600px;
    width: 90%;
}

.loading-title {
    font-size: 50px;
    color: #00d4ff;
    margin-bottom: 50px;
    font-weight: 700;
    letter-spacing: 3px;
}

.loading-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    margin-bottom: 25px;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00d4ff, #00f0ff);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px #00d4ff;
}

.loading-text {
    color: #fff;
    font-size: 19px;
    opacity: 0.8;
}


.opponent-reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.opponent-report-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.opponent-report-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.opponent-logo {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.opponent-name {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.view-report-btn {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    transition: all 0.3s ease;
}

.view-report-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}
/* Jour de match dans le planning */
.match-day-card {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.2), rgba(204, 0, 0, 0.2)) !important;
    border-left: 4px solid #ff4444 !important;
    display: flex !important;
    align-items: center;
    gap: 15px;
}

.match-day-card .session-icon {
    font-size: 38px;
}

.match-day-card .session-title {
    color: #ff4444;
    font-weight: 700;
    font-size: 19px;
}

.match-day-card .session-type {
    color: #fff;
    font-weight: 600;
}

.match-day-card .session-location {
    color: #00d4ff;
    font-size: 16px;
    margin-top: 5px;
}






/* Bouton de test */
.menu-item.test-item {
    background: rgba(255, 68, 68, 0.1);
    border-left: 3px solid #ff4444;
    margin-top: 20px;
}

.menu-item.test-item:hover {
    background: rgba(255, 68, 68, 0.2);
}
/* Écran jour de match */
.match-day-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.match-day-container {
    background: linear-gradient(135deg, #1a1d2e, #16213e);
    border: 2px solid #00d4ff;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    max-width: 800px;
}

.match-day-header h1 {
    font-size: 56px;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.match-day-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    gap: 60px;
}

.match-team {
    flex: 1;
}

.match-team h2 {
    font-size: 38px;
    color: #fff;
    margin-top: 20px;
}

.match-vs {
    font-size: 56px;
    font-weight: 900;
    color: #ff4444;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
}

.match-info {
    margin: 30px 0;
}

.match-info p {
    font-size: 24px;
    color: #00d4ff;
    margin: 10px 0;
}

.launch-match-btn {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    border: none;
    padding: 20px 60px;
    font-size: 28px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.4);
}

.launch-match-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.6);
}

/* ========================================
   DRAFT INTERFACE
   ======================================== */

.draft-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    overflow: visible;
}

.draft-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #0a1428 0%, #1a1d2e 100%);
}

/* Header du draft */
.draft-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.draft-team {
    display: flex;
    align-items: center;
    gap: 20px;
}

.draft-team.blue-side {
    color: #00d4ff;
}

.draft-team.red-side {
    color: #ff4444;
    flex-direction: row-reverse;
}

.draft-team .team-name {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.draft-team .team-score {
    font-size: 38px;
    font-weight: 900;
}

.draft-phase-indicator {
    text-align: center;
}

#draft-timer {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

#draft-action-text {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    margin-top: 10px;
}

/* Zone principale du draft */
.draft-teams-picks {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow: visible;
}

/* Côtés gauche et droite */
.draft-side {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.draft-side.left-side {
    background: linear-gradient(90deg, rgba(0, 100, 200, 0.1), transparent);
}

.draft-side.right-side {
    background: linear-gradient(270deg, rgba(200, 0, 0, 0.1), transparent);
}

/* Slots de picks */
.draft-picks-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pick-slot {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 80px;
    position: relative;
}

.pick-slot.picked {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.pick-slot img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center 10%; /* ✅ AJOUTÉ - descend l'image */
}

.pick-icon {
    font-size: 38px;
}

.pick-role {
    font-size: 17px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
}

.pick-champion-name {
    font-size: 19px;
    font-weight: 600;
    color: #fff;
}

/* Bans */
.draft-bans-container {
    margin-top: 20px;
}

.bans-label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.bans-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.ban-slot {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
}


.ban-slot.banned {
    border-color: #ff4444;
}

.ban-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(100%) brightness(0.3);
}

.ban-slot.banned::after {
    content: '🚫';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    z-index: 2;
}

/* Zone centrale - Sélection de champions */
.draft-champion-select {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
}

.champion-select-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.champion-filters {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #00d4ff;
}

.filter-btn.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #000;
}

#champion-search {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 17px;
}

#champion-search:focus {
    outline: none;
    border-color: #00d4ff;
}

/* Grille des champions */
.champions-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, 70px); /* ✅ 50px → 70px */
    gap: 6px;
    overflow-y: auto;
    padding: 10px;
    justify-content: start;
}

.champion-card {
    width: 70px; /* ✅ 50px → 70px */
    height: 70px; /* ✅ 50px → 70px */
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: visible;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.champion-card:hover .champion-name {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    z-index: 10;
}

/* Agrandir au hover */
.champion-card:hover {
    transform: scale(1.5);
    z-index: 100;
    border-color: #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.5);
}

.champion-card.selected {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.champion-card.disabled {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(100%);
}

.champion-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%; /* ✅ AJOUTÉ - descend l'image */
}

.champion-name {
    display: none;
}

/* Bouton de confirmation */
.confirm-btn {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 21px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.confirm-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.confirm-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    cursor: not-allowed;
}

/* Scrollbar personnalisée */
.champions-grid::-webkit-scrollbar {
    width: 8px;
}

.champions-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.champions-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 4px;
}

.champions-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.8);
}

/* Écran de chargement du match */
.match-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.match-loading-container {
    text-align: center;
}

.match-loading-container h1 {
    font-size: 56px;
    color: #00d4ff;
    margin-bottom: 40px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.loading-bar {
    width: 500px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: visible;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    width: 0%;
    transition: width 0.1s linear;
}

.loading-text {
    margin-top: 20px;
    color: #888;
    font-size: 21px;
}

/* ========================================
   SIMULATION DU MATCH
   ======================================== */

.match-simulation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1923 0%, #1a2332 100%);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.match-simulation-container {
    width: 95%;
    height: 95%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(15, 25, 35, 0.95);
    border: 2px solid rgba(255, 70, 85, 0.3);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* ✨ HEADER REDESIGNÉ */
.match-sim-header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 15px 30px;
    background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}
.team-header-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.team-header-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.team-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-header-card.blue-side {
    border-left: 3px solid #00d4ff;
}

.team-header-card.red-side {
    border-right: 3px solid #ff4444;
    flex-direction: row-reverse;
}

.team-name-sim {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
}

.team-score {
    font-size: 56px;
    font-weight: 900;
}
.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,212,255,0.3);
}
.team-header-card.red-side .logo-circle {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 4px 12px rgba(255,68,68,0.3);
}

.team-info-match {
    flex: 1;
}
.logo-opponent {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    box-shadow: 0 4px 12px rgba(255,68,68,0.3);
}
.team-name-sim {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.team-record {
    font-size: 15px;
    color: #888;
    margin-top: 4px;
}

.team-score-card {
    text-align: center;
    padding: 0 20px;
}

.score-number {
    font-size: 50px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.score-label {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-top: 4px;
}
.team-gold {
    font-size: 24px;
    font-weight: 600;
    color: #ffd700;
}
.team-logo-match {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.match-timer {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
/* TIMER CENTRAL */
.match-timer-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 20px 40px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.timer-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.timer-number {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
    font-family: 'Courier New', monospace;
}

.timer-label {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-top: 8px;
}
/* Zone des joueurs */
.match-sim-players {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow: visible;
}

.team-players {
    width: 350px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.left-team .player-row {
    border-left: 3px solid #00d4ff;
}

.right-team .player-row {
    border-right: 3px solid #ff4444;
    flex-direction: row-reverse;
}

.player-champion {
    position: relative;
    width: 60px;
    height: 60px;
}

.player-champion img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 30%;
    border: 2px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05); /* ✅ Fallback si image ne charge pas */
}
.player-champion img[src=""],
.player-champion img:not([src]) {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}
.player-level {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #000;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.player-name {
    flex: 1;
    font-size: 19px;
    font-weight: 600;
    color: #fff;
}

.player-stats {
    display: flex;
    gap: 15px;
    font-size: 17px;
}

.kda {
    color: #fff;
    font-weight: 600;
}

.cs {
    color: #888;
}

.gold {
    color: #ffd700;
    font-weight: 600;
}

/* Zone centrale d'animation */
.match-center-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.match-animation-area {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kill-feed, .objective-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed-item {
    background: rgba(0, 0, 0, 0.8);
    border-left: 3px solid #ff4444;
    padding: 12px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    animation: slideIn 0.3s ease;
}

.feed-item.objective {
    border-left-color: #ffd700;
    color: #ffd700;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Footer avec objectifs */
.match-sim-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.objectives-left, .objectives-right {
    display: flex;
    gap: 30px;
}

.objective-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.speed-controls {
    display: flex;
    gap: 10px;
}

.speed-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.speed-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.speed-btn.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #000;
}

/* Graphiques */
.gold-graph-container, .kills-graph-container {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.graph-title {
    text-align: center;
    font-size: 17px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 10px;
}

.kills-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kills-bar {
    position: relative;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: visible;
}

.kills-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.kills-bar.blue .kills-bar-fill {
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

.kills-bar.red .kills-bar-fill {
    background: linear-gradient(90deg, #ff4444, #cc0000);
}

.kills-bar span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    text-shadow: 0 0 4px #000;
}

.live-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.stat-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    overflow: visible;
}

.stat-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.stat-fill.blue {
    background: #00d4ff;
}

.stat-fill.red {
    background: #ff4444;
}
/* Onglets de statistiques */
.stats-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px;
    border-radius: 8px;
}

.stats-tab {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #888;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.stats-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.stats-tab.active {
    background: #00d4ff;
    color: #000;
}

/* Vues de statistiques */
.stats-view {
    display: none;
}

.stats-view.active {
    display: block;
}

/* Containers de graphiques */
.graph-container {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

/* Statistiques comparatives */
.comparative-stats {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
    flex: 1;
    text-align: center;
}

.stat-value-blue {
    color: #00d4ff;
    font-size: 21px;
    font-weight: 700;
    width: 80px;
    text-align: right;
}

.stat-value-red {
    color: #ff4444;
    font-size: 21px;
    font-weight: 700;
    width: 80px;
    text-align: left;
}

/* Comparaison par rôle */
.role-comparison {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-vs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.role-icon {
    font-size: 24px;
    width: 30px;
    text-align: center;
}

.role-stat-bar {
    flex: 1;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: visible;
    display: flex;
}

.role-stat-fill.blue {
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

.role-stat-fill.red {
    background: linear-gradient(270deg, #ff4444, #cc0000);
}

/* Timeline */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%);
}

.timeline-event {
    display: flex;
    margin: 15px 0;
    position: relative;
}

.timeline-event.blue {
    justify-content: flex-start;
}

.timeline-event.red {
    justify-content: flex-end;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px 15px;
    max-width: 45%;
    border-left: 3px solid;
}

.event-card.blue {
    border-left-color: #00d4ff;
}

.event-card.red {
    border-left-color: #ff4444;
}

.event-time {
    font-size: 14px;
    color: #888;
    margin-bottom: 3px;
}

.event-description {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}
/* Répartition or par rôle */
.role-gold-comparison {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.role-gold-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.role-info {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100px;
}

.role-icon {
    font-size: 21px;
}

.role-name {
    font-size: 16px;
    font-weight: 600;
    color: #888;
}

.role-gold-bars {
    flex: 1;
    display: flex;
    gap: 10px;
}

.gold-bar-side {
    flex: 1;
    position: relative;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: visible;
}

.gold-bar-side.blue .gold-bar-fill {
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    float: right;
}

.gold-bar-side.red .gold-bar-fill {
    background: linear-gradient(90deg, #ff4444, #cc0000);
    float: left;
}

.gold-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.gold-value {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    z-index: 2;
}

.gold-bar-side.blue .gold-value {
    left: 10px;
}

.gold-bar-side.red .gold-value {
    right: 10px;
}
/* Slot actif (en cours de sélection) */
.ban-slot.active-slot,
.pick-slot.active-slot {
    border: 3px solid #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 68, 68, 1);
    }
}

* 📊 ZONE PRINCIPALE */
.match-sim-players {
    flex: 1;
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow: visible;
}

/* ÉQUIPES LATÉRALES */
.team-players {
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.team-side-label {
    font-size: 17px;
    font-weight: 700;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.blue-label {
    background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,153,255,0.1));
    border: 2px solid rgba(0,212,255,0.3);
    color: #00d4ff;
}

.red-label {
    background: linear-gradient(135deg, rgba(255,68,68,0.2), rgba(204,0,0,0.1));
    border: 2px solid rgba(255,68,68,0.3);
    color: #ff4444;
}

.side-icon {
    font-size: 21px;
}

.team-stats-summary {
    display: flex;
    gap: 10px;
    padding: 0 5px;
}

.stat-mini {
    flex: 1;
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-icon {
    font-size: 17px;
}

/* LIGNES DE JOUEURS MODERNISÉES */
.player-row {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.player-row:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.left-team .player-row {
    border-left: 3px solid #00d4ff;
}

.right-team .player-row {
    border-right: 3px solid #ff4444;
    flex-direction: row-reverse;
}

.player-champion {
    position: relative;
    width: 55px;
    height: 55px;
}

.player-champion img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    object-position: center 30%;
    border: 2px solid rgba(255,255,255,0.2);
}

.player-level {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border: 2px solid #0a0e1a;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.player-name {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.player-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 15px;
    align-items: flex-end;
}

.right-team .player-stats {
    align-items: flex-start;
}

.kda {
    color: #fff;
    font-weight: 700;
}

.cs {
    color: #888;
}

.gold {
    color: #ffd700;
    font-weight: 600;
}

/* 🎨 ZONE CENTRALE MODERNISÉE */
.match-center-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,0.1);
}

/* ONGLETS MODERNES */
.stats-tabs-modern {
    display: flex;
    background: rgba(0,0,0,0.4);
    padding: 8px;
    gap: 6px;
}

.stats-tab-modern {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #888;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.stats-tab-modern:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

.stats-tab-modern.active {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border-color: #00d4ff;
    color: #000;
    box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

.tab-icon {
    font-size: 19px;
}

.tab-text {
    font-size: 15px;
    font-weight: 700;
}

/* CONTENU DES STATS */
.stats-content-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.stats-view {
    display: none;
}

.stats-view.active {
    display: block;
}

/* SECTION TITLES */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* KILL FEED MODERNE */
.kill-feed-container {
    margin-bottom: 20px;
}

.kill-feed-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 150px;
    overflow-y: auto;
}

.feed-item {
    background: linear-gradient(90deg, rgba(255,68,68,0.2), transparent);
    border-left: 3px solid #ff4444;
    padding: 10px 16px;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    animation: slideInLeft 0.3s ease;
    backdrop-filter: blur(5px);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* GRAPH CARDS */
.graph-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

.graph-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.graph-icon {
    font-size: 24px;
}

.graph-title {
    font-size: 17px;
    font-weight: 700;
    color: #00d4ff;
}

/* KILLS BARS MODERNISÉES */
.kills-comparison-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kills-bar-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    width: 60px;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.kills-bar-modern.blue .bar-label {
    color: #00d4ff;
}

.kills-bar-modern.red .bar-label {
    color: #ff4444;
    text-align: left;
    order: 2;
}

.bar-track {
    flex: 1;
    height: 28px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    overflow: visible;
    position: relative;
}

.kills-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
}

.kills-bar-modern.blue .kills-bar-fill {
    background: linear-gradient(90deg, #00d4ff, #0099ff);
}

.kills-bar-modern.red .kills-bar-fill {
    background: linear-gradient(90deg, #ff4444, #cc0000);
}

.bar-value {
    width: 40px;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    color: #fff;
}

/* OBJECTIFS VISUELS */
.objectives-visual {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
}

.objective-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.obj-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.obj-bars {
    flex: 1;
    display: flex;
    gap: 8px;
}

.obj-bar {
    flex: 1;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 19px;
    font-weight: 700;
}

.obj-bar.blue {
    background: rgba(0,212,255,0.2);
    border: 1px solid rgba(0,212,255,0.3);
    color: #00d4ff;
}

.obj-bar.red {
    background: rgba(255,68,68,0.2);
    border: 1px solid rgba(255,68,68,0.3);
    color: #ff4444;
}

/* ⚙️ FOOTER AVEC CONTRÔLES */
.match-sim-footer-modern {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    border-top: 2px solid rgba(255,255,255,0.1);
    padding: 15px 30px;
}

.match-controls {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

/* BOUTON PAUSE/PLAY */
.control-btn {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border: none;
    color: #000;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}

.control-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,212,255,0.5);
}

.control-btn.playing {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    box-shadow: 0 4px 16px rgba(76,175,80,0.3);
}

.btn-icon {
    font-size: 21px;
}

.btn-text {
    font-size: 17px;
}

/* CONTRÔLES DE VITESSE */
.speed-controls-modern {
    display: flex;
    align-items: center;
    gap: 10px;
}

.speed-label {
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.speed-btn-modern {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.speed-btn-modern:hover {
    background: rgba(255,255,255,0.2);
}

.speed-btn-modern.active {
    background: #00d4ff;
    border-color: #00d4ff;
    color: #000;
    box-shadow: 0 0 16px rgba(0,212,255,0.4);
}

/* BARRE DE PROGRESSION */
.match-progress {
    flex: 1;
    max-width: 400px;
}

.progress-label {
    font-size: 14px;
    color: #888;
    font-weight: 600;
    margin-bottom: 6px;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,0.2);
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #0099ff);
    width: 0%;
    transition: width 0.3s linear;
    box-shadow: 0 0 12px rgba(0,212,255,0.6);
}

/* SCROLLBAR */
.stats-content-area::-webkit-scrollbar,
.kill-feed-modern::-webkit-scrollbar {
    width: 6px;
}

.stats-content-area::-webkit-scrollbar-track,
.kill-feed-modern::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.stats-content-area::-webkit-scrollbar-thumb,
.kill-feed-modern::-webkit-scrollbar-thumb {
    background: rgba(0,212,255,0.5);
    border-radius: 3px;
}

.objective-icon.grubs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grub-icon {
    font-size: 28px;
}

/* Amélioration des objectifs */
#player-grubs, #opponent-grubs {
    font-weight: 700;
    color: #a855f7; /* Violet pour les Void Grubs */
}

/* ===== PAGE PROFIL JOUEUR ===== */
.player-profile-page {
    padding: 20px;
    overflow-y: auto;
}

.player-profile-header {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, rgba(40,40,70,0.8), rgba(30,30,50,0.8));
    border: 2px solid rgba(138,43,226,0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.player-profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: visible;
    border: 3px solid rgba(138,43,226,0.5);
}

.player-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-profile-info {
    flex: 1;
}

.player-profile-name {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.player-profile-nationality {
    font-size: 19px;
    color: #aaa;
    margin-bottom: 15px;
}

.player-contract-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.contract-item {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 8px;
}

/* STATS EN LIGNE - 4 COLONNES */
.player-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.profile-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.stat-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.4);
    padding-bottom: 10px;
}

.stat-icon {
    font-size: 28px;
}

.stat-card-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #da70d6;
    margin: 0;
    text-transform: uppercase;
}

.stat-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.player-link {
    color: #da70d6;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.player-link:hover {
    color: #8a2be2;
    text-decoration: underline;
}

.back-from-profile {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 20px;
}
/* ===== PAGE PROFIL JOUEUR ===== */
.player-profile-page {
    padding: 20px;
    overflow-y: auto;
    min-height: 100vh;
}

.player-profile-header {
    display: flex;
    gap: 30px;
    background: linear-gradient(135deg, rgba(40,40,70,0.8), rgba(30,30,50,0.8));
    border: 2px solid rgba(138,43,226,0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.player-profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: visible;
    border: 3px solid rgba(138,43,226,0.5);
    flex-shrink: 0;
}

.player-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-profile-info {
    flex: 1;
}

.player-profile-name {
    font-size: 38px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.player-profile-nationality {
    font-size: 19px;
    color: #aaa;
    margin-bottom: 15px;
}

.player-contract-info {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contract-item {
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 8px;
}

.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.stat-category {
    background: linear-gradient(135deg, rgba(40,40,70,0.6), rgba(30,30,50,0.6));
    border: 2px solid rgba(138,43,226,0.3);
    border-radius: 12px;
    padding: 20px;
}

.stat-category h3 {
    color: #da70d6;
    font-size: 21px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.stat-name {
    color: #ccc;
    font-size: 17px;
}

.stat-value {
    color: #fff;
    font-weight: 700;
    font-size: 19px;
}

.player-link {
    color: #da70d6;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.2s;
}

.player-link:hover {
    color: #8a2be2;
    text-decoration: underline;
    font-weight: 600;
}

.back-from-profile {
    background: linear-gradient(135deg, #8a2be2, #da70d6);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-from-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138,43,226,0.5);
}
.champion-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    transition: all 0.2s;
}

.champion-row:hover {
    background: rgba(138,43,226,0.2);
}

.champion-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.champion-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid rgba(138,43,226,0.5);
    object-fit: cover;
}

.show-all-champions-btn {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: rgba(138,43,226,0.3);
    border: 2px solid rgba(138,43,226,0.5);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.show-all-champions-btn:hover {
    background: rgba(138,43,226,0.5);
    transform: translateY(-2px);
}

/* Modal Champions Pool */
.champions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.champions-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.champions-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(40,40,70,0.95), rgba(30,30,50,0.95));
    border: 2px solid rgba(138,43,226,0.5);
    border-radius: 16px;
    width: 90%;
    max-width: 850px;
    max-height: 80vh;
    overflow: visible;
    box-shadow: 0 10px 50px rgba(138,43,226,0.4);
}

.champions-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(138,43,226,0.3);
    background: rgba(0,0,0,0.3);
}

.champions-modal-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: #da70d6;
    margin: 0;
}

.close-champions-modal {
    width: 40px;
    height: 40px;
    background: rgba(220,20,60,0.3);
    border: 2px solid rgba(220,20,60,0.5);
    border-radius: 8px;
    color: white;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-champions-modal:hover {
    background: rgba(220,20,60,0.5);
    transform: scale(1.1);
}

.champions-modal-body {
    padding: 20px 30px;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
}

.champions-modal-body::-webkit-scrollbar {
    width: 8px;
}

.champions-modal-body::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
}

.champions-modal-body::-webkit-scrollbar-thumb {
    background: rgba(138,43,226,0.5);
    border-radius: 4px;
}

.champions-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(138,43,226,0.7);
}


/* ===== VALORANT DRAFT & MATCH - CSS COMPLET ET CORRIGÉ ===== */

/* Slots de picks VALORANT - VERTICAUX */
#draft-overlay-valorant .pick-slot {
    width: 100%;
    height: 160px !important;
    background: linear-gradient(135deg, rgba(26,29,46,0.9), rgba(15,18,30,0.9));
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    transition: all 0.3s;
    position: relative;
    overflow: visible;
    min-height: auto;
}

#draft-overlay-valorant .pick-slot.picked {
    border-color: #ff4655 !important;
    box-shadow: 0 0 20px rgba(255,70,85,0.5);
    background: linear-gradient(135deg, rgba(255,70,85,0.2), rgba(26,29,46,0.9)) !important;
}

#draft-overlay-valorant .pick-slot img {
    width: 100% !important;
    height: 110px !important;
    object-fit: cover;
    border-radius: 8px;
    object-position: center !important;
}

#draft-overlay-valorant .pick-icon {
    font-size: 52px;
    opacity: 0.2;
}

#draft-overlay-valorant .pick-champion-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#draft-overlay-valorant .pick-role {
    font-size: 13px;
    color: #ff4655;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
}

/* Conteneur des picks VALORANT */
#draft-overlay-valorant .draft-picks-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#draft-overlay-valorant .picks-label {
    font-size: 19px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    padding: 10px;
    background: rgba(255,70,85,0.2);
    border-radius: 8px;
}

/* Bans VALORANT - PLUS GRANDS ET VISIBLES */
#draft-overlay-valorant .ban-slot {
    width: 110px !important;
    height: 65px !important;
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transition: all 0.3s;
    position: relative;
}

#draft-overlay-valorant .ban-slot.banned {
    border-color: #ff4655 !important;
    opacity: 1 !important;
}

#draft-overlay-valorant .ban-slot.banned::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 4px;
    height: 130%;
    background: linear-gradient(180deg, #ff0000, #ff4655);
    box-shadow: 0 0 15px #ff0000;
}

#draft-overlay-valorant .ban-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grille Maps/Agents VALORANT - GRANDES CARTES */
#draft-overlay-valorant .champion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    padding: 40px;
    overflow-y: auto;
    align-content: start;
}

#draft-overlay-valorant .champion-card {
    background: linear-gradient(135deg, rgba(26,29,46,0.95), rgba(15,18,30,0.95));
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

#draft-overlay-valorant .champion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,70,85,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

#draft-overlay-valorant .champion-card:hover::before {
    opacity: 1;
}

#draft-overlay-valorant .champion-card:hover {
    transform: translateY(-12px) scale(1.06);
    border-color: #ff4655;
    box-shadow: 0 18px 45px rgba(255,70,85,0.7);
    z-index: 10;
}

#draft-overlay-valorant .champion-card img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

#draft-overlay-valorant .champion-card:hover img {
    filter: brightness(1.4);
}

#draft-overlay-valorant .champion-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

#draft-overlay-valorant .champion-role {
    font-size: 18px;
    color: #ff4655;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 7px 14px;
    background: rgba(255,70,85,0.3);
    border-radius: 8px;
}

/* Filtres VALORANT - SUBTILS */
#draft-overlay-valorant .role-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
    flex-wrap: wrap;
}

#draft-overlay-valorant .role-filter {
    padding: 7px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

#draft-overlay-valorant .role-filter:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-1px);
}

#draft-overlay-valorant .role-filter.active {
    background: linear-gradient(135deg, #ff4655, #cc0000);
    border-color: #ff4655;
    box-shadow: 0 2px 10px rgba(255,70,85,0.4);
}

#draft-overlay-valorant .role-icon {
    font-size: 16px;
}

/* Scrollbar VALORANT */
#draft-overlay-valorant .champion-grid::-webkit-scrollbar {
    width: 10px;
}

#draft-overlay-valorant .champion-grid::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
}

#draft-overlay-valorant .champion-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff4655, #cc0000);
    border-radius: 5px;
}

#draft-overlay-valorant .champion-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff5566, #dd0000);
}/* === CORRECTIONS FINALES VALORANT === */

/* Réduire hauteur des slots agents pour en avoir 5 */
.valo-agent-slot {
    height: 135px !important;  /* RÉDUIT pour avoir 5 slots */
    padding: 10px !important;
    gap: 8px !important;
}

.valo-agent-slot img {
    height: 90px !important;  /* RÉDUIT */
}

.valo-agent-icon {
    font-size: 50px !important;
}

.valo-agent-name {
    font-size: 12px !important;
}

.valo-agent-role {
    font-size: 9px !important;
    padding: 2px 6px !important;
}

/* Réduire les cartes MAP pour tout afficher (12 maps en 4x3) */
.valo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: hidden;
}

valo-card {
    padding: 10px !important;
}
.valo-card {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.05), rgba(15, 25, 35, 0.8));
    border: 2px solid rgba(255, 70, 85, 0.2);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: visible;
}
.valo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 70, 85, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.valo-card:hover::before {
    opacity: 1;
}

.valo-card:hover {
    border-color: rgba(255, 70, 85, 0.6);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.4);
}

.valo-card img {
    width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.valo-card:hover img {
    transform: scale(1.05);
}

.valo-card-name {
    font-weight: 700;
    font-size: 21px;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(255, 70, 85, 0.5);
}

/* Ajuster la grille pour 4 colonnes */
.valo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;  /* RÉDUIT de 20px à 18px */
    padding: 15px !important;
}
.valo-card-role {
    display: none;
}

/* Ajuster panneau latéral */
.valo-side-panel {
    flex: 0 0 280px !important;  /* RÉDUIT de 300px */
    padding: 20px !important;
    gap: 25px !important;
}

.valo-picks-section {
    gap: 12px !important;
}

/* Ajuster header pour gagner de la place */
.valo-draft-header {
    padding: 20px 50px !important;
    min-height: 100px !important;
}

.valo-team-logo {
    width: 70px !important;
    height: 70px !important;
}

.valo-team-score {
    font-size: 46px !important;
}

.valo-team-name {
    font-size: 20px !important;
}

.valo-timer {
    font-size: 38px !important;
    margin-bottom: 8px !important;
}

.valo-action-text {
    font-size: 18px !important;
}

/* Ajuster zone principale */
.valo-main-area {
    padding: 20px !important;
    gap: 20px !important;
}

/* Tri role agent  */
.valo-filters {
    display: flex;
    gap: 12px;
    padding: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.valo-filter-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.1), rgba(255, 70, 85, 0.05));
    border: 2px solid rgba(255, 70, 85, 0.3);
    color: #ff4655;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: visible;
}
.valo-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 70, 85, 0.3), transparent);
    transition: left 0.5s ease;
}
.valo-filter-btn:hover {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2), rgba(255, 70, 85, 0.1));
    border-color: rgba(255, 70, 85, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.3);
}

.valo-filter-btn.active {
    background: linear-gradient(135deg, #ff4655, #fd4556);
    border-color: #ff4655;
    color: #0f1923;
    box-shadow: 0 5px 25px rgba(255, 70, 85, 0.5);
    transform: translateY(-2px);
}

.valo-filter-icon {
    font-size: 21px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Bans plus petits */
.valo-ban-slot {
    width: 115px !important;
    height: 68px !important;
}

.valo-picks-title {
    font-size: 14px !important;
    padding: 10px !important;
}

.valo-bans-title {
    font-size: 11px !important;
}
/* ===== VALORANT - CSS DE BASE ===== */

.valo-draft-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #010a13 0%, #0a1428 100%);
    z-index: 10000;
    overflow: visible;
}

.valo-draft-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.valo-draft-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: linear-gradient(135deg, rgba(10,20,40,0.95), rgba(20,30,50,0.95));
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #00d4ff 0%, #ff4655 100%) 1;
    min-height: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.valo-team-section {
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 300px;
}

.valo-team-section.blue {
    justify-content: flex-start;
}

.valo-team-section.red {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.valo-team-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: visible;
    border: 3px solid;
    background: rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.valo-team-section.blue .valo-team-logo {
    border-color: #00d4ff;
    box-shadow: 0 0 25px rgba(0,212,255,0.6);
}

.valo-team-section.red .valo-team-logo {
    border-color: #ff4655;
    box-shadow: 0 0 25px rgba(255,70,85,0.6);
}

.valo-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.valo-team-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.valo-team-section.blue .valo-team-info {
    align-items: flex-start;
}

.valo-team-section.red .valo-team-info {
    align-items: flex-end;
}

.valo-team-score {
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

.valo-team-section.blue .valo-team-score {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0,212,255,0.6);
}

.valo-team-section.red .valo-team-score {
    color: #ff4655;
    text-shadow: 0 0 20px rgba(255,70,85,0.6);
}

.valo-phase-indicator {
    text-align: center;
    flex: 1;
    padding: 0 40px;
}

.valo-main-area {
    flex: 1;
    display: flex;
    padding: 20px;
    gap: 20px;
    overflow: visible;
}

.valo-side-panel {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15,18,30,0.8), rgba(10,15,25,0.8));
    border-radius: 16px;
    gap: 25px;
}

.valo-side-panel.left {
    border: 2px solid rgba(0,212,255,0.3);
    box-shadow: 0 0 30px rgba(0,212,255,0.1);
}

.valo-side-panel.right {
    border: 2px solid rgba(255,70,85,0.3);
    box-shadow: 0 0 30px rgba(255,70,85,0.1);
}

.valo-selection-zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: visible;
    background: rgba(0,0,0,0.3);
    border-radius: 16px;
    border: 2px solid rgba(255,70,85,0.2);
    padding: 20px;
}

/* === SÉLECTION DE CÔTÉ - STYLE AMÉLIORÉ === */
.valo-side-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 60px;
    padding: 50px;
}

.valo-side-title {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff4655);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255,70,85,0.3);
}

.valo-side-buttons {
    display: flex;
    gap: 80px;
}

.valo-side-btn {
    width: 320px;
    height: 260px;
    background: linear-gradient(135deg, rgba(26,29,46,0.95), rgba(15,18,30,0.95));
    border: 3px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.valo-side-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,70,85,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.valo-side-btn:hover::before {
    opacity: 1;
}

.valo-side-btn:hover {
    transform: translateY(-15px) scale(1.08);
}

.valo-side-btn.attack {
    border-color: rgba(255,70,85,0.4);
}

.valo-side-btn.attack:hover {
    border-color: #ff4655;
    box-shadow: 0 20px 60px rgba(255,70,85,0.8);
}

.valo-side-btn.defense {
    border-color: rgba(0,212,255,0.4);
}

.valo-side-btn.defense:hover {
    border-color: #00d4ff;
    box-shadow: 0 20px 60px rgba(0,212,255,0.8);
}

.valo-side-icon {
    font-size: 100px;
}

.valo-side-label {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.valo-side-btn.attack .valo-side-label {
    color: #ff4655;
    text-shadow: 0 0 30px rgba(255,70,85,1);
}

.valo-side-btn.defense .valo-side-label {
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0,212,255,1);
}

/* Scrollbar personnalisée pour la grille Valorant */
.valo-grid::-webkit-scrollbar {
    width: 14px;
}

.valo-grid::-webkit-scrollbar-track {
    background: rgba(15, 25, 35, 0.5);
    border-radius: 10px;
    border: 2px solid rgba(255, 70, 85, 0.1);
}

.valo-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff4655, #fd4556);
    border-radius: 10px;
    border: 2px solid rgba(15, 25, 35, 0.3);
}

.valo-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #fd4556, #ff5a6b);
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

/* Pour Firefox */
.valo-grid {
    scrollbar-width: thin;
    scrollbar-color: #ff4655 rgba(15, 25, 35, 0.5);
}




/* ===================================
   INTERFACE MATCH VALORANT - STYLE LOL
   =================================== */

.lol-match-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #010a13 0%, #0a1929 100%);
    position: relative;
}

/* ===== HEADER ===== */
.lol-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
    border-bottom: 2px solid rgba(255, 70, 85, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    min-height: 80px;
}

.lol-team-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lol-team-score.blue-side {
    flex-direction: row;
}

.lol-team-score.red-side {
    flex-direction: row-reverse;
}

.lol-team-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.lol-score {
    font-size: 50px;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
    min-width: 60px;
    text-align: center;
}

.blue-side .lol-score {
    color: #00d4ff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.7);
}

.red-side .lol-score {
    color: #ff4655;
    text-shadow: 0 0 30px rgba(255, 70, 85, 0.7);
}

/* Info centrale réduite */
.lol-match-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 2px solid rgba(255, 70, 85, 0.2);
}

.lol-game-title {
    font-size: 14px;
    font-weight: 700;
    color: #ff4655;
    letter-spacing: 2px;
}

.lol-map-name {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.lol-match-status {
    font-size: 15px;
    color: #888;
}

.lol-round-text {
    color: #ffffff;
    font-weight: 600;
}

.lol-timer {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* ===== ZONE PRINCIPALE OPTIMISÉE ===== */
.lol-match-main {
    flex: 1;
    display: grid;
    grid-template-columns: 360px 1fr 360px;
    gap: 15px;
    padding: 15px;
    overflow: visible;
}

/* Colonnes des équipes - SANS SCROLL */
.lol-team-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: visible;
}

.lol-team-column.blue-team {
    border-left: 4px solid #00d4ff;
}

.lol-team-column.red-team {
    border-right: 4px solid #ff4655;
}

.lol-team-header {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 5px;
}

.lol-side-badge {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Cartes de joueurs compactes */
.lol-player-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 85px;
}

.lol-player-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.blue-team .lol-player-card {
    border-left: 3px solid #00d4ff;
}

.red-team .lol-player-card {
    border-right: 3px solid #ff4655;
    flex-direction: row-reverse;
}

.lol-player-portrait {
    position: relative;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
}

.lol-player-portrait img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lol-player-level {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #000000;
    border: 2px solid #00d4ff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
}

.red-team .lol-player-level {
    border-color: #ff4655;
    left: -5px;
    right: auto;
}

.lol-player-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.lol-player-details.reverse {
    align-items: flex-end;
}

.lol-player-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lol-player-kda {
    font-size: 16px;
    color: #888;
}

.kda-stat {
    color: #ffffff;
    font-weight: 600;
}

.kda-value {
    color: #00ff88;
}

.lol-player-gold {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    font-weight: 600;
    color: #ffd700;
}

.gold-icon {
    font-size: 17px;
}

.gold-amount {
    font-family: 'Courier New', monospace;
}

.lol-player-status {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 19px;
    font-weight: 700;
    flex-shrink: 0;
}

.lol-player-status.alive {
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid #00ff88;
    color: #00ff88;
}

.lol-player-status.dead {
    background: rgba(255, 70, 85, 0.2);
    border: 2px solid #ff4655;
    color: #ff4655;
}

.status-icon {
    font-size: 17px;
}

/* ===== FOOTER RÉDUIT ===== */
.lol-match-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.9) 100%);
    border-top: 2px solid rgba(255, 70, 85, 0.3);
    min-height: 70px;
}

.lol-control-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lol-control-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.lol-control-btn.speed {
    border-color: rgba(255, 200, 0, 0.5);
    color: #ffc800;
}

.lol-control-btn.speed:hover {
    border-color: rgba(255, 200, 0, 0.8);
    box-shadow: 0 5px 20px rgba(255, 200, 0, 0.3);
}

.lol-control-btn.quit {
    border-color: rgba(255, 70, 85, 0.5);
    color: #ff4655;
}

.lol-control-btn.quit:hover {
    border-color: rgba(255, 70, 85, 0.8);
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.3);
}

/* Colonne centrale - Feed d'événements */
.lol-center-column {
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 2px solid rgba(255, 70, 85, 0.2);
    overflow: visible;
    min-width: 400px;
}

.lol-event-feed {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lol-feed-header {
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2), rgba(255, 70, 85, 0.1));
    border-bottom: 2px solid rgba(255, 70, 85, 0.3);
    font-size: 17px;
    font-weight: 700;
    color: #ff4655;
    text-align: center;
    letter-spacing: 1.5px;
}

.lol-feed-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lol-event {
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #888;
    border-radius: 6px;
    font-size: 17px;
    color: #ffffff;
    animation: slideIn 0.3s ease;
}

.lol-event.blue {
    border-left-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.lol-event.red {
    border-left-color: #ff4655;
    background: rgba(255, 70, 85, 0.1);
}

.lol-event.neutral {
    border-left-color: #888;
}

/* Bouton de réactivation des ligues */
.league-removed {
    background: rgba(255, 255, 255, 0.02) !important;
}

.reactivate-btn {
    background: linear-gradient(135deg, #00ff88, #00cc6a) !important;
    color: #000 !important;
    font-weight: 900;
}

.reactivate-btn:hover {
    background: linear-gradient(135deg, #00cc6a, #00ff88) !important;
    transform: scale(1.1);
}

/* Actions du message (Retour + Supprimer) */
.message-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.back-to-inbox {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-to-inbox:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateX(-3px);
}

.delete-message-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2), rgba(255, 70, 85, 0.1));
    border: 2px solid rgba(255, 70, 85, 0.5);
    color: #ff4655;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delete-message-btn:hover {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.3), rgba(255, 70, 85, 0.2));
    border-color: rgba(255, 70, 85, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 70, 85, 0.3);
}

.delete-message-btn span {
    font-size: 21px;
}

/* Nom de joueur cliquable */
.player-link {
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.player-link:hover {
    color: #00ffaa;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.player-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #00ffaa);
    transition: width 0.3s ease;
}

.player-link:hover::after {
    width: 100%;
}

/* Badge du jeu dans le profil */
.player-profile-game {
    font-size: 17px;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 8px;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* ===== SECTION HISTORIQUE DU JOUEUR ===== */
.player-history-section {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.history-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Statistiques de carrière */
.career-stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.career-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.career-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

.career-stat-item .stat-icon {
    font-size: 38px;
}

.career-stat-item .stat-content {
    flex: 1;
}

.career-stat-item .stat-number {
    font-size: 28px;
    font-weight: 900;
    color: #00d4ff;
    line-height: 1;
}

.career-stat-item .stat-label {
    font-size: 15px;
    color: #888;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Timeline d'historique */
.history-timeline {
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00d4ff, rgba(0, 212, 255, 0.2));
}

.history-entry {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.history-entry::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 12px;
    background: #00d4ff;
    border: 3px solid #0a1929;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.history-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
}

.history-entry.current {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    border-color: rgba(0, 212, 255, 0.5);
}

.history-entry.current::before {
    background: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    animation: pulse 2s infinite;
}

.history-entry.debut {
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.15), rgba(255, 200, 0, 0.05));
    border-color: rgba(255, 200, 0, 0.5);
}

.history-entry.debut::before {
    background: #ffc800;
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.8);
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50%) scale(1.2);
        opacity: 0.8;
    }
}

.history-year {
    font-size: 21px;
    font-weight: 900;
    color: #00d4ff;
    min-width: 60px;
    flex-shrink: 0;
}

.history-content {
    flex: 1;
}

.history-season {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.history-team {
    font-size: 19px;
    font-weight: 600;
    color: #00ff88;
    margin-bottom: 6px;
}

.history-achievement {
    font-size: 16px;
    color: #aaa;
    font-style: italic;
}

/* HISTORIQUE TIMELINE */
.historique-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

.historique-entry {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8a2be2;
    padding: 12px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.historique-entry:hover {
    background: rgba(138, 43, 226, 0.1);
    border-left-color: #da70d6;
    transform: translateX(5px);
}

.historique-team {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    margin-bottom: 5px;
}

.historique-period {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 16px;
}

.historique-dates {
    color: #aaa;
}

.historique-duration {
    color: #888;
    font-style: italic;
}
/* HISTORIQUE TIMELINE */
.historique-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 5px;
}

.historique-timeline::-webkit-scrollbar {
    width: 6px;
}

.historique-timeline::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.historique-timeline::-webkit-scrollbar-thumb {
    background: rgba(138, 43, 226, 0.5);
    border-radius: 10px;
}

.historique-entry {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8a2be2;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.historique-entry:hover {
    background: rgba(138, 43, 226, 0.1);
    border-left-color: #da70d6;
    transform: translateX(3px);
}

.historique-team {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    margin-bottom: 4px;
}

.historique-period {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
}

.historique-dates {
    color: #aaa;
}

.historique-duration {
    color: #888;
    font-style: italic;
}

/* BOUTON VOIR TOUT HISTORIQUE */
.see-all-history-btn {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid #8a2be2;
    border-radius: 8px;
    color: #da70d6;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.see-all-history-btn:hover {
    background: rgba(138, 43, 226, 0.4);
    transform: translateY(-2px);
}

/* MODAL HISTORIQUE COMPLET */
.history-modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 60vh;
    overflow-y: auto;
    padding: 15px;
}

.history-entry-modal {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #8a2be2;
    padding: 15px 20px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 15px;
    align-items: center;
    transition: all 0.3s;
}

.history-entry-modal:hover {
    background: rgba(138, 43, 226, 0.15);
    transform: translateX(5px);
}

.history-team-modal {
    font-weight: 700;
    font-size: 19px;
    color: #fff;
}

.history-dates-modal {
    color: #aaa;
    font-size: 17px;
}

.history-duration-modal {
    color: #8a2be2;
    font-weight: 600;
    font-size: 17px;
    text-align: right;
}


/* INFOS STRUCTURE - GÉNÉRAL */
.sponsor-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
}

.sponsor-name {
    font-weight: 600;
    color: #fff;
}

.sponsor-amount {
    color: #8a2be2;
    font-weight: 700;
}

/* HISTORIQUE */
.history-event {
    display: grid;
    grid-template-columns: 120px 50px 1fr;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8a2be2;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.history-event:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateX(5px);
}

.event-date {
    color: #aaa;
    font-size: 16px;
}

.event-badge {
    font-size: 28px;
    text-align: center;
}

.event-badge.major {
    animation: pulse 2s infinite;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-title {
    font-weight: 600;
    color: #fff;
    font-size: 17px;
}

.event-placement {
    color: #8a2be2;
    font-size: 15px;
    font-weight: 700;
}

.show-more-history-btn {
    width: 100%;
    padding: 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid #8a2be2;
    border-radius: 8px;
    color: #da70d6;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.show-more-history-btn:hover {
    background: rgba(138, 43, 226, 0.4);
}

/* MODAL HISTORIQUE COMPLET */
.history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.history-modal-content {
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b4e 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 16px;
    width: 90%;
    max-width: 1100px;
    max-height: 80vh;
    overflow-y: auto;
}

.history-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.history-modal-body {
    padding: 20px 30px;
}

.history-full-entry {
    display: grid;
    grid-template-columns: 150px 150px 1fr;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-date {
    color: #aaa;
    font-size: 16px;
}

.history-placement {
    color: #8a2be2;
    font-weight: 700;
    font-size: 16px;
}

.history-event {
    color: #fff;
    font-size: 16px;
}
/* ===== HISTORIQUE STRUCTURE ===== */
.history-event {
    display: grid;
    grid-template-columns: 120px 50px 1fr;
    gap: 15px;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #8a2be2;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.history-event:hover {
    background: rgba(138, 43, 226, 0.1);
    transform: translateX(5px);
}

.event-date {
    color: #aaa;
    font-size: 16px;
}

.event-badge {
    font-size: 28px;
    text-align: center;
}

.event-badge.major {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.event-title {
    font-weight: 600;
    color: #fff;
    font-size: 17px;
}

.event-placement {
    color: #8a2be2;
    font-size: 15px;
    font-weight: 700;
}

.show-more-history-btn {
    width: 100%;
    padding: 12px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid #8a2be2;
    border-radius: 8px;
    color: #da70d6;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}

.show-more-history-btn:hover {
    background: rgba(138, 43, 226, 0.4);
}

.no-history {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}

/* MODAL HISTORIQUE */
.history-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.history-modal-content {
    background: linear-gradient(135deg, #1a1d2e 0%, #2d1b4e 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 16px;
    width: 90%;
    max-width: 1100px;
    max-height: 80vh;
    overflow-y: auto;
}

.history-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(138, 43, 226, 0.3);
}

.close-modal {
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.5);
    color: #ff3b30;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.close-modal:hover {
    background: rgba(255, 59, 48, 0.4);
}

.history-modal-body {
    padding: 20px 30px;
}

.history-full-entry {
    display: grid;
    grid-template-columns: 150px 200px 1fr;
    gap: 15px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-date {
    color: #aaa;
    font-size: 16px;
}

.history-placement {
    color: #8a2be2;
    font-weight: 700;
    font-size: 16px;
}

.history-event {
    color: #fff;
    font-size: 16px;
}

/* SPONSORS */
.sponsor-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
}

.sponsor-name {
    color: #fff;
}

.sponsor-amount {
    color: #8a2be2;
    font-weight: 600;
}
/* Bouton choisir équipe plus tard */
.choose-later-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(100, 100, 140, 0.9) 0%, rgba(80, 80, 120, 0.9) 100%);
    border: 2px solid rgba(138, 43, 226, 0.4);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.choose-later-btn:hover {
    background: linear-gradient(135deg, rgba(120, 100, 160, 1) 0%, rgba(100, 80, 140, 1) 100%);
    border-color: #8a2be2;
    color: white;
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
    transform: translateY(-2px);
}

.choose-later-btn:active {
    transform: translateY(0px);
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.4);
}

/* Scrollbar violette pour la grille d'équipes */
.final-teams-grid::-webkit-scrollbar {
    width: 8px;
}

.final-teams-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.final-teams-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8a2be2, #da70d6);
    border-radius: 10px;
}

.final-teams-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9932cc, #e580ff);
}

/* ===== SCROLLBARS VIOLETTES GLOBALES ===== */

/* Toutes les scrollbars du jeu */
.sidebar::-webkit-scrollbar,
.final-teams-grid::-webkit-scrollbar,
#pages-container::-webkit-scrollbar,
.main-menu::-webkit-scrollbar,
.content-area::-webkit-scrollbar,
.stats-content-area::-webkit-scrollbar,
.messages-list::-webkit-scrollbar,
.message-content::-webkit-scrollbar,
.champions-grid::-webkit-scrollbar,
.champions-modal-body::-webkit-scrollbar,
.history-modal-body::-webkit-scrollbar,
.historique-timeline::-webkit-scrollbar,
.kill-feed-modern::-webkit-scrollbar,
.lol-feed-content::-webkit-scrollbar,
.player-profile-page::-webkit-scrollbar,
#draft-overlay-valorant .champion-grid::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.roster-grid::-webkit-scrollbar,
.staff-grid::-webkit-scrollbar,
.players-list::-webkit-scrollbar,
.staff-list::-webkit-scrollbar,
.team-roster::-webkit-scrollbar,
.league-standings::-webkit-scrollbar,
.match-list::-webkit-scrollbar,
.news-list::-webkit-scrollbar,
.transfers-list::-webkit-scrollbar,
.training-schedule::-webkit-scrollbar,
.calendar-events::-webkit-scrollbar,
.competition-bracket::-webkit-scrollbar,
.sponsors-grid::-webkit-scrollbar,
.loans-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.sidebar::-webkit-scrollbar-track,
.final-teams-grid::-webkit-scrollbar-track,
#pages-container::-webkit-scrollbar-track,
.main-menu::-webkit-scrollbar-track,
.content-area::-webkit-scrollbar-track,
.stats-content-area::-webkit-scrollbar-track,
.messages-list::-webkit-scrollbar-track,
.message-content::-webkit-scrollbar-track,
.champions-grid::-webkit-scrollbar-track,
.champions-modal-body::-webkit-scrollbar-track,
.history-modal-body::-webkit-scrollbar-track,
.historique-timeline::-webkit-scrollbar-track,
.kill-feed-modern::-webkit-scrollbar-track,
.lol-feed-content::-webkit-scrollbar-track,
.player-profile-page::-webkit-scrollbar-track,
#draft-overlay-valorant .champion-grid::-webkit-scrollbar-track,
.modal-body::-webkit-scrollbar-track,
.roster-grid::-webkit-scrollbar-track,
.staff-grid::-webkit-scrollbar-track,
.players-list::-webkit-scrollbar-track,
.staff-list::-webkit-scrollbar-track,
.team-roster::-webkit-scrollbar-track,
.league-standings::-webkit-scrollbar-track,
.match-list::-webkit-scrollbar-track,
.news-list::-webkit-scrollbar-track,
.transfers-list::-webkit-scrollbar-track,
.training-schedule::-webkit-scrollbar-track,
.calendar-events::-webkit-scrollbar-track,
.competition-bracket::-webkit-scrollbar-track,
.sponsors-grid::-webkit-scrollbar-track,
.loans-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb,
.final-teams-grid::-webkit-scrollbar-thumb,
#pages-container::-webkit-scrollbar-thumb,
.main-menu::-webkit-scrollbar-thumb,
.content-area::-webkit-scrollbar-thumb,
.stats-content-area::-webkit-scrollbar-thumb,
.messages-list::-webkit-scrollbar-thumb,
.message-content::-webkit-scrollbar-thumb,
.champions-grid::-webkit-scrollbar-thumb,
.champions-modal-body::-webkit-scrollbar-thumb,
.history-modal-body::-webkit-scrollbar-thumb,
.historique-timeline::-webkit-scrollbar-thumb,
.kill-feed-modern::-webkit-scrollbar-thumb,
.lol-feed-content::-webkit-scrollbar-thumb,
.player-profile-page::-webkit-scrollbar-thumb,
#draft-overlay-valorant .champion-grid::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.roster-grid::-webkit-scrollbar-thumb,
.staff-grid::-webkit-scrollbar-thumb,
.players-list::-webkit-scrollbar-thumb,
.staff-list::-webkit-scrollbar-thumb,
.team-roster::-webkit-scrollbar-thumb,
.league-standings::-webkit-scrollbar-thumb,
.match-list::-webkit-scrollbar-thumb,
.news-list::-webkit-scrollbar-thumb,
.transfers-list::-webkit-scrollbar-thumb,
.training-schedule::-webkit-scrollbar-thumb,
.calendar-events::-webkit-scrollbar-thumb,
.competition-bracket::-webkit-scrollbar-thumb,
.sponsors-grid::-webkit-scrollbar-thumb,
.loans-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #8a2be2, #da70d6);
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.final-teams-grid::-webkit-scrollbar-thumb:hover,
#pages-container::-webkit-scrollbar-thumb:hover,
.main-menu::-webkit-scrollbar-thumb:hover,
.content-area::-webkit-scrollbar-thumb:hover,
.stats-content-area::-webkit-scrollbar-thumb:hover,
.messages-list::-webkit-scrollbar-thumb:hover,
.message-content::-webkit-scrollbar-thumb:hover,
.champions-grid::-webkit-scrollbar-thumb:hover,
.champions-modal-body::-webkit-scrollbar-thumb:hover,
.history-modal-body::-webkit-scrollbar-thumb:hover,
.historique-timeline::-webkit-scrollbar-thumb:hover,
.kill-feed-modern::-webkit-scrollbar-thumb:hover,
.lol-feed-content::-webkit-scrollbar-thumb:hover,
.player-profile-page::-webkit-scrollbar-thumb:hover,
#draft-overlay-valorant .champion-grid::-webkit-scrollbar-thumb:hover,
.modal-body::-webkit-scrollbar-thumb:hover,
.roster-grid::-webkit-scrollbar-thumb:hover,
.staff-grid::-webkit-scrollbar-thumb:hover,
.players-list::-webkit-scrollbar-thumb:hover,
.staff-list::-webkit-scrollbar-thumb:hover,
.team-roster::-webkit-scrollbar-thumb:hover,
.league-standings::-webkit-scrollbar-thumb:hover,
.match-list::-webkit-scrollbar-thumb:hover,
.news-list::-webkit-scrollbar-thumb:hover,
.transfers-list::-webkit-scrollbar-thumb:hover,
.training-schedule::-webkit-scrollbar-thumb:hover,
.calendar-events::-webkit-scrollbar-thumb:hover,
.competition-bracket::-webkit-scrollbar-thumb:hover,
.sponsors-grid::-webkit-scrollbar-thumb:hover,
.loans-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9932cc, #e580ff);
}

/* Options des dropdowns avec fond gris */
.filter-dropdown option,
.league-select-fm option,
.mode-select option,
select option {
    background: #1a1d2e;
    color: white;
    padding: 10px;
}

.filter-dropdown option:hover,
.league-select-fm option:hover,
.mode-select option:hover,
select option:hover {
    background: #2a2d3e;
}
}

/* ===== SCROLLBARS POUR SECTIONS ===== */

/* Conteneur principal de chaque section Finances */
#finances-overview,
#finances-emprunts, 
#finances-sponsors {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Conteneur principal de chaque section Infos Structure */
#structure-general,
#structure-infrastructures,
#structure-historique {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Style des scrollbars (Webkit - Chrome/Safari/Edge) */
#finances-overview::-webkit-scrollbar,
#finances-emprunts::-webkit-scrollbar,
#finances-sponsors::-webkit-scrollbar,
#structure-general::-webkit-scrollbar,
#structure-infrastructures::-webkit-scrollbar,
#structure-historique::-webkit-scrollbar {
    width: 14px;
}

#finances-overview::-webkit-scrollbar-track,
#finances-emprunts::-webkit-scrollbar-track,
#finances-sponsors::-webkit-scrollbar-track,
#structure-general::-webkit-scrollbar-track,
#structure-infrastructures::-webkit-scrollbar-track,
#structure-historique::-webkit-scrollbar-track {
    background: #1a1a2e;
    border-radius: 10px;
}

#finances-overview::-webkit-scrollbar-thumb,
#finances-emprunts::-webkit-scrollbar-thumb,
#finances-sponsors::-webkit-scrollbar-thumb,
#structure-general::-webkit-scrollbar-thumb,
#structure-infrastructures::-webkit-scrollbar-thumb,
#structure-historique::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #7c3aed);
    border-radius: 10px;
    border: 2px solid #1a1a2e;
}

#finances-overview::-webkit-scrollbar-thumb:hover,
#finances-emprunts::-webkit-scrollbar-thumb:hover,
#finances-sponsors::-webkit-scrollbar-thumb:hover,
#structure-general::-webkit-scrollbar-thumb:hover,
#structure-infrastructures::-webkit-scrollbar-thumb:hover,
#structure-historique::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, #a855f7);
}

/* Style des scrollbars (Firefox) */
#finances-overview,
#finances-emprunts,
#finances-sponsors,
#structure-general,
#structure-infrastructures,
#structure-historique {
    scrollbar-width: thin;
    scrollbar-color: #a855f7 #1a1a2e;
}

/* Ajouter max-height et scroll aux contenus finances et structure */
.finances-content.active,
.structure-content.active {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
    padding-right: 15px;
}

/* Style scrollbar violet pour finances et structure */
.finances-content::-webkit-scrollbar,
.structure-content::-webkit-scrollbar {
    width: 14px;
}

.finances-content::-webkit-scrollbar-track,
.structure-content::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
}

.finances-content::-webkit-scrollbar-thumb,
.structure-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #a855f7, #7c3aed);
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 46, 0.5);
}

.finances-content::-webkit-scrollbar-thumb:hover,
.structure-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #c084fc, #a855f7);
}

/* Firefox */
.finances-content,
.structure-content {
    scrollbar-width: thin;
    scrollbar-color: #a855f7 rgba(26, 26, 46, 0.5);
}/* Mini photo joueur dans liste cohésion */
.player-mini-photo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(138, 43, 226, 0.3);
    margin-right: 10px;
}

/* Photo joueur influent */
.influent-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(138, 43, 226, 0.4);
    margin-bottom: 10px;
}

.influent-skill {
    font-size: 15px;
    color: #ffa500;
    margin-top: 5px;
}

/* Statuts de carte */
.card-status.excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.card-status.bad {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}
/* ===== BOUTON CONTRAT SUR FICHE JOUEUR ===== */
.player-contract-btn {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border: none;
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    transition: all 0.2s;
    display: inline-block;
}

.player-contract-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.5);
}

/* ===== SYSTÈME DE NÉGOCIATION ===== */
.contract-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s;
}

.contract-modal {
    background: linear-gradient(135deg, #1a1d2e 0%, #16192b 100%);
    border: 2px solid rgba(138, 43, 226, 0.5);
    border-radius: 20px;
    width: 90%;
    max-width: 850px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(138, 43, 226, 0.4);
}

/* Scrollbar visible pour contract-modal */
.contract-modal::-webkit-scrollbar {
    width: 14px;
}

.contract-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 20px 20px 0;
}

.contract-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border-radius: 6px;
}

.contract-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9d3ef3, #5a0a96);
}

.contract-header {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    padding: 20px 25px;
    border-radius: 18px 18px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contract-header h2 {
    margin: 0;
    color: white;
    font-size: 22px;
}

.contract-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 22px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.contract-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.contract-body {
    padding: 25px;
}

.contract-player-info {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(138, 43, 226, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #8a2be2;
}

.contract-player-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #8a2be2;
    object-fit: cover;
}

.contract-player-info h3 {
    margin: 0 0 5px 0;
    color: white;
    font-size: 24px;
}

.contract-player-info p {
    margin: 2px 0;
    color: #aaa;
    font-size: 16px;
}

.contract-club {
    color: #ffa500 !important;
    font-weight: 600;
}

.current-salary {
    color: #4ade80 !important;
    font-weight: 600;
}

.contract-market-value {
    background: rgba(255, 165, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid rgba(255, 165, 0, 0.3);
}

.market-value-label {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 5px;
}

.market-value-amount {
    color: #ffa500;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.market-value-range {
    color: #888;
    font-size: 14px;
}

.negotiation-history {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
}

/* Scrollbar pour negotiation-history */
.negotiation-history::-webkit-scrollbar {
    width: 8px;
}

.negotiation-history::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.negotiation-history::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border-radius: 4px;
}

.negotiation-history::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9d3ef3, #5a0a96);
}

.negotiation-history h4 {
    margin: 0 0 12px 0;
    color: white;
    font-size: 18px;
}

.history-item {
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.4;
}

.history-item.neutral {
    background: rgba(255, 255, 255, 0.05);
    color: #ddd;
    border-left: 3px solid #6b7280;
}

.history-item.player-offer {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border-left: 3px solid #3b82f6;
}

.history-item.club-counter {
    background: rgba(255, 165, 0, 0.15);
    color: #fbbf24;
    border-left: 3px solid #ffa500;
}

.history-item.club-accept,
.history-item.player-accept,
.history-item.player-response {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border-left: 3px solid #22c55e;
}

.history-item.club-reject,
.history-item.player-reject {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border-left: 3px solid #ef4444;
}

.contract-offer-form h4,
.contract-proposal h4 {
    color: white;
    margin: 0 0 12px 0;
    font-size: 19px;
}

.offer-input-group,
.proposal-group {
    margin-bottom: 15px;
}

.offer-input-group label,
.proposal-group label {
    display: block;
    color: #aaa;
    margin-bottom: 6px;
    font-size: 16px;
}

.offer-input-group input[type="number"],
.proposal-group input[type="number"],
.proposal-group select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.offer-buttons-inline,
.salary-buttons {
    display: flex;
    gap: 5px;
    margin-top: 8px;
}

.offer-buttons-inline button,
.salary-buttons button {
    flex: 1;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}

.offer-buttons-inline button:hover,
.salary-buttons button:hover {
    background: rgba(138, 43, 226, 0.4);
}

.transfer-options {
    display: flex;
    gap: 15px;
    margin: 12px 0;
}

.transfer-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.offer-buttons {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.btn-primary,
.btn-secondary,
.btn-success,
.btn-warning {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.negotiation-tips {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #3b82f6;
}

.negotiation-tips h5 {
    margin: 0 0 6px 0;
    color: #93c5fd;
    font-size: 16px;
}

.negotiation-tips p {
    margin: 0;
    color: #ddd;
    font-size: 15px;
}

.attempts-remaining {
    text-align: center;
    color: #aaa;
    font-size: 15px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.counter-offer-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.player-demand-section {
    background: rgba(255, 165, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #ffa500;
}

.player-demand-section h4 {
    margin: 0 0 10px 0;
    color: white;
}

.player-quote {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 6px;
    font-style: italic;
    color: #ddd;
    margin-bottom: 8px;
    font-size: 16px;
}

.demand-amount {
    color: #ffa500;
    font-size: 19px;
    font-weight: 600;
}

.duration-tip {
    color: #888;
    font-size: 14px;
    margin: 5px 0 0 0;
}

.bonus-section {
    background: rgba(34, 197, 94, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.bonus-section h5 {
    margin: 0 0 10px 0;
    color: #86efac;
    font-size: 17px;
}

.bonus-section label {
    display: block;
    color: white;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 16px;
}

.bonus-section input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
}

.contract-summary {
    background: rgba(138, 43, 226, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
}

.contract-summary h5 {
    margin: 0 0 8px 0;
    color: #c084fc;
    font-size: 17px;
}

#contract-cost-breakdown {
    color: #ddd;
    font-size: 16px;
}

#contract-cost-breakdown div {
    padding: 4px 0;
}

.total-cost {
    color: #8a2be2 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 2px solid rgba(138, 43, 226, 0.3);
}

.email-action-button {
    margin-top: 15px;
}

.email-action-button .btn-primary {
    width: auto;
    display: inline-block;
}

/* Bouton Contrat sur profil joueur */
.profile-contract-btn {
    background: linear-gradient(135deg, #8a2be2, #4b0082);
    border: none;
    color: white;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.profile-contract-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(138, 43, 226, 0.5);
}

.already-in-team {
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}
/* Padding pour laisser place au header sticky */
#page-finances,
#page-info {
    padding-top: 100px;
}

/* Z-index pour que le header reste au-dessus */
#pages-container {
    position: relative;
    z-index: 1;
}

.game-header {
    z-index: 100 !important;
}
/* ===== FIX SCROLLBAR HORIZONTALE ===== */
body,
html,
.container,
.main-content-area {
    overflow-x: hidden !important;
}