html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

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;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* DOCademy Reviewer Global Input Fix START */

/* ---------------------------------------------------------
   Wichtig:
   Diese Regeln liegen bewusst GLOBAL in app.css.
   Dadurch greifen sie auch auf von Blazor InputText /
   InputSelect erzeugte DOM-Elemente.
   --------------------------------------------------------- */

.reviewer-login-content-v2 input:not([type="radio"]):not([type="checkbox"]),
.reviewer-login-content-v2 select,
.reviewer-login-content-v2 textarea {
    -webkit-appearance: none;
    appearance: none;

    width: 100% !important;
    height: 54px !important;
    min-height: 54px !important;

    box-sizing: border-box !important;
    padding: 0 16px !important;

    border: 1px solid #d5dddf !important;
    border-radius: 11px !important;
    outline: none !important;

    background-color: #ffffff !important;
    color: #17243a !important;

    font-family: inherit !important;
    font-size: 0.94rem !important;
    font-weight: 400 !important;

    box-shadow: none !important;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease,
        background-color 0.16s ease !important;
}

.reviewer-login-content-v2 input:not([type="radio"]):not([type="checkbox"])::placeholder,
.reviewer-login-content-v2 textarea::placeholder {
    color: #a4adb7 !important;
    opacity: 1 !important;
}

.reviewer-login-content-v2 input:not([type="radio"]):not([type="checkbox"]):focus,
.reviewer-login-content-v2 select:focus,
.reviewer-login-content-v2 textarea:focus {
    border-color: #3c9387 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(60,147,135,.11) !important;
}

/* Select-Pfeil zurückholen, aber im DOCademy-Look */
.reviewer-login-content-v2 select {
    cursor: pointer;
    padding-right: 44px !important;

    background-image:
        linear-gradient(45deg, transparent 50%, #71807e 50%),
        linear-gradient(135deg, #71807e 50%, transparent 50%) !important;

    background-position:
        calc(100% - 18px) 23px,
        calc(100% - 13px) 23px !important;

    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
}

/* Passwortfeld unbedingt volle Breite */
.reviewer-login-content-v2 .password-with-toggle {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.reviewer-login-content-v2 .password-with-toggle input {
    width: 100% !important;
    padding-right: 54px !important;
}

/* Auge IM Feld statt rechts daneben */
.reviewer-login-content-v2 .password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 9px !important;
    transform: translateY(-50%) !important;

    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 9px !important;

    background: transparent !important;
    box-shadow: none !important;
    color: #748582 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    z-index: 10 !important;
    cursor: pointer !important;
}

.reviewer-login-content-v2 .password-toggle:hover {
    background: rgba(60,147,135,.08) !important;
    color: #397b71 !important;
}

.reviewer-login-content-v2 .password-eye {
    width: 20px !important;
    height: 20px !important;
}

/* Vorname / Nachname sauber in zwei Spalten */
.reviewer-login-content-v2 .name-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
}

/* Labels wie im Login */
.reviewer-login-content-v2 .form-group label,
.reviewer-login-content-v2 .field label,
.reviewer-login-content-v2 label {
    color: #2b394c !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
}

/* Auswahlkarten ebenfalls weicher */
.reviewer-login-content-v2 .name-display-choice label {
    border: 1px solid #dbe3e4 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

.reviewer-login-content-v2 .name-display-choice label:has(input:checked) {
    border-color: #93bdb7 !important;
    background: #f3f8f7 !important;
    box-shadow: 0 0 0 2px rgba(60,147,135,.06) !important;
}

/* Radio-Inputs nicht von Feldregeln erfassen */
.reviewer-login-content-v2 input[type="radio"] {
    -webkit-appearance: auto !important;
    appearance: auto !important;
    width: 17px !important;
    height: 17px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    accent-color: #397b71 !important;
}

/* mobile */
@media (max-width: 680px) {
    .reviewer-login-content-v2 .name-grid {
        grid-template-columns: 1fr !important;
    }
}

/* DOCademy Reviewer Global Input Fix END */

/* DOCademy Reviewer NameCards Align START */

/* Frage immer über beiden Karten */
.reviewer-login-content-v2 .name-display-choice {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 10px !important;
    width: 100% !important;
    align-items: stretch !important;
}

/* Falls die Frage innerhalb desselben Containers liegt,
   nimmt sie immer die komplette obere Zeile ein. */
.reviewer-login-content-v2 .name-display-choice > :not(label) {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Die beiden Optionen stehen zwingend in einer Zeile */
.reviewer-login-content-v2 .name-display-choice > label {
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 76px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-content: center !important;
    align-items: start !important;
    gap: 10px !important;
}

/* Beide Karten exakt gleich hoch */
.reviewer-login-content-v2 .name-display-choice > label:nth-of-type(1),
.reviewer-login-content-v2 .name-display-choice > label:nth-of-type(2) {
    align-self: stretch !important;
}

/* Text bricht sauber innerhalb der Karte um */
.reviewer-login-content-v2 .name-display-choice > label > span,
.reviewer-login-content-v2 .name-display-choice > label > div {
    min-width: 0 !important;
}

/* Mobile: wieder untereinander */
@media (max-width: 680px) {
    .reviewer-login-content-v2 .name-display-choice {
        grid-template-columns: 1fr !important;
    }

    .reviewer-login-content-v2 .name-display-choice > :not(label) {
        grid-column: 1 !important;
    }
}

/* DOCademy Reviewer NameCards Align END */

/* DOCademy Legal Contract Actions START */
.legal-confirm-button,
.legal-secondary-button {
    min-height: 52px;
    padding: 0 18px;
    margin-top: 10px;
    margin-right: 8px;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.legal-confirm-button {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #124e48, #17645b);
}
.legal-secondary-button {
    border: 1px solid #d5dfdd;
    color: #315f59;
    background: #fff;
}
.legal-page .form-control {
    width: 100%;
    box-sizing: border-box;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #d5dddf;
    border-radius: 11px;
    background: #fff;
    font: inherit;
}
.legal-page .mb-3 { margin-bottom: 16px; }
.legal-page .mb-3 label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #2b394c;
}
/* DOCademy Legal Contract Actions END */

/* DOCademy Contract Pages V2 START */
.doc-legal-shell {
    max-width: 900px;
    margin: 0 auto;
    padding: 38px 22px 70px;
}

.doc-legal-card {
    padding: 34px;
    border: 1px solid #dfe7e6;
    border-radius: 22px;
    background:
        radial-gradient(circle at top right, rgba(35, 125, 113, .08), transparent 36%),
        #ffffff;
    box-shadow: 0 18px 48px rgba(28, 58, 54, .08);
}

.doc-legal-back {
    display: inline-flex;
    margin-bottom: 26px;
    color: #397b71;
    font-weight: 750;
    text-decoration: none;
}

.doc-legal-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #397b71;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .14em;
}

.doc-legal-card h1 {
    margin: 0 0 12px;
    color: #17243a;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.doc-legal-card h2 {
    color: #17243a;
}

.doc-legal-intro {
    max-width: 680px;
    margin: 0 0 30px;
    color: #68758a;
    line-height: 1.65;
}

.doc-field {
    margin-bottom: 18px;
}

.doc-field label {
    display: block;
    margin-bottom: 7px;
    color: #243346;
    font-size: .9rem;
    font-weight: 800;
}

.doc-field small {
    display: block;
    margin-top: 6px;
    color: #7a868d;
    font-size: .78rem;
}

.doc-input {
    width: 100%;
    min-height: 54px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid #d4dedf;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #17243a;
    font: inherit;
}

.doc-input:focus {
    border-color: #3c9387;
    box-shadow: 0 0 0 3px rgba(60, 147, 135, .11);
}

.doc-legal-primary,
.doc-legal-secondary {
    min-height: 52px;
    padding: 0 19px;
    margin-top: 8px;
    margin-right: 8px;
    border-radius: 12px;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.doc-legal-primary {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #124e48, #17645b);
}

.doc-legal-secondary {
    border: 1px solid #d3dfdd;
    color: #2e625b;
    background: #fff;
}

.doc-legal-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.doc-legal-summary > div {
    padding: 15px;
    border: 1px solid #dce5e4;
    border-radius: 12px;
    background: #f8fbfa;
}

.doc-legal-summary span {
    display: block;
    margin-bottom: 5px;
    color: #7a878f;
    font-size: .76rem;
    font-weight: 700;
}

.doc-legal-summary strong {
    color: #203b37;
}

.doc-legal-success,
.doc-legal-review {
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #d4e5df;
    border-radius: 16px;
    background: #f5fbf8;
}

.doc-legal-error {
    padding: 13px 15px;
    margin-bottom: 16px;
    border: 1px solid #ebcfd2;
    border-radius: 12px;
    color: #8e3e47;
    background: #fff5f6;
}

.doc-legal-footnote {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e4eaea;
    color: #76828a;
    font-size: .82rem;
    line-height: 1.55;
}

@media (max-width: 650px) {
    .doc-legal-shell {
        padding: 18px 12px 45px;
    }

    .doc-legal-card {
        padding: 22px 16px;
        border-radius: 16px;
    }

    .doc-legal-summary {
        grid-template-columns: 1fr;
    }

    .doc-legal-primary,
    .doc-legal-secondary {
        width: 100%;
        margin-right: 0;
    }
}
/* DOCademy Contract Pages V2 END */

/* A100_TRAINING_LIGHT_V1_START */
/* Ausschliesslich die Simulationstrainingsseite */

body:has(.sim-page) {
    background: #f5f8f7 !important;
}

.sim-page {
    background: #f5f8f7 !important;
    color: #18252b !important;
    min-height: 100vh;
}

.sim-page .card {
    background: #ffffff !important;
    border: 1px solid #e1ebe8 !important;
    border-radius: 18px !important;
    box-shadow: 0 5px 22px rgba(20, 56, 48, 0.045) !important;
}

.sim-page .active-training {
    background: #fbfffe !important;
    border-color: #beddd5 !important;
}

.sim-page .training-stats > div:nth-child(n+2) {
    display: none !important;
}

.sim-page .training-stats {
    grid-template-columns: 1fr !important;
}

.sim-page .active-training .runs {
    display: none !important;
}

.sim-page .scenario {
    border-radius: 14px !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sim-page .scenario:hover {
    border-color: #69aa9a !important;
    box-shadow: 0 4px 15px rgba(20, 85, 72, .08) !important;
}

.sim-page .hero h1 {
    letter-spacing: -0.035em;
}

/* A100_TRAINING_LIGHT_V1_END */

/* A100_V42_EVENTS_SCROLL_V3_20261109 : nur gespeicherte Simulationsereignisse */
.v35-event-card.cockpit-tool-card {
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.v35-event-card.cockpit-tool-card > .tool-card-head { flex: 0 0 auto !important; }
.v35-event-card.cockpit-tool-card > .v35-events {
  flex: 1 1 0% !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 2px 6px 8px 0 !important;
  scrollbar-width: thin;
  scrollbar-color: #99aaa8 transparent;
}
.v35-event-card .v35-events > .v35-event {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  margin: 0 0 6px !important;
  max-width: 100% !important;
}
.v35-event-card .v35-event > .v35-trigger {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
  min-height: 34px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  border: 1px solid #ccd9d6 !important;
  background: #f2f6f5 !important;
  color: #25423d !important;
  font-size: .82rem !important;
  font-weight: 650 !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
}
.v35-event-card .v35-event > .v35-trigger:hover { background: #e7f0ee !important; border-color: #80a99f !important; }
.v35-event-card .v35-event > .v35-small {
  flex: 0 0 34px !important;
  width: 34px !important;
  min-height: 34px !important;
  padding: 4px !important;
  border: 1px solid #ccd9d6 !important;
  border-radius: 8px !important;
  background: #f2f6f5 !important;
  color: #335b54 !important;
  font-size: 1.08rem !important;
}
.v35-event-card .v35-event > .v35-danger { background: #fff3f3 !important; border-color: #ead2d2 !important; color: #a32d39 !important; }
.v35-event-card .v35-event > .v35-small[title="Ereignis duplizieren"] { display: none !important; }
@media (max-width: 760px) {
  .v35-event-card.cockpit-tool-card { height: 300px !important; min-height: 300px !important; max-height: 300px !important; }
}
/* Ende A100_V42_EVENTS_SCROLL_V3_20261109 */

/* A100_V42_EVENT_UI_V4_20261109 - nur Gespeicherte Ereignisse; starke Selektoren gegen komponenteninternes CSS */
.instructor .right section.cockpit-tool-card.v35-event-card {
  box-sizing:border-box!important;
  height:440px!important;
  min-height:0!important;
  max-height:440px!important;
  overflow:hidden!important;
  display:flex!important;
  flex-direction:column!important;
  padding:12px!important;
  align-self:start!important;
}
.instructor .right section.cockpit-tool-card.v35-event-card > .tool-card-head {
  flex:0 0 auto!important;
}
.instructor .right section.cockpit-tool-card.v35-event-card > .v35-events {
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
  min-height:0!important;
  max-height:100%!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:2px 4px 6px 0!important;
  scrollbar-width:thin;
  scrollbar-color:#a8bbb7 transparent;
}
.instructor .right section.v35-event-card .v35-events > .v35-event {
  flex:0 0 auto!important;
  display:flex!important;
  align-items:stretch!important;
  gap:0!important;
  width:100%!important;
  margin:0!important;
  min-width:0!important;
  border:1px solid #d0ddda!important;
  border-radius:9px!important;
  background:#f5f8f7!important;
  overflow:hidden!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-trigger {
  display:flex!important;
  flex:1 1 auto!important;
  width:auto!important;
  min-width:0!important;
  min-height:42px!important;
  padding:9px 10px!important;
  background:#f5f8f7!important;
  border:0!important;
  border-radius:0!important;
  color:#294541!important;
  box-shadow:none!important;
  font-size:13px!important;
  font-weight:700!important;
  text-align:left!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-trigger:hover {
  background:#e7f0ed!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-small {
  flex:0 0 32px!important;
  width:32px!important;
  min-height:42px!important;
  padding:0!important;
  margin:0!important;
  background:#f5f8f7!important;
  border:0!important;
  border-left:1px solid #d0ddda!important;
  border-radius:0!important;
  color:#376a60!important;
  font-size:19px!important;
  line-height:1!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-small:hover {
  background:#e7f0ed!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-small.v35-danger {
  color:#af3642!important;
}
.instructor .right section.v35-event-card .v35-events > .v35-event > button.v35-small[title="Ereignis duplizieren"] {
  display:none!important;
}
.instructor .right section.v35-event-card .v35-events > button.v35-outline {
  flex:0 0 auto!important;
}
.instructor .right section.v35-event-card .v35-events > button.v35-small[title="Gespeicherte Ereignisse neu laden"] {
  flex:0 0 auto!important;
}
@media(max-width:760px) {
  .instructor .right section.cockpit-tool-card.v35-event-card {
    height:360px!important;
    max-height:360px!important;
  }
}
/* ENDE A100_V42_EVENT_UI_V4_20261109 */
