/*
 * Small additions on top of AdminLTE 3 for the CRM.
 * Utility names (fs-*, fw-*, btn-icon) are kept from the previous template so the page views did not need rewriting.
 */

/* Text size / weight utilities */
.fs-xs { font-size: .75rem !important; }
.fs-sm { font-size: .85rem !important; }
.fs-lg { font-size: 1.15rem !important; }
.fs-xl { font-size: 1.5rem !important; }
.fs-xxl { font-size: 2rem !important; }
.fw-500 { font-weight: 500 !important; }
.fw-700 { font-weight: 700 !important; }

/* Space between the page content (e.g. form buttons) and the footer */
.content-wrapper > .content { padding-bottom: 1.5rem; }

/* Page header */
.content-header .page-title { font-size: 1.6rem; font-weight: 500; }
.content-header .page-breadcrumb { background: transparent; padding: 0; font-size: .85rem; }
.subheader-icon { color: #007bff; margin-right: .4rem; }

/* Form labels (class kept from the previous template) */
.form-label { font-weight: 600; }

/* Cards: headers in the views use <h2> */
.card-header h2 { font-size: 1.05rem; font-weight: 600; margin: 0; }

/* AdminLTE floats .card-title (meant for card headers with tools on the right). Inside a card body the
   title must be a normal block, otherwise the lines below it wrap up next to it. */
.card-body .card-title { float: none; font-size: 1rem; font-weight: 600; }

/* Square icon buttons in table action columns */
.btn-icon {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar */
.brand-link .brand-image-icon { font-size: 1.4rem; margin: 0 .6rem 0 .9rem; vertical-align: middle; }
.brand-link .brand-text { font-size: .95rem; }
.nav-sidebar .nav-link.nav-link-year-end,
.nav-sidebar .nav-link.nav-link-year-end:hover {
    background-color: #ffc107;
    color: #343a40;
    font-weight: 700;
}
.nav-sidebar .nav-link.nav-link-year-end.active { box-shadow: 0 0 0 2px #fff inset; }

/* Login page */
.login-logo { font-size: 1.6rem; }

/* DataTables per-column search row */
table.dataTable thead tr.filters th { padding: .3rem; font-weight: normal; }

/* Φιλίππειος Δρόμος (filippeios-registrations/index): race-day ticks and t-shirt sizes. */
.tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 2px solid #ced4da;
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 1rem;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s;
}
.tick:hover { border-color: #28a745; color: rgba(40, 167, 69, .35); }
.tick:active { transform: scale(.9); }
.tick:focus { outline: none; box-shadow: 0 0 0 3px rgba(40, 167, 69, .25); }
.tick.is-on { border-color: #28a745; background: #28a745; color: #fff; }
.tick.is-on:hover { background: #218838; border-color: #218838; color: #fff; }
.tick.is-busy { opacity: .5; cursor: progress; }

.size-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .2rem .65rem;
    border-radius: 999px;
    background: #f1f3f5;
    font-size: .9rem;
}
.size-chip b { color: #007bff; }
.size-badge {
    display: inline-block;
    min-width: 2.4rem;
    padding: .15rem .4rem;
    border-radius: .35rem;
    background: #e7f1ff;
    color: #0056b3;
    font-weight: 700;
    text-align: center;
}
.race-stats .info-box .progress { height: 4px; margin-top: .35rem; }
.race-stats .info-box-text { white-space: normal; line-height: 1.2; }
@media (max-width: 575.98px) {
    .race-stats .info-box { min-height: 72px; padding: .4rem; }
    .race-stats .info-box-icon { width: 44px; font-size: 1.2rem; }
    .race-stats .info-box-text { font-size: .85rem; }
}
