﻿/*
    app_medics.css
    Allgemeine Medics-Basis-CSS für mehrere Websites wie eWalkIn, eKurier, eAbsenzen usw.

    Zweck:
    - Medics-Farben, Typografie und Grundlayout
    - gemeinsame Bootstrap-Overrides
    - gemeinsame Formular-, Button-, Tabellen- und Link-Styles
    - gemeinsame Telerik-/Kendo-Basis-Overrides

    Nicht enthalten:
    - eKurier-spezifische Shop-, Warenkorb-, Favoriten-, Analyse-, Termin- und HomePage-Regeln
*/

@import url("boostrap-icons/bootstrap-icons.min.css");

/* =========================================================
   Medics-Hausschrift

   Style Linking: alle Schnitte laufen unter demselben font-family-Namen
   "Circular", die Auswahl erfolgt ueber font-weight und font-style.

   Diese Definition lag bisher nur in eShops figma.css. Die uebrigen Regeln
   hier verwenden "Circular" schon lange, e.kurier und e.absenzen hatten aber
   keine @font-face-Definition - dort fiel die Schrift still auf sans-serif
   zurueck, obwohl die Dateien in wwwroot/fonts liegen. Mit dem Umzug hierher
   greift die Hausschrift in allen drei Anwendungen.

   Die Pfade sind relativ zu dieser Datei, also aus wwwroot/css heraus.
   ========================================================= */
@font-face {
    font-family: Circular;
    src: url('../fonts/CircularXXWeb-Light.woff2') format('woff2'), url('../fonts/CircularXXWeb-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Circular;
    src: url('../fonts/CircularXXWeb-Bold.woff2') format('woff2'), url('../fonts/CircularXXWeb-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Circular;
    src: url('../fonts/CircularXXWeb-BoldItalic.woff2') format('woff2'), url('../fonts/CircularXXWeb-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* =========================================================
   Medics Brand / Bootstrap Basisvariablen
   ========================================================= */
:root {
    --medics-blue: #0057b8;
    --medics-grey: #222;
    --medics-primary: var(--medics-blue);
    --medics-green: #009f5e;
    --medics-red: #ef3340;
    --medics-border-blue: #b8d0eb;
    --medics-lightblue: #f7fafd;
    --medics-white: #fff;
    --medics-backup-font: sans-serif;
    --bs-body-font-size: 1.5rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-bg: #fff;
    --bs-table-striped-bg: rgb(0, 87, 184, 0.05) !important;
}


/* Hamburger- und App-Menue in Medics-Blau statt Weiss.

   Der Selektor muss .itok-header sein und nicht :root oder body: das Paket
   deklariert diese Variablen in itok-header.css selbst auf .itok-header, und ein
   am Element deklarierter Wert schlaegt einen geerbten. Auf :root gesetzt kaeme
   hier gar nichts an. Die Drawer sind <dialog>-Elemente innerhalb des <header>,
   erben die Werte also von dort.

   Voraussetzung ausserdem: diese Datei wird in App.razor NACH itok-header.css
   geladen. Sonst gewinnt das Paket und die Drawer bleiben weiss.

   Die ersten beiden Zeilen machen Blau und Weiss. Die dritte nimmt die Linien
   unter dem Titel und ueber der Sprachleiste weg, die vierte laesst bewusst
   gesetzte Trenner im Menue als dezentes Weiss stehen. Die letzten beiden
   ersetzen die graue Hover-Flaeche durch ein Abblenden - dieselbe Loesung wie im
   Footer, wo eine helle Flaeche auf blauem Grund ebenfalls nicht funktioniert. */
.itok-header {
    --itok-header-drawer-background: #0057b8;
    --itok-header-drawer-color: #ffffff;
    --itok-header-drawer-border-color: transparent;
    --itok-header-drawer-separator-color: rgb(255 255 255 / 35%);
    --itok-header-menu-hover-background: transparent;
    --itok-header-menu-hover-opacity: 0.48;
}


.itok-header-user-panel__manage-account,
.itok-header-user-panel__logout {
    color: #fff;
    background-color: var(--medics-blue);
    border: 1px solid transparent;
    border-radius: 2rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .itok-header-user-panel__manage-account:hover,
    .itok-header-user-panel__logout:hover {
        color: #fff;
        filter: brightness(0.8);
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

/* Das Formular umschliesst den Abmelden-Button deckungsgleich, hat aber selbst keine
   abgerundeten Ecken. Die Paket-CSS (Itok.Web.Header) faerbt es beim Hover mit ein,
   wodurch an den vier Ecken des Buttons ein Rechteck hervorschaut. Hier ausdruecklich
   zurueckgesetzt: die Hover-Farbe kommt allein vom Button, der abgerundet ist. */
.itok-header-user-panel__logout-form,
.itok-header-user-panel__logout-form:hover {
    background: transparent;
    filter: none;
}

.itok-footer-medics__link,
.itok-footer-medics__menu-link,
.itok-footer-medics__social-link {
    color: white;
}

    .itok-footer-medics__link:hover,
    .itok-footer-medics__menu-link:hover {
        color: white;
    }


/* =========================================================
   Basis / Typografie
   ========================================================= */
html,
body {
    margin: 0;
}

html,
body,
button,
input,
optgroup,
select,
textarea,
label {
    font-family: Circular, sans-serif;
}

label,
button,
th {
    color: var(--medics-blue);
    --tw-text-opacity: 1;
}

p,
li,
td,
.form-input,
.form-select,
ul {
    color: var(--medics-grey);
    --tw-text-opacity: 1;
}

span {
    color: inherit;
}




body {
    font-size: 1.25rem;
    line-height: 1.5;
}

p,
label,
ul,
.form-label,
a {
    hyphens: none;
}

p,
h4 {
    font-size: 1.25rem;
    line-height: 30px;
    margin-bottom: 1rem;
}

h1,
body .h1,
body h1 {
    overflow-wrap: break-word;
    font-size: 2rem;
    line-height: 40px;
}

    h1:focus {
        outline: none;
    }

h3 {
    font-size: 1.25rem;
}

.field--name-body ol,
.field--name-body ul,
.field--name-field-job-offertext ol,
.field--name-field-job-offertext ul,
.field--name-field-job-requirementstext ol,
.field--name-field-job-requirementstext ul,
.form-type-processed-text ol,
.form-type-processed-text ul,
.text-formatted ol,
.text-formatted ul {
    font-size: 1.25rem;
    line-height: 30px;
}

button,
input,
optgroup,
select,
textarea,
.form-input,
.form-select,
label {
    font-size: inherit;
}

.bg-blue {
    --tw-bg-opacity: 1;
    background-color: rgba(0, 87, 184, var(--tw-bg-opacity));
}
/* =========================================================
   Links
   ========================================================= */
a,
.buttonlink,
h4:hover {
    text-decoration-thickness: 1px !important;
    text-decoration-line: underline !important;
    outline-offset: 2px;
    text-underline-offset: 4px;
    color: var(--medics-blue);
}

    a:hover {
        text-decoration-thickness: 1px !important;
        text-decoration-line: underline !important;
        outline-offset: 2px;
        text-underline-offset: 4px;
        color: var(--medics-blue);
    }

.block {
    color: var(--medics-blue);
}

.text-white,
::-ms-backdrop {
    color: #fff;
}
/* =========================================================
   Grundlayout
   ========================================================= */
.page {
    display: flex;
    flex-direction: column !important;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.content-container {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
}

.body-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.main-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

main {
    padding-top: 6rem;
    padding-bottom: 3rem;
    flex-grow: 1;
    display: flex;
}

.content {
    flex-grow: 1;
    padding-top: 1.1rem;
}

.logo {
    width: 220px !important;
}


.flex {
    display: flex
}

.flex-col {
    flex-direction: column
}

.flex-col-reverse {
    flex-direction: column-reverse
}

.flex-wrap {
    flex-wrap: wrap
}

.layout-content {
    padding-left: 0;
    padding-right: 0;
}

.justify-start {
    justify-content: flex-start
}

.justify-end {
    justify-content: flex-end
}

.justify-center {
    justify-content: center
}

.justify-between {
    justify-content: space-between
}

.overflow-hidden {
    overflow: hidden
}

.break-words {
    overflow-wrap: break-word
}



@media (min-width: 768px) {
    .layout-content {
        padding-left: 0%;
        padding-right: 0%;
    }
}

@media (min-width: 992px) {
    .layout-content {
        padding-left: 3%;
        padding-right: 3%;
    }
}

@media (min-width: 1200px) {
    .layout-content {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (min-width: 1400px) {
    .layout-content {
        padding-left: 7%;
        padding-right: 7%;
    }
}
/* Testlabel */
.test-environment-label {
    color: #dc3545;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}
/* Container -> */

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1620px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1320px;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 1120px;
    }
}

@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: none;
    }
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: none;
    }
}
/* Container <- */


@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    main {
        width: 100%;
    }

    .logo {
        width: 160px !important;
        padding-left: 0px;
    }

    .nav-desktop {
        display: none;
    }

    .drawer-toggler {
        display: inline-block;
        position: static;
        width: 2.25rem;
        height: 2rem;
    }

    .drawer-mobile {
        display: block;
    }

        .drawer-mobile.k-drawer-overlay:not(.k-drawer-expanded) .k-drawer {
            width: 0 !important;
            max-width: 0 !important;
            box-shadow: none !important;
            background: transparent !important;
        }

        .drawer-mobile .k-drawer-wrapper {
            width: 100vw !important;
        }

        .drawer-mobile .k-drawer {
            width: 100vw !important;
            max-width: 100vw !important;
            left: 0 !important;
            right: 0 !important;
            height: 100vh !important;
            background-color: var(--medics-blue) !important;
            display: flex;
            flex-direction: column;
        }

        .drawer-mobile .drawer-header-bar {
            position: sticky;
            top: 0;
            z-index: 2;
            background-color: var(--medics-blue);
        }

        .drawer-mobile .k-drawer-items {
            padding: 1.5rem 1.25rem 2rem;
            overflow-y: auto;
        }

        .drawer-mobile .k-drawer-item,
        .drawer-menu-text {
            font-size: 2.6rem;
        }

        .drawer-mobile ul {
            padding-inline-start: 0px;
        }

    .mobile-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 140px !important;
        padding-left: 0px;
    }
}
/* =========================================================
   Navigation
   ========================================================= */
.nav {
    padding-left: 12px;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--medics-blue);
    text-decoration: none !important;
}

    .nav-link:hover {
        color: var(--medics-blue);
        text-decoration-thickness: 1px !important;
        text-decoration-line: underline !important;
        outline-offset: 2px;
        text-underline-offset: 4px;
    }

    .nav-link.disabled,
    .nav-link.bg-secondary.disabled {
        pointer-events: none;
    }

.nav-pills .nav-link {
    background-color: rgb(0, 87, 184, 0.2) !important;
    color: var(--medics-blue) !important;
    text-decoration: none !important;
}

    .nav-pills .nav-link.active {
        background-color: var(--medics-blue) !important;
        opacity: 1;
        color: #fff !important;
    }

    .nav-pills .nav-link.disabled {
        background-color: var(--medics-blue) !important;
        opacity: 0.75;
        color: #fff !important;
    }
/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.8;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 2rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-width: 14rem;
    max-width: 30rem;
    min-height: 4rem;
}

.btn-small {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: normal;
    line-height: 1.3;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.25rem 0.5rem;
    border-radius: 2rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-width: 5rem;
    max-width: 10rem;
    min-height: 2rem;
}

    .btn:hover,
    .btn-primary:hover,
    .btn-small:hover {
        color: #fff;
        text-decoration: none !important;
        filter: brightness(0.8);
        background-color: #0b5ed7;
        border-color: #0a58ca;
    }

.btn-primary {
    background-color: var(--medics-blue);
}

.btn-secondary {
    background-color: rgb(0, 87, 184, 0.7);
}

    .btn-secondary:hover {
        color: #fff;
        text-decoration: none !important;
        background: rgba(0, 87, 184, 0.8);
    }

.btn-success {
    background-color: rgb(20, 117, 72);
}

    .btn-success:hover {
        color: #fff;
        background-color: rgb(20, 117, 72);
        text-decoration: none !important;
        filter: brightness(0.8);
    }

.btn-unselected {
    background-color: rgb(0, 87, 184, 0.2);
    color: var(--medics-blue) !important;
}

.btn-outline-primary,
.btn-outline-primary:hover {
    color: var(--medics-blue);
    background-color: rgb(0, 87, 184, 0.2);
    border-color: rgb(0, 87, 184, 0.2);
}

.btn-outline-secondary,
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary.disabled,
    .btn-outline-secondary:disabled {
        color: #6c757d;
        border: 1px solid var(--medics-blue);
        background-color: transparent;
    }

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    border: 0px solid var(--medics-blue);
    pointer-events: none;
    opacity: 0.65;
}
/*    .btn-group-sm > .btn,
    .btn-sm {
        padding: 0;
    }*/

.btn-auto-width {
    width: auto !important;
    min-width: 0 !important;
}

.btn-link {
    color: var(--medics-blue);
    text-decoration: none !important;
}

    .btn-link:hover {
        color: var(--medics-blue);
        text-decoration-thickness: 1px !important;
        text-decoration-line: underline !important;
        outline-offset: 2px;
        text-underline-offset: 4px;
    }

    .btn:focus,
    .btn:active:focus,
    .btn-check:focus,
    .btn-primary:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-check-input:focus,
    .form-input:focus {
        outline: none;
        box-shadow: 0 0 0 0.25rem var(--medics-blue);
        border-color: var(--medics-blue);
    }

.btn-check:focus,
.btn-primary:focus {
    box-shadow: none !important;
}
/* =========================================================
   Modal Popup
   ========================================================= */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1060;
    background: rgba(0, 0, 0, 0.45);
    cursor: default;
}

.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1061;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 1rem;
}

.modal-content {
    pointer-events: auto;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: min(96vw, 40rem);
    /* Lieber breiter werden als waagrecht scrollen: min-content ist die Breite, unter die der
       Inhalt beim besten Willen nicht mehr passt. Fliesstext bleibt davon unberuehrt - dessen
       min-content ist das laengste Wort -, es greift nur bei etwas, das sich nicht umbrechen
       laesst. .modal-body traegt dafuer dasselbe min-width, sonst kaeme die Breite des Inhalts
       hier gar nicht an: ein Flex-Kind mit overflow zaehlt sonst als beliebig schmal. */
    min-width: min-content;
    max-width: 96vw;
    max-height: 90vh;
    overflow: hidden; /* wichtig: nicht der ganze Content scrollt */
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--medics-border-blue);
}

.modal-title {
    margin: 0;
    font-weight: bold;
    color: var(--medics-blue);
    line-height: 1.5;
}

.modal-body {
    flex: 1 1 auto;
    min-height: 0; /* wichtig für Scroll in Flex-Child */
    min-width: min-content; /* meldet die noetige Breite nach oben, siehe .modal-content */
    /* Senkrecht nur als Notnagel: greift erst, wenn das Popup hoeher waere als der Bildschirm,
       sonst waeren die Knoepfe unten nicht mehr erreichbar. Waagrecht nie - und weil nach oben
       hin Platz gemacht wird, gibt es hier auch nichts abzuschneiden. */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem;
}

.modal-footer {
    flex: 0 0 auto;
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--medics-border-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

    /* Der rechte Knopf soll gesperrt nicht blasser aussehen als "Abbrechen" links daneben,
       sondern gleich. Dieselben Werte wie .btn-secondary; das opacity: 0.65 aus .btn:disabled
       faellt damit weg. */
    .modal-footer .btn-primary:disabled {
        background-color: rgb(0, 87, 184, 0.7);
        opacity: 1;
    }

.btn-x-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #6c757d;
    padding: 0 0.25rem;
    min-width: unset !important;
    min-height: unset !important;
}

    .btn-x-modal-close:hover {
        color: var(--medics-grey);
    }
/* =========================================================
   Formulare
   ========================================================= */
.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.5;
    color: var(--medics-blue);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--medics-blue);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .form-control:focus {
        color: var(--medics-blue);
        border-color: var(--medics-blue);
        box-shadow: 0 0 0 0.15rem var(--medics-blue);
        outline: none;
    }

    .form-control.is-invalid,
    .form-control.invalid {
        border-color: #dc3545;
        box-shadow: none;
    }

        .form-control.is-invalid:focus,
        .form-control.invalid:focus {
            border-color: #dc3545;
            box-shadow: 0 0 0 0.1rem #dc3545;
            outline: none;
        }

    .form-control.is-valid,
    .form-control.valid {
        border-color: var(--medics-blue);
        box-shadow: none;
    }

        .form-control.is-valid:focus,
        .form-control.valid:focus {
            border-color: var(--medics-blue);
            box-shadow: 0 0 0 0.1rem var(--medics-blue);
            outline: none;
        }

.form-floating {
    position: relative;
}

    .form-floating > .form-control::placeholder {
        color: var(--medics-blue);
        opacity: 1;
    }

    .form-floating > label {
        color: var(--medics-blue);
        padding: 0.5rem 0.75rem;
    }

    /* Abgeschnittene Oberlaengen im Eingabefeld (aus "haenzi_d" wurde optisch "naenzi_d",
       das i verlor seinen Punkt).
       Ursache: Bootstrap legt hinter das schwebende Label ein weisses Rechteck,
       label::after mit inset: 1rem 0.375rem, height: 1.5em und
       background-color: var(--bs-body-bg). Es soll dort den Rahmen verdecken, wo das Label
       auf der Feldkante sitzt. Weil das Label z-index: 2 hat, wird dieses Rechteck ueber
       dem Eingabefeld gezeichnet, und weil es 1.5em hoch ist, reicht es rund 33px unter den
       oberen Feldrand - also bis in die Zeile des eingegebenen Textes und deckt dort die
       Oberlaengen ab. Im Medics-Layout sitzt das Label ohnehin komplett innerhalb des
       Feldes, das Rechteck verdeckt also nichts, was verdeckt werden muesste.
       Loesung: das Rechteck bleibt, wird aber nicht mehr gefuellt. Am Feld selbst aendert
       sich nichts - keine andere Hoehe, kein anderes Polster, keine andere Textposition.
       Die Selektoren sind absichtlich gleich aufgebaut wie in bootstrap.min.css: gleiche
       Spezifitaet, und weil app_medics.css spaeter geladen wird, gewinnt diese Regel. */
    .form-floating > .form-control:focus ~ label::after,
    .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
    .form-floating > .form-control-plaintext ~ label::after,
    .form-floating > .form-select ~ label::after,
    .form-floating > .form-control:disabled ~ label::after,
    .form-floating > :disabled ~ label::after {
        background-color: transparent;
    }

    .form-floating .form-control {
        padding-right: 3rem;
    }

    .form-floating .btn-password-toggle {
        position: absolute !important;
        top: 30px;
        right: 1rem;
        transform: translateY(-50%);
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--medics-blue);
    }

        .form-floating .btn-password-toggle:focus {
            outline: none;
            box-shadow: none;
        }

        .form-floating .btn-password-toggle.is-visible {
            opacity: 0.7;
        }

input.form-control:-webkit-autofill,
input.form-control:-webkit-autofill:hover,
input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: var(--medics-blue) !important;
    border-color: var(--medics-blue) !important;
}

.form-switch .form-input {
    width: 2.7rem;
    background-color: #fff !important;
    border: 2px solid var(--medics-blue) !important;
    box-shadow: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%230057b8'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: auto;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, background-position 0.15s ease-in-out;
}

    .form-switch .form-input:checked {
        background-color: var(--medics-blue) !important;
        border-color: var(--medics-blue) !important;
        background-position: right center;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23ffffff'/%3e%3c/svg%3e") !important;
    }

.medics-select {
    color: var(--medics-grey);
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid var(--medics-primary, #0d6efd);
    border-radius: 0.5rem;
    background-color: #fff;
    width: auto;
    min-width: auto;
    max-width: 100%;
}

    .medics-select:focus {
        border-color: var(--medics-primary, #0d6efd);
        box-shadow: none;
        /*box-shadow: 0 0 0 0.2rem rgba(0, 114, 188, 0.25);*/
        outline: 0;
    }

.account-textbox {
    width: 66%;
    max-width: 30rem;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: smaller;
}

.darker-border-checkbox.form-input {
    border-color: #929292;
}
/* =========================================================
   Go-Link / Hilfsnavigation
   ========================================================= */
.go-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.go-link-left {
    justify-content: flex-start;
}

.go-link-right {
    justify-content: flex-end;
    flex-direction: row-reverse;
    text-align: right;
}

.go-link-icon-left,
.go-link-icon-right {
    width: 2rem;
}

.go-link-icon-left {
    margin-right: 0.5rem;
}

.go-link-icon-right {
    margin-left: 0.5rem;
}

.go-link-button {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

    .go-link-button:focus {
        outline: none;
        box-shadow: none;
    }

@media (max-width: 480px) {
    .go-link {
        flex-direction: column;
    }

    .go-link-left {
        align-items: flex-start;
    }

    .go-link-right {
        align-items: flex-end;
    }

    .go-link-icon-left,
    .go-link-icon-right {
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 0.25rem;
    }
}
/* =========================================================
   Accordion
   ========================================================= */
.accordion {
    border: none !important;
}

.accordion-body {
    padding: 1rem 0;
}

.accordion-item {
    padding-top: 2rem;
    border: none;
    border-bottom: 1px solid var(--medics-blue);
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--medics-blue);
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
}

    .accordion-button::after {
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230057b8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform 0.2s ease-in-out;
    }

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230057b8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
    }

    .accordion-button:not(.collapsed) {
        color: var(--medics-blue);
        background-color: white;
        box-shadow: none;
    }

    .accordion-button:focus,
    .accordion-button:focus-visible {
        box-shadow: none !important;
        outline: none !important;
    }
/* =========================================================
   Alerts / Dropdowns / Tabellen
   ========================================================= */
.alert-info {
    background-color: rgb(0, 87, 184, 0.2);
    color: var(--medics-blue);
    hyphens: none;
}

.alert {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    hyphens: none;
}

.no-caret::after {
    display: none;
}

.ddl_highlight {
    background-color: rgb(0, 87, 184, 0.2);
    padding: 0 2px;
    border-radius: 2px;
}

.dropdown-menu {
    color: var(--medics-blue);
    border: 1px solid rgba(0, 87, 184, 0.25);
    border-radius: 0.25rem;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    text-align: inherit;
    text-decoration: none !important;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

    .dropdown-item.active,
    .dropdown-item:active {
        color: #fff;
        text-decoration: none;
        background-color: var(--medics-blue);
    }

    .dropdown-item.hover,
    .dropdown-item:hover {
        color: var(--medics-blue);
        text-decoration: none;
        background-color: rgba(0, 87, 184, 0.05);
    }

table {
    width: 100%;
    background-color: rgba(0, 87, 184, 0.04);
    text-align: left;
    font-size: 1rem;
    line-height: 14px;
}

.table {
    display: table;
    table-layout: fixed;
}

    .table th,
    .table td {
        font-size: 0.8rem;
        min-width: 30px;
        padding: 1rem;
        text-align: left;
        vertical-align: middle;
    }

    .table td {
        background-color: rgba(0, 87, 184, 0.01);
    }

    .table th {
        background-color: rgba(0, 87, 184, 0.05);
    }

    .table > :not(caption) > * > * {
        padding: 0.5rem 0.5rem;
        background-color: var(--bs-table-bg);
        border-bottom-width: 1px;
        box-shadow: none;
    }

.table-success {
    --bs-table-bg: transparent;
}
/* =========================================================
   Telerik / Kendo: Notification / Dialog / Icons
   ========================================================= */
.k-notification {
    min-width: 320px;
    max-width: 700px;
    border: 2px solid rgba(0, 123, 255, 0.25);
    border-radius: 12px;
    padding: 28px 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
    font-family: Circular, sans-serif;
    color: var(--medics-blue);
    font-size: 1.25rem;
    line-height: 30px;
}

.k-notification-group {
    left: 46% !important;
    z-index: 10000;
}

.k-notification-content {
    font-family: Circular, sans-serif;
    color: var(--medics-blue);
    font-size: 1.25rem;
    line-height: 30px;
    hyphens: none;
}

.toast-custom-notification-parent {
    position: fixed;
    left: 50%;
    top: 1rem;
    transform: translateX(-50%);
    z-index: 2000;
    pointer-events: none;
}

.toast-custom-positioned-notifications {
    position: relative;
    flex-wrap: nowrap;
    pointer-events: none;
}

    .toast-custom-positioned-notifications .k-notification {
        width: 300px;
        pointer-events: auto;
    }

    .toast-custom-positioned-notifications .k-notification-content {
        display: flex;
        align-items: flex-start;
        gap: 0.6rem;
    }

        .toast-custom-positioned-notifications .k-notification-content::before {
            content: "";
            display: inline-block;
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            background-image: url("/images/info-i-small.png");
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            margin-top: 7px;
        }

.k-notification .k-notification-close-action svg {
    width: 24px;
    height: 24px;
}

    .k-notification .k-notification-close-action svg path {
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        opacity: 0.9;
        transition: opacity 0.2s ease-in-out, stroke-width 0.2s ease-in-out;
    }

.k-notification .k-notification-close-action:hover svg path {
    opacity: 1;
    stroke-width: 2.3;
}

.k-notification-actions {
    flex: none;
    display: flex;
    gap: var(--kendo-spacing-2, 0.5rem);
    flex-flow: row nowrap;
    align-items: center;
    align-self: flex-start;
    margin-top: 7px;
    pointer-events: auto;
}

.k-window-login,
.k-window-login .alert {
    padding: 0.5rem;
    font-family: Circular, sans-serif;
    font-size: 1.25rem;
    line-height: 32px;
    hyphens: none;
}

    .k-window-login .k-dialog-content {
        white-space: normal;
        padding: 1.25rem 1.5rem;
    }
/*
    Neuer allgemeiner Name: .k-window-medics
    .k-window-ewalkin bleibt als Alias für bestehende Seiten erhalten.
*/
.k-window-medics,
.k-window-ewalkin {
    width: 80%;
    padding: 0.25rem;
    font-family: Circular, sans-serif;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
}

.k-window {
    border-color: var(--kendo-color-primary-emphasis, rgba(13, 110, 253, 0.4));
    color: var(--medics-blue);
    background-color: #e1e5f0;
    box-shadow: none;
}

.k-dialog-titlebar {
    border: none;
    color: unset;
    background-color: unset;
}

.k-button-flat {
    border: none;
    color: inherit;
    background: none !important;
    box-shadow: none !important;
}

.k-dialog-actions {
    border: none;
    gap: 1rem;
    justify-content: flex-end;
}

    .k-dialog-actions.k-actions-horizontal .k-button + .k-button {
        margin-left: auto;
    }

.k-window-medics .k-dialog-content,
.k-window-ewalkin .k-dialog-content {
    white-space: pre-line;
}

.k-window-medics .k-window-title,
.k-window-ewalkin .k-dialog-title {
    font-size: 1.5rem;
}

.k-svg-icon {
    width: 1.3rem;
    height: 1.4rem;
    color: var(--medics-blue);
    outline: 0;
    line-height: 1;
    display: inline-flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    position: relative;
}

.k-svg-icon2 {
    width: 1.7rem;
    height: 1.7rem;
    color: var(--medics-blue);
    margin-left: -2px;
}

.k-svg-icon-white {
    width: 1.2rem;
    height: 1.1rem;
    color: white;
}

@media (min-width: 768px) {
    .k-notification,
    .k-notification-content {
        font-size: 1.5rem;
        line-height: 32px;
    }

    .k-notification-group {
        left: 2% !important;
    }

    .k-window-login,
    .k-window-login .alert {
        width: 100%;
        max-width: 620px;
        padding: 1.25rem;
        font-family: Circular, sans-serif;
        font-size: 24px;
        line-height: 32px;
    }

    .k-window-medics,
    .k-window-ewalkin {
        width: 420px;
        padding: 1rem;
    }
}
/* =========================================================
   Fehler / Utility-Komponenten
   ========================================================= */
.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.";
    }

.form-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flex-500 {
    flex: 1 1 400px !important;
    max-width: 100% !important;
}

.max-w-300px {
    max-width: 200px;
}

.no-border {
    border: none !important;
}

.no-bg {
    background-color: transparent !important;
}

.loading-busy-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

.loading-busy-overlay__content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
    color: var(--medics-blue);
    font-family: Circular, sans-serif;
}
/* =========================================================
   Responsive Typografie / Komponenten
   ========================================================= */
@media (min-width: 768px) {
    body {
        font-size: 24px;
    }

    .field--name-body ol,
    .field--name-body ul,
    .field--name-field-job-offertext ol,
    .field--name-field-job-offertext ul,
    .field--name-field-job-requirementstext ol,
    .field--name-field-job-requirementstext ul,
    .form-type-processed-text ol,
    .form-type-processed-text ul,
    .text-formatted ol,
    .text-formatted ul {
        font-size: 1.5rem;
        line-height: 32px;
    }

    p,
    h4 {
        font-size: 1.25rem;
        line-height: 32px;
        margin-bottom: 1.5rem;
    }

    table {
        line-height: 20px;
        display: table;
        overflow: hidden;
    }

    .table th,
    .table td {
        font-size: 1rem;
        min-width: 30px;
    }

    .btn {
        font-size: 1.4rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-small {
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-auto-width {
        max-width: 25rem !important;
    }

    button,
    input,
    optgroup,
    select,
    textarea,
    label {
        font-size: 1.25rem;
    }

    h1,
    body .h1,
    body h1 {
        overflow-wrap: break-word;
        font-size: 4rem;
        line-height: 65px;
    }

    h3 {
        font-size: 1.5rem;
    }

    .accordion-button {
        font-size: 1.8rem;
    }

    .k-svg-icon {
        width: 1.4rem;
        height: 1.7rem;
        color: var(--medics-blue);
    }

    .k-svg-icon2 {
        width: 2.2rem;
        height: 2.2rem;
        color: var(--medics-blue);
        margin-left: -2px;
    }

    .k-svg-icon-white {
        width: 1.3rem;
        height: 1.2rem;
        color: white;
    }
}

@media (min-width: 992px) {
    body {
        font-size: 24px;
    }

    table {
        line-height: 25px;
        display: table;
        overflow: hidden;
    }

    .table th,
    .table td {
        font-size: 1.2rem;
        min-width: 30px;
    }

    .btn {
        font-size: 1.5rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-small {
        font-size: 1.3rem;
        padding: 0.25rem 0.5rem;
    }

    .accordion-button {
        font-size: 2rem;
    }

    .k-svg-icon {
        width: 1.5rem;
        height: 1.5rem;
        color: var(--medics-blue);
    }

    .k-svg-icon2 {
        width: 2.2rem;
        height: 2.2rem;
        color: var(--medics-blue);
        margin-left: 0px;
    }

    .k-svg-icon-white {
        width: 1.6rem;
        height: 1.4rem;
        color: white;
    }
}

/* ==========================================================================
   Account pages (sign in, forgot password, reset password)
   ==========================================================================

   The pages come from Itok.AspNetCore.Authentication.Components and only emit
   class names - each with the prefix set by AccountThemeOptions.CssPrefix, here
   "medics-". Previously Bootstrap spacing was hard-coded in the markup ("row m-5 py-4"), applied
   on every screen size and could not be reached from here: on a 375px wide
   phone the form was left with 207px.

   Below is every class the account pages can emit - including the empty ones. They are
   intentional: the catalog shows where styling can be hooked in without anyone having to read the
   Razor files in the NuGet package. An empty rule costs nothing and may be filled;
   do not delete any rule, otherwise the hook becomes invisible again.

   Which class appears on which page:
     A = all three pages   L = sign in   V = forgot password   Z = reset password
   ========================================================================== */


/* --- Frame (AccountFrame) ------------------------------------------------- */

/* A - outermost container of the page, additionally carries .container-fluid */
.medics-account-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0 1rem;
}

/* A - header area with the logo */
.medics-account-header {
    border-bottom: 2px solid var(--bs-border-color, #dee2e6);
    padding: 1rem 0;
}

/* A - the logo scales along instead of staying at 272px */
.medics-account-logo {
    max-width: 100%;
    height: auto;
    width: 220px;
}

/* A - the area between header and footer */
.medics-account-main {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

/* A - the column holding the page content. Full width up to 480px, reading width above that -
   this replaces the fixed col-md-3 / col-md-6 / col-md-3 from the old markup. */
.medics-account-content {
    width: 100%;
    max-width: 26rem;
}

/* A - footer area with build info and copyright */
.medics-account-footer {
    border-top: 2px solid var(--bs-border-color, #dee2e6);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

/* A - version and build details, only when AccountTheme:ShowBuildInfo is true */
.medics-account-buildinfo {
}

/* A - "(c) 2026 - Medics", the suffix comes from the translation */
.medics-account-copyright {
}


/* --- Headings and messages ------------------------------------------------ */

/* A - the page's h1, additionally carries .mb-3 */
.medics-account-title {
    font-size: clamp(2rem, 4.5vw, 60px);
    line-height: clamp(2.25rem, 4.9vw, 65px);
    font-family: "Circular", var(--medics-backup-font);
    font-weight: 700;
    color: var(--medics-blue);
}

/* L - the h2 ("For employees") above the employee sign-in. Keeps the regular h2 size, only the color is Medics blue.
   margin-bottom matches the .mb-3 (1rem) on .medics-account-title, so the gap from this heading to the employee button equals the gap from the page title to the
   user name field; Bootstrap's default for h2 would be 0.5rem. Change both together. */
.medics-account-subtitle {
    color: var(--medics-blue);
    margin-bottom: 1rem;
}

/* A - the section block around the form */
.medics-account-section {
}


/* --- Form ----------------------------------------------------------------- */

/* A - the EditForm itself */
.medics-account-form {
}

/* A - a field group of input, label and error message.
   Text fields additionally carry .form-floating .mb-3, password fields .mb-3 .position-relative */
.medics-account-field {
}

/* A - the input field, additionally carries .form-control */
.medics-account-field .medics-account-input {
    padding-right: 3rem;
}

.medics-account-input:focus {
}

.medics-account-input::placeholder {
}

/* A - error message below the field, or the ValidationSummary on the reset page.
   Additionally carries .text-danger. */
.medics-account-validation {
}

/* A - the area with the submit button */
.medics-account-actions {
}

/* A - the submit button. The text wraps onto two lines instead of making the button 70px tall. */
.medics-account-submit {
    white-space: normal;
    min-height: 3rem;
}

.medics-account-submit:hover {
}

.medics-account-submit:focus-visible {
}

.medics-account-submit:disabled {
}

/* L - the row with "Passwort vergessen?", additionally carries .text-end .form-label */
.medics-account-forgot {
}

/* L - the link inside it */
.medics-account-link {
}

.medics-account-link:hover {
}


/* --- Password field with eye button ---------------------------------------
   L, Z - the button sits inside the field. Space is kept free on the right (see .medics-account-input above)
   so it does not cover the entered text; the positioning was an inline style in the sample
   code, here it can be overridden. */

.medics-account-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 1.6rem;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 0;
    color: var(--medics-blue, #0047ba);
    cursor: pointer;
}

.medics-account-password-toggle:hover {
}

.medics-account-password-toggle:focus-visible {
    outline: 2px solid var(--medics-blue, #0047ba);
    outline-offset: 2px;
    border-radius: 2px;
}

/* The eye in the button. Both states are in the markup, the script hides one of them. */
.medics-account-password-toggle svg {
}


/* --- Employee sign-in -----------------------------------------------------
   L - only visible when AccountTheme:ShowEmployeeLogin is true. */

/* The distance to the customer sign-in above is set here only, not on .medics-account-subtitle: that h2 is the first child of this block, so a margin on both
   would collapse into one anyway. */
.medics-account-employee {
    margin-top: 6rem;
}

.medics-account-employee-form {
}

/* Like .medics-account-submit: the text may wrap without stretching the button.
   Inverted colors so the customer sign-in above stays the primary action: white with blue text and a light blue border, filled blue on hover. The markup carries
   .btn .btn-primary .w-100 from the NuGet package; this rule comes after those in this file and therefore overrides their colors. */
.medics-account-employee-submit {
    white-space: normal;
    min-height: 3rem;
    color: var(--medics-blue);
    background-color: var(--medics-white);
    border: 1px solid var(--medics-border-blue);
}

    /* Medics blue instead of the darkened #0b5ed7 from the generic .btn:hover. Keyboard focus gets the same look, otherwise Bootstrap's .btn:focus-visible
       would fill it with its own hover blue. */
    .medics-account-employee-submit:hover,
    .medics-account-employee-submit:focus-visible {
        color: var(--medics-white);
        background-color: var(--medics-blue);
        border-color: var(--medics-blue);
        filter: none;
    }


/* --- Without their own theme class ----------------------------------------
   These spots come from Bootstrap or from components that do not take a class name from
   AccountThemeOptions. They are scoped to the account area here so they do not touch the rest
   of the application. */

/* The floating label above the input field */
.medics-account-content .form-floating > label {
}

/* StatusMessage - the message above the form */
.medics-account-content .alert {
}

.medics-account-content .alert-success {
}

.medics-account-content .alert-danger {
}

/* ToLoginPageButton on the confirmation pages (mail sent, password changed,
   link expired, LDAP notice) */
.medics-account-content .btn {
}


/* --- Image next to the form -----------------------------------------------
   A - the Laborkurier image on all three account pages (sign in, forgot password, reset password).
   Drawn as ::after of .medics-account-main, so the NuGet package needs no change and no extra markup:
   it is a purely decorative background image and is not announced by screen readers.
   Narrow screens: below the form. From 992px (Bootstrap "lg"): to the right of the form, while the form
   itself stays centered on the page (grid with two equal side columns, see the media query below).
   The e.shop uses the same rules with its own image (test tubes) - change both together.
   575 / 764 is the size of the image file; 376px wide gives the intended height of about 500px. */
.medics-account-main {
    flex-direction: column;
    align-items: center;
}

.medics-account-main::after {
    content: "";
    display: block;
    width: min(100%, 376px);
    aspect-ratio: 575 / 764;
    margin-top: 3rem;
    background: url("../Images/login-laborkurier.png") no-repeat center / contain;
}

@media (min-width: 992px) {
    .medics-account-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 26rem) minmax(0, 1fr);
        column-gap: 3rem;
        align-items: start;
    }

    .medics-account-content {
        grid-column: 2;
    }

    /* Shrinks with the side column on smaller desktops, full size (about 500px high) from about 1400px. */
    .medics-account-main::after {
        grid-column: 3;
        justify-self: start;
        margin-top: 0;
    }
}

/* From 992px, where the browser supports CSS anchor positioning: the middle of the image sits at the
   height of the middle of the page's main button (.medics-account-submit - "Anmelden" of the customer
   sign-in, "Passwort zuruecksetzen" on the other two pages; the employee button has its own class).
   Follows the button when something above it changes height, e.g. an error message or another language.
   Without support the image stays aligned with the top of the title, as in the rule above.

   The image is absolutely positioned and keeps grid-column 3: an absolutely positioned grid item uses
   its grid area as containing block, so left: 0 and width: 100% still mean the right-hand column.
   It no longer takes up space, so min-height keeps the area tall enough for it on the short pages
   (forgot / reset password) - otherwise it would reach into the footer on a low window. 40rem covers
   button middle (at most about 23rem below the top of this area) plus half the image (about 16rem). */
@supports (anchor-name: --medics-account-submit) {
    @media (min-width: 992px) {
        /* position: relative makes this grid the containing block of the image - only then does the
           grid area of column 3 apply. */
        .medics-account-main {
            position: relative;
            min-height: 40rem;
        }

        .medics-account-submit {
            anchor-name: --medics-account-submit;
        }

        .medics-account-main::after {
            position: absolute;
            position-anchor: --medics-account-submit;
            top: anchor(center);
            left: 0;
            translate: 0 -50%;
        }
    }
}


/* --- From tablet up ------------------------------------------------------- */

@media (min-width: 576px) {
    .medics-account-page {
        padding: 0 2rem;
    }

    .medics-account-header,
    .medics-account-footer {
        padding: 1.5rem 0;
    }

    .medics-account-main {
        padding: 3rem 0;
    }
}
