/* ============================================================
   BASE
   ============================================================ */
body {
    padding-top: 68px;
    padding-bottom: 20px;
    font-size: 16px;
    color: #222;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
    flex: 1;
}

a {
    color: #990000;
    text-decoration: none;
}
a:hover {
    color: #660000;
    text-decoration: underline;
}

.dl-horizontal dt {
    white-space: normal;
}

textarea {
    max-width: 100%;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    background-color: #111;
    border-bottom: 4px solid #990000;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-brand img {
    max-height: 40px;
    width: auto;
}

.navbar .nav-link i,
.navbar .dropdown-item i {
    margin-right: 0.4rem;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-size: 0.8rem;
    font-family: 'Open Sans', arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    border-bottom: 3px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
    border-bottom-color: #990000;
    text-decoration: none;
}

.navbar a:hover {
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-nav .nav-item {
    border-bottom: 3px solid transparent;
}

/* Social icons in navbar */
.nav li.socialicon a {
    padding-top: 0.5rem;
    padding-left: 0;
}
.nav li.socialicon:hover {
    border-bottom-color: transparent !important;
}

/* Dropdown menus */
.navbar .dropdown-menu {
    border-top: 3px solid #990000;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    color: #222;
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 0.95em;
    padding: 0.45rem 1.25rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #990000;
    color: #fff;
}

.navbar .dropdown-divider {
    margin: 0.25rem 0;
}

/* Mega menu */
.navbar .container {
    position: relative;
}

.mega-dropdown {
    position: static;
}

.mega-dropdown-menu {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    border-top: 3px solid #990000;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.mega-dropdown-menu ul li {
    line-height: 26px;
}

.mega-dropdown-menu a {
    display: block;
    padding: 0.3rem 0.75rem;
    font-size: 0.95em;
    color: #222;
    font-family: 'Open Sans', arial, sans-serif;
}

.mega-dropdown-menu a:hover {
    background-color: #990000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.mega-dropdown-menu strong {
    font-size: 1em;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.8em;
}

.mega-dropdown-menu ul li hr {
    margin-top: 8px;
    margin-bottom: 8px;
    border-color: #eee;
}

@media (max-width: 992px) {
    .navbar .nav-link {
        font-size: 0.95em;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        border-bottom: none;
    }
    .mega-dropdown-menu {
        position: static;
        width: auto;
        box-shadow: none;
        border: none;
        background-color: transparent;
    }
    .mega-dropdown-menu a {
        color: rgba(255,255,255,0.8);
    }
    .mega-dropdown-menu strong {
        color: rgba(255,255,255,0.5);
    }
    .dropdown-menu .yamm-content strong {
        color: rgba(255,255,255,0.8) !important;
    }
    .socialicon {
        visibility: hidden;
        display: none;
    }
}

/* ============================================================
   HERO
   ============================================================ */
.hero-unit {
    background-image: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(100,0,0,0.4) 100%),
                      url('/images/voorjaarbanner2017.jpg');
    background-size: cover;
    background-position: center 30%;
    color: white;
    border-radius: 0.5rem;
    padding: 3.5rem 3rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.hero-unit h1 {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: 'Open Sans', arial, sans-serif;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 0.75rem;
}

.hero-unit .lead {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.btn-hero-primary {
    background-color: #990000;
    border-color: #770000;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
}

.btn-hero-primary:hover {
    background-color: #770000;
    border-color: #550000;
    color: white;
}

.hero-unit .btn-hero-outline {
    border-color: rgba(255,255,255,0.7);
    color: white;
    padding: 0.6rem 1.5rem;
}

.hero-unit .btn-hero-outline:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

/* ============================================================
   LIVE RESULTS CARDS
   ============================================================ */
.results-section {
    margin-bottom: 2.5rem;
}

.results-section .section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #990000;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-section .section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.result-card {
    border: 1px solid rgba(0,0,0,0.09);
    border-top: 3px solid #990000;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.result-card .card-header {
    background-color: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0.65rem 1rem;
}

.result-card .card-header h5 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #333;
    margin: 0;
}

.result-card .card-body {
    padding: 0;
}

.result-card .card-footer {
    background-color: #fafafa;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 0.5rem 0.75rem;
}

.result-row {
    display: flex;
    align-items: center;
    padding: 0.35rem 1rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    line-height: 1.4;
}

.result-row:last-child {
    border-bottom: none;
}

.result-row:nth-child(even) {
    background-color: rgba(0,0,0,0.025);
}

.result-row.first-place {
    font-weight: 700;
    background-color: rgba(153,0,0,0.06);
}

.result-row .pos {
    width: 24px;
    flex-shrink: 0;
    color: #888;
    font-size: 0.8rem;
}

.result-row .name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.result-row .name a {
    color: #222;
}

.result-row .name a:hover {
    color: #990000;
    text-decoration: none;
}

.result-row .flag img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
    margin-left: 6px;
}

.result-row .score {
    width: 44px;
    text-align: right;
    font-weight: 600;
    color: #444;
    flex-shrink: 0;
}

.result-row.markme {
    border-left: 3px solid #990000 !important;
    font-weight: 600;
}

.result-row.markme .name a {
    color: #222;
}

/* ============================================================
   STAT BAR (homepage State 3 — logged in, competition running)
   ============================================================ */
.stat-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-left: 4px solid #990000;
    border-radius: 0.375rem;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.stat-bar-team {
    font-weight: 700;
    font-size: 0.95rem;
    color: #222;
    margin-right: auto;
}

.stat-bar-items {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.stat-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 56px;
}

.stat-bar-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #999;
    line-height: 1;
    margin-bottom: 2px;
}

.stat-bar-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
}

.stat-bar-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #990000;
    white-space: nowrap;
}

.stat-bar-link:hover {
    color: #660000;
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-section {
    border-top: 1px solid #e8e8e8;
    padding: 2rem 0;
    margin-top: 1rem;
}

.sponsors-section .sponsors-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bbb;
    margin-bottom: 1rem;
}

.sponsor-logo {
    height: 100px;
    margin-right: 20px;
    margin-bottom: 10px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sponsor-logo:hover {
    -webkit-filter: none;
    filter: none;
    opacity: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: #111;
    color: #aaa;
    margin-top: 3rem;
    font-size: 0.9rem;
}

.site-footer h5 {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer h6 {
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.15s;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 0.4rem;
}

.site-footer .footer-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-footer .footer-brand span {
    color: #990000;
}

.site-footer .social-links a {
    font-size: 1.3rem;
    margin-right: 0.75rem;
    color: #888;
}

.site-footer .social-links a:hover {
    color: #fff;
}

.site-footer .footer-bottom {
    border-top: 1px solid #2a2a2a;
}

/* ============================================================
   RITUITSLAG / PRONORITUITSLAG (homepage old-style, kept for compat)
   ============================================================ */
.rituitslag {
    font-size: 11px;
    font-family: Roboto, Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.rituitslag img {
    width: 22px;
    height: 15px;
    border: 1px solid #ccc;
}

.pronorituitslag {
    border-left: 1px solid white;
    font-size: 11px;
    font-family: Roboto, Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.pronotussenstand {
    border-left: 1px solid white;
    font-size: 11px;
    font-family: Roboto, Verdana, Geneva, Arial, Helvetica, sans-serif;
}

.mijnvrienden {
    border-left: 1px solid white;
    font-size: 11px;
    font-family: Roboto, Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* ============================================================
   TABLES / DATATABLES
   ============================================================ */
.markme {
    border-left: 3px solid #990000 !important;
    font-weight: 600;
}

.markme a:link, .markme a:visited {
    color: #222;
}

.markme a:hover {
    color: #990000;
}

.StripedRow {
    background-color: #F0F0F0;
}

.NonStripedRow {
    background-color: white;
}

#Pronorituitslag_length {
    width: 50%;
}

#Pronorituitslag_filter input {
    margin-left: 10px;
    border: 1px solid black;
}

.dataTables_paginate {
    text-align: center;
    margin-top: 10px;
}

.paginate_button {
    border: 1px solid #999;
    padding: 3px 15px;
    margin-right: 5px;
}

.paginate_button:hover {
    background-color: #F0F0F0;
    cursor: pointer;
    text-decoration: none;
}

.dataTables_paginate .ellipsis {
    padding: 3px 8px;
    margin-right: 5px;
}

#GekozenRit {
    max-width: 100%;
    padding: 5px;
    font-size: 1.2em;
}

.tblrenners .tblrennersHead {
    font-weight: bold;
    padding: 10px 0;
}

.tblrenners img {
    border: 1px solid black;
    width: 30px;
    height: 20px;
}

.tblrennersBody .row:nth-child(odd) {
    background-color: #F0F0F0;
    padding: 5px 0;
}

.tblrennersBody .row:nth-child(even) {
    padding: 5px 0;
}

.tblrennersBody .row:hover {
    background-color: #d0d0d0;
}

.tblrennersBody .kopman {
    background-color: #d0d0d0 !important;
    font-weight: bold;
}

#tblInPloegen_filter input,
#tblInVrienden_filter input,
#AlleRenners_filter input {
    margin-left: 10px;
}

#tblInVrienden_filter,
#tblInPloegen_filter {
    text-align: right;
}

#AlleRenners {
    margin-top: 15px;
}

#PloegRenners_length {
    display: none;
    visibility: hidden;
}

#AllePloegen_filter input {
    margin-left: 10px;
    float: right;
}

#AlleManagers_filter input {
    margin-left: 8px;
}

#AlleManagers th:nth-child(7),
#AlleManagers th:nth-child(8) {
    background-color: #e9e9e9;
}

#AlleManagers th:nth-child(7) {
    border-left: 2px dotted #bbb;
}

#AlleManagers td:nth-child(7) {
    border-left: 2px dotted #bbb;
}

#AlleManagers td:nth-child(3),
#AlleManagers td:nth-child(4),
#AlleManagers td:nth-child(5),
#AlleManagers td:nth-child(6),
#AlleManagers td:nth-child(7),
#AlleManagers td:nth-child(8),
#AlleManagers th:nth-child(3),
#AlleManagers th:nth-child(4),
#AlleManagers th:nth-child(5),
#AlleManagers th:nth-child(6),
#AlleManagers th:nth-child(7),
#AlleManagers th:nth-child(8) {
    text-align: center;
}

.palStripes .row:nth-child(odd) {
    background-color: #eee;
}

.palStripes .row {
    padding: 5px 0;
}

/* ============================================================
   TYPEAHEAD
   ============================================================ */
.typeahead,
.tt-query,
.tt-hint {
    width: 280px;
    height: 30px;
    padding: 8px 12px;
    line-height: 30px;
    outline: none;
}

.typeahead {
    background-color: #fff;
}

.typeahead:focus {
    border: 2px solid #0097cf;
}

.typeaheadploeg {
    width: 280px;
    height: 30px;
    padding: 8px 12px;
    line-height: 30px;
    outline: none;
    background-color: #fff;
}

.typeaheadploeg:focus {
    border: 2px solid #0097cf;
}

.tt-query {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
    color: #999;
}

.tt-menu {
    width: 280px;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

.tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

.tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}

.tt-suggestion p {
    margin: 0;
}

/* ============================================================
   ADMIN PANEL — NEW DESIGN
   ============================================================ */

/* Admin page header */
.admin-header {
    background: linear-gradient(135deg, #111 0%, #1a0000 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 1.75rem 2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 4px solid #990000;
}

.admin-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Open Sans', arial, sans-serif;
    margin: 0 0 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-header .admin-subtitle {
    font-size: 0.8rem;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Breadcrumb inside admin header */
.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.admin-breadcrumb a {
    color: rgba(255,255,255,0.55);
}

.admin-breadcrumb a:hover {
    color: white;
    text-decoration: none;
}

/* KPI cards */
.kpi-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 0.5rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.kpi-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.kpi-card .kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.kpi-card .kpi-icon.red    { background: rgba(153,0,0,0.1);     color: #990000; }
.kpi-card .kpi-icon.blue   { background: rgba(0,60,150,0.1);    color: #003c96; }
.kpi-card .kpi-icon.green  { background: rgba(0,120,60,0.1);    color: #00783c; }
.kpi-card .kpi-icon.orange { background: rgba(200,100,0,0.1);   color: #c86400; }

.kpi-card .kpi-value {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1;
    color: #111;
}

.kpi-card .kpi-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #888;
    margin-top: 3px;
}

/* Admin action cards (link lists) */
.admin-action-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-top: 3px solid #990000;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    height: 100%;
}

.admin-action-card .card-header {
    background: #fafafa;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0.7rem 1.25rem;
}

.admin-action-card .card-header h5 {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #444;
    margin: 0;
}

.admin-action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #222;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease;
}

.admin-action-btn:last-child {
    border-bottom: none;
}

.admin-action-btn:hover {
    background: #f5f5f5;
    color: #990000;
    text-decoration: none;
}

.admin-action-btn .admin-btn-icon {
    font-size: 1.1rem;
    color: #990000;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.admin-action-btn.danger .admin-btn-icon {
    color: #c0392b;
}

.admin-action-btn.danger:hover {
    background: rgba(153,0,0,0.04);
    color: #c0392b;
}

/* Section labels (matching existing design) */
.admin-section {
    margin-bottom: 2rem;
}

.admin-section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #990000;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* Admin form wrapper card */
.admin-form-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-top: 3px solid #990000;
    border-radius: 0.375rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.admin-form-card .admin-form-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #555;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #eee;
}

/* Form labels in admin pages */
.admin-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    margin-bottom: 0.35rem;
}

/* Winners list table */
#lijstmetwinnaars tr.group td {
    background: #f5f5f5;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #990000;
    padding: 0.5rem 0.75rem;
    border-top: 2px solid #ddd;
}

/* OLD admin panel classes kept for back-compat */
.adminpanellnk a {
    display: inline;
    padding-right: 5px;
}

/* ============================================================
   DASHBOARD STATS (legacy — kept for back-compat)
   ============================================================ */
.dashboard-stat.blue { background-color: #3598dc; }
.dashboard-stat.red { background-color: #e7505a; }
.dashboard-stat.green { background-color: #32c5d2; }
.dashboard-stat.purple { background-color: #8E44AD; }

.dashboard-stat {
    display: block;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 0.375rem;
}

.dashboard-stat .visual {
    width: 70px;
    height: 80px;
    display: block;
    float: left;
    padding-left: 15px;
    font-size: 35px;
    line-height: 35px;
}

.dashboard-stat .details {
    position: absolute;
    right: 15px;
    padding-right: 15px;
}

.dashboard-stat .details .number {
    color: #FFF;
    padding-top: 15px;
    text-align: right;
    font-size: 36px;
    line-height: 36px;
    letter-spacing: -1px;
    margin-bottom: 0;
    font-weight: 300;
}

.dashboard-stat .details .desc {
    color: #fff;
    text-align: right;
    font-size: 16px;
    letter-spacing: 0;
    font-weight: 300;
}

.dashboard-stat .visual > i {
    color: rgba(255, 255, 255, 0.1);
    margin-left: -35px;
    font-size: 110px;
    line-height: 110px;
}

/* ============================================================
   JERSEY / TRUITJE
   ============================================================ */
.truitje-sm {
    width: 25px;
}

.truien-balk {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.trui-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem 0.3rem 0.4rem;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 2rem;
    text-decoration: none;
    color: #222;
    font-size: 0.82rem;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
}

.trui-chip:hover {
    background: rgba(153,0,0,0.06);
    border-color: rgba(153,0,0,0.25);
    color: #990000;
    text-decoration: none;
}

.trui-chip-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trui-chip-naam {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

/* ============================================================
   PROFILE PIC / CHANGE PIC
   ============================================================ */
.profilePic img {
    width: 106px;
}

#changePic {
    font-weight: bold;
    position: absolute;
    bottom: 0px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px 20px;
    outline: 0;
}

#changepicModal .cropit-preview {
    margin-left: 50%;
    left: -100px;
}

#changepicModal .cropit-image-zoom-input {
    margin-left: 25%;
}

#changepicModal .teamJersey img {
    width: 50px !important;
}

/* ============================================================
   CSV UPLOAD
   ============================================================ */
#SkipAmount {
    text-align: center;
}

#csv {
    height: 0;
    width: 0;
    display: none;
}

#csv-label {
    border: 1px solid #ccc;
    padding: 5px 50px;
    background-color: #efefef;
    cursor: pointer;
}

/* ============================================================
   PLOEG MAKEN
   ============================================================ */
.maakpronoploeg .card.border-success .card-header {
    background-color: #5CB85C !important;
    color: white;
}

.maakpronoploeg .card.border-warning .card-header {
    background-color: #D9534F !important;
    color: white;
}

/* ============================================================
   STANDINGS
   ============================================================ */
.darkgreen { color: #006400; }
.redwarning { color: red; }

.iskopman1 { background-color: green; color: white; }
.giro1 { background-color: #FC91AB !important; color: black; }
.tour1 { background-color: #F8CA02 !important; color: black; }
.vuelta1 { background-color: #D6150F !important; color: white; }

.giro1 a:link, .giro1 a:visited { color: black !important; }
.tour1 a:link, .tour1 a:visited { color: black !important; }
.vuelta1 a:link, .vuelta1 a:visited { color: white !important; }

.gekozen1 { visibility: hidden; }
.gekozen0 { visibility: visible; }

.wisRenner {
    font-size: 0.7em;
    background-color: #efefef;
    border: 1px solid #cdcdcd;
    border-radius: 20px;
}

.uitgevallen a {
    text-decoration: line-through !important;
}

.result-row .name.uitgevallen {
    text-decoration: line-through;
    color: #aaa;
}

#lijstmetwinnaars tr.group {
    font-weight: bold;
    border-bottom: 2px solid #bbb !important;
}

/* ============================================================
   FRIENDS
   ============================================================ */
#checkFriends {
    float: right;
}

/* ============================================================
   DEADLINE COUNTDOWN BANNER
   ============================================================ */
.deadline-banner {
    background: rgba(46, 125, 50, 0.07);
    border: 1px solid rgba(46, 125, 50, 0.25);
    border-left: 4px solid #2e7d32;
    border-radius: 0.375rem;
    padding: 0.75rem 1.25rem 0.65rem;
    margin-bottom: 1.5rem;
    transition: background 0.6s ease, border-color 0.6s ease;
}

.deadline-banner.urgency-orange {
    background: rgba(230, 81, 0, 0.07);
    border-color: rgba(230, 81, 0, 0.25);
    border-left-color: #e65100;
}

.deadline-banner.urgency-red {
    background: rgba(153, 0, 0, 0.07);
    border-color: rgba(153, 0, 0, 0.25);
    border-left-color: #990000;
}

.deadline-banner-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.deadline-banner-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #555;
}

.deadline-countdown {
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #2e7d32;
    letter-spacing: 0.03em;
    transition: color 0.6s ease;
}

.urgency-orange .deadline-countdown { color: #e65100; }
.urgency-red    .deadline-countdown { color: #990000; }

.deadline-progress-track {
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.deadline-progress-fill {
    height: 100%;
    background: #2e7d32;
    border-radius: 2px;
    transition: background 0.6s ease;
}

.urgency-orange .deadline-progress-fill { background: #e65100; }
.urgency-red    .deadline-progress-fill { background: #990000; }

/* ============================================================
   JUMBOTRON (kept for back-compat if referenced elsewhere)
   ============================================================ */
.jumbotron {
    background-image: url('/images/voorjaarbanner2017.jpg');
    background-size: cover;
    background-position: 0px -90px;
    color: white;
    margin-top: 25px;
    margin-bottom: 10px;
}

.jumbotron h1 {
    background-color: rgba(0, 0, 0, 0.6);
    padding-left: 10px;
    width: 66.66%;
}

.jumbotron .lead {
    background-color: rgba(0, 0, 0, 0.5);
    padding-left: 10px;
    width: 60%;
}
