/*Breakpoints*/
/*Colors*/
.text-bright {
  color: #ffffff;
}
.text-faded {
  color: #5f6b7a;
}
.bg-highlight {
  background-color: #e8f7fb !important;
}
/* Shadows */
/*Fonts*/
/*Google Fonts have to be local to avoid legal troubles*/
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Light.ttf');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-LightItalic.ttf');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Medium.ttf');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-MediumItalic.ttf');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Bold.ttf');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-BoldItalic.ttf');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-Black.ttf');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'RobotoMono';
  src: url('../fonts/RobotoMono-BlackItalic.ttf');
  font-weight: 900;
  font-style: italic;
}
:root {
  --brand: #1f6f8b;
  --brand-strong: #103a48;
  --brand-soft: #45b0d5;
  --accent: #f2b705;
  --ink: #10151c;
  --muted: #5f6b7a;
  --surface: #f5f7fb;
  --surface-raised: #ffffff;
  --border: #d7e1ec;
  --shadow-soft: 0 16px 30px rgba(20, 32, 45, 0.16);
  --shadow-lift: 0 18px 40px rgba(20, 32, 45, 0.24);
}
.navbar-toprow {
  display: block;
  background: linear-gradient(120deg, #103a48, #1f6f8b);
  height: 3.5rem;
  box-shadow: 0 10px 30px rgba(10, 18, 26, 0.2);
  position: sticky;
  top: 0;
  z-index: 1002;
}
@media (min-width: 768px) {
  .navbar-toprow {
    display: none;
  }
}
.navbar-toggler {
  display: block;
  appearance: none;
  cursor: pointer;
  width: 3rem;
  height: 2.5rem;
  position: absolute;
  top: 0.55rem;
  right: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  color: #ffffff !important;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center / 1.5rem rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 16px rgba(10, 18, 26, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 1003;
}
@media (min-width: 768px) {
  .navbar-toggler {
    display: none;
  }
}
.navbar-toggler:checked {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(1px);
  box-shadow: 0 6px 12px rgba(10, 18, 26, 0.15);
}
.top-row {
  height: 3.5rem;
  background-color: rgba(0, 0, 0, 0.4);
}
.navbar-brand {
  font-size: 1.1rem;
}
.nav-item {
  font-size: 0.95rem;
  /*    padding-bottom: 0.5rem;*/
}
.nav-item:first-of-type {
  padding-top: 1rem;
}
.nav-item:last-of-type {
  padding-bottom: 1rem;
}
.nav-item .nav-link {
  color: #ffffff !important;
  background: none;
  border: none;
  border-radius: 0;
  height: auto;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  line-height: 1.3rem;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  letter-spacing: 0.01em;
  width: 100%;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-pills {
  background-color: #1f6f8b;
}
.nav-item a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: inset 3px 0 0 #f2b705;
}
.nav-item .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(2px);
}
.nav-item .nav-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}
.nav-link.active {
  background-color: rgba(255, 255, 255, 0.2) !important;
  box-shadow: inset 3px 0 0 #f2b705;
}
.nav-scrollable {
  display: none;
  padding: 1.25rem 1rem 2rem;
  flex-direction: column;
}
@media (min-width: 768px) {
  .nav-scrollable {
    /* Never collapse the sidebar for wide screens */
    display: flex;
    /* Allow sidebar to scroll for tall menus */
    height: 100vh;
    overflow-y: auto;
    padding: 1.5rem 1.25rem 2.5rem;
  }
}
.navbar-toggler:checked ~ .nav-scrollable {
  display: flex;
}
.nav-scrollable > nav {
  flex: 1;
}
.nav-version {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  padding: 0.5rem 0;
  text-align: left;
}
.nav-brand-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.nav-brand-block {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.5rem 0.5rem 1rem;
}
.nav-logo {
  width: 56px;
  height: 56px;
  border-radius: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  object-fit: contain;
}
.nav-brand-title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  line-height: 1;
  margin-top: 0.1rem;
}
.nav-brand-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-scrollable hr {
  border: none;
  height: 1px;
  margin: 1rem 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
}
.nav-scrollable ul.nav {
  margin-top: 0.35rem;
  padding-left: 0.5rem;
}
@media (max-width: 767.98px) {
  .nav-scrollable {
    position: fixed;
    inset: 3.5rem 0 0 0;
    background: linear-gradient(160deg, #103a48, #1f6f8b);
    box-shadow: 0 20px 40px rgba(10, 18, 26, 0.35);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-item {
    font-size: 1rem;
  }
  .nav-item .nav-link {
    padding: 0.7rem 1rem;
  }
  .nav-scrollable ul.nav {
    padding-left: 0.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav-scrollable ul.nav .nav-link {
    padding-left: 0.75rem;
  }
}
/*Bootstrap*/
.btn-primary {
  background: linear-gradient(120deg, #1f6f8b, #103a48) !important;
  border-color: transparent !important;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 18px rgba(31, 111, 139, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: linear-gradient(120deg, #2583a4, #103a48) !important;
  border-color: transparent !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(31, 111, 139, 0.3);
}
.btn-success {
  background: linear-gradient(120deg, #1f6f8b, #103a48) !important;
  border-color: transparent !important;
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 18px rgba(31, 111, 139, 0.25);
}
.btn-success:hover {
  background: linear-gradient(120deg, #2583a4, #103a48) !important;
  border-color: transparent !important;
}
.btn-danger {
  background-color: #c0352b !important;
  border-color: #c0352b !important;
  color: #ffffff !important;
}
.btn-danger:hover {
  background-color: #a62c24 !important;
  border-color: #a62c24 !important;
  color: #ffffff !important;
}
.btn-secondary {
  border-radius: 0;
  border: 1px solid #d7e1ec;
  background-color: #ffffff;
  color: #10151c;
}
.btn-secondary:hover {
  background-color: rgba(31, 111, 139, 0.08);
}
.btn {
  border-radius: 0;
  font-weight: 600;
}
.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 1px solid #d7e1ec;
  background-color: #ffffff;
  color: #1f6f8b;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn-icon:hover {
  background-color: rgba(31, 111, 139, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(20, 32, 45, 0.12);
}
.btn-icon.btn-danger {
  background-color: #c0352b;
  color: #ffffff;
  border-color: #c0352b;
}
.btn-icon.btn-danger:hover {
  background-color: #a62c24;
  color: #ffffff;
  border-color: #a62c24;
}
.btn-icon.btn-info {
  color: #2b6cb0;
  border-color: rgba(43, 108, 176, 0.35);
}
.btn-icon.btn-info:hover {
  background-color: rgba(43, 108, 176, 0.1);
}
.btn-sm {
  border-radius: 0;
}
.card {
  box-shadow: none;
  border: 1px solid #d7e1ec !important;
  border-radius: 0 !important;
  background-color: #ffffff;
  overflow: hidden;
}
.card-header {
  background: linear-gradient(120deg, rgba(31, 111, 139, 0.18), rgba(69, 176, 213, 0.36)) !important;
  color: #10151c;
  font-weight: 700;
  border: none !important;
  border-radius: 0 !important;
  letter-spacing: 0.02em;
}
.card-body {
  background-color: #ffffff !important;
  border-radius: 0 !important;
  color: #10151c;
}
.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"] {
  border-radius: 0 !important;
  border: 1px solid #d7e1ec !important;
  background-color: #ffffff !important;
  color: #10151c;
  padding: 0.55rem 0.9rem;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 767.98px) {
  .btn-icon {
    width: 34px;
    height: 34px;
  }
  .form-control,
  .form-select,
  textarea,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"] {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
  }
}
.form-control:focus,
.form-select:focus,
textarea:focus,
input:focus {
  border-color: #1f6f8b !important;
  box-shadow: 0 0 0 3px rgba(31, 111, 139, 0.22) !important;
}
.btn-outline-primary {
  border-radius: 0;
  border-color: rgba(31, 111, 139, 0.4);
  color: #1f6f8b;
}
.btn-outline-primary:hover {
  background-color: rgba(31, 111, 139, 0.1);
  color: #103a48;
}
.table {
  background-color: #ffffff;
  border: 1px solid #d7e1ec;
  border-radius: 0;
  overflow: hidden;
}
.table thead th {
  background: rgba(31, 111, 139, 0.18);
  color: #10151c;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border-bottom: 1px solid #d7e1ec;
}
.table tbody tr {
  border-bottom: 1px solid #d7e1ec;
  transition: background-color 0.2s ease;
}
.table tbody tr:hover {
  background-color: rgba(31, 111, 139, 0.06);
}
.modal-content {
  border-radius: 0;
  border: 1px solid #d7e1ec;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
}
.modal-header {
  border-bottom: 1px solid #d7e1ec;
  background: rgba(31, 111, 139, 0.1);
}
.modal-title {
  font-weight: 700;
  letter-spacing: 0.04em;
}
.modal-footer {
  border-top: 1px solid #d7e1ec;
}
.alert {
  border-radius: 0;
  border: 1px solid #d7e1ec;
}
.form-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f6b7a;
}
.ab-dialog-message-wrapper {
  gap: 1rem;
}
.auth-center-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 1rem;
}
.auth-center-container .auth-center-tile {
  width: 100%;
  min-width: 18rem;
  max-width: 30rem;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #d7e1ec;
  box-shadow: 0 16px 30px rgba(20, 32, 45, 0.16);
  padding: 1.5rem;
}
.auth-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
}
.auth-container .auth-tile {
  width: 100%;
  min-width: 18rem;
  max-width: 40rem;
  background: #ffffff;
  border-radius: 0;
  border: 1px solid #d7e1ec;
  box-shadow: 0 16px 30px rgba(20, 32, 45, 0.16);
  padding: 1.75rem;
}
.loading-wrapper {
  margin: 3rem auto auto auto;
  text-align: center;
}
.loading-wrapper div {
  font-size: 3.5rem;
  color: #1f6f8b;
}
.loading-wrapper h4 {
  margin-top: 1rem;
  font-size: 1.8rem;
  color: #1f6f8b;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.quickgrid {
  width: 100%;
  border: 1px solid #d7e1ec;
  border-radius: 0;
  overflow: hidden;
  background-color: #ffffff;
  /* Hide the marker itself */
  /* Style the whole row that contains the marker */
}
.quickgrid th {
  background-color: #237c9c;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-bottom: 1px solid #d7e1ec;
}
.quickgrid td {
  color: #10151c;
}
.quickgrid th,
.quickgrid td {
  padding: 0.45rem 0.6rem;
}
.quickgrid tr {
  border-bottom: 1px solid #d7e1ec;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.quickgrid tbody tr:hover {
  background-color: rgba(31, 111, 139, 0.06);
  border-color: rgba(31, 111, 139, 0.2);
}
.quickgrid .selected-marker {
  display: none;
}
.quickgrid tr:has(.selected-marker) > td {
  background-color: rgba(31, 111, 139, 0.1);
  border-top: 1px solid rgba(31, 111, 139, 0.45);
  border-bottom: 1px solid rgba(31, 111, 139, 0.45);
}
.quickgrid tr:has(.selected-marker) > td:first-child {
  border-left: 1px solid rgba(31, 111, 139, 0.45);
}
.quickgrid tr:has(.selected-marker) > td:last-child {
  border-right: 1px solid rgba(31, 111, 139, 0.45);
}
.quickgrid .col-title-text {
  color: #ffffff;
}
.quickgrid .control-column-1 {
  width: 48px;
  max-width: 48px;
  padding: 4px !important;
}
.quickgrid .control-column {
  width: 92px;
  max-width: 92px;
  padding: 4px !important;
}
.quickgrid .control-column-3 {
  width: 138px;
  max-width: 138px;
  padding: 4px !important;
}
.quickgrid .control-column-4 {
  width: 180px;
  max-width: 180px;
  padding: 4px !important;
}
.quickgrid .control-column-5 {
  width: 224px;
  max-width: 224px;
  padding: 4px !important;
}
.quickgrid .control-column-container {
  display: flex;
  gap: 4px;
  justify-content: end;
}
.quickgrid .control-column-container-1 {
  display: flex;
  gap: 4px;
  justify-content: end;
}
.quickgrid .btn {
  flex-grow: 0;
  width: 40px;
}
.toast-notifications-container {
  position: fixed;
  z-index: 902;
  top: 1rem;
  float: right;
  right: 1rem;
}
.toast-container {
  width: 15rem;
  min-width: 10rem;
}
.toast-item {
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
  padding: 1rem 1.1rem;
  opacity: 0.95;
  text-align: left;
}
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.page-title {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.page-subtitle {
  color: #5f6b7a;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}
.page-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.data-surface {
  background-color: #ffffff;
  border: 1px solid #d7e1ec;
  border-radius: 0;
  box-shadow: 0 16px 30px rgba(20, 32, 45, 0.16);
  padding: 0.75rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.data-surface .quickgrid,
.data-surface .table {
  border: none;
  box-shadow: none;
}
.search-box {
  background-color: rgba(31, 111, 139, 0.06);
  border: 1px solid #d7e1ec;
  border-radius: 0;
  padding: 0.5rem;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}
.form-section {
  background: #ffffff;
  border: 1px solid #d7e1ec;
  border-radius: 0;
  padding: 1rem;
}
.section-title {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5f6b7a;
  margin-bottom: 0.5rem;
}
.dashboard {
  color: #10151c;
}
.dashboard .card {
  height: auto;
  min-height: 0;
}
.dashboard .card-body {
  height: auto;
  min-height: 0;
}
.dashboard .card-body,
.dashboard .card-body * {
  color: #10151c;
}
.dashboard .text-faded {
  color: #5f6b7a;
}
.dashboard .text-danger {
  color: #c0352b;
}
.dashboard-detail-panel {
  display: block;
}
.dashboard-sheet-overlay {
  display: none;
}
.dashboard-sheet {
  display: none;
}
.tabbar {
  display: flex;
  padding: 1rem 0 0.25rem 0;
  flex-wrap: wrap;
}
.tabbar div {
  flex-basis: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
  text-align: center;
  white-space: nowrap !important;
  cursor: pointer;
  color: #5f6b7a;
  border-bottom: 2px solid #d7e1ec;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.tabbar .active {
  border-bottom: 3px solid #1f6f8b;
  color: #1f6f8b;
  font-weight: 600;
}
@media (min-width: 576px) {
  .modal-edit-dialog {
    max-width: 1200px;
    min-width: 400px;
  }
}
@media (max-width: 1199.98px) {
  .modal-edit-dialog {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}
.modal-edit-dialog.max-height {
  height: 100% !important;
  padding: 1rem;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.modal-edit-dialog.max-height .modal-content {
  height: 100% !important;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
}
.modal-edit-dialog.max-height .modal-content .modal-body {
  overflow: auto;
}
.modal-edit-dialog-medium {
  padding: 1rem;
  margin: 0 10rem !important;
  max-width: unset !important;
  height: 100% !important;
}
@media (max-width: 991.98px) {
  .modal-edit-dialog-medium {
    margin: 0 5rem !important;
  }
}
@media (max-width: 767.98px) {
  .modal-edit-dialog-medium {
    margin: 0 !important;
  }
}
.modal-edit-dialog-medium .modal-content {
  height: 100% !important;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
}
.modal-edit-dialog-medium .modal-content .modal-body {
  overflow: auto;
}
.modal-edit-dialog-max {
  padding: 1rem;
  margin: 0 !important;
  max-width: unset !important;
  height: 100% !important;
}
.modal-edit-dialog-max .modal-content {
  height: 100% !important;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
}
.modal-edit-dialog-max .modal-content .modal-body {
  overflow: auto;
}
.modal-edit-dialog-max-height {
  padding: 1rem;
  margin: 0 !important;
  height: 100% !important;
}
.modal-edit-dialog-max-height .modal-content {
  height: 100% !important;
}
.modal-edit-dialog-min {
  max-width: 500px;
}
@media (max-width: 767.98px) {
  .modal-dialog,
  .modal-edit-dialog,
  .modal-edit-dialog-medium,
  .modal-edit-dialog-max,
  .modal-edit-dialog-max-height,
  .modal-edit-dialog-min {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important;
  }
  .modal-content {
    height: 100% !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    display: flex;
    flex-direction: column;
  }
  .modal-header {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #ffffff;
  }
  .modal-body {
    flex: 1 1 auto;
    padding: 1rem !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .modal-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background-color: #ffffff;
    flex-direction: column;
    gap: 0.5rem;
  }
  .modal-footer .btn {
    width: 100%;
  }
}
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
}
@media (max-width: 767.98px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
}
.two-column-grid-label {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 1rem;
  align-items: center;
}
@media (max-width: 767.98px) {
  .two-column-grid-label {
    grid-template-columns: 1fr;
  }
}
.three-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
}
@media (max-width: 991.98px) {
  .three-column-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767.98px) {
  .three-column-grid {
    grid-template-columns: 1fr;
  }
}
.flex-basis-1 {
  flex-basis: 1px;
}
.reg-card {
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(20, 32, 45, 0.24);
  border-radius: 0;
  border: 1px solid #d7e1ec;
}
.reg-card .reg-card-header {
  background: linear-gradient(120deg, rgba(31, 111, 139, 0.2), rgba(69, 176, 213, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-radius: 0;
}
.reg-card .reg-card-body {
  padding: 1rem;
}
@media (min-width: 768px) {
  .reg-card .reg-card-body {
    padding: 2.5rem;
  }
}
#course-detail-form {
  /*height: 100%;*/
  flex-grow: 1;
}
@media (max-width: 767.98px) {
  .hide-sm {
    display: none !important;
  }
}
@media (max-width: 991.98px) {
  .hide-md {
    display: none !important;
  }
}
.form-check-large {
  width: 32px;
  height: 32px;
}
.attendees-scroll {
  max-height: 55vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.ab-dialog-message-wrapper {
  min-height: 0;
}
@media (max-width: 767.98px) {
  .page-header {
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .page-actions {
    width: 100%;
  }
  .page-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .quickgrid th {
    font-size: 0.7rem;
  }
  .quickgrid td {
    font-size: 0.85rem;
  }
  .quickgrid .control-column,
  .quickgrid .control-column-1,
  .quickgrid .control-column-3 {
    width: 72px;
    max-width: 72px;
  }
  .quickgrid thead {
    display: none;
  }
  .quickgrid,
  .quickgrid tbody,
  .quickgrid tr,
  .quickgrid td {
    display: block;
    width: 100%;
  }
  .quickgrid td.hide-sm {
    display: none !important;
  }
  .quickgrid tr {
    border: 1px solid #d7e1ec;
    margin-bottom: 0.75rem;
  }
  .quickgrid td {
    border-bottom: 1px solid #d7e1ec;
    padding: 0.55rem 0.75rem;
  }
  .quickgrid td:last-child {
    border-bottom: none;
  }
  .quickgrid .control-column,
  .quickgrid .control-column-1,
  .quickgrid .control-column-3,
  .quickgrid .control-column-4,
  .quickgrid .control-column-5 {
    width: 100%;
    max-width: 100%;
    padding: 0 !important;
  }
  .quickgrid .control-column-container,
  .quickgrid .control-column-container-1 {
    justify-content: flex-start;
    padding: 0.5rem 0.75rem;
  }
  .card .card-body,
  .card .card-body * {
    color: #10151c;
  }
  .card .card-body .text-faded {
    color: #5f6b7a;
  }
  .card .card-body .text-danger {
    color: #c0352b;
  }
  .course-mobile-card {
    cursor: pointer;
    padding: 0.25rem 0;
  }
  .course-mobile-title {
    font-weight: bold;
  }
  .course-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #5f6b7a;
  }
}
@media (max-width: 767.98px) {
  .attendees-scroll {
    max-height: calc(100vh - 220px);
  }
}
@media (max-width: 991.98px) {
  .dashboard-columns {
    flex-direction: column;
  }
  .dashboard-detail-panel {
    display: none !important;
  }
  .dashboard-sheet-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 26, 0.45);
    z-index: 1005;
  }
  .dashboard-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 85vh;
    background: #ffffff;
    border-top: 1px solid #d7e1ec;
    z-index: 1006;
  }
  .dashboard-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #d7e1ec;
    background: #ffffff;
    position: static;
  }
  .dashboard-sheet-title {
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  .dashboard-sheet-body {
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dashboard .card,
  .dashboard .card-body,
  .dashboard .card-body * {
    visibility: visible !important;
    opacity: 1 !important;
    color: #10151c !important;
  }
  .dashboard .text-faded {
    color: #5f6b7a !important;
  }
  .dashboard .card {
    display: flex;
    flex-direction: column;
    min-height: 10rem;
    overflow: visible;
  }
  .dashboard .card-body {
    flex: 1 1 auto;
  }
}
html,
body {
  font-family: "Inter", "Segoe UI", "Trebuchet MS", sans-serif !important;
  color: #10151c;
  background: radial-gradient(1200px 800px at 85% -10%, rgba(31, 111, 139, 0.16), transparent 60%), #f5f7fb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", "Segoe UI", "Trebuchet MS", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #10151c;
}
a {
  color: #1f6f8b;
  text-decoration: none;
}
a:hover {
  color: #103a48;
  text-decoration: none;
}
code,
pre,
.monospace {
  font-family: "RobotoMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (min-width: 768px) {
  .page {
    flex-direction: row;
  }
}
main {
  flex: 1;
  padding: 1.5rem 1.25rem 2.5rem;
  min-height: 0;
}
.sidebar {
  background: linear-gradient(160deg, #103a48 0%, #1f6f8b 65%, #18546a 100%);
  box-shadow: 18px 0 30px rgba(10, 18, 26, 0.12);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 768px) {
  .sidebar {
    width: 280px;
    height: 100vh;
    position: sticky;
    top: 0;
  }
}
.content {
  background-color: #ffffff;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #d7e1ec;
  min-height: calc(100vh - 3.5rem);
  max-width: 1400px;
  margin: 0 auto;
  height: auto;
}
@media (max-width: 767.98px) {
  main {
    padding: 1rem 0.75rem 2rem;
    min-height: 100vh;
  }
  .content {
    border-radius: 0;
    min-height: 100vh;
    padding: 0.75rem !important;
  }
}
@media (max-width: 991.98px) {
  main {
    min-height: 100vh;
  }
  .content {
    min-height: 100vh;
    height: auto;
  }
}
#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}
#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
h1:focus {
  outline: none;
}
.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}
.invalid {
  outline: 1px solid #e50000;
}
.validation-message {
  color: #e50000;
}
.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}
.blazor-error-boundary::after {
  content: "An error has occurred.";
}
.darker-border-checkbox.form-check-input {
  border-color: #929292;
}
.user-profile-grid-image,
.user-profile-flex-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #45b0d5;
  border-radius: 6px;
  padding: 2px;
  /*max-width: calc(15rem + 4px);*/
  background-color: #ffffff;
}
.reminder-flex-documents {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  border: 1px solid #45b0d5;
  border-radius: 6px;
  padding: 2px;
  /*max-width: calc(15rem + 4px);*/
  background-color: #ffffff;
}
.user-profile-image {
  object-fit: cover;
  width: auto;
  max-width: 30rem;
  height: auto;
  max-height: 30rem;
  min-width: 6rem;
  flex-grow: 1;
  /*max-height: 14rem;*/
}
.contribution-image {
  object-fit: contain;
  flex-grow: 1;
  /*max-height: 14rem;*/
}
.image-button-text {
  margin-left: 0.5rem;
  font-family: "Inter", "Segoe UI", "Trebuchet MS", sans-serif;
}
.cookie-banner {
  opacity: 0.97;
  text-align: center;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0;
  left: 1rem;
  right: 1rem;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  position: fixed !important;
  gap: 1rem;
  border-radius: 0;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #d7e1ec;
}
.stats-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stats-year-select {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.stats-summary {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stats-card .stats-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}
.stats-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.stats-chart-line {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #1f6f8b;
}
.stats-chart-line svg {
  width: 100%;
  height: 160px;
}
.stats-line-fill {
  fill: rgba(31, 111, 139, 0.2);
}
.stats-chart-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #5f6b7a;
}
.stats-legend {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.stats-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.stats-legend-color {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  display: inline-block;
}
.stats-male {
  background: #1f6f8b;
}
.stats-female {
  background: #113d4c;
}
.stats-canton-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.stats-canton-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(120px, 1fr) 3fr auto;
  align-items: center;
}
.stats-canton-name {
  font-weight: 600;
}
.stats-bar {
  display: flex;
  height: 0.65rem;
  background: #ecf1f6;
  border-radius: 999px;
  overflow: hidden;
}
.stats-bar-male {
  background: #1f6f8b;
}
.stats-bar-female {
  background: #113d4c;
}
.stats-canton-total {
  font-weight: 600;
}
.stats-age-chart {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  align-items: end;
  min-height: 180px;
}
.stats-age-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.stats-age-bar-fill {
  width: 100%;
  background: rgba(31, 111, 139, 0.25);
  border-radius: 8px 8px 4px 4px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.35rem;
  min-height: 10px;
  position: relative;
}
.stats-age-count {
  font-size: 0.75rem;
  color: #10151c;
}
.stats-age-label {
  font-size: 0.75rem;
  color: #5f6b7a;
  text-align: center;
}
@media (max-width: 767.98px) {
  .stats-year-select {
    flex-direction: column;
    align-items: flex-start;
  }
  .stats-canton-row {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
