:root {
    --beka-bg: #f3f6fb;
    --beka-panel: #ffffff;
    --beka-ink: #10213d;
    --beka-muted: #6d7b91;
    --beka-line: #e2e9f3;
    --beka-blue: #2563eb;
    --beka-blue-dark: #1746a2;
    --beka-cyan: #42c7d9;
    --beka-green: #20a77b;
    --beka-red: #dc4b5d;
    --beka-shadow-sm: 0 10px 30px rgba(28, 51, 84, .07);
    --beka-shadow: 0 24px 70px rgba(28, 51, 84, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

button,
input,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

@keyframes beka-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beka-dialog-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes beka-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes beka-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(32, 167, 123, .22);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(32, 167, 123, 0);
    }
}

@keyframes beka-slot-update {
    0% {
        transform: scale(.96);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .24);
    }

    55% {
        transform: scale(1.025);
        box-shadow: 0 0 0 7px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
    }
}

.beka-app {
    min-height: 100vh;
    color: var(--beka-ink);
    background:
        radial-gradient(circle at 82% -10%, rgba(66, 199, 217, .12), transparent 27rem),
        radial-gradient(circle at -10% 88%, rgba(37, 99, 235, .10), transparent 30rem),
        var(--beka-bg);
    font-family: "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.beka-layout {
    width: min(1500px, 100%);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    margin: 0 auto;
    padding: 18px;
    gap: 18px;
}

.beka-sidebar {
    position: sticky;
    top: 18px;
    height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    padding: 24px 20px 18px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    color: #dbe8ff;
    background:
        radial-gradient(circle at 20% 0, rgba(66, 199, 217, .17), transparent 18rem),
        linear-gradient(165deg, #112746, #0a1930 70%);
    box-shadow: 0 25px 70px rgba(10, 25, 48, .22);
}

.beka-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 4px 26px;
}

.beka-brand-mark {
    position: relative;
    width: 43px;
    height: 43px;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--beka-cyan), #337cf4);
    box-shadow: 0 12px 25px rgba(49, 134, 235, .28);
}

.beka-brand-mark span {
    position: absolute;
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    transform: rotate(-32deg);
}

.beka-brand-mark span:nth-child(1) {
    width: 8px;
    height: 25px;
    left: 12px;
    top: 9px;
}

.beka-brand-mark span:nth-child(2) {
    width: 8px;
    height: 19px;
    left: 22px;
    top: 6px;
    opacity: .82;
}

.beka-brand-mark span:nth-child(3) {
    width: 8px;
    height: 15px;
    left: 26px;
    top: 22px;
    opacity: .58;
}

.beka-brand>div:last-child {
    display: grid;
    line-height: 1;
}

.beka-brand strong {
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.beka-brand small {
    margin-top: 6px;
    color: #8299bb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.beka-user-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 9px 11px;
    padding: 15px;
    border: 1px solid rgba(148, 184, 231, .13);
    border-radius: 18px;
    background: rgba(255, 255, 255, .055);
}

.beka-avatar {
    display: grid;
    place-items: center;
    grid-row: span 2;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #327cf5, #1c50b7);
    font-family: Manrope, sans-serif;
    font-weight: 800;
}

.beka-user-copy {
    min-width: 0;
    display: grid;
    align-content: center;
}

.beka-user-copy span {
    color: #7189ac;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.beka-user-copy strong {
    margin-top: 3px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.beka-subscription {
    grid-column: 1 / -1;
    margin-top: 7px;
    cursor: pointer;
}

.beka-subscription>span {
    display: grid;
    grid-template-columns: 20px 1fr 32px;
    align-items: center;
    gap: 7px;
    padding: 9px 10px !important;
    border: 1px solid rgba(148, 184, 231, .11) !important;
    border-radius: 11px !important;
    color: #b8c8df;
    background: rgba(255, 255, 255, .045) !important;
    box-shadow: none !important;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.beka-switch {
    position: relative;
    display: block !important;
    width: 32px !important;
    height: 17px !important;
    overflow: hidden;
    border-radius: 999px;
    background: #40536f;
}

.beka-switch>div {
    position: absolute;
    top: 2.5px !important;
    left: 3px !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
}

.beka-location {
    position: relative;
    margin-top: 24px;
}

.beka-sidebar-label {
    display: block;
    margin: 0 0 8px 4px;
    color: #7088aa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.beka-location-trigger {
    width: 100%;
    min-height: 49px;
    display: grid;
    grid-template-columns: 21px 1fr 14px;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(148, 184, 231, .16);
    border-radius: 13px;
    color: #eaf2ff;
    background: rgba(255, 255, 255, .065);
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
}

.beka-location-trigger:hover {
    border-color: rgba(66, 199, 217, .45);
    background: rgba(255, 255, 255, .095);
    transform: translateY(-1px);
}

.beka-location-trigger svg {
    width: 21px;
    color: var(--beka-cyan);
}

.beka-location-trigger span {
    font-size: 13px;
    font-weight: 700;
}

.beka-location-trigger b {
    color: #728aaa;
    font-size: 16px;
}

.beka-location-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    padding: 6px;
    overflow: hidden;
    border: 1px solid #263b5c !important;
    border-radius: 14px !important;
    background: #10223d !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, .28) !important;
}

.beka-location-menu button {
    border-radius: 9px;
    color: #dce9fa !important;
}

.beka-location-menu button:hover {
    background: rgba(59, 130, 246, .16) !important;
}

.beka-side-nav {
    display: grid;
    gap: 5px;
    margin-top: 25px;
}

.beka-side-nav a,
.beka-side-nav button {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border: 0;
    border-radius: 11px;
    color: #91a5c2;
    background: transparent;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.beka-side-nav a:hover,
.beka-side-nav button:hover {
    color: #fff;
    background: rgba(59, 130, 246, .13);
    transform: translateX(3px);
}

.beka-side-nav span {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    color: #a9c8f4;
    background: rgba(255, 255, 255, .06);
}

.beka-side-nav .beka-logout {
    margin-top: 5px;
    color: #d596a1;
}

.beka-side-nav .beka-logout:hover {
    color: #fff;
    background: rgba(220, 75, 93, .13);
}

.beka-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 13px 5px 0;
    color: #667f9f;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.beka-sidebar-footer i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #28c58e;
    animation: beka-pulse 2.2s infinite;
}

.beka-main {
    min-width: 0;
    padding: 18px 22px 45px;
}

.beka-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 17px 3px 27px;
    animation: beka-enter .4s ease both;
}

.beka-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--beka-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.beka-main-header h1 {
    margin: 0;
    color: var(--beka-ink);
    font-family: Manrope, sans-serif;
    font-size: clamp(27px, 3vw, 41px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.beka-main-header p {
    margin: 9px 0 0;
    color: var(--beka-muted);
    font-size: 13px;
}

.beka-header-badge {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid #dbe6f5;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--beka-shadow-sm);
}

.beka-header-badge>span {
    color: var(--beka-blue);
    font-family: Manrope, sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.beka-header-badge small {
    color: #77869a;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.beka-info-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    border: 1px solid var(--beka-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    box-shadow: var(--beka-shadow-sm);
    animation: beka-enter .4s .06s ease both;
}

.beka-info-strip>div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 17px 20px;
    border-right: 1px solid var(--beka-line);
}

.beka-info-strip>div:last-child {
    border-right: 0;
}

.beka-info-strip>div>span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--beka-blue);
    background: var(--beka-blue-soft);
    font-size: 9px;
    font-weight: 800;
}

.beka-info-strip p {
    display: grid;
    margin: 0;
    color: #8390a2;
    font-size: 10px;
}

.beka-info-strip strong {
    margin-bottom: 2px;
    color: var(--beka-ink);
    font-size: 11px;
}

.beka-section {
    margin-top: 10px;
}

.beka-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 3px 18px;
}

.beka-section-head h2 {
    margin: 0;
    color: var(--beka-ink);
    font-family: Manrope, sans-serif;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.beka-section-head p {
    margin: 0 0 3px;
    color: #8592a3;
    font-size: 10px;
}

.beka-days {
    display: grid;
    gap: 18px;
}

/* Dynamisch erzeugte Tageskarten */
.beka-days>div {
    position: relative;
    overflow: hidden;
    padding: 23px !important;
    border: 1px solid #e0e8f3 !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: var(--beka-shadow-sm) !important;
    animation: beka-enter .35s ease both;
}

.beka-days>div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--beka-blue), var(--beka-cyan));
}

.beka-days>div>div:first-child {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-bottom: 19px !important;
}

.beka-days h2 {
    margin: 0;
    color: var(--beka-ink) !important;
    font-family: Manrope, sans-serif;
    font-size: 17px !important;
    font-weight: 800 !important;
    letter-spacing: .035em !important;
}

.beka-days>div>div:first-child>div {
    margin-top: 0 !important;
}

.beka-days>div>div:first-child>div span {
    padding: 5px 8px !important;
    border: 1px solid #e6edf5;
    border-radius: 8px !important;
    color: #7b899a !important;
    background: #f7f9fc !important;
}

.beka-days>div>.grid {
    gap: 10px !important;
}

.beka-days>div>.grid>div {
    min-height: 109px;
    justify-content: space-between;
    padding: 14px !important;
    border: 1px solid #e6ecf4 !important;
    border-radius: 15px !important;
    background: linear-gradient(150deg, #fff, #f9fbfd) !important;
    box-shadow: 0 4px 12px rgba(24, 47, 79, .035) !important;
}

.beka-days>div>.grid>div:hover {
    border-color: rgba(37, 99, 235, .34) !important;
    box-shadow: 0 13px 24px rgba(37, 99, 235, .09) !important;
    transform: translateY(-4px) !important;
}

.beka-days>div>.grid>div>span {
    color: #172c4c !important;
    font-family: Manrope, sans-serif;
    font-size: 17px !important;
    font-weight: 800 !important;
}

.beka-days button {
    min-height: 34px;
    border-radius: 9px !important;
}

.beka-days button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(37, 99, 235, .18);
}

.beka-days button:not(:disabled):active {
    transform: scale(.975);
}

.beka-history {
    margin-top: 32px;
    padding: 23px;
    border: 1px solid #e0e8f3;
    border-radius: 22px;
    background: rgba(255, 255, 255, .66);
    box-shadow: var(--beka-shadow-sm);
}

.beka-history-total {
    display: flex;
    align-items: center;
    gap: 8px;
}

.beka-history-total b {
    color: var(--beka-blue);
    font-family: Manrope, sans-serif;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
}

.beka-history-total span {
    color: #8491a2;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

.beka-history-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.beka-history-grid>div {
    padding: 17px !important;
    border: 1px solid #e1e8f1 !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .82) !important;
}

.beka-history-grid>div:hover {
    transform: translateY(-3px);
    border-color: #cbd9ec !important;
    box-shadow: var(--beka-shadow-sm);
}

.beka-loading {
    color: #8a97a8;
    font-size: 11px;
}

.beka-day-card {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid #e0e8f3;
    border-radius: 22px;
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--beka-shadow-sm);
    animation: beka-enter .35s ease both;
}

.beka-day-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--beka-blue), var(--beka-cyan));
}

.beka-day-head {
    display: grid;
    grid-template-columns: 49px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.beka-date-icon {
    width: 49px;
    height: 54px;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(145deg, #347df0, #1d50b4);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .20);
    line-height: 1;
}

.beka-date-icon b {
    font: 800 18px Manrope, sans-serif;
}

.beka-date-icon span {
    margin-top: 4px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-day-title>span {
    color: var(--beka-blue);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.beka-day-title h3 {
    margin: 2px 0 0;
    color: var(--beka-ink);
    font: 800 17px Manrope, sans-serif;
}

.beka-limit-chips {
    display: flex;
    gap: 6px;
}

.beka-limit-chips span {
    padding: 6px 8px;
    border: 1px solid #e4ebf4;
    border-radius: 8px;
    color: #7b899a;
    background: #f7f9fc;
    font-size: 8px;
    font-weight: 700;
}

.beka-limit-chips b {
    color: var(--beka-blue);
}

.beka-slot-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
}

.beka-slot {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    padding: 13px;
    border: 1px solid #e5ebf3;
    border-radius: 15px;
    background: linear-gradient(150deg, #fff, #f9fbfd);
    box-shadow: 0 4px 12px rgba(24, 47, 79, .035);
    transition: .2s ease;
}

.beka-slot:hover {
    border-color: rgba(37, 99, 235, .34);
    box-shadow: 0 13px 24px rgba(37, 99, 235, .09);
    transform: translateY(-4px);
}

.beka-slot.is-mine {
    border-color: rgba(37, 99, 235, .32);
    background: linear-gradient(150deg, #f4f8ff, #edf4ff);
}

.beka-slot.is-blocked {
    opacity: .48;
}

.beka-slot.is-updated {
    animation: beka-slot-update .42s ease both;
}

.beka-slot-time {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #172c4c;
    font: 800 18px Manrope, sans-serif;
}

.beka-slot-time small {
    color: #8a96a5;
    font: 700 8px "DM Sans", sans-serif;
    text-transform: uppercase;
}

.beka-slot-status {
    margin-top: 3px;
    color: #8995a5;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.beka-slot-action {
    width: 100%;
    min-height: 33px;
    margin-top: auto;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark));
    cursor: pointer;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: .18s ease;
}

.beka-slot-action:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgba(37, 99, 235, .20);
}

.beka-slot-action:active:not(:disabled) {
    transform: scale(.97);
}

.beka-slot-action.is-disabled {
    color: #8995a4;
    background: #e8edf3;
    cursor: not-allowed;
}

.beka-slot-action.is-cancel {
    color: #b63d4c;
    border: 1px solid #f0c7cd;
    background: #fff3f4;
}

.beka-slot-action.is-cancel:hover {
    color: #fff;
    background: #cc4454;
    box-shadow: 0 8px 15px rgba(204, 68, 84, .17);
}

.beka-empty {
    display: grid;
    justify-items: center;
    padding: 45px 20px;
    border: 1px dashed #cbd8e8;
    border-radius: 20px;
    color: var(--beka-muted);
    background: rgba(255, 255, 255, .64);
    text-align: center;
}

.beka-empty>span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 13px;
    color: var(--beka-blue);
    background: var(--beka-blue-soft);
    font-size: 20px;
}

.beka-empty strong {
    color: var(--beka-ink);
    font: 800 14px Manrope, sans-serif;
}

.beka-empty p {
    margin: 5px 0 0;
    font-size: 10px;
}

.beka-history-card {
    position: relative;
    overflow: hidden;
    min-height: 126px;
    padding: 16px;
    border: 1px solid #e2e9f2;
    border-radius: 15px;
    background: rgba(255, 255, 255, .82);
    transition: .2s ease;
}

.beka-history-card::after {
    content: "";
    position: absolute;
    right: -25px;
    bottom: -30px;
    width: 80px;
    height: 80px;
    border: 15px solid rgba(37, 99, 235, .045);
    border-radius: 50%;
}

.beka-history-card:hover {
    border-color: #cbd9ec;
    box-shadow: var(--beka-shadow-sm);
    transform: translateY(-3px);
}

.beka-history-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #7b899b;
    font-size: 9px;
    font-weight: 700;
}

.beka-history-card-head b {
    padding: 4px 7px;
    border-radius: 7px;
    color: var(--beka-blue);
    background: var(--beka-blue-soft);
    font-size: 8px;
    text-transform: uppercase;
}

.beka-history-time {
    margin: 14px 0 12px;
    color: var(--beka-ink);
    font: 800 22px Manrope, sans-serif;
}

.beka-history-time small {
    margin-left: 4px;
    color: #8a96a5;
    font: 700 8px "DM Sans", sans-serif;
    text-transform: uppercase;
}

.beka-complete {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #718297;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-complete i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--beka-green);
}

/* Dialoge */
.beka-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(8, 18, 35, .66);
    backdrop-filter: blur(12px);
}

.beka-modal.hidden {
    display: none;
}

.beka-dialog {
    width: min(100%, 720px);
    max-height: 88vh;
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 25px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 35px 100px rgba(4, 15, 32, .32);
    animation: beka-dialog-in .23s ease both;
}

.beka-faq-dialog {
    height: auto;
    max-height: calc(100vh - 36px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.beka-dialog-small {
    width: min(100%, 410px);
    padding: 31px;
    text-align: center;
}

.beka-dialog-small h3 {
    margin: 15px 0 7px;
    color: var(--beka-ink);
    font: 800 23px/1.2 Manrope, sans-serif;
}

.beka-dialog-small>p {
    margin: 0;
    color: var(--beka-muted);
    font-size: 13px;
    line-height: 1.6;
}

.beka-booking-access-dialog {
    position: relative;
    width: min(100%, 580px);
    padding: 34px;
    overflow: hidden;
}

.beka-booking-access-dialog>h2 {
    margin: 5px 46px 8px 0;
    color: var(--beka-ink);
    font: 800 27px/1.15 Manrope, sans-serif;
    letter-spacing: -.035em;
}

.beka-booking-access-dialog>p {
    margin: 0 46px 22px 0;
    color: var(--beka-muted);
    font-size: 12px;
    line-height: 1.6;
}

.beka-booking-access-close {
    position: absolute;
    top: 22px;
    right: 22px;
}

.beka-booking-access-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.beka-booking-access-option {
    min-width: 0;
    padding: 18px;
    border: 1px solid #dbe5f2;
    border-radius: 16px;
    color: var(--beka-ink);
    background: #f8fbff;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.beka-booking-access-option:hover {
    border-color: #9dbcf0;
    background: #f1f6ff;
    transform: translateY(-2px);
    box-shadow: var(--beka-shadow-sm);
}

.beka-booking-access-option b,
.beka-booking-access-option span {
    display: block;
}

.beka-booking-access-option b {
    margin-bottom: 6px;
    font: 800 13px Manrope, sans-serif;
}

.beka-booking-access-option span {
    color: var(--beka-muted);
    font-size: 10px;
    line-height: 1.5;
}

.beka-guest-booking-form {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--beka-line);
}

.beka-guest-booking-form.hidden {
    display: none;
}

.beka-guest-booking-form label {
    display: block;
    margin: 0 0 6px 3px;
    color: #64748b;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-guest-booking-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #d7e1ef;
    border-radius: 12px;
    color: var(--beka-ink);
    background: #f8fafc;
    outline: none;
}

.beka-guest-booking-form input:focus {
    border-color: var(--beka-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.beka-guest-booking-form .beka-btn,
.beka-guest-booking-error {
    grid-column: 1 / -1;
}

.beka-guest-booking-error {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: #a52d3d;
    background: #fff1f2;
    font-size: 11px;
}

.beka-guest-card {
    align-items: center;
}

.beka-guest-login {
    grid-column: 1 / -1;
    display: block;
    margin-top: 11px;
    padding: 11px 12px;
    border-radius: 11px;
    color: #fff;
    background: rgba(37, 99, 235, .85);
    text-align: center;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.beka-dialog-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg, #3b82f6, #1d4ed8);
    box-shadow: 0 12px 25px rgba(37, 99, 235, .23);
    font: 800 20px Manrope, sans-serif;
}

.beka-dialog-actions {
    display: flex;
    gap: 9px;
    margin-top: 24px;
}

.beka-btn {
    flex: 1;
    min-height: 43px;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.beka-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark));
}

.beka-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, .22);
}

.beka-btn-secondary {
    color: #59687d;
    background: #edf1f6;
}

.beka-btn-secondary:hover {
    background: #e4eaf2;
}

.beka-faq-head {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px 22px;
    border-bottom: 1px solid var(--beka-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
}

.beka-faq-head h2 {
    margin: 0;
    color: var(--beka-ink);
    font: 800 25px/1.2 Manrope, sans-serif;
    letter-spacing: -.035em;
}

.beka-icon-button {
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    border: 0;
    border-radius: 12px;
    color: #64748b;
    background: #edf2f7;
    cursor: pointer;
    font-size: 22px;
}

.beka-icon-button:hover {
    color: var(--beka-ink);
    background: #e2e9f2;
    transform: rotate(4deg);
}

.beka-faq-grid {
    min-height: 0;
    max-height: calc(100vh - 180px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: start;
    gap: 10px;
    padding: 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.beka-faq-grid section {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 17px;
    border: 1px solid #e2e9f2;
    border-radius: 15px;
    background: #f9fbfd;
}

.beka-faq-grid section:hover {
    border-color: #c8d8ee;
    transform: translateY(-2px);
    box-shadow: var(--beka-shadow-sm);
}

.beka-faq-grid section>span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 9px;
    color: var(--beka-blue);
    background: var(--beka-blue-soft);
    font-size: 9px;
    font-weight: 800;
}

.beka-faq-grid h3 {
    margin: 1px 0 5px;
    color: var(--beka-ink);
    font: 800 13px Manrope, sans-serif;
}

.beka-faq-grid p {
    margin: 0;
    color: var(--beka-muted);
    font-size: 11px;
    line-height: 1.55;
}

.beka-faq-image-button {
    margin-top: 11px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark));
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .18);
}

.beka-faq-image-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(37, 99, 235, .25);
}

.beka-image-modal {
    z-index: 130;
    background: rgba(5, 13, 27, .82);
}

.beka-image-dialog {
    width: min(100%, 980px);
    max-height: calc(100svh - 36px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 38px 110px rgba(2, 10, 24, .48);
    animation: beka-dialog-in .23s ease both;
}

.beka-image-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--beka-line);
}

.beka-image-head h2 {
    margin: 2px 0 0;
    color: var(--beka-ink);
    font: 800 20px/1.2 Manrope, sans-serif;
}

.beka-image-stage {
    min-height: 0;
    padding: 14px;
    overflow: auto;
    background: #eef3f9;
}

.beka-image-stage img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100svh - 150px);
    margin: auto;
    object-fit: contain;
    border-radius: 14px;
}

@media (max-width: 1050px) {
    .beka-layout {
        grid-template-columns: 245px minmax(0, 1fr);
    }

    .beka-main {
        padding-inline: 10px;
    }

    .beka-history-grid {
        grid-template-columns: 1fr 1fr;
    }

    .beka-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .beka-layout {
        display: block;
        padding: 10px;
    }

    .beka-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        height: auto;
        padding: 16px;
        border-radius: 21px;
    }

    .beka-brand {
        padding-bottom: 15px;
    }

    .beka-user-card {
        margin: 10px 0 0;
    }

    .beka-location {
        margin-top: 0;
    }

    .beka-side-nav {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 13px;
    }

    .beka-side-nav a,
    .beka-side-nav button {
        justify-content: center;
        padding: 0 8px;
        font-size: 9px;
    }

    .beka-side-nav span {
        display: none;
    }

    .beka-side-nav .beka-logout {
        margin-top: 0;
    }

    .beka-sidebar-footer {
        display: none;
    }

    .beka-main {
        padding: 22px 5px 35px;
    }
}

@media (max-width: 640px) {
    .beka-booking-access-dialog {
        padding: 28px 20px 22px;
    }

    .beka-booking-access-options,
    .beka-guest-booking-form {
        grid-template-columns: 1fr;
    }

    .beka-booking-access-dialog>h2 {
        font-size: 23px;
    }

    .beka-main-header {
        align-items: flex-start;
    }

    .beka-header-badge {
        display: none;
    }

    .beka-info-strip {
        grid-template-columns: 1fr;
    }

    .beka-info-strip>div {
        border-right: 0;
        border-bottom: 1px solid var(--beka-line);
    }

    .beka-info-strip>div:last-child {
        border-bottom: 0;
    }

    .beka-section-head {
        align-items: flex-start;
    }

    .beka-section-head>p {
        display: none;
    }

    .beka-days>div {
        padding: 17px !important;
        border-radius: 18px !important;
    }

    .beka-days>div>div:first-child {
        align-items: flex-start;
        flex-direction: column;
    }

    .beka-days>div>.grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .beka-days>div>.grid>div {
        min-height: 102px;
        padding: 12px !important;
    }

    .beka-history {
        padding: 17px;
    }

    .beka-history-grid {
        grid-template-columns: 1fr;
    }

    .beka-faq-grid {
        grid-template-columns: 1fr;
    }

    .beka-faq-head {
        padding: 22px;
    }

    .beka-side-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .beka-day-head {
        grid-template-columns: 49px 1fr;
    }

    .beka-limit-chips {
        grid-column: 1 / -1;
    }

    .beka-limit-chips span {
        flex: 1;
        text-align: center;
    }

    .beka-slot-grid {
        grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Admin Studio */
.beka-admin {
    min-height: 100vh;
    margin: 0;
    color: #dce7f6;
    background:
        radial-gradient(circle at 12% -5%, rgba(37, 99, 235, .18), transparent 30rem),
        radial-gradient(circle at 95% 30%, rgba(66, 199, 217, .07), transparent 30rem),
        #081426 !important;
    font-family: "DM Sans", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.beka-admin>.max-w-7xl {
    max-width: 1510px !important;
    padding: 22px !important;
}

.beka-admin header {
    position: sticky;
    z-index: 45;
    top: 10px;
    margin-bottom: 27px !important;
    padding: 15px 18px !important;
    border: 1px solid rgba(91, 116, 152, .35) !important;
    border-radius: 19px;
    background: rgba(14, 30, 52, .90);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .24);
    backdrop-filter: blur(20px);
}

.beka-admin header>div {
    margin-bottom: 0 !important;
}

.beka-admin header h1 {
    color: #fff;
    font-family: Manrope, sans-serif;
    font-style: normal !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
}

.beka-admin header a[href="index.php"] {
    border-color: rgba(89, 120, 163, .36) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .055) !important;
}

.beka-admin header a[href="index.php"]:hover {
    color: #fff !important;
    border-color: rgba(96, 165, 250, .55) !important;
    transform: translateX(-2px);
}

.beka-admin nav {
    gap: 5px !important;
}

.beka-admin nav button {
    padding: 10px 12px !important;
    border: 1px solid transparent;
    border-radius: 10px;
}

.beka-admin nav button:hover {
    color: #9fc5ff;
    background: rgba(59, 130, 246, .10);
}

.beka-admin nav .tab-active {
    color: #fff !important;
    border: 1px solid rgba(96, 165, 250, .30) !important;
    border-bottom-width: 1px !important;
    background: linear-gradient(135deg, #286ee8, #1d4eb3);
    box-shadow: 0 8px 18px rgba(37, 99, 235, .23);
}

.beka-admin .tab-content {
    animation: beka-enter .25s ease both;
}

.beka-admin .tab-content>div.bg-slate-800,
.beka-admin #sec-settings>div,
.beka-admin #sec-export>div {
    border-color: rgba(80, 104, 140, .38) !important;
    border-radius: 23px !important;
    background: rgba(18, 35, 59, .84) !important;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(13px);
}

.beka-admin h2 {
    font-family: Manrope, sans-serif;
    font-style: normal !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
}

.beka-admin #admin-day-container {
    display: grid;
    gap: 18px !important;
}

.beka-admin #admin-day-container>div {
    position: relative;
    overflow: hidden;
    border-color: rgba(80, 104, 140, .40) !important;
    border-radius: 21px !important;
    background: rgba(17, 34, 57, .86) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.beka-admin #admin-day-container>div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, #3784f5, #42c7d9);
}

.beka-admin #admin-day-container .grid {
    gap: 11px !important;
}

.beka-admin #admin-day-container .grid>div {
    border-color: rgba(88, 112, 147, .42) !important;
    border-radius: 16px !important;
    background: linear-gradient(150deg, rgba(29, 49, 77, .98), rgba(20, 39, 65, .98)) !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, .10);
}

.beka-admin #admin-day-container .grid>div:hover {
    border-color: rgba(80, 153, 246, .52) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 28px rgba(0, 0, 0, .19);
}

.beka-admin input,
.beka-admin select {
    border-color: rgba(95, 119, 153, .48) !important;
    border-radius: 11px !important;
    background-color: rgba(27, 47, 74, .92) !important;
}

.beka-admin input:focus,
.beka-admin select:focus {
    border-color: #56a0ff !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .11);
}

.beka-admin button,
.beka-admin a {
    transition: .18s ease;
}

.beka-admin button:not(:disabled):active {
    transform: translateY(1px) scale(.98);
}

.beka-admin button[class*="bg-blue-600"]:hover {
    box-shadow: 0 9px 21px rgba(37, 99, 235, .23);
}

.beka-admin #adminModal:not(.hidden)>div,
.beka-admin #userDetailModal:not(.hidden)>div {
    animation: beka-dialog-in .22s ease both;
}

.beka-admin #adminModal>div,
.beka-admin #userDetailModal>div {
    border-color: rgba(91, 116, 152, .50) !important;
    border-radius: 23px !important;
    background: #122541 !important;
    box-shadow: 0 35px 100px rgba(0, 0, 0, .46) !important;
}

.beka-admin .modal-bg {
    background: rgba(3, 10, 22, .74) !important;
    backdrop-filter: blur(12px) !important;
}

.beka-admin #toast {
    border: 1px solid rgba(147, 197, 253, .35);
    border-radius: 13px !important;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .3) !important;
}

.beka-admin #toast.toast-active {
    animation: beka-pulse 1.2s ease 1;
}

.beka-admin-brand-mark {
    position: relative;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(145deg, #42c7d9, #337cf4);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
}

.beka-admin-brand-mark span {
    position: absolute;
    width: 7px;
    border-radius: 10px;
    background: #fff;
    transform: rotate(-32deg);
}

.beka-admin-brand-mark span:nth-child(1) {
    height: 23px;
    left: 11px;
    top: 8px;
}

.beka-admin-brand-mark span:nth-child(2) {
    height: 18px;
    left: 20px;
    top: 6px;
    opacity: .82;
}

.beka-admin-brand-mark span:nth-child(3) {
    height: 14px;
    left: 25px;
    top: 20px;
    opacity: .58;
}

.beka-admin-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: 9px;
    margin-bottom: 27px;
    animation: beka-enter .3s ease both;
}

.beka-admin-overview>div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid rgba(80, 104, 140, .34);
    border-radius: 14px;
    background: rgba(18, 35, 59, .66);
}

.beka-admin-overview-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #7db6ff;
    background: rgba(59, 130, 246, .12);
}

.beka-admin-overview p {
    min-width: 0;
    display: grid;
    margin: 0;
}

.beka-admin-overview small {
    color: #6f84a2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-admin-overview strong {
    margin-top: 2px;
    overflow: hidden;
    color: #dfeaff;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.beka-admin-live-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin: 0 10px;
    border-radius: 50%;
    background: #27c991;
    animation: beka-pulse 2s infinite;
}

.beka-admin-live-dot.is-offline {
    background: #e05a68;
    animation: none;
}

.beka-admin-overview .beka-admin-date {
    display: grid;
    align-content: center;
    min-width: 100px;
    text-align: right;
}

.beka-admin-date strong {
    color: #fff;
    font-size: 12px;
}

.beka-admin-overview.beka-admin-overview-compact {
    grid-template-columns: minmax(240px, 1fr) auto;
}

.beka-admin-overview-compact .beka-admin-user-summary {
    min-height: 64px;
}

.beka-admin-overview-compact .beka-admin-date {
    min-width: 205px;
    min-height: 64px;
    padding-inline: 20px;
}

.beka-admin-overview-compact .beka-admin-date strong {
    font-variant-numeric: tabular-nums;
    letter-spacing: .025em;
}

/* Login & Registrierung */
.beka-auth {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--beka-ink);
    background: radial-gradient(circle at 15% 15%, rgba(66, 199, 217, .16), transparent 27rem), radial-gradient(circle at 88% 82%, rgba(37, 99, 235, .16), transparent 30rem), #eef3f9 !important;
    font-family: "DM Sans", system-ui, sans-serif !important;
}

.beka-auth::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(37, 99, 235, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .025) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.beka-auth>div.bg-white {
    position: relative;
    z-index: 1;
    width: min(100%, 470px) !important;
    padding: 38px !important;
    border: 1px solid rgba(255, 255, 255, .9) !important;
    border-radius: 27px !important;
    background: rgba(255, 255, 255, .90) !important;
    box-shadow: 0 30px 85px rgba(28, 51, 84, .16) !important;
    backdrop-filter: blur(20px);
    animation: beka-enter .4s ease both;
}

.beka-register>div.bg-white {
    margin-block: 25px;
}

.beka-auth>div.bg-white>img {
    height: 52px !important;
    margin-bottom: 23px !important;
}

.beka-auth h1 {
    color: var(--beka-ink) !important;
    font-family: Manrope, sans-serif;
    letter-spacing: -.02em !important;
    text-transform: none !important;
}

.beka-auth label {
    margin-left: 3px !important;
    letter-spacing: .08em;
}

.beka-auth input:not([type="range"]) {
    border-color: #dce5ef !important;
    border-radius: 13px !important;
    background: #f8fafc !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .025) !important;
}

.beka-auth input:not([type="range"]):focus {
    border-color: #5e9cf5 !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .11) !important;
}

.beka-auth form button[type="submit"] {
    border-radius: 13px !important;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark)) !important;
}

.beka-auth form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 27px rgba(37, 99, 235, .23) !important;
}

.beka-login form+button {
    margin-top: 16px;
    color: #748296 !important;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-auth #infoModal>div {
    border-radius: 23px !important;
    box-shadow: 0 32px 90px rgba(10, 25, 48, .29) !important;
}

.beka-auth-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1050px);
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 31px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 35px 100px rgba(28, 51, 84, .17);
    backdrop-filter: blur(20px);
    animation: beka-enter .4s ease both;
}

.beka-auth-welcome {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px;
    overflow: hidden;
    color: #dce9ff;
    background: radial-gradient(circle at 0 0, rgba(66, 199, 217, .20), transparent 23rem), linear-gradient(155deg, #122c50, #0a1930);
}

.beka-auth-welcome::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border: 45px solid rgba(66, 199, 217, .06);
    border-radius: 50%;
}

.beka-auth-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.beka-auth-brand>div:last-child {
    display: grid;
    line-height: 1;
}

.beka-auth-brand strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.beka-auth-brand small {
    margin-top: 6px;
    color: #8299bb;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.beka-auth-welcome-copy {
    position: relative;
    z-index: 1;
    margin: auto 0 34px;
}

.beka-auth-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #65d4e2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.beka-auth-welcome h1 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(35px, 4vw, 53px);
    line-height: 1.04;
    letter-spacing: -.055em !important;
}

.beka-auth-welcome h1 em {
    color: #70d8e6;
    font-style: normal;
}

.beka-auth-welcome-copy p {
    max-width: 410px;
    margin: 20px 0 0;
    color: #91a6c5;
    font-size: 13px;
    line-height: 1.65;
}

.beka-auth-features {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
}

.beka-auth-features>div {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid rgba(148, 184, 231, .12);
    border-radius: 12px;
    background: rgba(255, 255, 255, .045);
}

.beka-auth-features>div>span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    border-radius: 8px;
    color: #65d4e2;
    background: rgba(66, 199, 217, .10);
    font-size: 10px;
}

.beka-auth-features p {
    display: grid;
    margin: 0;
    color: #718aaa;
    font-size: 9px;
}

.beka-auth-features strong {
    margin-bottom: 2px;
    color: #dbe8fb;
    font-size: 10px;
}

.beka-auth-copyright {
    position: relative;
    z-index: 1;
    margin-top: 24px;
    color: #5f7899;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.beka-auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px 46px;
    background: rgba(255, 255, 255, .92);
}

.beka-auth-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 24px;
}

.beka-auth-card-head>div>span {
    color: var(--beka-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.beka-auth-card-head h2 {
    margin: 5px 0 4px;
    color: var(--beka-ink);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.beka-auth-card-head p {
    max-width: 350px;
    margin: 0;
    color: #7b899b;
    font-size: 10px;
    line-height: 1.5;
}

.beka-auth-info {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    color: var(--beka-blue);
    background: var(--beka-blue-soft);
    cursor: pointer;
    font-weight: 800;
}

.beka-auth-info:hover {
    color: #fff;
    background: var(--beka-blue);
    transform: translateY(-2px);
}

.beka-auth-success {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding: 11px 12px;
    border: 1px solid #bfe9d9;
    border-radius: 11px;
    color: #157b5b;
    background: #ecfbf5;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.beka-auth-success span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 7px;
    color: #fff;
    background: var(--beka-green);
}

.beka-microsoft-button {
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    color: #33465f;
    background: #fff;
    box-shadow: 0 5px 15px rgba(28, 51, 84, .045);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.beka-microsoft-button:hover {
    border-color: #bfd0e6;
    background: #f9fbfd;
    transform: translateY(-2px);
    box-shadow: var(--beka-shadow-sm);
}

.beka-auth-divider {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 19px 0;
    color: #97a2b0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.beka-auth-divider::before,
.beka-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e4eaf1;
}

.beka-auth-form {
    display: grid;
    gap: 13px;
}

.beka-auth-form>div {
    display: grid;
    gap: 6px;
    text-align: left;
}

.beka-auth-form label {
    margin: 0 !important;
    color: #6f7e91;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.beka-auth-form input {
    width: 100%;
    min-height: 47px;
    padding: 0 14px;
    border: 1px solid #dce5ef;
    border-radius: 12px;
    color: var(--beka-ink);
    outline: 0;
    background: #f8fafc;
    font-size: 12px;
}

.beka-auth-form input:focus {
    border-color: #5e9cf5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
}

.beka-auth-primary {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark));
    cursor: pointer;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.beka-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px rgba(37, 99, 235, .23);
}

.beka-auth-primary span {
    font-size: 14px;
}

.beka-register-link {
    margin-top: 15px;
    border: 0;
    color: #8a96a5;
    background: transparent;
    cursor: pointer;
    font-size: 9px;
}

.beka-register-link strong {
    color: var(--beka-blue);
}

.beka-register-link:hover strong {
    text-decoration: underline;
}

.beka-auth-error {
    margin: 14px 0 0;
    padding: 10px;
    border: 1px solid #f0cbd0;
    border-radius: 10px;
    color: #b43848;
    background: #fff3f4;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.beka-auth-legal {
    margin-top: 20px;
    padding-top: 17px;
    border-top: 1px solid #e8edf3;
    text-align: center;
}

.beka-auth-legal p {
    margin: 0 0 9px;
    color: #9aa5b3;
    font-size: 7px;
    line-height: 1.55;
    text-transform: uppercase;
}

.beka-auth-legal nav {
    color: #8c98a8;
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
}

.beka-auth-legal nav span {
    color: var(--beka-blue) !important;
}

.beka-auth-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(8, 18, 35, .68);
    backdrop-filter: blur(12px);
}

.beka-auth-modal.hidden {
    display: none;
}

.beka-auth-help {
    width: min(100%, 430px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 23px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 35px 100px rgba(4, 15, 32, .34);
    text-align: center;
    animation: beka-dialog-in .22s ease both;
}

.beka-auth-help h3 {
    margin: 14px 0 8px;
    color: var(--beka-ink);
    font-size: 22px;
    font-weight: 800;
}

.beka-auth-help p {
    margin: 0 0 22px;
    color: var(--beka-muted);
    font-size: 11px;
    line-height: 1.65;
}

.beka-register-brand {
    position: fixed;
    z-index: 5;
    top: 22px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--beka-ink);
    text-decoration: none;
}

.beka-register-brand .beka-brand-mark {
    width: 39px;
    height: 39px;
}

.beka-register-brand>div:last-child {
    display: grid;
    line-height: 1;
}

.beka-register-brand strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.03em;
}

.beka-register-brand small {
    margin-top: 5px;
    color: #8290a2;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.beka-register>div.bg-white {
    width: min(100%, 720px) !important;
    max-width: 720px !important;
    padding: 38px !important;
}

.beka-register>div.bg-white form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.beka-register>div.bg-white form>button,
.beka-register>div.bg-white form>a,
.beka-register>div.bg-white form>input[type="hidden"] {
    grid-column: 1 / -1;
}

.beka-register>div.bg-white form>div {
    margin: 0 !important;
}

.beka-register #countdown {
    padding: 9px 12px;
    border: 1px solid #dbe6f3;
    border-radius: 10px;
    color: #6f7e91 !important;
    background: #f5f8fc;
    font-size: 9px !important;
}

.beka-register input[type="range"] {
    accent-color: var(--beka-blue);
}

.beka-register #infoModal>div {
    border-radius: 23px !important;
}

.beka-register-brand {
    display: none;
}

.beka-register-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 29px;
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 35px 100px rgba(28, 51, 84, .17);
    backdrop-filter: blur(20px);
    animation: beka-enter .4s ease both;
}

.beka-register-welcome {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 32px;
    overflow: hidden;
    color: #dce9ff;
    background: radial-gradient(circle at 0 0, rgba(66, 199, 217, .20), transparent 20rem), linear-gradient(155deg, #122c50, #0a1930);
}

.beka-register-welcome::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 250px;
    height: 250px;
    border: 40px solid rgba(66, 199, 217, .06);
    border-radius: 50%;
}

.beka-register-welcome>* {
    position: relative;
    z-index: 1;
}

.beka-register-welcome h1 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.07;
    letter-spacing: -.055em !important;
    text-align: left;
}

.beka-register-welcome h1 em {
    color: #70d8e6;
    font-style: normal;
}

.beka-register-welcome>p {
    margin: 19px 0 30px;
    color: #91a6c5;
    font-size: 11px;
    line-height: 1.7;
    text-align: left;
}

.beka-register-steps {
    display: grid;
    gap: 8px;
}

.beka-register-steps>div {
    display: grid;
    grid-template-columns: 29px 1fr;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 1px solid rgba(148, 184, 231, .10);
    border-radius: 11px;
    color: #738cac;
    background: rgba(255, 255, 255, .035);
    font-size: 9px;
    font-weight: 700;
}

.beka-register-steps b {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    color: #8da8c9;
    background: rgba(255, 255, 255, .06);
}

.beka-register-steps .is-active {
    color: #dceaff;
    border-color: rgba(66, 199, 217, .24);
    background: rgba(66, 199, 217, .07);
}

.beka-register-steps .is-active b {
    color: #0e2948;
    background: #65d4e2;
}

.beka-register-card {
    width: 100% !important;
    max-width: none !important;
    padding: 33px 38px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: none !important;
}

.beka-register-card>img {
    height: 44px !important;
    margin-bottom: 16px !important;
}

.beka-register-card form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.beka-register-card form>div {
    margin: 0 !important;
}

.beka-register-card form>button,
.beka-register-card form>a,
.beka-register-card form>input[type="hidden"] {
    grid-column: 1 / -1;
}

.beka-register-card form label {
    margin-left: 3px !important;
}

.beka-register-card form input:not([type="range"]) {
    min-height: 46px;
    padding: 0 13px !important;
}

.beka-register-card form button[type="submit"] {
    min-height: 46px;
    margin-top: 2px;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--beka-blue), var(--beka-blue-dark)) !important;
}

.beka-register-card form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px rgba(37, 99, 235, .23) !important;
}

.beka-register-activation {
    max-width: 920px;
    grid-template-columns: 360px minmax(0, 1fr);
}

.beka-register-activation .beka-register-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beka-register-activation .beka-register-card form {
    grid-template-columns: 1fr;
}

@media (max-width: 800px) {
    .beka-admin>.max-w-7xl {
        padding: 10px !important;
    }

    .beka-admin header {
        position: relative;
        top: 0;
        padding: 14px !important;
        border-radius: 16px;
    }

    .beka-admin-overview {
        grid-template-columns: 1fr 1fr;
    }

    .beka-auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .beka-auth-welcome {
        display: flex;
        min-height: 290px;
        padding: 28px;
    }

    .beka-auth-welcome-copy {
        margin: 38px 0 24px;
    }

    .beka-auth-welcome h1 {
        font-size: clamp(31px, 9vw, 43px);
    }

    .beka-auth-welcome-bottom {
        margin-top: auto;
    }

    .beka-register-shell {
        grid-template-columns: 1fr;
    }

    .beka-register-welcome {
        padding: 28px;
    }

    .beka-register-welcome>p {
        margin-bottom: 20px;
    }

    .beka-register-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .beka-register-steps>div {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .beka-auth {
        align-items: flex-start !important;
        padding: 13px !important;
    }

    .beka-register {
        flex-direction: column !important;
    }

    .beka-auth>div.bg-white {
        padding: 27px 20px !important;
        margin-block: 13px;
        border-radius: 22px !important;
    }

    .beka-auth-card {
        padding: 30px 22px;
    }

    .beka-register-brand {
        position: relative;
        top: auto;
        left: auto;
        align-self: flex-start;
        margin: 5px 0 7px;
    }

    .beka-register>div.bg-white form {
        grid-template-columns: 1fr;
    }

    .beka-register>div.bg-white form>* {
        grid-column: 1 !important;
    }

    .beka-admin-overview,
    .beka-admin-overview.beka-admin-overview-compact {
        grid-template-columns: 1fr;
    }

    .beka-admin-overview-compact .beka-admin-date {
        min-width: 0;
        text-align: left;
    }

    .beka-register-card {
        padding: 25px 20px !important;
    }

    .beka-register-card form {
        grid-template-columns: 1fr;
    }

    .beka-register-card form>* {
        grid-column: 1 !important;
    }
}

/* Mobile App Layout */
@media (max-width: 640px) {
    html {
        scroll-padding-bottom: 92px;
    }

    body {
        overscroll-behavior-y: none;
    }

    button,
    a,
    input,
    select {
        touch-action: manipulation;
    }

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Terminportal */
    .beka-app {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .beka-layout {
        width: 100%;
        padding: 0;
    }

    .beka-sidebar {
        position: relative;
        padding: calc(14px + env(safe-area-inset-top)) 14px 15px;
        border: 0;
        border-radius: 0 0 24px 24px;
        box-shadow: 0 16px 42px rgba(10, 25, 48, .18);
    }

    .beka-brand {
        padding: 0 2px 13px;
    }

    .beka-brand-mark {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .beka-brand strong {
        font-size: 16px;
    }

    .beka-brand small {
        margin-top: 4px;
        font-size: 7px;
    }

    .beka-user-card {
        grid-template-columns: 40px 1fr;
        margin: 0;
        padding: 11px;
        border-radius: 15px;
    }

    .beka-avatar {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .beka-subscription {
        margin-top: 4px;
    }

    .beka-subscription>span {
        min-height: 42px;
    }

    .beka-location {
        margin-top: 11px;
    }

    .beka-sidebar-label {
        margin-bottom: 5px;
        font-size: 8px;
    }

    .beka-location-trigger {
        min-height: 48px;
    }

    .beka-location-menu {
        position: absolute;
        z-index: 110;
        right: 0;
        bottom: auto;
        left: 0;
        top: calc(100% + 7px);
        width: 100%;
        max-height: 55vh;
        overflow-y: auto;
    }

    .beka-side-nav {
        position: fixed;
        z-index: 95;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        left: 10px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        margin: 0;
        padding: 7px;
        border: 1px solid rgba(148, 184, 231, .18);
        border-radius: 18px;
        background: rgba(10, 25, 48, .94);
        box-shadow: 0 18px 45px rgba(5, 16, 33, .34);
        backdrop-filter: blur(18px);
    }

    .beka-side-nav--user {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .beka-side-nav a,
    .beka-side-nav button {
        min-height: 52px;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 4px;
        border-radius: 12px;
        font-size: 8px;
        line-height: 1.15;
        text-align: center;
    }

    .beka-side-nav span {
        display: grid;
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .beka-side-nav a:hover,
    .beka-side-nav button:hover {
        transform: none;
    }

    .beka-main {
        padding: 22px 12px 25px;
    }

    .beka-main-header {
        padding: 4px 2px 21px;
    }

    .beka-main-header h1 {
        max-width: 340px;
        font-size: 29px;
        line-height: 1.08;
    }

    .beka-main-header p {
        font-size: 12px;
        line-height: 1.5;
    }

    .beka-info-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-radius: 16px;
    }

    .beka-info-strip>div {
        min-width: 0;
        display: grid;
        justify-items: center;
        gap: 6px;
        padding: 12px 5px;
        border-right: 1px solid var(--beka-line);
        border-bottom: 0;
        text-align: center;
    }

    .beka-info-strip>div:last-child {
        border-right: 0;
    }

    .beka-info-strip>div>span {
        width: 29px;
        height: 29px;
    }

    .beka-info-strip p {
        font-size: 7px;
        line-height: 1.3;
    }

    .beka-info-strip strong {
        font-size: 9px;
    }

    .beka-section {
        margin-top: 8px;
    }

    .beka-section-head {
        margin-bottom: 13px;
    }

    .beka-section-head h2 {
        font-size: 20px;
    }

    .beka-day-card {
        padding: 15px 12px;
        border-radius: 19px;
    }

    .beka-day-head {
        grid-template-columns: 45px 1fr;
        gap: 10px;
        margin-bottom: 14px;
    }

    .beka-date-icon {
        width: 45px;
        height: 49px;
        border-radius: 12px;
    }

    .beka-day-title h3 {
        font-size: 16px;
    }

    .beka-limit-chips {
        gap: 5px;
    }

    .beka-limit-chips span {
        min-width: 0;
        padding: 6px 4px;
        font-size: 7px;
    }

    .beka-slot-grid {
        gap: 7px;
    }

    .beka-slot {
        min-height: 124px;
        padding: 12px 10px;
        border-radius: 14px;
    }

    .beka-slot:hover {
        transform: none;
    }

    .beka-slot-time {
        font-size: 18px;
    }

    .beka-slot-action {
        min-height: 40px;
        font-size: 8px;
    }

    .beka-history {
        margin-top: 25px;
        padding: 15px 12px;
        border-radius: 19px;
    }

    .beka-history-card {
        min-height: 112px;
    }

    /* Login und Registrierung */
    .beka-auth {
        width: 100%;
        min-height: 100svh;
        padding: 0 !important;
        background: #eef3f9 !important;
    }

    .beka-auth::before {
        display: none;
    }

    .beka-auth-shell,
    .beka-register-shell,
    .beka-register-activation {
        width: 100%;
        min-height: 100svh;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .beka-auth-welcome,
    .beka-register-welcome {
        min-height: 0;
        padding: calc(24px + env(safe-area-inset-top)) 22px 24px;
    }

    .beka-auth-welcome {
        display: flex;
    }

    .beka-auth-welcome-copy {
        margin: 28px 0 17px;
    }

    .beka-auth-welcome h1,
    .beka-register-welcome h1 {
        font-size: 32px;
    }

    .beka-auth-welcome-copy p,
    .beka-register-welcome>p {
        font-size: 11px;
    }

    .beka-auth-features {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
    }

    .beka-auth-feature {
        padding: 10px;
    }

    .beka-auth-copyright {
        display: none;
    }

    .beka-register-welcome {
        justify-content: flex-start;
    }

    .beka-register-welcome>p {
        margin-bottom: 16px;
    }

    .beka-register-steps {
        gap: 6px;
    }

    .beka-register-steps>div {
        min-height: 62px;
        padding: 8px 4px;
    }

    .beka-register-steps span {
        font-size: 7px;
    }

    .beka-auth-card,
    .beka-register-card {
        padding: 27px 18px calc(28px + env(safe-area-inset-bottom)) !important;
    }

    .beka-auth-card-head {
        margin-bottom: 20px;
    }

    .beka-auth-card-head h2 {
        font-size: 27px;
    }

    .beka-auth-primary,
    .beka-auth-sso,
    .beka-register-card form button[type="submit"] {
        min-height: 50px !important;
    }

    .beka-auth-form input,
    .beka-register-card input:not([type="range"]) {
        min-height: 50px !important;
        border-radius: 13px !important;
    }

    .beka-auth-legal {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .beka-auth-modal,
    .beka-modal {
        align-items: center;
        padding: 16px;
    }

    .beka-auth-help,
    .beka-dialog {
        width: min(100%, 430px);
        max-height: calc(100svh - 32px);
        overflow-y: auto;
        border-radius: 23px;
        padding-bottom: 24px;
    }

    .beka-faq-dialog {
        height: auto;
        max-height: calc(100svh - 32px);
        overflow: hidden;
        padding-bottom: 0;
    }

    .beka-faq-grid {
        max-height: calc(100svh - 190px);
        padding: 16px 14px 18px;
    }

    .beka-dialog-small {
        padding: 27px 20px 24px;
    }

    .beka-faq-head {
        padding-top: 19px;
    }

    /* Administration */
    .beka-admin {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .beka-admin>.max-w-7xl {
        width: 100%;
        padding: 8px !important;
    }

    .beka-admin header {
        position: sticky;
        top: 0;
        margin-bottom: 13px !important;
        padding: calc(11px + env(safe-area-inset-top)) 11px 11px !important;
        border-radius: 0 0 17px 17px;
        backdrop-filter: none;
    }

    .beka-admin header>div {
        gap: 10px !important;
    }

    .beka-admin header h1 {
        font-size: 21px !important;
    }

    .beka-admin header a[href="index.php"] {
        padding: 10px !important;
    }

    .beka-admin-brand-mark {
        width: 37px;
        height: 37px;
    }

    .beka-admin header nav {
        position: fixed;
        z-index: 100;
        right: 8px;
        bottom: calc(7px + env(safe-area-inset-bottom));
        left: 8px;
        width: auto !important;
        gap: 3px !important;
        padding: 6px !important;
        overflow-x: auto;
        border: 1px solid rgba(91, 116, 152, .38);
        border-radius: 17px;
        background: rgba(10, 25, 48, .96);
        box-shadow: 0 18px 48px rgba(0, 0, 0, .42);
        backdrop-filter: blur(18px);
    }

    .beka-admin header nav button {
        flex: 0 0 auto;
        min-width: 75px;
        min-height: 48px;
        padding: 8px 9px !important;
        font-size: 8px !important;
    }

    .beka-admin-overview.beka-admin-overview-compact {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-bottom: 18px;
    }

    .beka-admin-overview>div {
        min-height: 62px;
        padding: 11px;
    }

    .beka-admin-overview-compact .beka-admin-date {
        min-width: 0;
        padding-inline: 11px;
        text-align: left;
    }

    .beka-admin-overview strong {
        white-space: normal;
    }

    .beka-admin-date strong {
        font-size: 10px;
    }

    .beka-admin .tab-content>div.bg-slate-800,
    .beka-admin #sec-settings>div,
    .beka-admin #sec-export>div {
        border-radius: 17px !important;
    }

    .beka-admin #admin-day-container {
        gap: 12px !important;
    }

    .beka-admin #admin-day-container>div {
        padding: 14px !important;
        border-radius: 17px !important;
    }

    .beka-admin #admin-day-container .grid {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .beka-admin #admin-day-container .grid>div {
        min-width: 0;
        padding: 11px !important;
        border-radius: 13px !important;
    }

    .beka-admin #admin-day-container .grid>div:hover {
        transform: none;
    }

    .beka-admin #admin-day-container input {
        width: 100%;
        min-height: 44px;
        padding-inline: 12px !important;
        font-size: 13px !important;
    }

    .beka-admin button {
        min-height: 42px;
    }

    .beka-admin #adminModal,
    .beka-admin #userDetailModal {
        align-items: center !important;
        padding: 14px !important;
    }

    .beka-admin #adminModal>div,
    .beka-admin #userDetailModal>div {
        width: min(100%, 500px) !important;
        max-width: 500px !important;
        max-height: calc(100svh - 28px);
        overflow-y: auto;
        border-radius: 22px !important;
        padding: 22px 18px !important;
    }

    .beka-admin #user-list>div {
        align-items: stretch !important;
        gap: 10px;
    }

    .beka-admin #user-list>div>div {
        flex: 1;
        min-width: 0;
        padding-right: 0 !important;
    }

    .beka-admin #user-list select {
        width: 100%;
        min-height: 44px;
    }

    .beka-admin #user-list>div>button {
        align-self: end;
        margin-left: 0 !important;
    }

    .beka-admin #toast {
        right: 10px !important;
        left: 10px !important;
        top: calc(10px + env(safe-area-inset-top)) !important;
        text-align: center;
    }
}

@media (max-width: 370px) {
    .beka-main {
        padding-inline: 9px;
    }

    .beka-admin #admin-day-container .grid {
        grid-template-columns: 1fr !important;
    }

    .beka-admin-overview.beka-admin-overview-compact {
        grid-template-columns: 1fr;
    }

    .beka-auth-welcome h1,
    .beka-register-welcome h1 {
        font-size: 28px;
    }
}
