/* Ligue Styles */
:root {
    --bg-color: #f0f4f8;
    --text-color: #1e293b;
    --primary-color: #0284c7;
    --accent-color: #38bdf8;
    --card-bg: #ffffff;
    --border-color: #cbd5e1;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --success-color: #22c55e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 600px;
    width: 90%;
    text-align: center;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h2 {
    color: var(--text-color);
    margin-top: 1.5rem;
}

label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
    text-align: left;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 0.8rem;
    margin-top: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 1rem;
    justify-content: flex-start;
}

.checkbox-group input {
    margin-right: 0.5rem;
    width: auto;
}

button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
}

button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: var(--bg-color);
    margin: 0.5rem 0;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* Animation Styles */
#loader {
    display: none;
    margin: 2rem auto;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-left-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

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

#result {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#result.visible {
    opacity: 1;
}

.team-input-group {
    text-align: left;
}