:root {
    --primary-color: #7B2CBF;
    --primary-light: #9D4EDD;
    --primary-dark: #5A189A;
    --success-color: #00D26A;
    --danger-color: #f44336;
    --warning-color: #ff9800;
    --text-color: #FFFFFF;
    --text-light: #E0E0E0;
    --bg-color: #2D1B69;
    --card-bg: #3A237E;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Cards et sections */
.section {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-color);
}

.section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Boutons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    gap: 8px;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-primary:hover {
    background: var(--primary-light);
}

.button-success {
    background: var(--success-color);
    color: white;
}

.button-success:hover {
    background: #66BB6A;
    color: white;
}

.button-danger {
    background: var(--danger-color);
    color: white;
}

.button-warning {
    background: var(--warning-color);
    color: var(--text-color);
}

.button-warning:hover {
    background: #FFA726;
    color: var(--text-color);
}

.button:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Formulaires */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.form-control:focus {
    border-color: var(--primary-light);
    outline: none;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.2);
}

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

/* Messages */
.message {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
}

.message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--danger-color);
}

.message.warning {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

/* Grilles */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Cartes */
.card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--text-color);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* En-têtes */
.header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-color);
}

.header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.badge-primary {
    background: rgba(157, 78, 221, 0.2);
    color: var(--primary-light);
}

.badge-success {
    background: rgba(76, 175, 80, 0.2);
    color: #81C784;
}

.badge-warning {
    background: rgba(255, 152, 0, 0.2);
    color: #FFB74D;
}

.badge-danger {
    background: rgba(244, 67, 54, 0.2);
    color: #E57373;
}

.badge-secondary {
    background: rgb(255 255 255 / 20%);
    color: #efeeff;
}

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

.animate-fade-in {
    animation: fadeIn 0.3s ease forwards;
}

/* Utilitaires */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Menu utilisateur */
.user-menu-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.user-profile {
    cursor: pointer;
    transition: var(--transition);
}

.user-profile:hover {
    transform: scale(1.05);
}

.profile-pic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    margin-top: 10px;
    min-width: 200px;
    animation: fadeIn 0.2s ease forwards;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background-color: rgba(157, 78, 221, 0.2);
    color: var(--primary-light);
}

.dropdown-menu.show {
    display: block;
}

.league-logo {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
}

.league-picture {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.default-logo {
    width: 100%;
    height: 200px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.default-logo i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
} 