/* ===== AUTH PAGES (inscription + connexion) ===== */

body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Gender selector style Betclic */
.gender-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.gender-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: #e63946;
    cursor: pointer;
}

/* Form inputs */
.form-floating .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    height: 56px;
    font-size: 15px;
}

.form-floating .form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-floating label {
    color: #888;
}

/* Button style Betclic */
.btn-auth {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #e63946 0%, #c1121f 100%);
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-auth:hover {
    background: linear-gradient(180deg, #c1121f 0%, #a4161a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.auth-footer a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert messages */
.alert {
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.alert-info {
    background-color: #e8f4f8;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.alert-danger {
    background-color: #fdf2f2;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.classement-sidebar {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 340px;
    font-family: "Inter", sans-serif;
}

.table-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2c3e50;
}

.classement-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.classement-table thead {
    background: #f5f6fa;
}

.classement-table th {
    text-align: left;
    padding: 10px;
    font-weight: 600;
    color: #34495e;
    border-bottom: 2px solid #e0e0e0;
}

.classement-table td {
    padding: 10px;
    border-bottom: 1px solid #ececec;
}

.classement-table tr:hover {
    background: #f9fafc;
}

.equipe-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.equipe-cell img {
    border-radius: 4px;
}
