/*
 * Skool Konect brand layer over the InfixEdu admin theme (light reskin).
 * Colours come from the "Skool Konect" theme (CSS variables); this file only
 * adds the self-hosted typeface and the few things the variables cannot reach.
 * Loaded last by resources/views/backEnd/partials/css.blade.php.
 */

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}

body {
    font-family: var(--base_font);
}

/* Sidebar brand lockup: the white owl + wordmark on the navy rail. */
.sk-brand-logo {
    height: 36px;
    width: auto;
    max-width: 100%;
}

/* Chart tooltips: the vendor drew a purple border; use the theme's line colour. */
.morris-hover.morris-default-style {
    border-color: var(--border_color) !important;
    color: var(--text-color);
}

/* Mobile top bar: the wide lockup needs a real height, not the vendor's square logo slot. */
.small_logo_crm img {
    height: 28px;
    width: auto;
    max-width: 160px;
}

/* ------------------------------------------------------------------
   School identity: the school's crest (when uploaded) and name lead;
   Skool Konect signs off as "Powered by". See partials/school-mark.
   ------------------------------------------------------------------ */
.sk-mark {
    --sk-mark-size: 40px;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: var(--sk-mark-size);
    height: var(--sk-mark-size);
    border-radius: 50%;
    overflow: hidden;
}
.sk-mark--crest {
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(21, 34, 56, 0.12);
    padding: calc(var(--sk-mark-size) * 0.1);
}
.sk-mark--crest img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
}

/* Sidebar header: school mark + name. */
.sk-school {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    text-decoration: none;
}
.sk-school__name {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#sidebar.mini_sidebar .sk-school__name,
.mini_sidebar .sk-school__name {
    display: none;
}

/* "Powered by Skool Konect", the product's quiet sign-off. */
.sk-powered {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 20px 26px 28px;
    font-size: 12px;
    line-height: 16px;
    color: var(--sidebar-nav-link, #b9c2d0);
}
.sk-powered img {
    width: 16px !important;
    height: 16px !important;
    max-width: none !important;
}
.sk-powered strong {
    color: #fff;
    font-weight: 600;
}
.mini_sidebar .sk-powered span {
    display: none;
}

#sidebar .sk-mark--crest {
    border-radius: 8px;
}

/* Dashboard summary cards: soft pastel tints (theme card colours) need dark text. */
.single-summery.cyan h3, .single-summery.violet h3, .single-summery.blue h3, .single-summery.fuchsia h3,
.single-summery.cyan h1, .single-summery.violet h1, .single-summery.blue h1, .single-summery.fuchsia h1 {
    color: #242424 !important;
}
.single-summery.cyan p, .single-summery.violet p, .single-summery.blue p, .single-summery.fuchsia p {
    color: #5c5f60 !important;
}

/* ------------------------------------------------------------------
   Academic calendar, after the Skool Konect calendar page: Month / Week /
   Day switch, title, Today + arrows; cyan weekday header, tall framed day
   cells with bold two-digit dates and pills pinned to the bottom (pale fill
   + thin edge in the category's colours, from the calendar settings); the
   category key and the selected day's events in a column beside it.
   ------------------------------------------------------------------ */
.sk-calendar__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}
@media (min-width: 1360px) {
    .sk-calendar__layout { grid-template-columns: minmax(0, 867fr) minmax(240px, 263fr); }
}
.sk-calendar__main { min-width: 0; overflow-x: auto; }
.sk-calendar__main .fc { min-width: 720px; }

/* toolbar */
.sk-calendar .fc .fc-toolbar.fc-header-toolbar { margin-bottom: 22px; gap: 12px; }
.sk-calendar .fc .fc-toolbar-title { font-size: 18px; line-height: 24px; font-weight: 600; color: #242424; }
.sk-calendar .fc .fc-button,
.sk-calendar .fc .fc-button-primary {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #242424;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    text-transform: none;
    transition: background-color 150ms, color 150ms;
}
.sk-calendar .fc .fc-button:focus-visible { outline: 2px solid #09648c; outline-offset: 2px; }
.sk-calendar .fc .fc-toolbar-chunk:first-child .fc-button-group {
    padding: 6px;
    border-radius: 6px;
    background: #f7f8fa;
    gap: 2px;
}
.sk-calendar .fc .fc-toolbar-chunk:first-child .fc-button {
    height: 32px;
    padding: 4px 14px;
    border-radius: 6px !important;
}
.sk-calendar .fc .fc-toolbar-chunk:first-child .fc-button:hover { background: #fff !important; }
.sk-calendar #academicCalendar .fc-toolbar-chunk:first-child .fc-button-primary:not(:disabled).fc-button-active,
.sk-calendar .fc .fc-toolbar-chunk:first-child .fc-button.fc-button-active {
    color: #242424 !important;
    background: #e2dffd !important;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}
.sk-calendar .fc .fc-today-button,
.sk-calendar #academicCalendar .fc-button-primary.fc-today-button:disabled {
    background: transparent !important;
    color: #6b6e6f !important;
    font-size: 14px;
    font-weight: 500;
    opacity: 1 !important;
}
.sk-calendar .fc .fc-today-button:hover { color: #242424 !important; }
.sk-calendar .fc .fc-toolbar-chunk:last-child { display: flex; align-items: center; gap: 10px; }
.sk-calendar .fc .fc-prev-button,
.sk-calendar .fc .fc-next-button {
    width: 28px;
    height: 28px;
    padding: 0 !important;
    margin-left: 2px !important;
    border-radius: 6px !important;
    background: #e2dffd !important;
    color: #5a57d6 !important;
}
.sk-calendar .fc .fc-prev-button:hover,
.sk-calendar .fc .fc-next-button:hover { background: #d5d1fb !important; }
.sk-calendar .fc .fc-icon { font-size: 16px; }

/* grid */
.sk-calendar .fc-theme-standard .fc-scrollgrid {
    border: 1px solid #e8eaee !important;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}
.sk-calendar .fc-theme-standard td,
.sk-calendar .fc-theme-standard th { border-color: #e8eaee !important; }
/* the vendor admin CSS pads every .fc th by 23px 15px !important */
.sk-calendar .fc th { padding: 0 !important; }
.sk-calendar .fc .fc-col-header-cell { background: rgba(195, 235, 250, 0.3); text-align: left; }
.sk-calendar .fc .fc-col-header-cell-cushion {
    display: block;
    padding: 18px 15px;
    color: #242424 !important;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
}
.sk-calendar .fc .fc-daygrid-day-frame {
    display: flex;
    flex-direction: column;
    min-height: 130px;
    padding: 16px 12px 12px;
    cursor: pointer;
    transition: background-color 150ms;
}
.sk-calendar .fc .fc-daygrid-day:hover .fc-daygrid-day-frame { background: rgba(247, 248, 250, 0.6); }
.sk-calendar .fc .fc-daygrid-day.sk-selected .fc-daygrid-day-frame { background: #f7f8fa; }
.sk-calendar .fc .fc-day-today,
.sk-calendar .fc .fc-daygrid-day.fc-day-today { background: transparent !important; }
.sk-calendar .fc .fc-daygrid-day-top { flex-direction: row; }
.sk-calendar .fc .fc-daygrid-day-number {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    background: none !important;
    color: #242424 !important;
    font-size: 12px;
    line-height: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-decoration: none;
}
.sk-calendar .fc .fc-day-today .fc-daygrid-day-number { color: #09648c !important; }
.sk-calendar .fc .fc-day-other .fc-daygrid-day-top { opacity: 1; }
.sk-calendar .fc .fc-day-other .fc-daygrid-day-number { color: #a3a6a8 !important; font-weight: 400; }
.sk-calendar .fc .fc-daygrid-day-events { margin-top: auto !important; display: flex; flex-direction: column; gap: 6px; }
.sk-calendar .fc .fc-daygrid-day-bottom { order: -1; margin: 0 !important; }
.sk-calendar .fc .fc-daygrid-event-harness { margin: 0 !important; }
.sk-calendar .fc .fc-daygrid-event,
.sk-calendar .fc .fc-h-event {
    display: flex;
    align-items: stretch;
    gap: 6px;
    margin: 0 !important;
    padding: 4px 8px 4px 4px;
    border: 0 !important;
    border-radius: 4px;
    background: var(--sk-ev-bg, #eef0f3) !important;
    color: #242424 !important;
}
.sk-calendar .fc .fc-daygrid-event::before {
    content: "";
    flex: 0 0 2px;
    border-radius: 2px;
    background: var(--sk-ev-line, #6b6e6f);
}
.sk-calendar .fc .fc-daygrid-event .fc-event-main,
.sk-calendar .fc .fc-daygrid-event .fc-event-title,
.sk-calendar .fc .fc-daygrid-event * {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #242424 !important;
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
}
.sk-calendar .fc .fc-daygrid-event-dot { display: none; }
.sk-calendar .fc .fc-daygrid-more-link {
    position: absolute;
    top: 14px;
    right: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #f7f8fa;
    color: #6b6e6f !important;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}
.sk-calendar .fc .sk-selected .fc-daygrid-more-link { background: #fff; }

/* side column */
.sk-calendar__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
@media (min-width: 768px) and (max-width: 1359px) {
    .sk-calendar__side { grid-template-columns: 1fr 1fr; align-items: start; }
}
.sk-calendar__panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 16px;
    border: 1px solid #e8eaee;
    border-radius: 14px;
}
.sk-calendar__panel[hidden] { display: none; }
.sk-calendar__panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sk-calendar__panel-title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; color: #242424; }
.sk-calendar__add {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6b6e6f;
    cursor: pointer;
}
.sk-calendar__add:hover { background: #f7f8fa; color: #242424; }
.sk-calendar__key, .sk-calendar__day-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sk-calendar__key-item {
    position: relative;
    padding: 6px 8px 6px 18px;
    border-radius: 4px;
    background: var(--sk-ev-bg);
    color: #242424;
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
}
.sk-calendar__key-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 2px;
    background: var(--sk-ev-line);
}
.sk-calendar__card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 10px 12px 10px 14px;
    border: 0;
    border-left: 5px solid var(--sk-ev-line);
    border-radius: 6px;
    background: var(--sk-ev-bg);
    text-align: left;
    cursor: pointer;
}
.sk-calendar__card:hover { filter: brightness(0.98); }
.sk-calendar__card:focus-visible { outline: 2px solid #09648c; outline-offset: 2px; }
.sk-calendar__card-tag { font-size: 12px; line-height: 16px; font-weight: 500; color: #6b6e6f; }
.sk-calendar__card-title { font-size: 14px; line-height: 22px; font-weight: 500; color: #242424; }
.sk-calendar__card-sub { font-size: 12px; line-height: 20px; font-weight: 600; color: #6b6e6f; }
.sk-calendar__nothing { margin: 0; font-size: 12px; line-height: 20px; color: #6b6e6f; }
.sk-calendar__nothing[hidden] { display: none; }

/* ------------------------------------------------------------------
   Pop-ups (modals): white header with a dark title and a plain close
   button instead of a solid colour band. solid_style.css colours the
   header from --primary_color, which the theme never sets.
   ------------------------------------------------------------------ */
:root {
    --primary_color: var(--primary-color);
}
.modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(21, 34, 56, 0.18);
}
.modal-content .modal-header {
    background: #fff !important;
    border-bottom: 1px solid #eef0f3 !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 20px 24px !important;
    align-items: center;
}
.modal-content .modal-header .modal-title,
.modal-content .modal-header h4,
.modal-content .modal-header h5 {
    color: #242424 !important;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
}
.modal-content .modal-header .close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent !important;
    color: #6b6e6f !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}
.modal-content .modal-header .close:hover {
    background: #f3f5f8 !important;
    color: #242424 !important;
}
.modal-content .modal-header .close i,
.modal-content .modal-header .close span {
    color: inherit !important;
    font-size: 14px;
}

/* Calendar detail pop-ups put values in header cells; read them as plain text. */
#descriptionModal .commonModalContent h4 {
    font-size: 15px;
    font-weight: 600;
    color: #242424;
    margin-bottom: 8px;
}
#descriptionModal .commonModalContent table th {
    text-transform: none !important;
    text-align: left !important;
    font-size: 14px;
    font-weight: 400;
    color: #242424;
    padding: 12px 8px;
    border-color: #eef0f3 !important;
    vertical-align: top;
}
#descriptionModal .commonModalContent table th:first-child {
    width: 32%;
    color: #6b6e6f;
    font-size: 13px;
    font-weight: 500;
}

/* Notice / event / holiday detail: the title leads, details are quiet. */
.sk-detail {
    text-align: left;
    padding: 4px 4px 8px;
}
.sk-detail__type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef0f3;
    color: #2b3446;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}
.sk-detail__title {
    margin: 14px 0 0;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
    color: #242424;
    text-wrap: balance;
}
.sk-detail__meta {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 20px;
    color: #6b6e6f;
}
.sk-detail__meta li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
}
.sk-detail__meta i {
    width: 14px;
    text-align: center;
    color: #8a8d8e;
    font-size: 12px;
}
.sk-detail__body {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eef0f3;
    font-size: 15px;
    line-height: 24px;
    color: #3a3d3e;
    max-width: 62ch;
}
.sk-detail__body:empty {
    display: none;
}
.sk-detail__actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

/* ------------------------------------------------------------------
   Top-bar search (partials/menu, js/sk-search.js): one box for
   students, staff, parents and pages, results grouped in a panel.
   ------------------------------------------------------------------ */
.sk-search {
    position: relative;
    flex: 0 1 440px;
    min-width: 0;
}
.sk-search__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8d8e;
    font-size: 13px;
    pointer-events: none;
}
.sk-search__input {
    width: 100%;
    height: 40px;
    padding: 0 64px 0 38px;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: #f5f6f8 !important;
    color: #242424;
    font-size: 13px;
    transition: background-color 150ms, border-color 150ms;
}
.sk-search__input::placeholder { color: #8a8d8e; }
.sk-search__input::-webkit-search-cancel-button { display: none; }
.sk-search__input:hover { background: #f0f1f4 !important; }
.sk-search__input:focus {
    outline: none;
    background: #fff !important;
    border-color: #c9ced6 !important;
    box-shadow: 0 0 0 3px rgba(21, 34, 56, 0.06);
}
.sk-search__kbd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 2px 6px;
    border: 1px solid #e3e6ea;
    border-radius: 5px;
    background: #fff;
    color: #8a8d8e;
    font: 500 11px/16px var(--base_font, inherit);
    box-shadow: none;
    pointer-events: none;
}
.sk-search__input:focus ~ .sk-search__kbd { opacity: 0; }
.sk-search.is-loading .sk-search__icon { animation: sk-search-pulse 900ms ease-in-out infinite; }
@keyframes sk-search-pulse { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .sk-search.is-loading .sk-search__icon { animation: none; } }

.sk-search__panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1050;
    width: max(100%, 520px);
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 48px rgba(21, 34, 56, 0.14);
}
.sk-search__panel[hidden] { display: none; }
.sk-search__group + .sk-search__group {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #f0f1f4;
}
.sk-search__heading {
    margin: 0;
    padding: 8px 10px 4px;
    color: #8a8d8e;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
}
.sk-search__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #242424 !important;
    text-decoration: none !important;
}
.sk-search__item.is-active { background: #f3f5f8; }
.sk-search__title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 20px;
    color: #3a3d3e;
}
.sk-search__title strong { font-weight: 600; color: #242424; }
.sk-search__meta {
    flex-shrink: 0;
    max-width: 55%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #6b6e6f;
    font-size: 12px;
    line-height: 20px;
}
.sk-search__message {
    margin: 0;
    padding: 18px 12px;
    color: #242424;
    font-size: 14px;
    text-align: center;
}
.sk-search__message span {
    display: block;
    margin-top: 4px;
    color: #6b6e6f;
    font-size: 12px;
}
@media (max-width: 991px) {
    .sk-search { margin-left: 12px !important; }
    .sk-search__kbd { display: none; }
    .sk-search__input { padding-right: 12px; }
    .sk-search__panel { width: min(520px, calc(100vw - 24px)); }
}

/* ------------------------------------------------------------------
   List pages: card title row and a live filter bar (search + selects)
   instead of a separate "Select Criteria" form with a Search button.
   ------------------------------------------------------------------ */
.sk-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.sk-list__title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; color: #242424; }
.sk-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.sk-filter__search {
    position: relative;
    flex: 1 1 320px;
    max-width: 460px;
    margin: 0;
}
.sk-filter__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8a8d8e;
    font-size: 13px;
    pointer-events: none;
}
.sk-filter__search input {
    width: 100%;
    height: 40px;
    padding: 0 12px 0 38px;
    border: 1px solid #e3e6ea !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #242424;
    font-size: 13px;
}
.sk-filter__search input::placeholder { color: #8a8d8e; }
.sk-filter__search input:focus {
    outline: none;
    border-color: #c9ced6 !important;
    box-shadow: 0 0 0 3px rgba(21, 34, 56, 0.06);
}
.sk-filter__field { flex: 0 1 200px; min-width: 160px; }
.sk-filter__field .primary_input { margin: 0 !important; }
.sk-filter__field .nice-select {
    height: 40px !important;
    line-height: 38px !important;
    border-radius: 8px !important;
    border-color: #e3e6ea !important;
    font-size: 13px;
}
.sk-filter__field .loader_style { display: none; }
.sk-filter__clear {
    height: 40px;
    padding: 0 10px;
    border: 0;
    background: none;
    color: #09648c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.sk-filter__clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.sk-filter__clear[hidden] { display: none; }
@media (max-width: 767px) {
    .sk-filter__search { max-width: none; flex-basis: 100%; }
    .sk-filter__field { flex: 1 1 calc(50% - 5px); }
}

/* "Find student" on the Add fees invoice form (reuses the top-bar search look). */
.sk-find { flex: none; width: 100%; margin-bottom: 4px; }
.sk-find .sk-search__input { padding-right: 12px; background: #fff !important; border-color: #e3e6ea !important; }
.sk-find .sk-search__panel { width: 100%; }
.sk-find .sk-search__item { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }
.sk-find .sk-search__item.is-active { background: #f3f5f8; }
.sk-find__picked {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 18px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #e6f5fb;
    color: #242424;
    font-size: 14px;
}
.sk-find__picked[hidden] { display: none; }
.sk-find__picked-name { font-weight: 600; }
.sk-find__picked-meta { color: #2b5468; font-size: 12px; }
.sk-profile-action { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 16px; }
.sk-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.sk-pay-btn { padding: 0 16px !important; line-height: 30px !important; }
.sk-received { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eef0f3; }
.sk-received__field { flex: 0 1 240px; margin: 0; }
.sk-received__field input { height: 44px; font-size: 16px; font-weight: 600; }
.sk-received__due { margin: 0 0 10px auto; color: #6b6e6f; font-size: 13px; }
.sk-received__due strong { color: #242424; font-size: 15px; margin-left: 6px; }
/* money columns read on one line */
.sk-invoice-table td { white-space: nowrap; }

/* ------------------------------------------------------------------
   Invoice payments pop-up (fees viewPayment): totals, then one row
   per payment with receipt / edit / delete; panels open beneath.
   ------------------------------------------------------------------ */
.sk-paylist-dialog { max-width: 620px; }
.sk-paylist__title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sk-paylist__invoice { color: #6b6e6f; font-size: 12px; font-weight: 400; }
.sk-paylist { padding: 20px 24px 24px !important; }
.sk-ledger { margin: 0 0 24px; padding: 4px 0 0; }
.sk-ledger__line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
}
.sk-ledger dt { margin: 0; color: #5c5f60; font-size: 14px; font-weight: 400; }
.sk-ledger dd { margin: 0; color: #242424; font-size: 14px; font-variant-numeric: tabular-nums; }
.sk-ledger__line--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid #242424; }
.sk-ledger__line--total dt { display: flex; align-items: center; gap: 10px; color: #242424; font-size: 15px; font-weight: 600; }
.sk-ledger__line--total dd { font-size: 20px; font-weight: 700; }
.sk-status { padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0.02em; }
.sk-status--paid { background: #e3f4ee; color: #006b58; }
.sk-status--partial { background: #fbf3d4; color: #8a5300; }
.sk-status--unpaid { background: #fdecee; color: #bd1a27; }
.sk-paylist__heading { margin: 0 0 4px; padding-bottom: 8px; border-bottom: 1px solid #eef0f3; color: #242424; font-size: 14px; font-weight: 600; }
.sk-paylist__heading span { color: #8a8d8e; font-weight: 500; margin-left: 4px; }
.sk-paylist__empty { margin: 8px 0 0; color: #6b6e6f; font-size: 13px; }
.sk-pay { border-bottom: 1px solid #eef0f3; }
.sk-pay:last-child { border-bottom: 0; }
.sk-pay__row { display: flex; align-items: center; gap: 16px; padding: 12px 0; }
.sk-pay__when { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.sk-pay__date { color: #242424; font-size: 14px; font-weight: 500; }
.sk-pay__method { color: #6b6e6f; font-size: 12px; }
.sk-pay__extra { color: #8a5300; font-size: 12px; }
.sk-pay__amount { color: #242424; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sk-pay__actions { display: flex; gap: 6px; }
.sk-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6b6e6f !important;
    font-size: 14px;
    cursor: pointer;
}
.sk-icon-btn:hover, .sk-icon-btn[aria-expanded="true"] { background: #f3f5f8; color: #242424 !important; }
/* coloured actions: receipt (blue), edit (amber), delete (red) */
.sk-icon-btn--info { background: #e6f5fb; color: #09648c !important; }
.sk-icon-btn--info:hover { background: #cdeaf6; color: #064a69 !important; }
.sk-icon-btn--warn { background: #fbf3d4; color: #8a5300 !important; }
.sk-icon-btn--warn:hover, .sk-icon-btn--warn[aria-expanded="true"] { background: #f5e6ad; color: #6b4000 !important; }
.sk-icon-btn--danger { background: #fdecee; color: #bd1a27 !important; }
.sk-icon-btn--danger:hover, .sk-icon-btn--danger[aria-expanded="true"] { background: #f9d3d7; color: #961420 !important; }
.sk-icon-btn:focus-visible { outline: 2px solid #09648c; outline-offset: 2px; }
.sk-pay__panel { margin: 0 0 14px; padding: 14px; border-radius: 10px; background: #f7f8fa; }
.sk-pay__panel[hidden] { display: none; }
.sk-pay__confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; background: #fdecee; color: #7d1219; font-size: 13px; }
.sk-pay__confirm span { flex: 1 1 220px; }
.sk-btn-danger { background: #bd1a27 !important; border-color: #bd1a27 !important; color: #fff !important; }
.sk-pay__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk-pay__fields .bankInfo { grid-column: 1 / -1; }
.sk-pay__form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
@media (max-width: 575px) { .sk-pay__fields { grid-template-columns: 1fr; } }

/* current term beside the academic year in the top bar: plain text, like the year beside it */
.sk-term-chip { margin: 0 14px 0 -4px; color: var(--base_color) !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sk-term-chip:hover { text-decoration: underline; }
@media (max-width: 991px) { .sk-term-chip { display: none; } }
