:root {
    --bg: #0b1220;
    --card: #121b2e;
    --text: #e9eefc;
    --muted: #a9b4d0;

    --accent: #4f7cff;
    --danger: #ff4d4d;

    --border: rgba(255, 255, 255, 0.10);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-strong: rgba(255, 255, 255, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background:
        radial-gradient(1000px 500px at 10% 0%, rgba(79, 124, 255, 0.25), transparent),
        radial-gradient(1000px 500px at 90% 10%, rgba(255, 77, 77, 0.18), transparent),
        var(--bg);
    color: var(--text);
}

a {
    color: inherit;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 18px 64px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.brand h1 {
    font-size: 28px;
    margin: 0;
}

.brand p {
    margin: 6px 0 0;
    color: var(--muted);
}

/* Cards */
.card {
    background: rgba(18, 27, 46, 0.85);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Layout helpers */
.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 14px;
    border-radius: 12px;

    text-decoration: none;
    color: var(--text);

    background: var(--glass);
    border: 1px solid var(--border);

    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
    background: var(--glass-strong);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0px);
}

.btn.primary {
    background: rgba(79, 124, 255, 0.22);
    border-color: rgba(79, 124, 255, 0.45);
}

.btn.primary:hover {
    background: rgba(79, 124, 255, 0.30);
    border-color: rgba(79, 124, 255, 0.60);
}

.btn.danger {
    background: rgba(255, 77, 77, 0.18);
    border-color: rgba(255, 77, 77, 0.45);
}

.btn.danger:hover {
    background: rgba(255, 77, 77, 0.26);
    border-color: rgba(255, 77, 77, 0.60);
}

/* Kleine knop (bijv. "Bekijk wandelingen") */
.btn.small {
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 13px;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 14px;
}

.table th,
.table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.right {
    text-align: right;
}

/* Badges + text */
.badge {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.flash {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass);
    margin-bottom: 12px;
}

.small {
    color: var(--muted);
    font-size: 13px;
}

form.inline {
    display: inline;
}

/* Progress */
.progress {
    width: 180px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

.progress>span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            rgba(79, 124, 255, 0.95),
            rgba(79, 124, 255, 0.55));
    transition: width 0.35s ease;
}

/* Icon button (refresh) */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 10px;
    width: 34px;
    height: 34px;

    text-decoration: none;
    font-size: 18px;
    color: var(--text);

    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 12px;

    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
    background: var(--glass-strong);
    border-color: rgba(255, 255, 255, 0.18);
    transform: rotate(180deg);
}