/* Einfache Styles für Login/Registrierung – nur Dark Mode */
:root {
    --bg: #181c24;
    --fg: #e5e7eb;
    --panel: #232a36;
    --input-bg: #232a36;
    --input-border: #374151;
    --btn: #6366f1;
    --btn-hover: #4338ca;
    --link: #818cf8;
    --error: #f87171;
}
body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    margin: 0;
    padding: 0;
    color: var(--fg);
    transition: background 0.3s, color 0.3s;
}
.login-container, .register-container, .trainer-container {
    background: var(--panel);
    max-width: 350px;
    margin: 60px auto 0 auto;
    padding: 32px 28px 24px 28px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
h1, h2 {
    text-align: center;
    color: var(--fg);
}
label {
    display: block;
    margin-top: 18px;
    color: var(--fg);
    font-weight: 500;
}
input[type="text"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border: 1px solid var(--input-border);
    border-radius: 5px;
    font-size: 1em;
    background: var(--input-bg);
    color: var(--fg);
}
button {
    width: 100%;
    margin-top: 22px;
    padding: 10px;
    background: var(--btn);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: var(--btn-hover);
}
p {
    text-align: center;
    margin-top: 18px;
}
a {
    color: var(--link);
    text-decoration: none;
}
#loginMessage, #registerMessage {
    margin-top: 16px;
    color: var(--error);
    text-align: center;
    min-height: 22px;
}
.trainer-menu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}
.trainer-tile {
    background: #23283a;
    color: #fff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trainer-tile button {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #6c6cff;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.trainer-tile button:hover {
    background: #5757d1;
}

/* Dashboard Specific Overrides */
.dashboard-container {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 800px; /* Wider for dashboard */
}
.dashboard-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
