/* src/custom-theme.scss */
html {
  --mat-sys-background: light-dark(#faf9fd, #121316);
  --mat-sys-error: light-dark(#ba1a1a, #ffb4ab);
  --mat-sys-error-container: light-dark(#ffdad6, #93000a);
  --mat-sys-inverse-on-surface: light-dark(#f2f0f4, #2f3033);
  --mat-sys-inverse-primary: light-dark(#abc7ff, #005cbb);
  --mat-sys-inverse-surface: light-dark(#2f3033, #e3e2e6);
  --mat-sys-on-background: light-dark(#1a1b1f, #e3e2e6);
  --mat-sys-on-error: light-dark(#ffffff, #690005);
  --mat-sys-on-error-container: light-dark(#93000a, #ffdad6);
  --mat-sys-on-primary: light-dark(#ffffff, #002f65);
  --mat-sys-on-primary-container: light-dark(#00458f, #d7e3ff);
  --mat-sys-on-primary-fixed: light-dark(#001b3f, #001b3f);
  --mat-sys-on-primary-fixed-variant: light-dark(#00458f, #00458f);
  --mat-sys-on-secondary: light-dark(#ffffff, #283041);
  --mat-sys-on-secondary-container: light-dark(#3e4759, #dae2f9);
  --mat-sys-on-secondary-fixed: light-dark(#131c2b, #131c2b);
  --mat-sys-on-secondary-fixed-variant: light-dark(#3e4759, #3e4759);
  --mat-sys-on-surface: light-dark(#1a1b1f, #e3e2e6);
  --mat-sys-on-surface-variant: light-dark(#44474e, #e0e2ec);
  --mat-sys-on-tertiary: light-dark(#ffffff, #0001ac);
  --mat-sys-on-tertiary-container: light-dark(#0000ef, #e0e0ff);
  --mat-sys-on-tertiary-fixed: light-dark(#00006e, #00006e);
  --mat-sys-on-tertiary-fixed-variant: light-dark(#0000ef, #0000ef);
  --mat-sys-outline: light-dark(#74777f, #8e9099);
  --mat-sys-outline-variant: light-dark(#c4c6d0, #44474e);
  --mat-sys-primary: light-dark(#005cbb, #abc7ff);
  --mat-sys-primary-container: light-dark(#d7e3ff, #00458f);
  --mat-sys-primary-fixed: light-dark(#d7e3ff, #d7e3ff);
  --mat-sys-primary-fixed-dim: light-dark(#abc7ff, #abc7ff);
  --mat-sys-scrim: light-dark(#000000, #000000);
  --mat-sys-secondary: light-dark(#565e71, #bec6dc);
  --mat-sys-secondary-container: light-dark(#dae2f9, #3e4759);
  --mat-sys-secondary-fixed: light-dark(#dae2f9, #dae2f9);
  --mat-sys-secondary-fixed-dim: light-dark(#bec6dc, #bec6dc);
  --mat-sys-shadow: light-dark(#000000, #000000);
  --mat-sys-surface: light-dark(#faf9fd, #121316);
  --mat-sys-surface-bright: light-dark(#faf9fd, #38393c);
  --mat-sys-surface-container: light-dark(#efedf0, #1f2022);
  --mat-sys-surface-container-high: light-dark(#e9e7eb, #292a2c);
  --mat-sys-surface-container-highest: light-dark(#e3e2e6, #343537);
  --mat-sys-surface-container-low: light-dark(#f4f3f6, #1a1b1f);
  --mat-sys-surface-container-lowest: light-dark(#ffffff, #0d0e11);
  --mat-sys-surface-dim: light-dark(#dbd9dd, #121316);
  --mat-sys-surface-tint: light-dark(#005cbb, #abc7ff);
  --mat-sys-surface-variant: light-dark(#e0e2ec, #44474e);
  --mat-sys-tertiary: light-dark(#343dff, #bec2ff);
  --mat-sys-tertiary-container: light-dark(#e0e0ff, #0000ef);
  --mat-sys-tertiary-fixed: light-dark(#e0e0ff, #e0e0ff);
  --mat-sys-tertiary-fixed-dim: light-dark(#bec2ff, #bec2ff);
  --mat-sys-neutral-variant20: #2d3038;
  --mat-sys-neutral10: #1a1b1f;
  --mat-sys-level0:
    0px 0px 0px 0px rgba(0, 0, 0, 0.2),
    0px 0px 0px 0px rgba(0, 0, 0, 0.14),
    0px 0px 0px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level1:
    0px 2px 1px -1px rgba(0, 0, 0, 0.2),
    0px 1px 1px 0px rgba(0, 0, 0, 0.14),
    0px 1px 3px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level2:
    0px 3px 3px -2px rgba(0, 0, 0, 0.2),
    0px 3px 4px 0px rgba(0, 0, 0, 0.14),
    0px 1px 8px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level3:
    0px 3px 5px -1px rgba(0, 0, 0, 0.2),
    0px 6px 10px 0px rgba(0, 0, 0, 0.14),
    0px 1px 18px 0px rgba(0, 0, 0, 0.12);
  --mat-sys-level4:
    0px 5px 5px -3px rgba(0, 0, 0, 0.2),
    0px 8px 10px 1px rgba(0, 0, 0, 0.14),
    0px 3px 14px 2px rgba(0, 0, 0, 0.12);
  --mat-sys-level5:
    0px 7px 8px -4px rgba(0, 0, 0, 0.2),
    0px 12px 17px 2px rgba(0, 0, 0, 0.14),
    0px 5px 22px 4px rgba(0, 0, 0, 0.12);
  --mat-sys-body-large: 400 1rem / 1.5rem Roboto;
  --mat-sys-body-large-font: Roboto;
  --mat-sys-body-large-line-height: 1.5rem;
  --mat-sys-body-large-size: 1rem;
  --mat-sys-body-large-tracking: 0.031rem;
  --mat-sys-body-large-weight: 400;
  --mat-sys-body-medium: 400 0.875rem / 1.25rem Roboto;
  --mat-sys-body-medium-font: Roboto;
  --mat-sys-body-medium-line-height: 1.25rem;
  --mat-sys-body-medium-size: 0.875rem;
  --mat-sys-body-medium-tracking: 0.016rem;
  --mat-sys-body-medium-weight: 400;
  --mat-sys-body-small: 400 0.75rem / 1rem Roboto;
  --mat-sys-body-small-font: Roboto;
  --mat-sys-body-small-line-height: 1rem;
  --mat-sys-body-small-size: 0.75rem;
  --mat-sys-body-small-tracking: 0.025rem;
  --mat-sys-body-small-weight: 400;
  --mat-sys-display-large: 400 3.562rem / 4rem Roboto;
  --mat-sys-display-large-font: Roboto;
  --mat-sys-display-large-line-height: 4rem;
  --mat-sys-display-large-size: 3.562rem;
  --mat-sys-display-large-tracking: -0.016rem;
  --mat-sys-display-large-weight: 400;
  --mat-sys-display-medium: 400 2.812rem / 3.25rem Roboto;
  --mat-sys-display-medium-font: Roboto;
  --mat-sys-display-medium-line-height: 3.25rem;
  --mat-sys-display-medium-size: 2.812rem;
  --mat-sys-display-medium-tracking: 0;
  --mat-sys-display-medium-weight: 400;
  --mat-sys-display-small: 400 2.25rem / 2.75rem Roboto;
  --mat-sys-display-small-font: Roboto;
  --mat-sys-display-small-line-height: 2.75rem;
  --mat-sys-display-small-size: 2.25rem;
  --mat-sys-display-small-tracking: 0;
  --mat-sys-display-small-weight: 400;
  --mat-sys-headline-large: 400 2rem / 2.5rem Roboto;
  --mat-sys-headline-large-font: Roboto;
  --mat-sys-headline-large-line-height: 2.5rem;
  --mat-sys-headline-large-size: 2rem;
  --mat-sys-headline-large-tracking: 0;
  --mat-sys-headline-large-weight: 400;
  --mat-sys-headline-medium: 400 1.75rem / 2.25rem Roboto;
  --mat-sys-headline-medium-font: Roboto;
  --mat-sys-headline-medium-line-height: 2.25rem;
  --mat-sys-headline-medium-size: 1.75rem;
  --mat-sys-headline-medium-tracking: 0;
  --mat-sys-headline-medium-weight: 400;
  --mat-sys-headline-small: 400 1.5rem / 2rem Roboto;
  --mat-sys-headline-small-font: Roboto;
  --mat-sys-headline-small-line-height: 2rem;
  --mat-sys-headline-small-size: 1.5rem;
  --mat-sys-headline-small-tracking: 0;
  --mat-sys-headline-small-weight: 400;
  --mat-sys-label-large: 500 0.875rem / 1.25rem Roboto;
  --mat-sys-label-large-font: Roboto;
  --mat-sys-label-large-line-height: 1.25rem;
  --mat-sys-label-large-size: 0.875rem;
  --mat-sys-label-large-tracking: 0.006rem;
  --mat-sys-label-large-weight: 500;
  --mat-sys-label-large-weight-prominent: 700;
  --mat-sys-label-medium: 500 0.75rem / 1rem Roboto;
  --mat-sys-label-medium-font: Roboto;
  --mat-sys-label-medium-line-height: 1rem;
  --mat-sys-label-medium-size: 0.75rem;
  --mat-sys-label-medium-tracking: 0.031rem;
  --mat-sys-label-medium-weight: 500;
  --mat-sys-label-medium-weight-prominent: 700;
  --mat-sys-label-small: 500 0.688rem / 1rem Roboto;
  --mat-sys-label-small-font: Roboto;
  --mat-sys-label-small-line-height: 1rem;
  --mat-sys-label-small-size: 0.688rem;
  --mat-sys-label-small-tracking: 0.031rem;
  --mat-sys-label-small-weight: 500;
  --mat-sys-title-large: 400 1.375rem / 1.75rem Roboto;
  --mat-sys-title-large-font: Roboto;
  --mat-sys-title-large-line-height: 1.75rem;
  --mat-sys-title-large-size: 1.375rem;
  --mat-sys-title-large-tracking: 0;
  --mat-sys-title-large-weight: 400;
  --mat-sys-title-medium: 500 1rem / 1.5rem Roboto;
  --mat-sys-title-medium-font: Roboto;
  --mat-sys-title-medium-line-height: 1.5rem;
  --mat-sys-title-medium-size: 1rem;
  --mat-sys-title-medium-tracking: 0.009rem;
  --mat-sys-title-medium-weight: 500;
  --mat-sys-title-small: 500 0.875rem / 1.25rem Roboto;
  --mat-sys-title-small-font: Roboto;
  --mat-sys-title-small-line-height: 1.25rem;
  --mat-sys-title-small-size: 0.875rem;
  --mat-sys-title-small-tracking: 0.006rem;
  --mat-sys-title-small-weight: 500;
  --mat-sys-corner-extra-large: 28px;
  --mat-sys-corner-extra-large-top: 28px 28px 0 0;
  --mat-sys-corner-extra-small: 4px;
  --mat-sys-corner-extra-small-top: 4px 4px 0 0;
  --mat-sys-corner-full: 9999px;
  --mat-sys-corner-large: 16px;
  --mat-sys-corner-large-end: 0 16px 16px 0;
  --mat-sys-corner-large-start: 16px 0 0 16px;
  --mat-sys-corner-large-top: 16px 16px 0 0;
  --mat-sys-corner-medium: 12px;
  --mat-sys-corner-none: 0;
  --mat-sys-corner-small: 8px;
  --mat-sys-dragged-state-layer-opacity: 0.16;
  --mat-sys-focus-state-layer-opacity: 0.12;
  --mat-sys-hover-state-layer-opacity: 0.08;
  --mat-sys-pressed-state-layer-opacity: 0.12;
}
body {
  color-scheme: light;
  background-color: var(--mat-sys-surface);
  color: var(--mat-sys-on-surface);
  font: var(--mat-sys-body-medium);
  margin: 0;
}

/* src/app/styles/variables.css */
:root {
  --breakpoint-phone: 600px;
  --breakpoint-tablet: 960px;
  --breakpoint-desktop: 1280px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --container-padding-desktop: 24px;
  --container-padding-tablet: 16px;
  --container-padding-mobile: 12px;
  --card-padding-desktop: 24px;
  --card-padding-tablet: 16px;
  --card-padding-mobile: 12px;
  --border-thin: 1px solid rgba(0, 0, 0, 0.1);
  --border-medium: 1px solid rgba(0, 0, 0, 0.2);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 10px;
  --max-width-form: 600px;
  --max-width-content: 1200px;
  --max-width-narrow: 800px;
  --header-height-desktop: 80px;
  --header-height-tablet: 70px;
  --header-height-mobile: 60px;
  --min-touch-target: 48px;
  --font-family-primary:
    Roboto,
    "Helvetica Neue",
    sans-serif;
  --font-size-h1-desktop: 32px;
  --font-size-h1-tablet: 24px;
  --font-size-h1-mobile: 20px;
  --font-size-h2-desktop: 24px;
  --font-size-h2-tablet: 20px;
  --font-size-h2-mobile: 18px;
  --font-size-h3-desktop: 20px;
  --font-size-h3-tablet: 18px;
  --font-size-h3-mobile: 16px;
  --font-size-body: 16px;
  --font-size-body-small: 14px;
  --font-size-caption: 12px;
  --font-size-tiny: 11px;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-tight: 1.3;
  --color-primary: rgba(5, 65, 220, 1);
  --color-primary-light: rgba(5, 65, 220, 0.1);
  --color-primary-hover: rgba(5, 65, 220, 0.05);
  --color-text-primary: rgba(0, 0, 0, 0.87);
  --color-text-secondary: rgba(0, 0, 0, 0.6);
  --color-text-disabled: rgba(0, 0, 0, 0.38);
  --color-error: #f44336;
  --color-warning: #ff9800;
  --color-success: #28a745;
  --color-border: rgba(0, 0, 0, 0.1);
  --color-divider: rgba(0, 0, 0, 0.12);
  --color-background-page: #ffffff;
  --color-background-card: #ffffff;
  --color-background-alt: rgba(246, 250, 255, 1);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.2s ease;
  --transition-slow: 0.3s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}

/* src/styles.css */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  font-weight: bold;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}
*:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #1976d2;
  outline-offset: 2px;
}
body,
html {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-body);
  height: 100%;
  background-color: transparent;
  margin: 0;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family:
    Roboto,
    "Helvetica Neue",
    sans-serif;
}
.background {
  background-image: url(/assets/img/offline-background.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
  min-height: 100vh;
  width: 100%;
}
.no-webp .background {
  background-image: url(/assets/img/offline-background.jpg);
}
.error-snackbar {
  background-color: #f44336 !important;
  color: white !important;
}
.error-snackbar .mat-mdc-button {
  color: white !important;
}
.warning-snackbar {
  background-color: #ff9800 !important;
  color: white !important;
}
.warning-snackbar .mat-mdc-button {
  color: white !important;
}
.error-banner {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  padding: 20px 16px;
  border-radius: 8px;
  margin: 16px 10px;
  border: 1px solid;
  min-height: 70px;
  box-sizing: border-box;
  overflow: visible !important;
}
.error-banner[role=alert] {
}
.error-banner mat-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 24px !important;
  width: 24px !important;
  height: 24px !important;
  line-height: 24px !important;
}
.error-banner div {
  flex: 1;
  min-width: 0;
  display: block !important;
}
.error-banner strong {
  display: block !important;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
}
.error-banner p {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
  display: block !important;
}
.error-banner.warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}
.error-banner.warning mat-icon {
  color: #ffc107;
}
.error-banner.error {
  background-color: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}
.error-banner.error mat-icon {
  color: #dc3545;
}
.error-banner.info {
  background-color: #d1ecf1;
  border-color: #17a2b8;
  color: #0c5460;
}
.error-banner.info mat-icon {
  color: #17a2b8;
}
button mat-spinner {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.snackbar-success {
  background-color: #4caf50 !important;
  color: white !important;
}
.snackbar-success .mat-mdc-snack-bar-label {
  color: white !important;
}
.snackbar-success .mat-mdc-button {
  color: white !important;
}
.snackbar-info {
  background-color: #2196f3 !important;
  color: white !important;
}
.snackbar-info .mat-mdc-snack-bar-label {
  color: white !important;
}
.snackbar-info .mat-mdc-button {
  color: white !important;
}
.snackbar-warning {
  background-color: #ff9800 !important;
  color: white !important;
}
.snackbar-warning .mat-mdc-snack-bar-label {
  color: white !important;
}
.snackbar-warning .mat-mdc-button {
  color: white !important;
}
.snackbar-error {
  background-color: #f44336 !important;
  color: white !important;
}
.snackbar-error .mat-mdc-snack-bar-label {
  color: white !important;
}
.snackbar-error .mat-mdc-button {
  color: white !important;
}
.mat-mdc-snack-bar-container {
  font-size: 14px !important;
  font-weight: 500 !important;
}
.mat-mdc-snack-bar-label {
  line-height: 1.5 !important;
}

/* src/focus-visible.css */
*:focus {
  outline: none;
}
*:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2);
  outline-offset: 2px;
  border-radius: 2px;
  transition: outline 0.2s ease-in-out;
}
a:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2);
  outline-offset: 3px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
th[mat-sort-header] button:focus-visible,
button.mat-sort-header-button:focus-visible,
.mat-sort-header-button:focus-visible {
  outline: 2px solid var(--color-primary, #1976d2) !important;
  outline-offset: 0px !important;
  box-shadow: none !important;
  background: transparent !important;
}
button:focus-visible:not(.mat-sort-header-button),
[role=button]:focus-visible:not(.mat-sort-header-button) {
  outline: 3px solid var(--color-primary, #1976d2);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.2);
}
input:not([class*=mat-]):focus-visible,
textarea:not([class*=mat-]):focus-visible,
select:not([class*=mat-]):focus-visible {
  outline: 3px solid var(--color-primary, #1976d2);
  outline-offset: 0;
  border-color: var(--color-primary, #1976d2);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}
input[class*=mat-]:focus-visible,
textarea[class*=mat-]:focus-visible,
select[class*=mat-]:focus-visible {
  outline: none !important;
}
input[type=checkbox]:focus-visible,
input[type=radio]:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.2);
}
.mat-mdc-button:focus-visible,
.mat-mdc-raised-button:focus-visible,
.mat-mdc-flat-button:focus-visible,
.mat-mdc-stroked-button:focus-visible,
.mat-mdc-icon-button:focus-visible,
.mat-mdc-fab:focus-visible,
.mat-mdc-mini-fab:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2) !important;
  outline-offset: 3px !important;
}
.mat-mdc-form-field:focus-within {
  outline: none !important;
  box-shadow: none !important;
}
.mat-mdc-form-field.mat-form-field-invalid:focus-within {
  outline: none !important;
  box-shadow: none !important;
}
.mat-mdc-form-field.mat-form-field-appearance-outline:focus-within {
  outline: none !important;
  box-shadow: none !important;
}
.mat-mdc-list-item:focus-visible,
.mat-mdc-menu-item:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2) !important;
  outline-offset: -3px !important;
  background-color: rgba(25, 118, 210, 0.08) !important;
}
.mat-mdc-table .mat-mdc-header-cell:focus,
.mat-mdc-table .mat-mdc-header-cell:focus-visible,
.mat-mdc-table th.mat-sort-header:focus,
.mat-mdc-table th.mat-sort-header:focus-visible,
th[mat-sort-header]:focus,
th[mat-sort-header]:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2) !important;
  outline-offset: -3px !important;
  background-color: transparent !important;
  background: transparent !important;
}
.mat-sort-header-container:focus::before,
.mat-sort-header-container:focus-visible::before {
  background: transparent !important;
  opacity: 0 !important;
}
.mat-mdc-tab:focus-visible {
  outline: 3px solid var(--color-primary, #1976d2) !important;
  outline-offset: 2px !important;
}
.skip-link:focus-visible {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-primary, #1976d2);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  outline: 3px solid white;
  outline-offset: 2px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
button:disabled:focus,
input:disabled:focus,
select:disabled:focus,
textarea:disabled:focus,
[aria-disabled=true]:focus {
  outline: none !important;
  box-shadow: none !important;
}
@media (prefers-contrast: high) {
  *:focus-visible {
    outline-width: 4px;
    outline-offset: 3px;
  }
  button:focus-visible,
  a:focus-visible {
    background-color: Highlight;
    color: HighlightText;
    outline-color: HighlightText;
  }
}
@media print {
  *:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }
}

/* angular:styles/global:styles */
