/* Sticky footer: push footer to bottom when content is short */
.content-page {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

.content-page > .content {
    flex: 1 1 auto !important;
}

.content-page > footer,
.content-page > .footer {
    flex-shrink: 0;
}

/* Globale overrides: alles rechthoekig (geen border-radius) */
.nav-tabs .nav-link,
.nav-tabs .nav-item .nav-link {
    border-radius: 0 !important;
}

.card,
.card-header:first-child,
.card-footer:last-child {
    border-radius: 0 !important;
}

.table,
.table-responsive {
    border-radius: 0 !important;
}

.alert {
    border-radius: 0 !important;
}

/* Language switcher (publieke pagina's) */
.ysp-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.ysp-lang-btn {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #495057;
    text-decoration: none;
    line-height: 1;
}
.ysp-lang-btn:hover {
    background: #f1f3f5;
    color: #212529;
    text-decoration: none;
}
.ysp-lang-btn.is-active {
    background: #0acf97;
    color: #fff;
}
.ysp-lang-btn.is-active:hover {
    background: #08b181;
    color: #fff;
}

/* Logo tekst in topbar */
.topnav-logo-text {
    font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

.topnav-logo-sm .topnav-logo-text {
    font-size: 1rem;
}

/* Booking-specifieke achtergrondkleur (donker teal i.p.v. donkerblauw) */
.authentication-bg {
    background-color: #1a3a4a !important;
}

/* Footer styling */
.bg-footer {
    background-color: #100f37;
    color: #fff !important;
}
.bg-footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}
.bg-footer a {
    color: rgba(255, 255, 255, 0.8);
}
.bg-footer a:hover {
    color: #fff;
}
.bg-footer .border-bottom {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Spatie na euroteken in overzichtstabel */
.summary_wrapper .euro::after {
    content: "\00a0";
}

/* ------------------------------------------------------------------------------------------
   Keuzetegels (templates/tournament/_tiles.twig): een radio als grote, klikbare tegel.
   - .trn-tile: hoofdkeuze met icoon, titel, uitleg en een vinkje als hij gekozen is
   - .trn-tile.trn-option: vervolgkeuze met een radiobolletje (compacter)
   ------------------------------------------------------------------------------------------ */
.trn-tiles {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.trn-tile-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.trn-tile {
    position: relative;
    display: block;
    height: 100%;
    min-height: 44px;
    margin: 0;
    padding: 1rem 2.25rem 1rem 1.1rem;
    border: 1px solid #dee2e6;
    border-radius: .5rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.trn-tile:hover {
    border-color: rgba(var(--bs-primary-rgb), .5);
}
.trn-tile-input:checked + .trn-tile {
    border-color: var(--bs-primary);
    background-color: rgba(var(--bs-primary-rgb), .07);
    box-shadow: 0 0 0 1px var(--bs-primary);
}
.trn-tile-input:focus-visible + .trn-tile {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}
.trn-tile-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 600;
    color: #313a46;
}
.trn-tile-title > i {
    width: 1.1rem;
    text-align: center;
    color: var(--bs-primary);
}
.trn-tile-text {
    display: block;
    margin-top: .35rem;
    font-size: .875rem;
    color: #6c757d;
}
.trn-tile-check {
    position: absolute;
    top: .8rem;
    right: .8rem;
    display: none;
    color: var(--bs-primary);
}
.trn-tile-input:checked + .trn-tile .trn-tile-check {
    display: inline-block;
}
.trn-tile.trn-option {
    padding: .75rem 1rem;
}
.trn-tile.trn-option .trn-tile-title::before {
    content: '';
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--bs-gray-500, #adb5bd);
    border-radius: 50%;
    background-color: #fff;
}
.trn-tile-input:checked + .trn-tile.trn-option .trn-tile-title::before {
    border: 5px solid var(--bs-primary);
}
.trn-tile.trn-option .trn-tile-text {
    padding-left: 1.5rem;
}
