/* === De Wisselbeker - Dark Theme Golf App === */

:root {
    --bg-primary: #0f1a0f;
    --bg-secondary: #1a2e1a;
    --bg-card: #1e3a1e;
    --bg-card-hover: #244024;
    --text-primary: #e8f5e8;
    --text-secondary: #a8d8a8;
    --text-muted: #8aba8a;
    --accent: #40916c;
    --accent-light: #52b788;
    --accent-dark: #2d6a4f;
    --gold: #d4a843;
    --gold-light: #e8c86a;
    --red: #c0392b;
    --border: #2d4a2d;
    --team-a: #3498db;
    --team-b: #e67e22;
    --halve: #95a5a6;
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* === Navigation === */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-light);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
}

.nav-link:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.nav-link--cta {
    background: var(--accent);
    color: white;
}

.nav-link--cta:hover {
    background: var(--accent-light);
    color: white;
}

.nav-link--active {
    color: var(--accent-light);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-secondary);
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.navbar.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar.open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

.navbar.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* === Layout === */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* === Hero === */

.hero {
    text-align: center;
    padding: 2rem 0;
}

.hero h1 {
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1rem;
}

/* === Cards === */

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* === Trophy Card === */

.trophy-card {
    text-align: center;
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--bg-card) 0%, #2a3a1a 100%);
}

.trophy-card h2 {
    justify-content: center;
}

.trophy-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.trophy-name {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gold-light);
}

/* === Tables === */

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

td {
    color: var(--text-secondary);
}

/* === Player Dot === */

.player-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* === Rounds List === */

.rounds-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.round-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s, border-color 0.2s;
}

.round-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.round-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    min-width: 90px;
}

.round-teams {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.team {
    color: var(--text-secondary);
}

.team--winner {
    color: var(--accent-light);
    font-weight: 600;
}

.round-vs {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.round-result {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
    text-align: right;
}

/* === Active Rounds === */

.active-rounds-card {
    border-color: var(--accent);
}

.round-item--active {
    border-color: var(--accent-dark);
    border-left: 3px solid var(--accent-light);
}

.round-item--active:hover {
    border-color: var(--accent);
    border-left-color: var(--accent-light);
}

.round-progress-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* === Round Detail Header === */

.round-header {
    text-align: center;
}

.round-header h1 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.round-teams-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.team-block {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    min-width: 150px;
}

.team-block--winner {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #2a3a1a 100%);
}

.team-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.team-players {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.team-hcp {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.match-score {
    text-align: center;
}

.match-status-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
}

.match-finished {
    color: var(--gold-light);
}

.match-final {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 0.25rem;
}

.match-progress {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.handicap-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* === Scorecard === */

.scorecard {
    overflow-x: auto;
}

.scorecard-table th,
.scorecard-table td {
    text-align: center;
    padding: 0.5rem;
}

.hole-number {
    font-weight: 700;
    color: var(--text-primary);
}

.hole-row--scored {
    background: var(--bg-secondary);
}

.hole-row--stroke td:nth-child(3) {
    color: var(--accent-light);
    font-weight: 600;
}

.hole-row--clinch {
    background: rgba(251, 191, 36, 0.12);
    border-left: 3px solid #fbbf24;
}

.hole-row--clinch .hole-number {
    font-weight: 700;
    color: #fbbf24;
}

.hole-row--divider {
    background: var(--bg-primary);
}

/* Match Inzichten */
.insights-card .insights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.insight-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hole-row--divider td {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem;
}

.hole-result {
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.hole-result--A {
    color: var(--team-a);
}

.hole-result--B {
    color: var(--team-b);
}

.hole-result--halve {
    color: var(--halve);
}

.hole-not-played {
    color: var(--text-muted);
}

.hole-scored .hole-result {
    cursor: pointer;
    transition: opacity 0.2s;
}

.hole-scored .hole-result:hover {
    opacity: 0.7;
}

.edit-icon {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.hole-scored .hole-result:hover .edit-icon {
    opacity: 1;
}

.hole-buttons--hidden {
    display: none;
}

.btn--cancel {
    background: var(--bg-primary);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.btn--undo {
    background: var(--bg-primary);
    color: var(--red);
    border: 1px solid var(--red);
    font-size: 1.1rem;
}

.btn--undo:hover {
    background: var(--red);
    color: white;
}

.btn--danger {
    background: var(--red);
    color: white;
}

.btn--danger:hover {
    background: #e74c3c;
}

.running-score {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* === Buttons === */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    color: white;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.97);
}

.btn--primary {
    background: var(--accent);
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.btn--primary:hover {
    background: var(--accent-light);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid rgba(82, 183, 136, 0.5);
}

.btn--secondary:hover {
    background: rgba(82, 183, 136, 0.1);
    border-color: var(--accent-light);
    color: var(--accent-light);
}

.btn--large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    width: 100%;
}

.btn--sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.85rem;
    min-width: 40px;
    min-height: 40px;
}

.btn--xs {
    padding: 0.25rem 0.625rem;
    font-size: 0.78rem;
    min-height: unset;
    min-width: unset;
}

.btn--pill {
    padding: 0.3rem 0.875rem;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 999px;
    background: rgba(82, 183, 136, 0.1);
    color: var(--accent-light);
    border: 1px solid rgba(82, 183, 136, 0.3);
    min-height: unset;
    gap: 0.3rem;
}

.btn--pill:hover {
    background: rgba(82, 183, 136, 0.2);
    border-color: var(--accent-light);
    color: white;
}

.btn--a {
    background: var(--team-a);
}

.btn--b {
    background: var(--team-b);
}

.btn--halve {
    background: var(--halve);
    color: var(--bg-primary);
}

.hole-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* === Forms === */

.form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-section {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.form-section h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Format toggle (round_new.html) */
.format-toggle {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.format-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    background: transparent;
    color: var(--accent-light);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.format-btn--active {
    background: var(--accent);
    color: white;
}

.format-btn:hover:not(.format-btn--active) {
    background: var(--accent-dark);
    color: white;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}

.form-group label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

input[type="date"],
input[type="text"],
select,
.input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem;
    font-size: 1rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

input:focus,
select:focus,
.input:focus {
    outline: none;
    border-color: var(--accent);
}

.select {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 0.75rem;
    font-size: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

/* === Photos === */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.photo-item img {
    width: 100%;
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
    object-fit: cover;
}

.photo-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* === Photo Gallery === */

.gallery-round-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.gallery-round-link {
    color: var(--text-primary);
    text-decoration: none;
}

.gallery-round-link:hover {
    color: var(--accent-light);
}

.gallery-round-teams {
    font-size: 0.85rem;
    font-weight: 400;
}

.gallery-img {
    cursor: zoom-in;
    transition: opacity 0.15s;
}

.gallery-img:hover {
    opacity: 0.85;
}

/* Lightbox */

.lightbox {
    border: none;
    border-radius: var(--radius);
    background: transparent;
    padding: 0;
    max-width: 95vw;
    max-height: 95vh;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.upload-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.file-input {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Comments === */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.comment {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
}

.comment-text {
    color: var(--text-secondary);
}

.comment-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.comment-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.comment-form .select {
    min-width: 120px;
}

.input--grow {
    flex: 1;
}

/* === Badges === */

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge--gold {
    background: var(--gold);
    color: var(--bg-primary);
}

.badge--live {
    background: var(--red);
    color: white;
    animation: pulse 2s infinite;
}

.badge--muted {
    background: var(--surface-alt, #2a2a3e);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.standings-ineligible td {
    opacity: 0.55;
}

.min-rounds-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.badge--scheduled {
    background: var(--accent-dark);
    color: #fff;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* === Hall of Fame === */

.fame-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fame-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.fame-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 60px;
}

.fame-trophy {
    font-size: 1.5rem;
}

.fame-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold-light);
}

/* === Empty States === */

.empty-state {
    text-align: center;
    padding: 2rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-text {
    color: var(--text-muted);
    font-style: italic;
}

/* === Login === */

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-card {
    max-width: 420px;
    width: 100%;
    text-align: center;
}

.login-title {
    font-size: 1.75rem;
    color: var(--accent-light);
    margin-bottom: 0.25rem;
}

.login-subtitle {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.login-error {
    background: rgba(192, 57, 43, 0.2);
    border: 1px solid var(--red);
    color: var(--red);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.login-register-link {
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-register-link a {
    color: var(--accent-light);
}

.info-box {
    background: rgba(64, 145, 108, 0.1);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.invite-block {
    margin-bottom: 2rem;
}

.invite-block h2 {
    margin-bottom: 0.5rem;
}

.invite-url-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.invite-url-row .input {
    flex: 1;
    font-size: 0.85rem;
}

.nav-link--logout {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.nav-link--logout:hover {
    color: var(--red);
}

/* === Player Profile === */

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.player-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-light);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-card--streak-win  { border: 1px solid rgba(82, 183, 136, 0.4); }
.stat-card--streak-loss { border: 1px solid rgba(231, 76, 60, 0.4); }

.hole-affinity {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.hole-affinity-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.hole-affinity-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 0.25rem;
}

.hole-affinity-label--best  { color: var(--accent-light); }
.hole-affinity-label--worst { color: var(--red); }

.hole-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
}

.hole-pill--best  { background: rgba(82, 183, 136, 0.15); color: var(--accent-light); }
.hole-pill--worst { background: rgba(231, 76, 60, 0.15);  color: var(--red); }

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    align-items: center;
    flex-wrap: wrap;
}

.history-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.history-change {
    font-weight: 600;
    color: var(--accent-light);
}

.history-reason {
    color: var(--text-secondary);
    font-style: italic;
}

.history-by {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: auto;
}

.text-muted {
    color: var(--text-muted);
}

.player-link {
    color: var(--text-primary);
    text-decoration: none;
}

.player-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* === Delete Buttons === */

.round-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.round-header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.delete-btn {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-item {
    position: relative;
}

.photo-item:hover .photo-delete-btn {
    opacity: 1;
}

.photo-delete-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.comment {
    position: relative;
}

.comment:hover .comment-delete-btn {
    opacity: 1;
}

.comment-delete-btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* === Scorecard Tabs === */

.scorecard-tabs {
    display: none;
}

.scorecard-full {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-labels {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-label {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

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

.tab-content {
    display: none;
}

.tab-content--active {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* === Toast Notifications === */

#toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s, transform 0.3s;
    max-width: 360px;
}

.toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.toast--success {
    background: var(--accent);
    color: white;
}

.toast--error {
    background: var(--red);
    color: white;
}

/* === Confirm Modal === */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.modal-overlay--visible {
    opacity: 1;
}

.modal-dialog {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.modal-overlay--visible .modal-dialog {
    transform: scale(1);
}

.modal-message {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.modal-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.modal-btn--cancel {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.modal-btn--confirm {
    background: var(--red);
    color: white;
}

/* === Mobile === */

@media (max-width: 768px) {
    .scorecard-tabs {
        display: block;
    }

    .scorecard-full {
        display: none;
    }

    /* Compact cell padding in mobile scorecard — keeps all columns visible */
    .scorecard-tabs .scorecard-table th,
    .scorecard-tabs .scorecard-table td {
        padding: 0.3rem 0.2rem;
        font-size: 0.8rem;
    }

    /* Compact scoring buttons inside the scorecard */
    .scorecard-tabs .hole-buttons .btn {
        min-height: 38px;
        min-width: 34px;
        padding: 0.15rem 0.3rem;
        font-size: 0.85rem;
    }

    .scorecard-tabs .hole-buttons {
        gap: 0.25rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border);
        padding: 0 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .navbar.open .nav-links {
        max-height: 400px;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .container {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .round-teams-header {
        flex-direction: column;
        gap: 1rem;
    }

    .team-block {
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .round-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .round-result {
        text-align: left;
    }

    .comment-form {
        flex-direction: column;
    }

    .comment-form .select,
    .comment-form .input {
        width: 100%;
    }

    .upload-form {
        flex-direction: column;
        align-items: stretch;
    }

    .scorecard-table {
        font-size: 0.85rem;
    }

    .btn--sm {
        min-width: 48px;
        min-height: 48px;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .hole-buttons {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .btn--sm {
        min-width: 52px;
        min-height: 52px;
        font-size: 1.1rem;
    }

    /* Keep scorecard buttons compact even on smallest screens */
    .scorecard-tabs .hole-buttons .btn {
        min-height: 36px;
        min-width: 32px;
        font-size: 0.8rem;
    }

    .card {
        padding: 1rem;
    }

    .trophy-icon {
        font-size: 3rem;
    }

    .trophy-name {
        font-size: 1.25rem;
    }
}

/* === Statistics Page === */

.filter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.input--inline {
    flex: 1;
    max-width: 300px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Standings Table */
.standings-section {
    margin-bottom: 1.5rem;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.standings-table th,
.standings-table td {
    padding: 0.6rem 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.standings-table th {
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.standings-table td:nth-child(2) {
    text-align: left;
}

.standings-table th:nth-child(2) {
    text-align: left;
}

.standings-leader {
    background: rgba(64, 145, 108, 0.15);
}

.standings-leader td:last-child {
    color: var(--gold);
}

.standings-table a {
    color: var(--text-primary);
    text-decoration: none;
}

.standings-table a:hover {
    color: var(--accent-light);
}

.stat-win {
    color: var(--accent-light);
}

.stat-loss {
    color: var(--red);
}

/* Close Season */
.close-season-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.close-season-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.close-season-form .form-group {
    flex: 1;
    min-width: 200px;
}

/* Head-to-Head Table */
.h2h-table {
    width: 100%;
    border-collapse: collapse;
}

.h2h-header {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.85rem;
    background: var(--bg-secondary);
    white-space: nowrap;
}

.h2h-row-header {
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-weight: 600;
    background: var(--bg-secondary);
    white-space: nowrap;
}

.h2h-cell {
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--border);
    vertical-align: middle;
}

.h2h-record {
    font-weight: 600;
    font-size: 0.9rem;
}

.h2h-positive {
    color: var(--accent-light);
}

.h2h-negative {
    color: var(--red);
}

.h2h-total {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.h2h-self,
.h2h-empty {
    color: var(--text-muted);
}

/* Duo Combinatie Tabel */
.duo-table {
    width: 100%;
    border-collapse: collapse;
}

.duo-table th,
.duo-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.duo-table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
}

.duo-best td {
    background: rgba(34, 197, 94, 0.06);
}

.duo-names {
    font-weight: 500;
}

.duo-trophy {
    margin-right: 0.35rem;
}

.duo-wins {
    color: #22c55e;
    font-weight: 600;
}

.duo-losses {
    color: #ef4444;
}

.duo-winpct {
    font-weight: 600;
}

.duo-winpct--good {
    color: #22c55e;
}

.duo-winpct--bad {
    color: #ef4444;
}

.player-dot--sm {
    width: 8px;
    height: 8px;
}

/* Hole Statistics Grid */
.hole-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.hole-stat-card {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.hole-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.hole-stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-light);
}

.hole-stat-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hole-stat-bar {
    display: flex;
    height: 26px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.hole-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    min-width: 20px;
}

.hole-bar--a {
    background: var(--team-a);
}

.hole-bar--halve {
    background: var(--halve);
}

.hole-bar--b {
    background: var(--team-b);
}

.hole-stat-played {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* Stats Tabs */
.stats-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
    overflow-x: auto;
}

.tab-btn {
    padding: 0.6rem 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.tab-btn--active {
    color: var(--accent-light);
    border-bottom-color: var(--accent-light);
}

.tab-panel {
    display: none;
}

.tab-panel--active {
    display: block;
}

/* Stats Grid Variants */
.stats-grid--4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.stat-card--good {
    border-left: 3px solid var(--accent);
}

.stat-card--bad {
    border-left: 3px solid var(--red);
}

/* Hole Badges */
.hole-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1.5rem;
}

.hole-badge {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.hole-badge--good {
    background: var(--accent-dark);
    color: var(--text-primary);
}

.hole-badge--bad {
    background: rgba(192, 57, 43, 0.3);
    color: #e74c3c;
}

/* Season Progression */
.progression {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 1rem;
}

.prog-dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    cursor: help;
}

.prog-dot--W {
    background: var(--accent);
    color: white;
}

.prog-dot--L {
    background: var(--red);
    color: white;
}

.prog-dot--D {
    background: var(--halve);
    color: white;
}

/* Stats responsive */
@media (max-width: 768px) {
    .h2h-table {
        font-size: 0.8rem;
    }

    .h2h-header,
    .h2h-row-header,
    .h2h-cell {
        padding: 0.35rem;
    }

    .hole-stats-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .stats-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .close-season-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hole-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid--4 {
        grid-template-columns: 1fr 1fr;
    }

    .standings-table {
        font-size: 0.85rem;
    }

    .standings-table th,
    .standings-table td {
        padding: 0.4rem;
    }
}

/* === Form Validation === */

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--red);
    margin-top: 0.25rem;
    min-height: 1.1em;
}

.input--error,
select.input--error {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

/* === Dashboard KPI Cards (Epic 11) === */

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.kpi-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s, border-color 0.2s, transform 0.1s;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.kpi-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.kpi-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kpi-rank {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.kpi-winpct {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
}

.kpi-details {
    display: flex;
    gap: 0.6rem;
    font-size: 0.82rem;
}

.kpi-stat--win  { color: var(--accent-light); }
.kpi-stat--loss { color: var(--red); }
.kpi-stat--draw { color: var(--halve); }

.kpi-streak {
    font-size: 0.78rem;
    min-height: 1.2em;
}

.streak--hot  { color: var(--gold);  font-weight: 600; }
.streak--cold { color: var(--red);   font-weight: 600; }

.kpi-bar {
    height: 4px;
    background: var(--bg-primary);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 0.15rem;
}

.kpi-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

/* Dashboard CTA */
.dashboard-cta {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Round result badge */
.result-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
}

.result-badge--A    { background: rgba(52, 152, 219, 0.15); color: var(--team-a); }
.result-badge--B    { background: rgba(230, 126, 34, 0.15);  color: var(--team-b); }
.result-badge--draw { background: rgba(149, 165, 166, 0.15); color: var(--halve); }

/* === Chart Containers (Epic 11) === */

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-container--tall {
    height: 380px;
}

/* Responsive KPI + charts */
@media (max-width: 768px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .chart-container {
        height: 240px;
    }

    .chart-container--tall {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .kpi-winpct {
        font-size: 1.5rem;
    }

    .chart-container {
        height: 200px;
    }

    .chart-container--tall {
        height: 260px;
    }
}

/* Notities */
.textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    resize: vertical;
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.5;
    box-sizing: border-box;
}

.textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.notes-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
    vertical-align: middle;
}

.match-chart-wrap {
    position: relative;
    height: 220px;
}

@media (max-width: 480px) {
    .match-chart-wrap { height: 180px; }
}

.notes-text {
    color: var(--text-secondary);
    font-style: italic;
    white-space: pre-wrap;
    margin: 0;
}

.notes-empty {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

/* === Dashboard: Actieve ronde CTA === */

.active-round-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.active-round-info {
    flex: 1;
    min-width: 0;
}

.active-round-teams {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.active-round-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* === Dashboard: Seizoenssamenvatting === */

.season-summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.season-summary strong {
    color: var(--text-primary);
}

.season-summary-sep {
    color: var(--border);
}

/* === Dashboard: Uitgelichte (meest recente) ronde === */

.round-item--featured {
    border-left: 3px solid var(--gold);
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.06) 0%, var(--bg-secondary) 50%);
}

.round-item--featured:hover {
    background: linear-gradient(90deg, rgba(212, 168, 67, 0.12) 0%, var(--bg-card-hover, var(--bg-secondary)) 50%);
}

/* === Achievements & Badges === */

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.badge-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.875rem 0.625rem;
    text-align: center;
    transition: transform 0.15s, border-color 0.15s;
}

.badge-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.badge-emoji {
    font-size: 1.875rem;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.badge-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.badge-desc {
    font-size: 0.68rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* === Duel Statistieken (Epic 19) === */

.duel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
}

.duel-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
}

.duel-card--partner { border-color: rgba(82, 183, 136, 0.4); background: rgba(82, 183, 136, 0.05); }
.duel-card--nemesis { border-color: rgba(231, 76, 60, 0.4);  background: rgba(231, 76, 60, 0.05); }
.duel-card--victim  { border-color: rgba(241, 196, 15, 0.4); background: rgba(241, 196, 15, 0.05); }

.duel-icon {
    font-size: 1.75rem;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.duel-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.duel-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.duel-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* === Banen (Epic 12) === */

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.course-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
}

.course-item:last-child {
    border-bottom: none;
}

.course-info {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}

.course-name {
    font-weight: 600;
    color: var(--text-primary);
}

.course-holes {
    font-size: 0.85rem;
}

.course-rating {
    font-size: 0.8rem;
}

.course-rounds {
    font-size: 0.85rem;
    white-space: nowrap;
}

/* === Kleurpicker (Avatar) === */

.color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.color-swatch {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, border-color 0.15s;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch--active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--accent-light);
    transform: scale(1.1);
}

/* === Geplande Ronde === */

.scheduled-card {
    border-color: var(--accent-dark);
}

.scheduled-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.scheduled-day {
    font-weight: 600;
    color: var(--accent-light);
    white-space: nowrap;
}

/* Admin */
.admin-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.input--sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

.admin-db-info {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.admin-db-info .kpi-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-db-info .kpi-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-db-info .kpi-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-invite-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-invite-list li {
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 0.82rem;
    word-break: break-all;
}

/* === Slagentelling (Epic 21) === */

.input--xs {
    padding: 0.2rem 0.35rem;
    font-size: 0.8rem;
    width: 48px;
    text-align: center;
}

.hole-strokes {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-left: 0.2rem;
}

/* === Scorekaart Goedkeuring === */

.approval-status {
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

.approval-status--ok {
    background: rgba(82, 183, 136, 0.12);
    border: 1px solid rgba(82, 183, 136, 0.4);
    color: var(--accent-light);
}

.approval-status--pending {
    background: rgba(212, 168, 67, 0.1);
    border: 1px solid rgba(212, 168, 67, 0.35);
    color: var(--gold);
}

/* === Stableford (Idee D) === */

.stableford-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 0 0.5rem;
}

.stableford-team {
    text-align: center;
    min-width: 80px;
}

.stableford-name {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.stableford-pts {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.stableford-team--winner .stableford-pts {
    color: var(--accent-light);
}

.stableford-sep {
    color: var(--text-muted);
    font-size: 1.4rem;
    font-weight: 300;
    flex-shrink: 0;
}
