/* Wielrenpoule — main app stylesheet (public/user-facing pages) */

body {
    font-family: system-ui, sans-serif;
    max-width: 40rem;
    margin: 2rem auto;
    padding: 0 1rem;
    line-height: 1.5;
    color: #1a1a1a;
}

nav {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #0b57d0;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.flash-success {
    background: #e6f4ea;
    color: #137333;
}

.flash-error {
    background: #fce8e6;
    color: #c5221f;
}

.error {
    color: #c5221f;
}

form div {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    max-width: 32rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

button,
.btn {
    padding: 0.5rem 1rem;
    cursor: pointer;
    background: #0b57d0;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    font: inherit;
}

ul {
    padding-left: 1.25rem;
}

/* Prediction forms (future) — keep layout obvious and easy to restyle */
.prediction-form .prediction-pick {
    margin-bottom: 1rem;
}

.prediction-form .prediction-pick label {
    font-weight: 600;
}

.prediction-filters {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.prediction-template-load {
    margin-bottom: 1rem;
}
