/*==========================================================================
   1. CSS-Variablen / Design Tokens
==========================================================================*/

/* Farbpalette */
:root
{
  /* Primärfarben (Haupt-Akzente) */
  --color-background: #dadcdd;
  --color-font-main: #454545;
  --color-font-label:#039ee6;

  /* Layout 
  --color-header-background: #001d3b;
  --color-header-font: #ffffff;
  --color-navbar-background: #2076b4;
  --color-navbar-font: #ffffff;
  --color-navbar-link-background: #2076b4;
  --color-navbar-link-font: #ffffff;
  --color-navbar-link-hover-background: #0056b3;
  --color-navbar-link-hover-font: #cce5ff;



  /* Flash-Messages */
  --color-flashmsg-info:     darkgrey;
  --color-flashmsg-success:   green;
  --color-flashmsg-warning:  darkorange;
  --color-flashmsg-error:    red;
  
  /*
  --size-sidebar-width: 220px;
  --size-header-height: 80px;
  --size-navbar-height: 50px;

  /* Tabellen 
  --color-table-outline: #0056b3;
  --color-table-head-background :#2076b4;
  --color-table-head-color :#ffffff;
  --color-table-rows-alternate-odd: white;
  --color-table-rows-alternate-even: #cce5ff;
*/

}


/*==========================================================================
   1. html,body
==========================================================================*/


body
{
  background-color: var(--color-background);
  font-family: 'Inter', sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}




/* Labels: Über dem Feld */
.flat-label {
    display: block;
    font-size: 14px;
    color: var(--color-font-label);
    margin-bottom: 4px;
}

/* Inputs: Text */
.flat-text {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
}





/* ======================================================================= 
   Flash Messages
   ======================================================================= */

.flashmsg {
    padding: 5px 5px 0 5px; /* OU LR */
    font-size: 14px;
}

.flashmsg-info { color: var(--color-flashmsg-info); }
.flashmsg-success { color: var(--color-flashmsg-success); }
.flashmsg-warning { color: var(--color-flashmsg-warning); }
.flashmsg-error { color: var(--color-flashmsg-error); }



/* =======================================================================
  Login-Formular
========================================================================== */

/* Wrapper: Zentrieren des Formulars auf der Seite (div)*/
#login-wrapper {
    display: flex;
    padding: 0 10%;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Gesamte Box (div)*/
#login-box {
    width: 360px;
    border: 2px solid darkgrey;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2),
                0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

/* Logo-Bild (img) */
#login-logo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

/* Titel-Zeile (div) */
#login-main {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    color: var(--color-font-main);
}

/* Status-Zeile (div) */
#login-status {
    text-align: center;
    margin: 10px 0;
}

/* Wrapper eigentliches Formular (div) */
.login-form
{
    padding: 15px;
}

/* Flex-Zeile für Passwort-Label + Link */
.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 10px;
}




/* Passwort vergessen */
.login-reset-password-link {
    font-size: 12px;
    color: var(--color-font-label);
    text-decoration: none;
}

.login-reset-password-link:hover {
    text-decoration: underline;
}


/* Login-Button */
.login-button {
    width: 100%;
    padding: 10px;
}


/* =======================================================================
   Gemeinsamer Passwortwechsel für Backoffice und Kundenbereich
========================================================================== */

.password-change-wrapper {
    min-height: 100vh;
    height: auto;
    padding: 24px;
}

#login-box.password-change-box {
    width: min(100%, 520px);
    padding: 28px;
    border-color: #b6c5cf;
}

#login-box.password-change-box #login-logo {
    max-width: 280px;
}

.password-change-eyebrow {
    margin: 22px 0 5px;
    color: var(--admin-navbar, #247caf);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-align: center;
    text-transform: uppercase;
}

.password-change-box h1 {
    margin: 0;
    color: #183b53;
    font-size: clamp(1.55rem, 5vw, 2rem);
    line-height: 1.15;
    text-align: center;
}

.password-change-introduction {
    margin: 14px 0;
    color: #4c616f;
    line-height: 1.55;
    text-align: center;
}

.password-change-account {
    margin: 18px 0 22px;
    padding: 11px 13px;
    overflow-wrap: anywhere;
    border: 1px solid #d5e0e7;
    border-radius: 4px;
    color: #36566b;
    background: #f4f8fa;
    font-size: .9rem;
    text-align: center;
}

.password-change-feedback {
    margin: 0 0 18px;
    padding: 10px 12px;
    border: 1px solid #d7e1e7;
    border-radius: 4px;
    background: #f8fafb;
}

.password-change-feedback .flashmsg {
    padding: 0;
    line-height: 1.45;
}

.password-change-field + .password-change-field {
    margin-top: 4px;
}

.password-change-form .flat-text {
    min-height: 42px;
    margin-bottom: 14px;
}

.password-change-form .flat-text:focus {
    border-color: var(--admin-navbar, #247caf);
    outline: 3px solid rgba(36, 124, 175, .16);
}

.password-change-policy {
    margin: 3px 0 18px;
    padding: 13px 15px;
    border-left: 4px solid var(--admin-navbar, #247caf);
    color: #4b626f;
    background: #edf5f9;
    font-size: .84rem;
    line-height: 1.45;
}

.password-change-policy strong {
    color: #234b64;
}

.password-change-policy ul {
    margin: 7px 0 0;
    padding-left: 19px;
}

.password-change-submit,
.password-change-back,
.password-change-logout {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 3px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.password-change-submit {
    width: 100%;
    border: 1px solid #17618e;
    color: #fff;
    background: var(--admin-navbar, #247caf);
    cursor: pointer;
}

.password-change-submit:hover,
.password-change-submit:focus-visible {
    background: #176a9c;
}

.password-change-secondary-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #dbe3e8;
}

.password-change-secondary-actions form {
    margin: 0;
}

.password-change-back,
.password-change-logout {
    border: 1px solid #aebdc7;
    color: #36566b;
    background: #fff;
    cursor: pointer;
}

.password-change-back:hover,
.password-change-back:focus-visible,
.password-change-logout:hover,
.password-change-logout:focus-visible {
    background: #edf2f5;
}

@media (max-width: 520px) {
    .password-change-wrapper {
        padding: 12px;
    }

    #login-box.password-change-box {
        padding: 22px 18px;
    }

    .password-change-secondary-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .password-change-secondary-actions form,
    .password-change-back,
    .password-change-logout {
        width: 100%;
    }
}


/* =======================================================================
   Responsive Admin-Layout
========================================================================== */

:root {
    --admin-header: #002342;
    --admin-navbar: #247caf;
    --admin-navbar-dark: #155b89;
    --admin-sidebar: #ffffff;
    --admin-sidebar-active: #dfeaf2;
    --admin-text: #164f79;
    --admin-header-height: 82px;
    --admin-toolbar-height: 58px;
    --admin-sidebar-wide: 250px;
    --admin-sidebar-compact: 76px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

button, input {
    font: inherit;
}

.admin-shell {
    min-height: 100vh;
    color: #24323c;
    display: grid;
    grid-template:
        "header header" var(--admin-header-height)
        "toolbar toolbar" var(--admin-toolbar-height)
        "sidebar content" 1fr
        / var(--admin-sidebar-wide) minmax(0, 1fr);
    transition: grid-template-columns 180ms ease;
}

.admin-header {
    grid-area: header;
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 24px;
    color: #fff;
    background: var(--admin-header);
}

.admin-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 150px;
    max-height: 58px;
    object-fit: contain;
    transform: translate(-50%, -50%);
}

.header-button,
.menu-button {
    border: 0;
    color: #fff;
    cursor: pointer;
}

.header-button {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #315878;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.header-button:hover,
.header-button:focus-visible {
    background: #47708f;
}

.admin-clock {
    margin-left: auto;
    text-align: right;
    line-height: 1.05;
}

.admin-clock time {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.7rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.admin-clock span {
    display: block;
    margin-top: 4px;
    font-size: .95rem;
}

.admin-toolbar {
    grid-area: toolbar;
    z-index: 30;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 18px 0 0;
    color: #fff;
    background: var(--admin-navbar);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
}

.admin-toolbar h1 {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolbar-context {
    color: rgba(255, 255, 255, .72);
}

/*
 * Kontomenü in der Navigationsleiste. Es ist ein gemeinsamer Layoutbaustein
 * für Backoffice und Kundenportal; die enthaltenen Links werden serverseitig
 * passend zur Rolle ausgewählt.
 */
.toolbar-user-menu {
    position: relative;
    min-width: 0;
    align-self: stretch;
    display: flex;
    margin-left: auto;
}

.toolbar-user-toggle {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.toolbar-user-toggle:hover,
.toolbar-user-toggle:focus-visible,
.toolbar-user-menu.is-expanded .toolbar-user-toggle {
    background: rgba(255, 255, 255, .16);
}

.toolbar-user-toggle .admin-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    filter: brightness(0) invert(1);
}

.toolbar-user-label {
    overflow: hidden;
    max-width: 240px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.toolbar-user-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 160ms ease;
}

.toolbar-user-menu.is-expanded .toolbar-user-chevron {
    transform: translateY(2px) rotate(225deg);
}

.toolbar-user-dropdown {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    right: 0;
    width: min(310px, calc(100vw - 24px));
    overflow: hidden;
    border: 1px solid #c2d0d8;
    border-radius: 5px;
    color: #183b54;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 42, 59, .24);
}

.toolbar-user-dropdown[hidden] {
    display: none;
}

.toolbar-user-identity {
    padding: 13px 15px;
    border-bottom: 1px solid #dce4e8;
    background: #f3f7f9;
}

.toolbar-user-identity small,
.toolbar-user-identity strong {
    display: block;
}

.toolbar-user-identity small {
    margin-bottom: 3px;
    color: #657985;
    font-size: .7rem;
    text-transform: uppercase;
}

.toolbar-user-identity strong {
    overflow-wrap: anywhere;
    font-size: .88rem;
}

.toolbar-user-dropdown a,
.toolbar-user-dropdown button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 15px;
    border: 0;
    color: #183b54;
    background: #fff;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.toolbar-user-dropdown a:hover,
.toolbar-user-dropdown a:focus-visible,
.toolbar-user-dropdown button:hover,
.toolbar-user-dropdown button:focus-visible {
    background: #e6f0f6;
}

.toolbar-user-dropdown form {
    margin: 0;
    border-top: 1px solid #e1e7ea;
}

.toolbar-user-dropdown .admin-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.menu-button {
    width: var(--admin-sidebar-compact);
    align-self: stretch;
    display: flex;
    flex: 0 0 var(--admin-sidebar-compact);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    margin: 0;
    background: var(--admin-navbar-dark);
    font-size: .72rem;
}

.menu-button:hover,
.menu-button:focus-visible {
    background: rgba(255, 255, 255, .22);
}

.admin-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.admin-sidebar {
    grid-area: sidebar;
    z-index: 35;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--admin-text);
    background: var(--admin-sidebar);
    border-right: 1px solid #cad4db;
    box-shadow: 2px 0 5px rgba(0, 0, 0, .08);
}

.sidebar-link {
    width: 100%;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    border: 0;
    color: inherit;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.sidebar-link:hover,
.sidebar-link:focus-visible,
.sidebar-link.is-active {
    background: var(--admin-sidebar-active);
}

.sidebar-link .admin-icon {
    color: #126296;
}

/* Der Navigationsbereich darf bei vielen Menüeinträgen scrollen. */
.admin-sidebar > nav {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
}

/* Eine aufklappbare Gruppe belegt wie ein normaler Menüpunkt die volle Breite. */
.sidebar-group {
    width: 100%;
}

/*
 * Der Gruppenname ist ein Button und kein Link, weil er keine neue Seite
 * öffnet. Er steuert ausschließlich das zugehörige Untermenü.
 */
.sidebar-group-toggle {
    text-align: left;
}

/*
 * Der kleine Pfeil wird nur mit CSS gezeichnet. Seine Drehung zeigt an,
 * ob die Gruppe geschlossen oder geöffnet ist.
 */
.submenu-chevron {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    display: block;
    margin-left: auto;
    border-right: 2px solid #126296;
    border-bottom: 2px solid #126296;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.sidebar-group.is-expanded .submenu-chevron {
    transform: rotate(225deg);
}

/*
 * Das hidden-Attribut wird durch JavaScript gesetzt und entfernt.
 * Diese Regel stellt sicher, dass ein geschlossenes Untermenü unabhängig
 * von anderen Display-Regeln unsichtbar bleibt.
 */
.sidebar-submenu[hidden] {
    display: none;
}

/*
 * Unterpunkte sind etwas niedriger und weiter eingerückt als Einträge der
 * ersten Ebene. Der dezente Hintergrund verdeutlicht die Gruppierung.
 */
.sidebar-sublink {
    min-height: 52px;
    gap: 16px;
    padding-left: 56px;
    background: #f7f9fa;
    font-size: .92rem;
}

.sidebar-sublink .admin-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

.admin-content {
    grid-area: content;
    min-width: 0;
    padding: clamp(20px, 4vw, 48px);
    background: #eef1f3;
}

.admin-welcome {
    max-width: 850px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(26, 48, 63, .12);
}

.admin-welcome h2 {
    margin: 4px 0 18px;
    color: #183b54;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.admin-welcome p {
    line-height: 1.6;
}

.eyebrow {
    margin: 0;
    color: var(--admin-navbar);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/*
 * ==========================================================================
 * Eigenes Rechteprofil
 * ==========================================================================
 */

/*
 * Die Rechteübersicht benötigt etwas mehr Breite als das normale Dashboard,
 * bleibt auf sehr großen Bildschirmen aber weiterhin gut lesbar.
 */
.rights-page {
    max-width: 1050px;
}

.rights-introduction {
    margin-bottom: 24px;
}

/*
 * Die aktuell zugewiesene Rolle und die Gesamtzahl der wirksamen Rechte
 * bilden den Kopf der Übersicht.
 */
.rights-role-summary {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    padding: 20px;
    border: 1px solid #b9cfdd;
    border-left: 4px solid var(--admin-navbar);
    border-radius: 4px;
    background: #f6fafc;
}

.rights-role-details {
    min-width: 0;
}

.rights-role-details > span {
    display: block;
    color: var(--admin-navbar);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rights-role-details > strong {
    display: inline-block;
    margin: 5px 8px 0 0;
    color: #183b54;
    font-size: 1.25rem;
}

.rights-role-details > code {
    color: #29698f;
    font-size: .78rem;
}

.rights-role-details > p {
    margin: 8px 0 0;
    color: #425968;
}

.rights-total {
    min-width: 130px;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 4px;
    color: #fff;
    background: #123c5a;
    text-align: center;
}

.rights-total strong {
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
}

.rights-total span {
    color: #cce4f3;
    font-size: .76rem;
}

.rights-groups {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}

.rights-group {
    overflow: hidden;
    border: 1px solid #d2dde4;
    border-radius: 4px;
}

.rights-group-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    background: #eaf2f7;
}

.rights-group-heading h3 {
    margin: 0;
    color: #183b54;
    font-size: 1.05rem;
}

.rights-group-heading p {
    margin: 4px 0 0;
    color: #4f6879;
    font-size: .88rem;
    line-height: 1.45;
}

.rights-group-count {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 3px;
    color: #164f79;
    background: #d5e8f3;
    font-size: .76rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.rights-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rights-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    padding: 18px 20px;
    border-top: 1px solid #e1e8ec;
}

.rights-item:first-child {
    border-top: 0;
}

.rights-item.is-denied {
    background: #fafbfc;
}

.rights-permission-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.rights-permission-title strong {
    color: #183b54;
}

.rights-technical-badge {
    padding: 3px 6px;
    border-radius: 3px;
    color: #795300;
    background: #fff0c5;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rights-permission-details p {
    margin: 5px 0 7px;
    color: #506674;
    font-size: .88rem;
    line-height: 1.45;
}

.rights-permission-details code {
    color: #29698f;
    font-size: .78rem;
}

/*
 * Der Schalter zeigt nur den Zustand an. Er ist absichtlich kein Button und
 * besitzt deshalb auch keine Hover- oder Fokusdarstellung.
 */
.rights-state {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rights-state-label {
    min-width: 84px;
    color: #697985;
    font-size: .82rem;
    text-align: right;
}

.rights-item.is-allowed .rights-state-label {
    color: #24713e;
    font-weight: 700;
}

.rights-switch {
    position: relative;
    width: 44px;
    height: 24px;
    flex: 0 0 44px;
    border-radius: 999px;
    background: #aeb9c0;
    box-shadow: inset 0 0 0 1px rgba(24, 59, 84, .16);
}

.rights-switch::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(24, 59, 84, .28);
    content: "";
    transition: transform 160ms ease;
}

.rights-switch.is-on {
    background: #2d8a50;
}

.rights-switch.is-on::after {
    transform: translateX(20px);
}

/*
 * ==========================================================================
 * Kundenliste
 * ==========================================================================
 */

.customer-list-page {
    max-width: 1280px;
}

.customer-list-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.customer-list-title-row .eyebrow {
    margin-top: 0;
}

.customer-list-create,
.customer-list-search button,
.customer-list-empty a,
.customer-list-mobile-sort button {
    min-height: 42px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid #17618e;
    border-radius: 3px;
    color: #fff;
    background: var(--admin-navbar);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.customer-list-create:hover,
.customer-list-create:focus,
.customer-list-search button:hover,
.customer-list-search button:focus,
.customer-list-empty a:hover,
.customer-list-empty a:focus,
.customer-list-mobile-sort button:hover,
.customer-list-mobile-sort button:focus {
    background: #176a9c;
}

.customer-list-introduction {
    max-width: 800px;
    color: #425968;
}

.customer-list-search {
    margin: 24px 0 20px;
    padding: 18px;
    border: 1px solid #c8d7e0;
    border-radius: 4px;
    background: #f5f9fb;
}

.customer-list-search > label,
.customer-list-mobile-sort label {
    display: block;
    margin-bottom: 7px;
    color: #284b62;
    font-size: .86rem;
    font-weight: 700;
}

.customer-list-search-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.customer-list-search input[type="search"] {
    min-width: 220px;
    min-height: 42px;
    flex: 1 1 520px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #aebdc7;
    border-radius: 3px;
    color: #263f4f;
    background: #fff;
    font: inherit;
}

.customer-list-search input[type="search"]:focus,
.customer-list-mobile-sort select:focus {
    border-color: var(--admin-navbar);
    outline: 3px solid rgba(40, 125, 170, .18);
}

.customer-list-search-reset {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: #2b668c;
    font-weight: 700;
}

.customer-list-search > small {
    display: block;
    margin-top: 8px;
    color: #647681;
    font-size: .76rem;
}

.customer-list-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 10px;
    color: #506875;
    font-size: .84rem;
}

.customer-list-result-heading p {
    margin: 0;
}

.customer-list-result-heading strong {
    color: #183b54;
}

.customer-list-table-wrapper {
    overflow: hidden;
    border: 1px solid #c5d2da;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(24, 59, 84, .08);
}

.customer-list-table {
    width: 100%;
    border-collapse: collapse;
    color: #314d5f;
}

.customer-list-table th,
.customer-list-table td {
    padding: 13px 15px;
    border-bottom: 1px solid #dbe4e9;
    text-align: left;
    vertical-align: middle;
}

.customer-list-table th {
    color: #fff;
    background: #1f6f9f;
    font-size: .78rem;
    letter-spacing: .02em;
}

.customer-list-table th:nth-child(3),
.customer-list-table td:nth-child(3) {
    width: 130px;
}

.customer-list-table th:nth-child(4),
.customer-list-table td:nth-child(4) {
    width: 170px;
}

.customer-list-table th:last-child,
.customer-list-table td:last-child {
    width: 90px;
    text-align: right;
}

.customer-list-table tbody tr:last-child td {
    border-bottom: 0;
}

.customer-list-table tbody tr:nth-child(even) {
    background: #f5f9fb;
}

.customer-list-table tbody tr:hover {
    background: #eaf3f8;
}

.customer-list-table td:first-child strong {
    color: #183b54;
}

.customer-name-summary {
    min-width: 0;
}

.customer-official-name {
    display: block;
    margin-top: 4px;
    color: #607480;
    line-height: 1.35;
}

.customer-list-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.customer-list-sort:hover,
.customer-list-sort:focus {
    color: #fff;
    text-decoration: underline;
}

.customer-list-sort [aria-hidden="true"] {
    color: #cae5f4;
    font-size: 1rem;
}

.customer-access-count {
    display: flex;
    align-items: baseline;
    gap: 7px;
    border-radius: 3px;
    color: inherit;
    text-decoration: none;
}

.customer-access-count:hover strong,
.customer-access-count:focus strong {
    color: #fff;
    background: #1c6f9f;
}

.customer-access-count:focus-visible {
    outline: 3px solid rgba(40, 125, 170, .24);
    outline-offset: 3px;
}

.customer-access-count strong {
    min-width: 28px;
    display: inline-flex;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    color: #155a82;
    background: #dceef8;
}

.customer-access-count small {
    color: #647681;
    font-size: .72rem;
}

.customer-detail-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #8eb1c6;
    border-radius: 3px;
    color: #1c628c;
    background: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.customer-detail-link:hover,
.customer-detail-link:focus {
    border-color: #1c628c;
    background: #e9f3f8;
}

.customer-list-empty {
    padding: 34px 24px;
    border: 1px dashed #b8cbd6;
    border-radius: 4px;
    text-align: center;
    background: #f8fafb;
}

.customer-list-empty strong {
    display: block;
    color: #244a63;
    font-size: 1.05rem;
}

.customer-list-empty p {
    margin: 8px auto 18px;
    color: #5a707d;
}

.customer-list-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    font-size: .84rem;
}

.customer-list-pagination a,
.customer-list-pagination span {
    color: #23678e;
    font-weight: 700;
}

.customer-list-pagination a:last-child,
.customer-list-pagination span:last-child {
    text-align: right;
}

.customer-list-pagination span[aria-disabled="true"] {
    color: #8797a0;
}

.customer-list-pagination strong {
    color: #3e596a;
    text-align: center;
}

.customer-list-mobile-sort {
    display: none;
}

/*
 * ==========================================================================
 * Kundenformular
 * ==========================================================================
 */

.customer-form-page {
    max-width: 1080px;
}

.customer-form-introduction {
    max-width: 780px;
    margin-bottom: 24px;
    color: #425968;
}

.customer-form-help {
    max-width: 780px;
    margin: 0 0 24px;
    border: 1px solid #c8d9e3;
    border-radius: 4px;
    color: #36566b;
    background: #f3f8fb;
}

.customer-form-help summary {
    padding: 13px 16px;
    color: #1f587b;
    font-weight: 700;
    cursor: pointer;
}

.customer-form-help-content {
    padding: 0 16px 15px;
    font-size: .88rem;
    line-height: 1.55;
}

.customer-form-help-content p {
    margin: 0 0 10px;
}

.customer-form-help-content ul {
    margin: 0;
    padding-left: 20px;
}

.customer-form-feedback {
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid #b8d7c1;
    border-left: 4px solid #2d8a50;
    border-radius: 4px;
    color: #1f6439;
    background: #f0f8f2;
}

.customer-form-feedback.is-error {
    border-color: #e3b9b9;
    border-left-color: #b93f3f;
    color: #842d2d;
    background: #fff5f5;
}

.customer-form-feedback strong {
    display: block;
    margin-bottom: 6px;
}

.customer-form-feedback ul {
    margin: 0;
    padding-left: 20px;
}

.customer-form-feedback .flashmsg {
    padding: 0;
}

.customer-form {
    display: grid;
    gap: 24px;
}

.customer-form-section {
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 1px solid #d2dde4;
    border-radius: 4px;
    background: #fbfcfd;
}

.customer-form-section legend {
    padding: 0 8px;
    color: #183b54;
    font-size: 1rem;
    font-weight: 700;
}

.customer-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.customer-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.customer-field-wide {
    grid-column: 1 / -1;
}

.customer-field label {
    color: #284b62;
    font-size: .84rem;
    font-weight: 700;
}

.customer-field label span {
    color: #a62f2f;
}

.customer-field input,
.customer-field select,
.customer-field textarea {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #aebdc7;
    border-radius: 3px;
    color: #263f4f;
    background: #fff;
    font: inherit;
}

.customer-field input:focus,
.customer-field select:focus,
.customer-field textarea:focus {
    border-color: var(--admin-navbar);
    outline: 3px solid rgba(40, 125, 170, .18);
    outline-offset: 0;
}

.customer-field textarea {
    min-height: 84px;
    line-height: 1.45;
    resize: vertical;
}

.customer-field-help,
.customer-template-status {
    color: #647681;
    font-size: .76rem;
    line-height: 1.4;
}

.customer-template-status {
    color: #286b91;
    font-weight: 600;
}

.customer-autocomplete {
    position: relative;
}

.customer-autocomplete-results {
    position: absolute;
    z-index: 60;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid #9eb4c2;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(24, 59, 84, .22);
}

.customer-autocomplete-option {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 11px 13px;
    border: 0;
    border-top: 1px solid #e2e9ed;
    color: #24465c;
    background: #fff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.customer-autocomplete-option:first-child {
    border-top: 0;
}

.customer-autocomplete-option:hover,
.customer-autocomplete-option:focus,
.customer-autocomplete-option.is-active {
    outline: 0;
    background: #e6f1f7;
}

.customer-autocomplete-option strong {
    color: #164f79;
    font-size: .88rem;
}

.customer-autocomplete-option small {
    color: #617684;
    font-size: .76rem;
}

.customer-autocomplete-message {
    padding: 13px;
    color: #617684;
    font-size: .84rem;
}

.customer-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.customer-form-cancel,
.customer-form-submit {
    min-height: 42px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 3px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
}

.customer-form-cancel {
    border: 1px solid #aebdc7;
    color: #36566b;
    background: #fff;
}

.customer-form-submit {
    border: 1px solid #17618e;
    color: #fff;
    background: var(--admin-navbar);
    cursor: pointer;
}

.customer-form-cancel:hover,
.customer-form-cancel:focus {
    background: #edf2f5;
}

.customer-form-submit:hover,
.customer-form-submit:focus {
    background: #176a9c;
}

/*
 * ==========================================================================
 * Kundendetail und EBA-Abgleich
 * ==========================================================================
 */

.customer-detail-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.customer-detail-title-row .eyebrow {
    margin-top: 0;
}

.customer-detail-title-row h2 {
    overflow-wrap: anywhere;
}

.customer-detail-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.customer-detail-actions a {
    min-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 13px;
    border: 1px solid #8eb1c6;
    border-radius: 3px;
    color: #1c628c;
    background: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.customer-detail-actions a:hover,
.customer-detail-actions a:focus {
    border-color: #1c628c;
    background: #e9f3f8;
}

.customer-detail-readonly {
    margin: 0 0 22px;
    padding: 13px 16px;
    border: 1px solid #c5d3dc;
    border-left: 4px solid #688294;
    border-radius: 4px;
    color: #3f596a;
    background: #f4f7f9;
}

.customer-detail-readonly code,
.customer-form-introduction code {
    color: #174f73;
    font-size: .9em;
}

.customer-eba-status {
    margin: 0 0 26px;
    padding: 19px 20px;
    border: 1px solid #c8d7e0;
    border-left-width: 5px;
    border-radius: 4px;
    color: #365264;
    background: #f5f8fa;
}

.customer-eba-status.is-manual {
    border-left-color: #758997;
}

.customer-eba-status.is-current {
    border-color: #b9d8c2;
    border-left-color: #2d8a50;
    color: #295d3d;
    background: #f2f9f4;
}

.customer-eba-status.is-update {
    border-color: #e1ca93;
    border-left-color: #bc7c13;
    color: #664b1b;
    background: #fffaf0;
}

.customer-eba-status h3 {
    margin: 2px 0 0;
    color: inherit;
    font-size: 1.05rem;
}

.customer-eba-status > p {
    max-width: 820px;
    margin: 12px 0 0;
    line-height: 1.5;
}

.customer-eba-status > small {
    display: block;
    margin-top: 9px;
    color: inherit;
    font-size: .76rem;
    opacity: .82;
}

.customer-eba-kicker {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-eba-already-matching {
    padding: 12px 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .68);
}

.customer-eba-comparison-wrapper {
    margin-top: 18px;
    overflow-x: auto;
    border: 1px solid #dbc68f;
    border-radius: 4px;
    background: #fff;
}

.customer-eba-comparison {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #3b5260;
    font-size: .82rem;
}

.customer-eba-comparison th,
.customer-eba-comparison td {
    padding: 12px 13px;
    border-bottom: 1px solid #e6ddd0;
    text-align: left;
    vertical-align: middle;
}

.customer-eba-comparison thead th {
    color: #fff;
    background: #846323;
    font-size: .75rem;
    letter-spacing: .02em;
}

.customer-eba-comparison tbody th {
    width: 22%;
    color: #3a5363;
    background: #fffdf8;
}

.customer-eba-comparison tbody tr:last-child th,
.customer-eba-comparison tbody tr:last-child td {
    border-bottom: 0;
}

.customer-eba-comparison td:nth-child(2),
.customer-eba-comparison td:nth-child(3) {
    max-width: 260px;
    overflow-wrap: anywhere;
}

.customer-eba-adopt-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border: 1px solid #8f681a;
    border-radius: 3px;
    color: #fff;
    background: #9e7016;
    font: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
}

.customer-eba-adopt-button:hover,
.customer-eba-adopt-button:focus {
    background: #7e5810;
}

.customer-eba-readonly {
    color: #786f60;
    font-size: .75rem;
}

.customer-detail-form .customer-form-section:disabled {
    opacity: .78;
}

.customer-detail-form .customer-form-section:disabled input,
.customer-detail-form .customer-form-section:disabled select,
.customer-detail-form .customer-form-section:disabled textarea {
    color: #3f5664;
    background: #edf2f4;
    -webkit-text-fill-color: #3f5664;
}

/*
 * ==========================================================================
 * Kundenzugänge
 * ==========================================================================
 */

.customer-accounts-page {
    max-width: 1120px;
}

.customer-account-credentials {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px solid #e0bd68;
    border-left: 5px solid #b87908;
    border-radius: 4px;
    color: #5d461b;
    background: #fff9e9;
}

.customer-account-credentials-kicker {
    margin: 0;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.customer-account-credentials h3 {
    margin: 4px 0 8px;
    color: #604718;
}

.customer-account-credentials > p:not(.customer-account-credentials-kicker) {
    margin: 0 0 14px;
}

.customer-account-credentials dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.customer-account-credentials dl > div {
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(151, 104, 16, .28);
    border-radius: 3px;
    background: #fff;
}

.customer-account-credentials dt,
.customer-account-meta dt {
    color: #697b86;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.customer-account-credentials dd,
.customer-account-meta dd {
    margin: 4px 0 0;
}

.customer-account-credentials code {
    color: #47330e;
    font-size: .96rem;
    font-weight: 700;
    overflow-wrap: anywhere;
    user-select: all;
}

.customer-account-create {
    margin: 0 0 28px;
    padding: 20px;
    border: 1px solid #c8d9e3;
    border-radius: 4px;
    background: #f3f8fb;
}

.customer-account-create h3,
.customer-account-list h3 {
    margin: 0 0 14px;
    color: #183b54;
}

.customer-account-create-form > label,
.customer-account-email-form > label {
    display: block;
    margin-bottom: 7px;
    color: #284b62;
    font-size: .82rem;
    font-weight: 700;
}

.customer-account-create-form > label span {
    color: #a62f2f;
}

.customer-account-create-form > div,
.customer-account-email-form > div {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.customer-account-create-form input,
.customer-account-email-form input[type="email"] {
    min-width: 0;
    min-height: 42px;
    flex: 1 1 auto;
    padding: 9px 11px;
    border: 1px solid #aebdc7;
    border-radius: 3px;
    color: #263f4f;
    background: #fff;
}

.customer-account-create-form input:focus,
.customer-account-email-form input[type="email"]:focus {
    border-color: var(--admin-navbar);
    outline: 3px solid rgba(40, 125, 170, .18);
}

.customer-account-create-form button,
.customer-account-email-form button,
.customer-account-button-row button,
.customer-account-delete button {
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid #17618e;
    border-radius: 3px;
    color: #fff;
    background: var(--admin-navbar);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

.customer-account-create-form button:hover,
.customer-account-create-form button:focus-visible,
.customer-account-email-form button:hover,
.customer-account-email-form button:focus-visible,
.customer-account-button-row button:hover,
.customer-account-button-row button:focus-visible {
    background: #176a9c;
}

.customer-account-list-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px;
}

.customer-account-list-heading h3 {
    margin: 0;
}

.customer-account-list-heading span {
    color: #607480;
    font-size: .82rem;
    font-weight: 700;
}

.customer-account-cards {
    display: grid;
    gap: 16px;
}

.customer-account-card {
    overflow: hidden;
    border: 1px solid #c5d2da;
    border-left: 5px solid #2d8a50;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(24, 59, 84, .08);
}

.customer-account-card.is-disabled {
    border-left-color: #a64a4a;
}

.customer-account-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 20px;
    border-bottom: 1px solid #dbe4e9;
    background: #f8fafb;
}

.customer-account-card-heading h4 {
    margin: 0 0 8px;
    color: #183b54;
    overflow-wrap: anywhere;
}

.customer-account-status {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
}

.customer-account-status.is-active {
    color: #21663b;
    background: #dff2e5;
}

.customer-account-status.is-disabled {
    color: #8c3030;
    background: #fae1e1;
}

.customer-account-meta {
    min-width: min(100%, 430px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.customer-account-meta dd {
    color: #344f60;
    font-size: .8rem;
}

.customer-account-actions {
    display: grid;
    gap: 14px;
    padding: 18px 20px;
}

.customer-account-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.customer-account-button-row form {
    margin: 0;
}

.customer-account-button-row .customer-account-warning-button {
    border-color: #9a6811;
    background: #a97518;
}

.customer-account-button-row .customer-account-warning-button:hover,
.customer-account-button-row .customer-account-warning-button:focus-visible {
    background: #875b0d;
}

.customer-account-delete {
    border-top: 1px solid #e0e7eb;
    padding-top: 12px;
}

.customer-account-delete summary {
    width: fit-content;
    color: #9a3838;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
}

.customer-account-delete form {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #e4bdbd;
    border-radius: 3px;
    background: #fff5f5;
}

.customer-account-delete label {
    flex: 1 1 auto;
    color: #733737;
    font-size: .8rem;
    line-height: 1.4;
}

.customer-account-delete input {
    margin-right: 6px;
}

.customer-account-delete .customer-account-danger-button {
    border-color: #8f2f2f;
    background: #a83b3b;
}

.customer-account-delete .customer-account-danger-button:hover,
.customer-account-delete .customer-account-danger-button:focus-visible {
    background: #872828;
}

/*
 * ==========================================================================
 * Einstellungen der Terminbuchung
 * ==========================================================================
 */

.booking-settings-page {
    max-width: 980px;
}

.booking-setting-combined-field > div {
    display: grid;
    grid-template-columns: minmax(100px, .55fr) minmax(160px, 1fr);
    gap: 9px;
}

.booking-settings-updated {
    margin-right: auto;
    color: #647681;
    font-size: .76rem;
}

/*
 * ==========================================================================
 * Gemeinsamer Terminkalender für Backoffice und Kundenportal
 * ==========================================================================
 */

.booking-dashboard-page {
    max-width: 1180px;
}

.booking-dashboard-introduction {
    max-width: 760px;
    color: #425968;
}

.booking-calendar-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.booking-calendar-summary > div {
    padding: 13px 15px;
    border: 1px solid #cad9e2;
    border-radius: 4px;
    background: #f5f9fb;
}

.booking-calendar-summary span,
.booking-calendar-summary strong {
    display: block;
}

.booking-calendar-summary span {
    margin-bottom: 4px;
    color: #687b87;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.booking-calendar-summary strong {
    color: #183b54;
}

.booking-calendar {
    overflow: hidden;
    border: 1px solid #c5d2da;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(24, 59, 84, .1);
}

.booking-calendar-toolbar {
    min-height: 62px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    color: #fff;
    background: #1f6f9f;
}

.booking-calendar-toolbar h3 {
    margin: 0;
    text-align: center;
    font-size: 1.18rem;
}

.booking-calendar-toolbar a,
.booking-calendar-toolbar > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    justify-self: center;
}

.booking-calendar-toolbar a {
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-decoration: none;
}

.booking-calendar-toolbar a:hover,
.booking-calendar-toolbar a:focus-visible {
    background: rgba(255, 255, 255, .2);
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.booking-calendar-weekdays {
    border-bottom: 1px solid #d5dfe5;
    color: #4c6878;
    background: #edf3f6;
}

.booking-calendar-weekdays span {
    padding: 9px 4px;
    text-align: center;
    font-size: .76rem;
    font-weight: 800;
}

.booking-calendar-day {
    min-width: 0;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
    border-right: 1px solid #dfe6ea;
    border-bottom: 1px solid #dfe6ea;
    color: #264b62;
    background: #fff;
    text-decoration: none;
}

.booking-calendar-day:nth-child(7n) {
    border-right: 0;
}

.booking-calendar-day strong {
    align-self: flex-start;
    min-width: 27px;
    height: 27px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
}

.booking-calendar-day small {
    color: #2a7750;
    font-size: .72rem;
    font-weight: 700;
}

a.booking-calendar-day:hover,
a.booking-calendar-day:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(36, 124, 175, .28);
    outline-offset: -3px;
    background: #eef8fd;
}

.booking-calendar-day.is-today strong {
    color: #fff;
    background: #1f6f9f;
}

.booking-calendar-day.is-selected {
    box-shadow: inset 0 0 0 3px #1973a7;
    background: #e7f4fb;
}

.booking-calendar-day.is-full,
.booking-calendar-day.is-outside-range {
    color: #8a989f;
    background: #f1f3f4;
}

.booking-calendar-day.is-outside-range {
    opacity: .68;
}

.booking-calendar-day.is-full small,
.booking-calendar-day.is-outside-range small {
    color: #909da4;
}

.booking-calendar-day.is-empty {
    background: #f8f9fa;
}

.booking-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    padding: 13px 16px;
    color: #607480;
    background: #f7f9fa;
    font-size: .74rem;
}

.booking-calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.booking-calendar-legend i {
    width: 13px;
    height: 13px;
    display: inline-block;
    border: 1px solid #aebdc7;
    border-radius: 2px;
    background: #fff;
}

.booking-calendar-legend i.is-full {
    background: #e6e9eb;
}

.booking-calendar-legend i.is-selected {
    border: 3px solid #1973a7;
    background: #e7f4fb;
}

.booking-calendar-legend i.is-free {
    border-color: #80b795;
    background: #e7f5ec;
}

.booking-slots {
    margin-top: 24px;
}

.booking-slots-placeholder {
    padding: 28px 22px;
    border: 1px dashed #b8cbd6;
    border-radius: 4px;
    color: #5a707d;
    text-align: center;
    background: #f8fafb;
}

.booking-slots-placeholder h3 {
    margin: 0 0 7px;
    color: #244a63;
}

.booking-slots-placeholder p {
    margin: 0;
}

.booking-slots-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}

.booking-slots-heading .eyebrow,
.booking-slots-heading h3 {
    margin: 0;
}

.booking-slots-heading span {
    color: #2a7750;
    font-size: .82rem;
    font-weight: 800;
}

.booking-slot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-slot-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
    border: 1px solid #c7d7e0;
    border-left: 4px solid #3a9660;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(24, 59, 84, .06);
}

.booking-slot-card time,
.booking-slot-card small {
    display: block;
}

.booking-slot-card time {
    color: #183b54;
    font-weight: 800;
}

.booking-slot-card small {
    margin-top: 4px;
    color: #687b87;
    font-size: .72rem;
}

.booking-slot-card button {
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #9bb2bf;
    border-radius: 3px;
    color: #6f7d85;
    background: #edf1f3;
    font-weight: 700;
    cursor: not-allowed;
}

.booking-reservation-note {
    margin: 13px 0 0;
    color: #687b87;
    font-size: .78rem;
}

/*
 * Inhalt bleibt für Screenreader verfügbar, nimmt visuell aber keinen Platz
 * ein. Die Klasse wird für Statusmeldungen des Autocomplete verwendet.
 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/*
 * ==========================================================================
 * EVU-Datamanager
 * ==========================================================================
 */

.evu-update-status {
    margin-top: 28px;
    padding: 20px;
    border: 1px solid #b9cfdd;
    border-left: 4px solid var(--admin-navbar);
    border-radius: 4px;
    background: #f6fafc;
}

.evu-update-status-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.evu-update-status-heading h3 {
    margin: 0;
    color: #183b54;
    font-size: 1.05rem;
}

.evu-status-kicker {
    margin: 0 0 4px;
    color: var(--admin-navbar);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.evu-audit-badge {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 3px;
    color: #17622f;
    background: #dff1e4;
    font-size: .76rem;
    font-weight: 700;
}

.evu-update-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0 0;
}

.evu-update-facts > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #d3dfe6;
    border-radius: 4px;
    background: #fff;
}

.evu-update-facts dt {
    color: #647681;
    font-size: .75rem;
    line-height: 1.35;
}

.evu-update-facts dd {
    margin: 5px 0 2px;
    color: #183b54;
    font-size: 1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
}

.evu-update-facts small {
    color: #647681;
    font-size: .72rem;
    line-height: 1.35;
}

.evu-last-result,
.evu-audit-note {
    margin: 14px 0 0;
    color: #425968;
    font-size: .84rem;
}

.evu-audit-note {
    padding-top: 12px;
    border-top: 1px solid #d3dfe6;
}

.evu-read-only-note {
    margin-top: 28px;
    padding: 14px 16px;
    border: 1px solid #a9ccdf;
    border-left: 4px solid var(--admin-navbar);
    border-radius: 4px;
    color: #164f79;
    background: #eef7fc;
}

.evu-read-only-note > strong {
    display: block;
    margin-bottom: 4px;
}

.evu-read-only-note p {
    margin: 0;
}

.evu-read-only-note code {
    font-size: .82em;
}

.evu-source,
.evu-url-import,
.evu-import-preview {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #d7e0e6;
}

.evu-source h3,
.evu-url-import h3,
.evu-import-preview h3 {
    margin: 0 0 8px;
    color: #183b54;
    font-size: 1.05rem;
}

.evu-source > p,
.evu-url-import > p {
    margin: 0 0 16px;
}

/*
 * Das gesamte EBA-Element ist ein externer Link. Logo und Beschriftung
 * können dadurch gemeinsam angeklickt werden.
 */
.eba-source-link {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid #c7d6df;
    border-radius: 4px;
    color: #164f79;
    background: #f7fafc;
    text-decoration: none;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        box-shadow 160ms ease;
}

.eba-source-link:hover,
.eba-source-link:focus-visible {
    border-color: var(--admin-navbar);
    background: #eef7fc;
    box-shadow: 0 2px 8px rgba(26, 48, 63, .12);
}

.eba-source-link:focus-visible {
    outline: 3px solid rgba(36, 124, 175, .28);
    outline-offset: 2px;
}

.eba-source-logo {
    width: 150px;
    max-width: 35%;
    height: auto;
    display: block;
}

.eba-source-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.eba-source-text strong {
    line-height: 1.35;
}

.eba-source-text small {
    color: #647681;
    line-height: 1.35;
}

.evu-url-form label {
    display: block;
    margin-bottom: 7px;
    color: #183b54;
    font-size: .9rem;
    font-weight: 700;
}

.evu-url-form-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

/*
 * min-width: 0 verhindert, dass eine lange URL den Inhaltsbereich über
 * seine verfügbare Breite hinausschiebt.
 */
.evu-url-input {
    min-width: 0;
    flex: 1 1 auto;
    padding: 11px 12px;
    border: 1px solid #b9c8d2;
    border-radius: 4px;
    color: #24323c;
    background: #fff;
}

.evu-url-input:hover {
    border-color: #829aaa;
}

.evu-url-input:focus {
    border-color: var(--admin-navbar);
    outline: 3px solid rgba(36, 124, 175, .2);
    outline-offset: 1px;
}

.evu-url-submit,
.evu-confirm-button,
.evu-cancel-button {
    border-radius: 4px;
    cursor: pointer;
}

.evu-url-submit,
.evu-confirm-button {
    border: 1px solid var(--admin-navbar-dark);
    color: #fff;
    background: var(--admin-navbar);
}

.evu-url-submit {
    flex: 0 0 auto;
    padding: 11px 20px;
}

.evu-url-submit:hover,
.evu-url-submit:focus-visible,
.evu-confirm-button:hover,
.evu-confirm-button:focus-visible {
    background: var(--admin-navbar-dark);
}

.evu-url-submit:focus-visible,
.evu-confirm-button:focus-visible,
.evu-cancel-button:focus-visible {
    outline: 3px solid rgba(36, 124, 175, .28);
    outline-offset: 2px;
}

.evu-url-help {
    display: block;
    margin-top: 8px;
    color: #647681;
    line-height: 1.45;
}

/*
 * Rückmeldungen stehen direkt am betroffenen URL-Feld. Die bestehenden
 * globalen Flashmessage-Klassen werden nur innerhalb dieser Seite optisch
 * als kompakte Hinweisboxen dargestellt.
 */
.evu-form-feedback {
    margin-top: 10px;
}

.evu-form-feedback .flashmsg {
    display: grid;
    gap: 6px;
    padding: 0;
}

.evu-form-feedback .flashmsg > div {
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 4px;
    line-height: 1.45;
}

.evu-form-feedback .flashmsg-success {
    border-color: #a9d6b6;
    color: #17622f;
    background: #edf8f0;
}

.evu-form-feedback .flashmsg-error {
    border-color: #e2aaaa;
    color: #8b1e1e;
    background: #fff0f0;
}

.evu-form-feedback .flashmsg-info {
    border-color: #a9ccdf;
    color: #164f79;
    background: #eef7fc;
}

.evu-form-feedback .flashmsg-warning {
    border-color: #e4c88e;
    color: #76540b;
    background: #fff8e8;
}

/*
 * Vorschau vor dem tatsächlichen Datenbankimport.
 */
.evu-import-preview {
    padding: 22px;
    border: 1px solid #b9cfdd;
    border-radius: 4px;
    background: #f6fafc;
}

.evu-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.evu-preview-heading h3 {
    margin-bottom: 0;
}

.evu-preview-kicker {
    margin: 0 0 4px;
    color: var(--admin-navbar);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.evu-preview-status {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 3px;
    color: #76540b;
    background: #fff0c9;
    font-size: .76rem;
    font-weight: 700;
}

.evu-preview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.evu-preview-stats > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #d3dfe6;
    border-radius: 4px;
    background: #fff;
}

.evu-preview-stats dt {
    color: #647681;
    font-size: .75rem;
}

.evu-preview-stats dd {
    margin: 4px 0 0;
    color: #183b54;
    font-size: 1.4rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.evu-preview-stats .is-new {
    border-top: 3px solid #2f9660;
}

.evu-preview-stats .is-changed {
    border-top: 3px solid #d89a28;
}

.evu-preview-stats .is-unchanged {
    border-top: 3px solid #8d9aa3;
}

.evu-preview-file,
.evu-preview-url,
.evu-preview-note {
    margin: 10px 0 0;
}

.evu-preview-url {
    overflow-wrap: anywhere;
}

.evu-preview-url code {
    color: #425968;
    font-size: .78rem;
}

.evu-preview-note {
    padding: 10px 12px;
    border-left: 3px solid var(--admin-navbar);
    background: #eaf4fa;
}

.evu-confirm-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.evu-confirm-button,
.evu-cancel-button {
    padding: 10px 16px;
}

.evu-cancel-button {
    border: 1px solid #aebdc7;
    color: #334c5d;
    background: #fff;
}

.evu-cancel-button:hover,
.evu-cancel-button:focus-visible {
    border-color: #768c9a;
    background: #eef2f4;
}

@media (max-width: 680px) {
    .evu-update-status-heading {
        flex-direction: column;
    }

    .evu-update-facts {
        grid-template-columns: 1fr;
    }

    .eba-source-link {
        width: 100%;
        align-items: flex-start;
        flex-direction: column;
    }

    .eba-source-logo {
        width: 140px;
        max-width: 70%;
    }

    .evu-url-form-row {
        align-items: stretch;
        flex-direction: column;
    }

    .evu-url-submit {
        width: 100%;
    }

    .evu-preview-heading {
        flex-direction: column;
    }

    .evu-preview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .evu-confirm-form {
        flex-direction: column;
    }

    .evu-confirm-button,
    .evu-cancel-button {
        width: 100%;
    }
}

.sidebar-scrim {
    display: none;
}

.viewport-debug {
    position: fixed;
    z-index: 25;
    right: 14px;
    bottom: 14px;
    min-width: 156px;
    display: grid;
    gap: 2px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 4px;
    color: #fff;
    background: rgba(0, 35, 66, .92);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}

.viewport-debug span {
    color: #8fc6e8;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.viewport-debug strong {
    font-size: .95rem;
}

.viewport-debug small {
    color: #cce4f3;
    font-size: .72rem;
}

/* Desktop: Seitenleiste breit oder kompakt */
@media (min-width: 1220px) {
    .admin-shell.is-compact {
        grid-template-columns: var(--admin-sidebar-compact) minmax(0, 1fr);
    }

    .admin-shell.is-compact .sidebar-link span {
        display: none;
    }

    .admin-shell.is-compact .sidebar-link {
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    .admin-shell.is-compact .sidebar-link .admin-icon {
        margin: 0;
    }
}

/* Tablet: kompakte Leiste; geöffnet als Drawer */
@media (min-width: 870px) and (max-width: 1219px) {
    .admin-shell {
        grid-template:
            "header header" var(--admin-header-height)
            "toolbar toolbar" var(--admin-toolbar-height)
            "sidebar content" 1fr
            / var(--admin-sidebar-compact) minmax(0, 1fr);
    }

    .admin-sidebar {
        position: fixed;
        top: calc(var(--admin-header-height) + var(--admin-toolbar-height));
        bottom: 0;
        left: 0;
        width: var(--admin-sidebar-compact);
        transition: width 180ms ease;
    }

    .admin-sidebar .sidebar-link span {
        display: none;
    }

    .admin-sidebar .sidebar-link {
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    .admin-sidebar .sidebar-link .admin-icon {
        margin: 0;
    }

    .admin-shell.is-open .admin-sidebar {
        width: var(--admin-sidebar-wide);
    }

    .admin-shell.is-open .sidebar-link span {
        display: inline;
    }

    .admin-shell.is-open .sidebar-link {
        justify-content: flex-start;
        gap: 20px;
        padding: 0 24px;
    }

    /*
     * Die allgemeine Tablet-Regel setzt ausgeblendete Beschriftungen beim
     * Öffnen auf inline. Der Pfeil benötigt display:block, damit seine
     * Größe und Drehung zuverlässig erhalten bleiben.
     */
    .admin-shell.is-open .sidebar-group-toggle .submenu-chevron {
        display: block;
    }

    .admin-shell.is-open .sidebar-sublink {
        gap: 16px;
        padding-left: 56px;
    }

    .admin-shell.is-open .sidebar-scrim {
        position: fixed;
        z-index: 34;
        inset: calc(var(--admin-header-height) + var(--admin-toolbar-height)) 0 0 var(--admin-sidebar-compact);
        display: block;
        border: 0;
        background: rgba(0, 0, 0, .48);
    }
}

/* Smartphone: Menü verborgen; geöffnet als Drawer */
@media (max-width: 869px) {
    :root {
        --admin-header-height: 74px;
        --admin-toolbar-height: 56px;
    }

    .admin-shell {
        display: grid;
        grid-template:
            "header" var(--admin-header-height)
            "toolbar" var(--admin-toolbar-height)
            "content" 1fr
            / minmax(0, 1fr);
    }

    .admin-header {
        padding: 0 14px;
    }

    .header-button {
        width: 46px;
        height: 46px;
    }

    .admin-logo {
        display: none;
    }

    .admin-clock time {
        font-size: 1.75rem;
    }

    .admin-clock span {
        font-size: .78rem;
    }

    .admin-toolbar {
        padding-right: 12px;
        gap: 14px;
    }

    .admin-toolbar h1 {
        font-size: 1.1rem;
    }

    .toolbar-context {
        display: none;
    }

    .toolbar-user-label {
        display: none;
    }

    .toolbar-user-toggle {
        padding: 0 10px;
    }

    .admin-sidebar {
        position: fixed;
        z-index: 50;
        top: calc(var(--admin-header-height) + var(--admin-toolbar-height));
        bottom: 0;
        left: 0;
        width: min(82vw, 340px);
        transform: translateX(-105%);
        transition: transform 200ms ease;
    }

    .admin-shell.is-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-shell.is-open .sidebar-scrim {
        position: fixed;
        z-index: 45;
        inset: calc(var(--admin-header-height) + var(--admin-toolbar-height)) 0 0 0;
        display: block;
        border: 0;
        background: rgba(0, 0, 0, .55);
    }

    .admin-content {
        padding: 18px 14px;
    }

    .rights-role-summary,
    .rights-group-heading {
        flex-direction: column;
    }

    .rights-total {
        width: auto;
        min-width: 0;
    }

    .rights-item {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .rights-state {
        justify-content: space-between;
    }

    .rights-state-label {
        min-width: 0;
        text-align: left;
    }

    .customer-form-section {
        padding: 18px 14px;
    }

    .customer-list-title-row,
    .customer-list-result-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-list-create {
        width: 100%;
    }

    .customer-list-search {
        padding: 15px;
    }

    .customer-list-search-row {
        flex-direction: column;
    }

    .customer-list-search input[type="search"] {
        min-width: 0;
        flex-basis: auto;
    }

    .customer-list-search button,
    .customer-list-search-reset {
        width: 100%;
        justify-content: center;
    }

    .customer-list-mobile-sort {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 9px;
        margin: 0 0 14px;
        padding: 14px;
        border: 1px solid #c8d7e0;
        border-radius: 4px;
        background: #f5f9fb;
    }

    .customer-list-mobile-sort label {
        grid-column: 1 / -1;
        margin: 0;
    }

    .customer-list-mobile-sort select {
        width: 100%;
        min-height: 42px;
        box-sizing: border-box;
        padding: 8px 10px;
        border: 1px solid #aebdc7;
        border-radius: 3px;
        color: #263f4f;
        background: #fff;
        font: inherit;
    }

    .customer-list-mobile-sort button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .customer-list-table-wrapper {
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .customer-list-table,
    .customer-list-table tbody,
    .customer-list-table tr,
    .customer-list-table td {
        display: block;
    }

    .customer-list-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .customer-list-table tbody {
        display: grid;
        gap: 12px;
    }

    .customer-list-table tr {
        overflow: hidden;
        border: 1px solid #c5d2da;
        border-radius: 4px;
        background: #fff;
        box-shadow: 0 3px 10px rgba(24, 59, 84, .08);
    }

    .customer-list-table tbody tr:nth-child(even),
    .customer-list-table tbody tr:hover {
        background: #fff;
    }

    .customer-list-table td,
    .customer-list-table td:nth-child(3),
    .customer-list-table td:nth-child(4),
    .customer-list-table td:last-child {
        width: auto;
        display: grid;
        grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
        gap: 12px;
        padding: 11px 13px;
        border-bottom: 1px solid #e0e7eb;
        text-align: left;
    }

    .customer-list-table td::before {
        color: #607480;
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .customer-list-table td:last-child {
        border-bottom: 0;
    }

    .customer-access-count {
        flex-wrap: wrap;
    }

    .customer-detail-link {
        justify-self: start;
    }

    .customer-list-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .customer-list-pagination strong {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .customer-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-field-wide {
        grid-column: auto;
    }

    .customer-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .customer-account-credentials dl,
    .customer-account-meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-account-create,
    .customer-account-card-heading,
    .customer-account-actions {
        padding: 16px 14px;
    }

    .customer-account-create-form > div,
    .customer-account-email-form > div,
    .customer-account-card-heading,
    .customer-account-delete form {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-account-create-form button,
    .customer-account-email-form button,
    .customer-account-button-row form,
    .customer-account-button-row button,
    .customer-account-delete button {
        width: 100%;
    }

    .booking-setting-combined-field > div,
    .booking-calendar-summary,
    .booking-slot-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-settings-updated {
        margin-right: 0;
        text-align: center;
    }

    .booking-calendar-toolbar {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
    }

    .booking-calendar-toolbar h3 {
        font-size: 1rem;
    }

    .booking-calendar-day {
        min-height: 70px;
        gap: 5px;
        padding: 7px 5px;
    }

    .booking-calendar-day strong {
        min-width: 23px;
        height: 23px;
        font-size: .78rem;
    }

    .booking-calendar-day small {
        font-size: .6rem;
    }

    .booking-calendar-legend,
    .booking-slots-heading,
    .booking-slot-card {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-slot-card button {
        width: 100%;
    }

    .customer-detail-title-row {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-detail-actions {
        justify-content: stretch;
    }

    .customer-detail-actions a {
        flex: 1 1 150px;
    }

    .customer-eba-status {
        padding: 16px 14px;
    }

    .customer-eba-comparison-wrapper {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .customer-eba-comparison,
    .customer-eba-comparison tbody,
    .customer-eba-comparison tr,
    .customer-eba-comparison th,
    .customer-eba-comparison td {
        display: block;
    }

    .customer-eba-comparison {
        min-width: 0;
    }

    .customer-eba-comparison thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .customer-eba-comparison tbody {
        display: grid;
        gap: 12px;
    }

    .customer-eba-comparison tr {
        overflow: hidden;
        border: 1px solid #dbc68f;
        border-radius: 4px;
        background: #fff;
    }

    .customer-eba-comparison tbody th,
    .customer-eba-comparison td,
    .customer-eba-comparison td:nth-child(2),
    .customer-eba-comparison td:nth-child(3) {
        width: auto;
        max-width: none;
        display: grid;
        grid-template-columns: minmax(105px, .42fr) minmax(0, 1fr);
        gap: 10px;
        box-sizing: border-box;
        padding: 11px 12px;
        border-bottom: 1px solid #ece2d4;
    }

    .customer-eba-comparison th::before,
    .customer-eba-comparison td::before {
        color: #7b673e;
        font-size: .69rem;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
        content: attr(data-label);
    }

    .customer-eba-comparison td:last-child {
        border-bottom: 0;
    }

    .customer-eba-adopt-button {
        width: 100%;
    }

    .customer-form-cancel,
    .customer-form-submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-shell,
    .admin-sidebar,
    .submenu-chevron,
    .rights-switch::after {
        transition: none;
    }
}
