@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

:root {
    /* kleuren in de stijl van je voorbeeld */
    --blue-bg: #26266e;
    --lime: #bcbe00;
    --white: #ffffff;
    --text-main: #f9fafb;
    --text-muted: #e5e7eb;

    --card-bg-light: #f9fafb;
    --card-border: #e5e7eb;
    --accent-blue: #2563eb;
    --accent-red-soft: #fef2f2;
    --accent-red-border: #fecaca;
    --accent-red-text: #b91c1c;
    --accent-green-soft: #ecfdf3;
    --accent-green-border: #bbf7d0;
    --accent-green-text: #166534;
}

/* basis */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--blue-bg);
    color: var(--text-main);
}

/* logo balk bovenaan, over volledige breedte */

.logo-wrapper {
    width: 100%;
    background: var(--white);
    padding: 20px 0;
    text-align: center;
    margin: 0;
    border-radius: 0;
}

a {
	color: var(--lime);
	}


.logo {
    width: 70%;
    max-width: 340px;
    height: auto;
}

/* content vlak */

.page {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* header tekst */

header {
    margin-bottom: 24px;
    text-align: left;
}

header h1 {
    margin: 24px 0 8px 0;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0.03em;
    color: var(--lime);
    line-height: 1.25;
}

header p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-main);
}

.disclaimer {
    font-size: 11px;
    margin-top: 4px;
    color: var(--text-muted);
    font-style: italic;
}

/* subtitel boven de lijst */

.subheading {
    margin-top: 40px;
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 900;
    color: var(--lime);
}

/* tussenstand lijst */

.stand-list {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px 10px;
    margin-top: 8px;
}

.row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 10px;
    padding: 10px 4px;
}

.row + .row {
    border-top: 2px dashed rgba(249, 250, 251, 0.3);
}

.rank-num {
    font-size: 56px;
    font-weight: 900;
    color: var(--white);
    text-shadow: 2px 2px 0 #000000;
    line-height: 1;
}

.info-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.info-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 6px;
    border-radius: 3px;
    background: var(--white);
    color: #111827;
    font-size: 11px;
    font-weight: 700;
}

.days {
    text-align: right;
}

.days-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.days-label {
    font-size: 14px;
    color: var(--text-muted);
}

footer {
    margin-top: 18px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

/* admin pagina */

.admin {
    padding: 20px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    color: #111827;
}

.admin h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 700;
}

.admin p {
    margin-top: 0;
    font-size: 14px;
    color: #4b5563;
}

.alert {
    margin: 10px 0 12px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.alert.error {
    background: var(--accent-red-soft);
    color: var(--accent-red-text);
    border: 1px solid var(--accent-red-border);
}

.alert.success {
    background: var(--accent-green-soft);
    color: var(--accent-green-text);
    border: 1px solid var(--accent-green-border);
}

.login-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.login-fields input {
    flex: 1;
    min-width: 160px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    background: var(--accent-blue);
    color: var(--white);
    cursor: pointer;
    margin-top: 12px;
    text-decoration: none;
}

.button.secondary {
    background: var(--white);
    border: 1px solid #d1d5db;
    color: #374151;
    margin-left: 10px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.card {
    background: var(--card-bg-light);
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid var(--card-border);
}

.card-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.card input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 20px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    text-align: right;
}

/* link op admin */

.back-link {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--accent-blue);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.bleed-image-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.bleed-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}


}

.bleed-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


/* iets breder op grotere schermen, maar mobiel ontwerp blijft leidend */

@media (min-width: 640px) {
    .page {
        max-width: 540px;
    }
}
