/* Écran d'authentification */
.auth-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 40px);
}

.auth-container {
    max-width: 400px;
    width: 100%;
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

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

.auth-container .game-logo {
    max-width: 200px;
    height: auto;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
}

.auth-tab.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
}

.auth-tab:hover:not(.active) {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-form input {
    padding: 14px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-auth {
    padding: 14px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.btn-auth:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.auth-test-account {
    margin-top: 30px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-align: center;
    font-size: 14px;
}

.auth-test-account p {
    margin: 4px 0;
    color: var(--text-secondary);
}

.auth-test-account p:first-child {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

/* Header buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-info {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-badge {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 10px;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.btn-logout {
    padding: 8px 16px;
    background: var(--accent-danger);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Keyboard hints */
.keyboard-hint {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: normal;
    opacity: 0.8;
}
