:root {
    --hippoka-red: #e31b23;
    --hippoka-blue: #1b84ff;
    --hippoka-green: #17c653;
    --hippoka-light-green: #8cdd97;
    --hippoka-yellow: #f6c000;
    --hippoka-cyan: #04befe;
    --hippoka-gray-50: #f8fafc;
    --hippoka-gray-100: #f1f5f9;
    --hippoka-gray-200: #e2e8f0;
    --hippoka-gray-300: #cbd5e1;
    --hippoka-gray-500: #64748b;
    --hippoka-gray-600: #475569;
    --hippoka-gray-700: #334155;
    --hippoka-gray-900: #09090b;
    --hippoka-body-bg: #f5f7fb;
    --hippoka-surface: #ffffff;
    --hippoka-surface-muted: #f8fafc;
    --hippoka-border: #e5e7eb;
    --hippoka-text: #1e293b;
    --hippoka-muted: #64748b;
    --hippoka-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    --hippoka-radius: 8px;
    --hippoka-sidebar-width: 280px;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

html.dark {
    --hippoka-body-bg: var(--background, #09090b);
    --hippoka-surface: var(--card, #09090b);
    --hippoka-surface-muted: var(--muted, #18181b);
    --hippoka-border: var(--border, #27272a);
    --hippoka-text: var(--foreground, #fafafa);
    --hippoka-muted: var(--muted-foreground, #a1a1aa);
    --hippoka-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.swal2-popup {
    background: #ffffff !important;
}

html.dark .swal2-popup {
    background: #15171c !important;
    color: var(--hippoka-text) !important;
}

html.dark .swal2-html-container,
html.dark .swal2-title {
    color: var(--hippoka-text) !important;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--hippoka-body-bg);
    color: var(--hippoka-text);
    font-family: 'IBM Plex Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.5;
    letter-spacing: 0;
    transition: opacity 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

a {
    color: var(--hippoka-blue);
    text-decoration: none;
}

a:hover {
    color: #0f6ad8;
}

img,
svg {
    vertical-align: middle;
}

button,
input,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    margin-top: 0;
    color: var(--hippoka-text);
    font-weight: 600;
    line-height: 1.2;
}

h4,
.h4 {
    font-size: 1.35rem;
}

h5,
.h5 {
    font-size: 1.05rem;
}

p {
    margin-top: 0;
}

small,
.small {
    font-size: 0.8125rem;
}

.layout-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: var(--hippoka-body-bg);
}

.layout-menu {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    width: var(--hippoka-sidebar-width);
    height: 100vh;
    flex-direction: column;
    overflow: hidden;
    background: var(--hippoka-surface);
    border-right: 1px solid var(--hippoka-border);
    box-shadow: 8px 0 32px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease;
}

.layout-page {
    display: flex;
    width: calc(100% - var(--hippoka-sidebar-width));
    min-height: 100vh;
    margin-left: var(--hippoka-sidebar-width);
    flex-direction: column;
}

.layout-navbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    min-height: 72px;
    background: color-mix(in srgb, var(--hippoka-surface) 92%, transparent);
    border-bottom: 1px solid var(--hippoka-border);
    backdrop-filter: blur(14px);
}

.navbar-container {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 0.75rem;
}

.content-wrapper {
    flex: 1 1 auto;
}

.content-wrapper > .container-xxl {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.content-footer {
    border-top: 1px solid var(--hippoka-border);
    color: var(--hippoka-muted);
    background: color-mix(in srgb, var(--hippoka-surface) 86%, transparent);
}

.layout-overlay {
    display: none;
}

/* Scrollable menu area — fills remaining sidebar height and provides a styled thin scrollbar */
.layout-menu-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 0.75rem;
}

.layout-menu-scroll::-webkit-scrollbar {
    width: 4px;
}

.layout-menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.layout-menu-scroll::-webkit-scrollbar-thumb {
    background-color: var(--hippoka-border);
    border-radius: 4px;
}

.layout-menu-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--hippoka-muted);
}

/* Firefox */
.layout-menu-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--hippoka-border) transparent;
}

#itemsBookingCalendar .fc-scroller {
    scrollbar-width: thin;
    scrollbar-color: var(--hippoka-border) transparent;
}

#itemsBookingCalendar .fc-scroller::-webkit-scrollbar {
    width: 4px;
}

#itemsBookingCalendar .fc-scroller::-webkit-scrollbar-track {
    background: transparent;
}

#itemsBookingCalendar .fc-scroller::-webkit-scrollbar-thumb {
    background-color: var(--hippoka-border);
    border-radius: 4px;
}

#itemsBookingCalendar .fc-scroller::-webkit-scrollbar-thumb:hover {
    background-color: var(--hippoka-muted);
}

.app-brand {
    display: flex;
    min-height: 72px;
    align-items: center;
    padding: 0 1.35rem;
}

.app-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--hippoka-text);
}

.app-brand-mark {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--hippoka-red);
    color: #fff;
    font-weight: 700;
}

.app-brand-logo-hippoka {
    width: 3rem;
    height: 3rem;
}

.app-brand-logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.app-brand-wordmark {
    display: inline-flex;
    height: 72px;
    max-width: 100%;
    align-items: center;
    min-width: 0;
}

.app-brand-wordmark-image,
.app-brand-wordmark-video {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 72px;
    object-fit: contain;
}

.app-brand-wordmark-image[hidden],
.app-brand-wordmark-video[hidden] {
    display: none;
}

.app-brand-text,
.navbar-brand-mobile {
    color: var(--hippoka-text);
    letter-spacing: 0;
}

.menu-divider {
    height: 1px;
    background: var(--hippoka-border);
}

.menu-inner {
    flex: 1 1 auto;
    margin: 0;
    padding: 0.75rem 0.75rem 1.25rem;
    overflow-y: auto;
    list-style: none;
}

.menu-header {
    margin: 1.1rem 0 0.35rem;
    padding: 0 0.75rem;
    color: var(--hippoka-muted);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-section-header {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
}

.menu-section-header .menu-header-text {
    flex: 1;
}

.menu-collapse-icon {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    opacity: 0.6;
}

.menu-section-header.collapsed .menu-collapse-icon {
    transform: rotate(-90deg);
}

/* Super admin section — header and item links use green */
.menu-header[data-section="superadmin"] {
    color: var(--hippoka-green);
}

.menu-item--superadmin > .menu-link {
    color: var(--hippoka-light-green);
}

html.dark .menu-item--superadmin > .menu-link {
    color: var(--hippoka-light-green);
}

.menu-item--superadmin > .menu-link:hover,
.menu-item--superadmin.active > .menu-link {
    background: color-mix(in srgb, var(--hippoka-green) 12%, transparent);
    color: var(--hippoka-green);
}

.menu-item {
    margin: 0.12rem 0;
}

.menu-link {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    padding: 0.62rem 0.75rem;
    color: var(--hippoka-gray-600);
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

html.dark .menu-link {
    color: #bdc8d7;
}

.menu-link:hover,
.menu-item.active > .menu-link {
    background: color-mix(in srgb, var(--hippoka-blue) 12%, transparent);
    color: var(--hippoka-blue);
}

.menu-icon {
    width: 1.25rem;
    font-size: 1.1rem;
    text-align: center;
}

.navbar-nav,
.navbar-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link,
.user-menu-toggle {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--hippoka-text);
    cursor: pointer;
}

.avatar,
.avatar-initial,
.avatar-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
}

.avatar-initial,
.avatar-initials {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    font-weight: 700;
}

.avatar-online::after {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 0.65rem;
    height: 0.65rem;
    border: 2px solid var(--hippoka-surface);
    border-radius: 999px;
    background: var(--hippoka-green);
    content: '';
}

.auth-body {
    min-height: 100vh;
}

.authentication-wrapper {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.authentication-inner {
    width: 100%;
    max-width: 440px;
}

.auth-body .container-xxl {
    min-height: 100vh;
}

.container,
.container-xxl {
    width: 100%;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

.container-p-y {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    margin-top: var(--bs-gutter-y);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-1 { --bs-gutter-x: 0.25rem; --bs-gutter-y: 0.25rem; }
.g-2 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-inline-flex { display: inline-flex !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-center { align-items: center !important; }
.align-items-end { align-items: flex-end !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }

.m-0 { margin: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-0 { margin-left: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-5 { margin-left: 3rem !important; }
.ms-auto { margin-left: auto !important; }
.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.me-5 { margin-right: 3rem !important; }
.me-auto { margin-right: auto !important; }
.mx-0 { margin-right: 0 !important; margin-left: 0 !important; }
.mx-1 { margin-right: 0.25rem !important; margin-left: 0.25rem !important; }
.mx-2 { margin-right: 0.5rem !important; margin-left: 0.5rem !important; }
.mx-3 { margin-right: 1rem !important; margin-left: 1rem !important; }
.mx-4 { margin-right: 1.5rem !important; margin-left: 1.5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.px-0 { padding-right: 0 !important; padding-left: 0 !important; }
.px-1 { padding-right: 0.25rem !important; padding-left: 0.25rem !important; }
.px-2 { padding-right: 0.5rem !important; padding-left: 0.5rem !important; }
.px-3 { padding-right: 1rem !important; padding-left: 1rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pe-1 { padding-right: 0.25rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.pe-3 { padding-right: 1rem !important; }
.ps-1 { padding-left: 0.25rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.ps-3 { padding-left: 1rem !important; }

.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-uppercase { text-transform: uppercase !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fs-2 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.075rem !important; }
.fs-6 { font-size: 0.9375rem !important; }
.fs-7 { font-size: 0.8125rem !important; }
.fs-4 { font-size: 1.25rem !important; }
.text-muted { color: var(--hippoka-muted) !important; }
.text-primary { color: var(--hippoka-blue) !important; }
.text-success { color: var(--hippoka-green) !important; }
.text-danger { color: var(--hippoka-red) !important; }
.text-warning { color: #d89b00 !important; }
.text-info { color: var(--hippoka-cyan) !important; }
.text-secondary { color: var(--hippoka-gray-500) !important; }
.text-gray-500 { color: var(--hippoka-muted) !important; }
.text-gray-600 { color: var(--hippoka-gray-600) !important; }
.text-gray-800 { color: var(--hippoka-text) !important; }
.text-hover-primary:hover { color: var(--hippoka-blue) !important; }
.rounded-circle { border-radius: 999px !important; }
.cursor-pointer { cursor: pointer !important; }
.text-nowrap { white-space: nowrap !important; }
.align-top { vertical-align: top !important; }
.align-middle { vertical-align: middle !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.min-w-70px { min-width: 70px !important; }
.min-w-125px { min-width: 125px !important; }
.w-10px { width: 10px !important; }
.w-35px { width: 35px !important; }
.w-16 { width: 4rem !important; }
.w-36 { width: 9rem !important; }
.w-45px { width: 45px !important; }
.h-30px { height: 30px !important; }
.border { border: 1px solid var(--hippoka-border) !important; }
.border-top { border-top: 1px solid var(--hippoka-border) !important; }
.border-bottom { border-bottom: 1px solid var(--hippoka-border) !important; }
.border-0 { border: 0 !important; }

.card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid var(--hippoka-border);
    border-radius: var(--hippoka-radius);
    background: var(--hippoka-surface);
    color: var(--hippoka-text);
    box-shadow: var(--hippoka-shadow);
}

.card-header,
.card-body,
.card-footer {
    padding: 1.25rem;
}

.card-header {
    border-bottom: 1px solid var(--hippoka-border);
    background: transparent;
    font-weight: 600;
}

.card-datatable,
.datatables-card {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    background: var(--hippoka-surface);
    color: var(--hippoka-text);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
    border-color: var(--hippoka-gray-300);
    background: var(--hippoka-surface-muted);
}

.btn:disabled,
.btn.disabled {
    pointer-events: none;
    opacity: 0.55;
}

.btn-sm {
    min-height: 2rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.8125rem;
}

.btn-lg {
    min-height: 2.85rem;
    padding: 0.72rem 1.15rem;
    font-size: 1rem;
}

.btn-icon {
    width: 2.35rem;
    min-width: 2.35rem;
    padding: 0;
}

.btn-primary,
.btn-save {
    border-color: var(--hippoka-red);
    background: var(--hippoka-red);
    color: #fff;
}

.btn-success {
    border-color: var(--hippoka-green);
    background: var(--hippoka-green);
    color: #fff;
}

.btn-success:hover {
    border-color: #119646;
    background: #119646;
    color: #fff;
}

.btn-danger {
    border-color: var(--hippoka-red);
    background: var(--hippoka-red);
    color: #fff;
}

.btn-danger:hover {
    border-color: #c5161d;
    background: #c5161d;
    color: #fff;
}

.btn-warning {
    border-color: var(--hippoka-yellow);
    background: var(--hippoka-yellow);
    color: #241a00;
}

.btn-warning:hover {
    border-color: #dca900;
    background: #dca900;
    color: #241a00;
}

.btn-info {
    border-color: var(--hippoka-cyan);
    background: var(--hippoka-cyan);
    color: #fff;
}

.btn-light {
    border-color: transparent;
    background: var(--hippoka-surface-muted);
    color: var(--hippoka-gray-600);
}

.btn-light:hover,
.btn-active-light-primary:hover,
.btn-active-light-primary.show {
    border-color: transparent;
    background: color-mix(in srgb, var(--hippoka-blue) 12%, transparent);
    color: var(--hippoka-blue);
}

.btn-bg-light {
    border-color: transparent;
    background: var(--hippoka-surface-muted);
    color: var(--hippoka-muted);
}

.btn-active-color-primary:hover,
.btn-active-color-primary:focus {
    color: var(--hippoka-blue);
}

.filter-btn.active,
.btn-active-light-primary.active {
    border-color: transparent;
    background: color-mix(in srgb, var(--hippoka-blue) 12%, transparent);
    color: var(--hippoka-blue);
}

.btn-flex { display: inline-flex !important; }
.btn-center { align-items: center !important; justify-content: center !important; }

.btn-secondary {
    border-color: var(--hippoka-gray-300);
    background: var(--hippoka-gray-500);
    color: #fff;
}

.btn-primary:hover,
.btn-save:hover {
    border-color: #c5161d;
    background: #c5161d;
    color: #fff;
}

.btn-outline-secondary,
.btn-label-secondary {
    border-color: var(--hippoka-border);
    background: var(--hippoka-surface);
    color: var(--hippoka-muted);
}

.btn-outline-secondary.active,
.btn-outline-secondary:hover,
.btn-label-secondary:hover {
    border-color: var(--hippoka-blue);
    background: color-mix(in srgb, var(--hippoka-blue) 10%, transparent);
    color: var(--hippoka-blue);
}

.btn-outline-success {
    border-color: color-mix(in srgb, var(--hippoka-green) 35%, transparent);
    color: var(--hippoka-green);
}

.btn-outline-primary { border-color: color-mix(in srgb, var(--hippoka-blue) 35%, transparent); color: var(--hippoka-blue); }
.btn-outline-danger { border-color: color-mix(in srgb, var(--hippoka-red) 35%, transparent); color: var(--hippoka-red); }
.btn-outline-warning { border-color: color-mix(in srgb, var(--hippoka-yellow) 45%, transparent); color: #a66c00; }
.btn-outline-info { border-color: color-mix(in srgb, var(--hippoka-cyan) 35%, transparent); color: #0477a8; }
.btn-outline-primary:hover { background: color-mix(in srgb, var(--hippoka-blue) 12%, transparent); }
.btn-outline-danger:hover { background: color-mix(in srgb, var(--hippoka-red) 12%, transparent); }
.btn-outline-warning:hover { background: color-mix(in srgb, var(--hippoka-yellow) 16%, transparent); }
.btn-outline-info:hover { background: color-mix(in srgb, var(--hippoka-cyan) 12%, transparent); }

.btn-outline-success.active,
.btn-outline-success:hover {
    background: color-mix(in srgb, var(--hippoka-green) 12%, transparent);
}

.form-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--hippoka-gray-700);
    font-weight: 600;
}

html.dark .form-label {
    color: #d2dbea;
}

.form-control,
.form-select,
.form-check-input {
    border: 1px solid var(--hippoka-border);
    background: var(--hippoka-surface);
    color: var(--hippoka-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control,
.form-select {
    display: block;
    width: 100%;
    min-height: 2.65rem;
    border-radius: 8px;
    padding: 0.56rem 0.8rem;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.25rem;
}

.form-control-solid,
.form-select-solid {
    border-color: transparent;
    background: var(--hippoka-surface-muted);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hippoka-blue);
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hippoka-blue) 18%, transparent);
}

.form-control:disabled,
.form-control[readonly],
.form-control-readonly {
    border-color: var(--hippoka-border);
    background: var(--hippoka-surface-muted);
    color: var(--hippoka-muted);
    cursor: not-allowed;
    opacity: 1;
}

.form-text {
    margin-top: 0.25rem;
    color: var(--hippoka-muted);
    font-size: 0.8125rem;
}

.input-group-merge .input-group-text {
    border-left: 0;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--hippoka-red);
}

.invalid-feedback {
    display: none;
    margin-top: 0.25rem;
    color: var(--hippoka-red);
    font-size: 0.8125rem;
}

.is-invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.input-group {
    display: flex;
    width: 100%;
}

.input-group > .form-control,
.input-group > .form-select {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    border: 1px solid var(--hippoka-border);
    background: var(--hippoka-surface-muted);
    color: var(--hippoka-muted);
    padding: 0.56rem 0.75rem;
}

.input-group > :first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group > :last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-check {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.form-check-input {
    width: 1rem;
    height: 1rem;
    border-radius: 4px;
}

.form-check-sm .form-check-input {
    width: 0.95rem;
    height: 0.95rem;
}

.form-check-custom,
.form-check-solid {
    align-items: center;
}

.form-check-solid .form-check-input {
    background-color: var(--hippoka-surface-muted);
}

.form-switch .form-check-input {
    width: 2.4rem;
    height: 1.25rem;
    border-radius: 999px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}

.bg-label-primary,
.badge.bg-label-primary { background: color-mix(in srgb, var(--hippoka-blue) 14%, transparent); color: var(--hippoka-blue); }
.bg-label-success,
.badge.bg-label-success { background: color-mix(in srgb, var(--hippoka-green) 14%, transparent); color: var(--hippoka-green); }
.bg-label-danger,
.badge.bg-label-danger { background: color-mix(in srgb, var(--hippoka-red) 14%, transparent); color: var(--hippoka-red); }
.bg-label-warning,
.badge.bg-label-warning { background: color-mix(in srgb, var(--hippoka-yellow) 18%, transparent); color: #a66c00; }
.bg-label-info,
.badge.bg-label-info { background: color-mix(in srgb, var(--hippoka-cyan) 14%, transparent); color: #0477a8; }
.bg-label-secondary,
.badge.bg-label-secondary { background: var(--hippoka-gray-100); color: var(--hippoka-gray-600); }

html.dark .bg-label-secondary,
html.dark .badge.bg-label-secondary {
    background: #24334a;
    color: #b8c4d5;
}

.bg-primary,
.badge.bg-primary { background: var(--hippoka-blue) !important; color: #fff !important; }
.bg-success,
.badge.bg-success { background: var(--hippoka-green) !important; color: #fff !important; }
.bg-danger,
.badge.bg-danger { background: var(--hippoka-red) !important; color: #fff !important; }
.bg-warning,
.badge.bg-warning { background: var(--hippoka-yellow) !important; color: #241a00 !important; }
.bg-info,
.badge.bg-info { background: var(--hippoka-cyan) !important; color: #fff !important; }
.bg-secondary,
.badge.bg-secondary { background: var(--hippoka-gray-500) !important; color: #fff !important; }

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* DataTables 2.x native select/input controls (dt-input class) */
select.dt-input,
input.dt-input {
    color: var(--hippoka-text);
    background-color: var(--hippoka-surface);
    border: 1px solid var(--hippoka-border);
    border-radius: var(--hippoka-radius);
    padding: 0.35rem 0.6rem;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

select.dt-input:focus,
input.dt-input:focus {
    border-color: var(--hippoka-blue);
    outline: 0;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--hippoka-blue) 18%, transparent);
}

select.dt-input option {
    color: var(--hippoka-text);
    background-color: var(--hippoka-surface);
}

.card-datatable {
    position: relative;
}

.card-datatable.table-responsive,
.card-datatable .table-responsive {
    padding: 0;
}

.kt-scrollable-x-auto,
.card-datatable.kt-card-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.items-settings-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.items-settings-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.875rem;
}

.items-settings-icon {
    display: inline-flex;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--hippoka-blue) 14%, transparent);
    color: var(--hippoka-blue);
    font-size: 1.2rem;
}

.items-settings-card {
    overflow: hidden;
}

.items-settings-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.items-settings-card-header h5 {
    color: var(--hippoka-text);
}

.items-settings-table-wrap {
    padding: 0;
}

.items-settings-table {
    width: 100%;
    min-width: 740px;
    border-collapse: collapse;
    color: var(--hippoka-text);
}

.items-settings-table th,
.items-settings-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid var(--hippoka-border);
    vertical-align: middle;
}

.items-settings-table th {
    color: var(--hippoka-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.items-settings-table td {
    font-size: 0.875rem;
}

.items-settings-table tbody tr:last-child td {
    border-bottom: 0;
}

.items-settings-field-cell {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.items-settings-field-name {
    color: var(--hippoka-text);
    font-weight: 700;
}

.items-settings-code {
    color: var(--hippoka-muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.8125rem;
}

.items-settings-type {
    color: var(--hippoka-gray-600);
    font-weight: 600;
}

.items-settings-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

.items-settings-actions .btn-icon {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
}

.items-settings-switch:disabled {
    opacity: 0.7;
}

@media (max-width: 767.98px) {
    .items-settings-toolbar {
        flex-direction: column;
    }
}

.hippoka-dt-buttons,
.hippoka-dt-log-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.625rem;
}

.hippoka-dt-action-toggle {
    width: 2rem;
    min-width: 2rem;
}

.hippoka-dt-actions-menu {
    min-width: 8.5rem;
    max-width: 11rem;
}

.hippoka-dt-actions-menu .dropdown-item,
.hippoka-dt-actions-menu .menu-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.menu-link {
    display: flex;
    align-items: center;
    color: inherit;
}

.menu-gray-600 {
    color: var(--hippoka-gray-600);
}

html.dark .menu-gray-600 {
    color: #b8c4d5;
}

.menu-sub-dropdown,
.menu-rounded {
    border-radius: 8px;
}

.menu-column {
    flex-direction: column;
}

.menu-state-bg-light-primary .menu-link:hover,
.menu-state-bg-light-primary .dropdown-item:hover {
    background: color-mix(in srgb, var(--hippoka-blue) 10%, transparent);
    color: var(--hippoka-blue);
}

.hippoka-dt-actions-menu .dropdown-item {
    gap: 0.5rem;
    min-height: 2.25rem;
}

.kt-badge-dot {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 999px;
    background: currentColor;
}

.kt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    z-index: 1050;
    display: none;
    min-width: 13rem;
    margin: 0;
    padding: 0.45rem;
    list-style: none;
    border: 1px solid var(--hippoka-border);
    border-radius: 8px;
    background: var(--hippoka-surface);
    box-shadow: var(--hippoka-shadow);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-menu-end {
    right: 0;
    left: auto;
}

.dropdown-item {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 6px;
    padding: 0.55rem 0.65rem;
    color: var(--hippoka-text);
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--hippoka-surface-muted);
    color: var(--hippoka-blue);
}

.dropdown-divider {
    height: 1px;
    margin: 0.35rem 0;
    background: var(--hippoka-border);
}

.alert {
    position: relative;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
}

.alert-danger { border-color: color-mix(in srgb, var(--hippoka-red) 25%, transparent); background: color-mix(in srgb, var(--hippoka-red) 9%, transparent); color: #b91c1c; }
.alert-warning { border-color: color-mix(in srgb, var(--hippoka-yellow) 30%, transparent); background: color-mix(in srgb, var(--hippoka-yellow) 14%, transparent); color: #92400e; }
.alert-success { border-color: color-mix(in srgb, var(--hippoka-green) 25%, transparent); background: color-mix(in srgb, var(--hippoka-green) 9%, transparent); color: #15803d; }
.alert-info { border-color: color-mix(in srgb, var(--hippoka-cyan) 25%, transparent); background: color-mix(in srgb, var(--hippoka-cyan) 9%, transparent); color: #0369a1; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal.open,
.kt-modal.open {
    display: block;
}

.modal.fade .modal-dialog {
    transform: translateY(-12px);
    transition: transform 0.14s ease;
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    max-width: 560px;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal-dialog-centered {
    display: flex;
    min-height: calc(100% - 3.5rem);
    align-items: center;
}

.modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
}

.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1140px; }

.modal-content {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    border: 1px solid var(--hippoka-border);
    border-radius: var(--hippoka-radius);
    background: var(--hippoka-surface);
    box-shadow: var(--hippoka-shadow);
    pointer-events: auto;
}

.modal-header,
.modal-body,
.modal-footer {
    padding: 1.25rem;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--hippoka-border);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    border-top: 1px solid var(--hippoka-border);
}

.modal-title {
    margin-bottom: 0;
}

.btn-close {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--hippoka-muted);
    cursor: pointer;
}

.btn-close::before {
    content: 'x';
    font-weight: 700;
}

.modal-backdrop,
.kt-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.52);
}

.modal-open {
    overflow: hidden;
}

.fade {
    transition: opacity 0.14s ease;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 0.16em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 0.13em;
}

.progress {
    display: flex;
    width: 100%;
    overflow: hidden;
    border-radius: 999px;
    background: var(--hippoka-surface-muted);
}

.progress-bar {
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    background: var(--hippoka-blue);
    color: #fff;
    transition: width 0.2s ease;
}

.progress-bar.bg-success { background: var(--hippoka-green) !important; }
.progress-bar.bg-warning { background: var(--hippoka-yellow) !important; color: #241a00 !important; }
.progress-bar.bg-danger { background: var(--hippoka-red) !important; }

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-group {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border-radius: 8px;
}

.list-group-item {
    display: block;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hippoka-border);
    background: var(--hippoka-surface);
    color: var(--hippoka-text);
}

.list-group-flush {
    border-radius: 0;
}

.list-group-flush .list-group-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hippoka-icon,
.ki-filled,
.ki-duotone,
.ki-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bx-xs { font-size: 0.75rem !important; }
.bx-sm { font-size: 1rem !important; }
.bx-md { font-size: 1.35rem !important; }
.bx-lg { font-size: 1.75rem !important; }
.bx-spin { animation: spinner-border 0.75s linear infinite; }

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-sm-3 { flex: 0 0 auto; width: 25%; }
    .col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-sm-6 { flex: 0 0 auto; width: 50%; }
    .col-sm-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-sm-9 { flex: 0 0 auto; width: 75%; }
    .col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-sm-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-sm-12 { flex: 0 0 auto; width: 100%; }
    .mt-sm-0 { margin-top: 0 !important; }
    .me-sm-3 { margin-right: 1rem !important; }
}

@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-md-9 { flex: 0 0 auto; width: 75%; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-md-12 { flex: 0 0 auto; width: 100%; }
    .d-md-flex { display: flex !important; }
    .d-md-none { display: none !important; }
    .mb-md-0 { margin-bottom: 0 !important; }
    .flex-md-row { flex-direction: row !important; }
}

@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-lg-9 { flex: 0 0 auto; width: 75%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
    .d-lg-inline-block { display: inline-block !important; }
    .me-lg-2 { margin-right: 0.5rem !important; }
    .text-lg-start { text-align: left !important; }
}

@media (min-width: 1200px) {
    .col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
    .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-xl-3 { flex: 0 0 auto; width: 25%; }
    .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
    .col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-xl-9 { flex: 0 0 auto; width: 75%; }
    .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-xl-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-xl-12 { flex: 0 0 auto; width: 100%; }
    .d-xl-none { display: none !important; }
    .text-xl-end { text-align: right !important; }
    .me-xl-0 { margin-right: 0 !important; }
    .me-xl-4 { margin-right: 1.5rem !important; }
}

@media (max-width: 1199.98px) {
    .layout-menu {
        transform: translateX(-100%);
    }

    .layout-page {
        width: 100%;
        margin-left: 0;
    }

    body.layout-menu-expanded .layout-menu {
        transform: translateX(0);
    }

    body.layout-menu-expanded .layout-overlay {
        position: fixed;
        inset: 0;
        z-index: 1035;
        display: block;
        border: 0;
        background: rgba(15, 23, 42, 0.48);
    }
}

@media (max-width: 767.98px) {
    .content-wrapper > .container-xxl,
    .container-xxl {
        padding-right: 0.875rem;
        padding-left: 0.875rem;
    }

    .card-header,
    .card-body,
    .card-footer,
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .dt-action-buttons {
        align-items: stretch !important;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   Step-by-step wizard (.hippoka-stepper)
   Self-contained vertical "pills" stepper, reused by any modal that opts in by
   wrapping its form body in .hippoka-stepper (e.g. the item-booking and
   cabinet-policy modals). Replicates the Metronic stepper look WITHOUT pulling
   in the legacy demo style.bundle.css (which conflicts with the loaded KTUI
   theme). Scoped by the bespoke .hippoka-stepper* class family — these names
   appear nowhere else — and it follows the --hippoka-* variables so dark mode
   is free.
   ========================================================================== */
.hippoka-stepper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (min-width: 768px) {
    .hippoka-stepper {
        flex-direction: row;
        align-items: flex-start;
        gap: 2.25rem;
    }
}

/* --- Navigation column --- */
.hippoka-stepper-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .hippoka-stepper-nav {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        width: 210px;
    }
}

.hippoka-stepper-body {
    flex: 1 1 auto;
    min-width: 0;
}

.hippoka-stepper-item {
    display: flex;
    flex-direction: column;
    cursor: default;
}

.hippoka-stepper-item[data-clickable="true"] {
    cursor: pointer;
}

.hippoka-stepper-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* --- Numbered icon --- */
.hippoka-stepper-icon {
    position: relative;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hippoka-surface-muted);
    border: 1px solid var(--hippoka-border);
    color: var(--hippoka-muted);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hippoka-stepper-number {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
}

.hippoka-stepper-check {
    display: none;
    font-size: 1.1rem;
    line-height: 1;
}

/* --- Labels --- */
.hippoka-stepper-label {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hippoka-stepper-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--hippoka-text);
}

.hippoka-stepper-desc {
    font-size: 0.8rem;
    color: var(--hippoka-muted);
}

/* --- Connector line (vertical layout only) --- */
.hippoka-stepper-line {
    display: none;
}

@media (min-width: 768px) {
    .hippoka-stepper-line {
        display: block;
        width: 2px;
        height: 26px;
        margin: 0.35rem 0 0.35rem 19px;
        background: var(--hippoka-border);
        border-radius: 2px;
        transition: background 0.2s ease;
    }
}

/* --- Current step --- */
.hippoka-stepper-item.current .hippoka-stepper-icon {
    background: var(--hippoka-blue);
    border-color: var(--hippoka-blue);
    color: #fff;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--hippoka-blue) 18%, transparent);
}

.hippoka-stepper-item.current .hippoka-stepper-title {
    color: var(--hippoka-blue);
}

/* --- Completed step --- */
.hippoka-stepper-item.completed .hippoka-stepper-icon {
    background: color-mix(in srgb, var(--hippoka-blue) 12%, transparent);
    border-color: var(--hippoka-blue);
    color: var(--hippoka-blue);
}

.hippoka-stepper-item.completed .hippoka-stepper-number {
    display: none;
}

.hippoka-stepper-item.completed .hippoka-stepper-check {
    display: inline-flex;
}

.hippoka-stepper-item.completed .hippoka-stepper-line {
    background: var(--hippoka-blue);
}

/* --- Step content panels --- */
.hippoka-stepper-content {
    display: none;
}

.hippoka-stepper-content.current {
    display: block;
    animation: hippokaStepFade 0.25s ease;
}

@keyframes hippokaStepFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

/* --- Footer actions --- */
.hippoka-stepper-actions {
    border-top: 1px solid var(--hippoka-border);
    padding-top: 1.25rem;
    margin-top: 1.75rem;
}