
/* ============================================
   HASSELT GOJU-CUP 2027
   CUSTOM CSS v2.0
   ============================================ */


/* ============================================
   1. TABELLEN
   ============================================ */

/* Algemene tabellen, behalve YUI-kalenders */

body table:not(.yui-calendar table):not(.yui-calcontainer table) {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e3e7e5;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Kolomtitels */

body table:not(.yui-calendar table):not(.yui-calcontainer table) th {
    background-color: #194d3b !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-bottom: 2px solid #467d61 !important;
}

/* Links in kolomtitels */

body table:not(.yui-calendar table):not(.yui-calcontainer table) th a {
    color: #ffffff !important;
    text-decoration: none;
}

body table:not(.yui-calendar table):not(.yui-calcontainer table) th a:hover {
    color: #e0eee5 !important;
}

/* Tabelgegevens */

body table:not(.yui-calendar table):not(.yui-calcontainer table) td {
    font-size: 15px !important;
    font-weight: 400;
    color: #27332d;
    padding: 10px 14px !important;
    vertical-align: middle;
    border-bottom: 1px solid #edf0ee;
}

/* Afwisselende rijen */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:nth-child(odd) td {
    background-color: #ffffff !important;
}

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:nth-child(even) td {
    background-color: #f8f9fa !important;
}

/* Hover */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:hover td {
    background-color: #eef3f0 !important;
}

/* Laatste rij */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:last-child td {
    border-bottom: none;
}

/* Afgeronde hoeken */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
thead tr:first-child th:first-child {
    border-top-left-radius: 8px !important;
}

body table:not(.yui-calendar table):not(.yui-calcontainer table)
thead tr:first-child th:last-child {
    border-top-right-radius: 8px !important;
}

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px !important;
}

body table:not(.yui-calendar table):not(.yui-calcontainer table)
tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px !important;
}

/* Eerste kolom links */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
th:first-child,
body table:not(.yui-calendar table):not(.yui-calcontainer table)
td:first-child {
    text-align: left !important;
}

/* Landvlaggen */

body table:not(.yui-calendar table):not(.yui-calcontainer table)
td:first-child img {
    width: 28px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px !important;
}


/* ============================================
   2. RSFORM KALENDERS
   ============================================ */

/* Kalenderbreedte */

.yui-calcontainer,
.yui-calcontainer .yui-calendar {
    width: 310px !important;
    max-width: 310px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Kalendertabel */

.yui-calcontainer table,
.yui-calendar table {
    width: 100% !important;
    table-layout: fixed !important;
    box-sizing: border-box !important;
}

/* Kalendercellen */

.yui-calcontainer th,
.yui-calcontainer td,
.yui-calendar th,
.yui-calendar td {
    box-sizing: border-box !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 5px 2px !important;
}

/* Kalenderkop en weekdagen */

.yui-calcontainer .calheader,
.yui-calendar .calheader,
.yui-calcontainer .calweekdaycell,
.yui-calendar .calweekdaycell {
    white-space: nowrap !important;
}


/* ============================================
   3. RSFORM VELDTITELS
   ============================================ */

form[id^="userForm"] .formControlLabel,
form[id^="userForm"] .formControlLabel *,
form[id^="userForm"] .rsform-block > label,
form[id^="userForm"] .control-label,
form[id^="userForm"] .control-label *,
form[id^="userForm"] .form-label {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}

/* ============================================
   EINDE HGC CUSTOM CSS v2.0
   ============================================ */
