/* Croatian red theme overrides for the shared modern layout. */
:root {
  --hr-primary: #eb1e25;
  --hr-primary-dark: #c9141b;
  --hr-primary-soft: #fff0f1;
  --hr-primary-pale: #fff7f7;
}

/* Header and schedule filters */
.navbar.header,
.navbar.header.navbar-light { background-color: var(--hr-primary) !important; }
.navbar.header.navbar-light .navbar-nav .nav-link:hover,
.navbar.header.navbar-light .navbar-nav .nav-link:focus-visible { color: #fff !important; background: #ffffff20; }
.au-header.navbar.header .navbar-nav .nav-link.active { color: var(--hr-primary-dark) !important; background: #fff; }
.schedule-filter { --schedule-dropdown-bg: var(--hr-primary); --schedule-dropdown-hover-bg: var(--hr-primary-dark); --schedule-dropdown-border: var(--hr-primary-dark); }
.schedule-filter .schedule-dates .nav-link.active,
.schedule-filter .schedule-dates .schedule-extra-date-active { border-color: var(--hr-primary); background-color: var(--hr-primary); color: #fff !important; }
.schedule-filter .schedule-dates .nav-link.active::before,
.schedule-filter .schedule-dates .schedule-extra-date-active::before { background-color: #ffb8bb; }
.schedule-sport-options .dropdown-toggle { background-color: var(--hr-primary); border-color: var(--hr-primary-dark); }
.schedule-sport-options .dropdown-toggle:hover,
.schedule-sport-options .dropdown-toggle.show { background-color: var(--hr-primary-dark); }

/* Schedule groups and event rows */
.schedule-sport-heading { border-bottom-color: #ff8f94; background: var(--hr-primary); }
.schedule-sport-block .leagueTitle { background: #fff3f3; color: var(--hr-primary-dark); }
.schedule-sport-block .schedule-event:hover { background: #fff7f7; }
.schedule-event .eventTime,
.schedule-event .eventTimePast { background: #f4e9e9; color: #702126; }
.schedule-event .eventTime:hover { background: #ead6d7; }

/* Search, empty results, headings and keyboard focus */
.schedule-search > label,
.home .page-header h1.schedule-page-title { color: #7c1d22; }
.schedule-search-controls button { border-color: #efc9cb; color: var(--hr-primary-dark); }
.schedule-search-controls button:hover:not(:disabled) { background: var(--hr-primary-soft); }
.schedule-search-controls input:focus-visible,
.schedule-search-controls button:focus-visible,
.schedule-search-empty-reset:focus-visible { outline-color: var(--hr-primary); }
#schedule-search-status.is-empty { border-color: #f1c8ca; background: linear-gradient(135deg, #fffafa, #fff0f1); color: #622126; }
#schedule-search-status .schedule-search-empty-icon { background: #ffe4e6; color: var(--hr-primary-dark); }
#schedule-search-status .schedule-search-empty-title { color: #7c1d22; }
#schedule-search-status .schedule-search-empty-reset,
#schedule-search-status .schedule-search-empty-reset:hover { color: var(--hr-primary-dark); }

/* Keep shared modern pages on the Croatian brand palette. */
.au-standings-wrap:focus-visible { outline-color: var(--hr-primary); }
.au-standings-wrap .table.au-standings th { background: var(--hr-primary); }
.au-standings-wrap .table.au-standings td a:hover { color: var(--hr-primary-dark); }
.au-standings-wrap .table.au-standings tr.bg-secondary > td:first-child { box-shadow: inset 3px 0 var(--hr-primary); }
.au-standings-wrap .table.au-top-scorers .scorers-goals strong { color: var(--hr-primary-dark); }
#modalTZ .modal-title i { color: var(--hr-primary); }
#modalTZ .pickedZone.activeZone { border-color: var(--hr-primary); box-shadow: inset 0 0 0 1px var(--hr-primary); }
#modalTZ .pickedZone:focus-visible { outline-color: var(--hr-primary); }
#modalTZ .saveZone { background: var(--hr-primary); border-color: var(--hr-primary); }
#modalTZ .saveZone:hover { background: var(--hr-primary-dark); }
#modalTZ .au-footer-brand { color: var(--hr-primary-dark); }
.au-site-footer a:hover,
.au-site-footer a:focus-visible { color: var(--hr-primary-dark); }
:root {
  --sidebar-primary: var(--hr-primary);
  --sidebar-accent: var(--hr-primary);
  --sidebar-link: var(--hr-primary-dark);
  --sidebar-link-hover: #7c1d22;
  --sidebar-text: #622126;
  --sidebar-underline: var(--hr-primary);
  --sidebar-divider: #f1c8ca;
  --sidebar-border: #f1c8ca;
  --sidebar-app-bg: #fff7f7;
  --sidebar-link-bg: #fff7f7;
  --sidebar-link-hover-bg: #ffe9ea;
  --sidebar-row-bg: #fff7f7;
}

/* Extra modern schedule surfaces also used by AU pages. */
.hot-agenda .hot-agenda-title { border-bottom-color: #ff8f94; background: var(--hr-primary); }
.topText .topText-toggle:hover { color: var(--hr-primary-dark); }
