/* ========================================
   Kyevee Beauty Clinic - App CSS
   Design: Zendenta-Inspired
   Font: Manrope
   ======================================== */

/* ========== Self-Hosted Manrope Font (replaces Google Fonts CDN) ========== */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/manrope/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('../fonts/manrope/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Base font: 13px (Zendenta-style)
   Semua Tailwind rem-based class otomatis ikut.
   text-[20px] tetap 20px karena pakai px langsung */
html {
    font-size: 13px;
    overflow-x: hidden;
}

/* ========== Global Responsive System ========== */

/* ── Tablet (≤1023px) ── */
@media (max-width: 1023px) {
    /* Grids: 7-col → 4, 12-col → 6 */
    .grid-cols-7 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .grid-cols-12 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }

    /* Header action bars: allow wrapping */
    .border-b > .flex.items-center.justify-between {
        flex-wrap: wrap;
        gap: 8px;
    }
    .border-b > .flex.items-center.justify-between > .flex.items-center.gap-2,
    .border-b > .flex.items-center.justify-between > .flex.items-center.gap-3 {
        flex-wrap: wrap;
    }
}

/* ── Mobile (≤767px) ── */
@media (max-width: 767px) {
    /* Tables: horizontal scroll on mobile */
    .responsive-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .responsive-table table { min-width: 600px; }

    /* Stat cards: switch divide-x to divide-y on mobile grid wrap */
    .stat-grid { border-top: 1px solid rgb(243 244 246); }
    .stat-grid > div { border-bottom: 1px solid rgb(243 244 246); }

    /* ALL tables: make scroll containers also scroll horizontally */
    .overflow-y-auto { overflow-x: auto; }
    table.w-full { min-width: 640px; }

    /* Grids: collapse to fewer columns */
    .grid-cols-3 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .grid-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .grid-cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .grid-cols-7 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .grid-cols-12 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }

    /* Stat card rows (grid with divide-x): stack to 2-col, fix dividers */
    .divide-x.grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        border-left: none !important;
        border-right: none !important;
    }
    .divide-x.grid > * {
        border-left: none !important;
        border-right: none !important;
        border-bottom: 1px solid rgb(241 245 249);
    }

    /* Header bars: stack vertically on mobile */
    .px-5.py-4.border-b > .flex.items-center.justify-between,
    .px-5.py-3.border-b > .flex.items-center.justify-between {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }
    .px-5.py-4.border-b > .flex.items-center.justify-between > .flex.items-center.gap-2,
    .px-5.py-4.border-b > .flex.items-center.justify-between > .flex.items-center.gap-3,
    .px-5.py-3.border-b > .flex.items-center.justify-between > .flex.items-center.gap-2,
    .px-5.py-3.border-b > .flex.items-center.justify-between > .flex.items-center.gap-3 {
        flex-wrap: wrap;
    }

    /* Fixed-width inputs/selects: allow shrinking */
    input[style*="width:"], select[style*="width:"],
    .w-\[130px\], .w-\[160px\], .w-\[200px\], .w-\[250px\] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    /* Full-height cards: allow natural height on mobile */
    [style*="height: calc(100vh"],
    [style*="height:calc(100vh"] {
        height: auto !important;
        min-height: calc(100vh - 80px);
    }

    /* Button text: hide labels on very small screens, keep icons */
    .border-b .flex.items-center.gap-1\.5 > span,
    .border-b button.flex.items-center.gap-1\.5 {
        font-size: 11px;
        padding-left: 8px;
        padding-right: 8px;
    }

    /* Tab bar: scrollable when too many tabs */
    .border-b > .flex.items-center.gap-0 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .border-b > .flex.items-center.gap-0::-webkit-scrollbar { display: none; }
    .border-b > .flex.items-center.gap-0 > button {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
    /* Grids: everything single column */
    .grid-cols-2 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .grid-cols-4 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
    .grid-cols-5 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }

    /* Stat row: single column */
    .divide-x.grid {
        grid-template-columns: 1fr !important;
    }

    /* Font adjustments for readability */
    .text-2xl { font-size: 1.25rem !important; }
    .text-xl { font-size: 1.1rem !important; }
}

/* ========== Split-View Responsive (< 1024px → stack vertical) ========== */
@media (max-width: 1023px) {
    /* Split-view containers: stack vertically */
    [style*="height: calc(100vh"],
    [style*="height:calc(100vh"],
    [style*="min-height:calc(100vh"] {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }

    /* Left panels: full width instead of fixed 340/380px */
    [style*="height: calc(100vh"] > .shrink-0,
    [style*="height:calc(100vh"] > .shrink-0,
    [style*="min-height:calc(100vh"] > .shrink-0 {
        width: 100% !important;
        min-width: 0 !important;
        flex-shrink: 1 !important;
        max-height: 50vh;
    }

    /* Right panel: full width, auto height */
    [style*="height: calc(100vh"] > .flex-1,
    [style*="height:calc(100vh"] > .flex-1,
    [style*="min-height:calc(100vh"] > .flex-1 {
        min-height: 400px;
    }
}

/* Scrollbar hide for tab bars and horizontal scroll containers */
[style*="scrollbar-width:none"]::-webkit-scrollbar { display: none; }

/* ========== Modal Panel Responsive (< 640px → center modals) ========== */
@media (max-width: 639px) {
    /* Right-panel modals: center on mobile (covers ALL modals in the app) */
    /* Pattern: <div class="absolute top-0 bottom-0 right-0 ... pr-6 py-6"> */
    .backdrop-blur-sm > .absolute.top-0.bottom-0.right-0 {
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        justify-content: center !important;
    }

    /* Booking wizard: <div class="fixed inset-y-0 right-0 ... pr-6 py-6"> */
    #modal-booking {
        left: 0 !important;
        padding: 12px !important;
        justify-content: center !important;
    }

    /* Add-patient modal: has right:556px inline → override to center */
    #modal-add-patient {
        left: 0 !important;
        right: 0 !important;
        padding: 12px !important;
        justify-content: center !important;
    }
}

/* Alpine.js: hide elements with x-cloak until Alpine initializes */
[x-cloak] {
    display: none !important;
}

body {
    overflow-x: hidden;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.35;
}

/* Zendenta Typography — Manrope compact spacing */
body {
    letter-spacing: -0.011em;
}

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

h4,
h5,
h6,
.font-bold,
.font-semibold {
    letter-spacing: -0.018em;
}

*,
*::before,
*::after {
    font-feature-settings: 'liga' 1, 'calt' 1;
}

/* Scrollbar Custom */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #BCC2CB;
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Sidebar smooth scrollbar (light theme) */
aside::-webkit-scrollbar {
    width: 4px;
}

aside::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

/* Desktop: sidebar must be overflow-visible for floating collapse button */
@media (min-width: 1024px) {
    aside {
        overflow: visible !important;
    }
}

/* ========== Sidebar Flyout Submenu (Collapsed State) ========== */

/* Flyout container — fixed position, set by Alpine.js */
.sidebar-flyout {
    position: fixed;
    transform: translateY(-50%);
    z-index: 9999;
}

/* Tooltip label — dark pill like reference */
.flyout-label {
    background: #1e1e1e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    white-space: nowrap;
    margin-bottom: 6px;
    width: fit-content;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Flyout card — frosted glass effect */
.flyout-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 8px;
    min-width: 200px;
    max-width: 260px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Section label inside flyout (for grandchildren groups) */
.flyout-section-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 12px 4px;
}

/* Individual flyout item */
.flyout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.flyout-item:hover {
    background: #f1f5f9;
    color: #374151;
}

/* Active flyout item — dark bg, bold, chevron (matches reference) */
.flyout-item.active {
    background: #1e1e1e;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
}

.flyout-item.active:hover {
    background: #2d2d2d;
    color: #fff;
}

.flyout-item i {
    font-size: 12px;
    margin-left: 8px;
    opacity: 0.7;
}

/* ========== Global Sidebar Tooltip (position:fixed, body-level) ========== */
.sidebar-tooltip-global {
    position: fixed;
    transform: translateY(-50%);
    background: #1e1e1e;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 8px;
    white-space: nowrap;
    letter-spacing: -0.01em;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: 9999;
}

.sidebar-tooltip-global.visible {
    opacity: 1;
}

/* Transition for all interactive elements */
a,
button,
input,
select,
textarea {
    transition: all 0.2s ease;
}

/* Remove default focus outline, use ring instead */
*:focus {
    outline: none;
}

/* Smooth page transitions */
.htmx-settling {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.htmx-swapping {
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

/* ========== Page Load Animation ========== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Content area entrance */
main>div:last-child {
    animation: fadeSlideUp 0.4s ease-out both;
}

/* Header entrance (slightly faster) */
main>header {
    animation: fadeIn 0.3s ease-out both;
}

/* Stagger cards & sections */
main>div:last-child>*:nth-child(1) {
    animation-delay: 0.05s;
}

main>div:last-child>*:nth-child(2) {
    animation-delay: 0.1s;
}

main>div:last-child>*:nth-child(3) {
    animation-delay: 0.15s;
}

main>div:last-child>*:nth-child(4) {
    animation-delay: 0.2s;
}

main>div:last-child>*:nth-child(5) {
    animation-delay: 0.25s;
}

main>div:last-child>* {
    animation: fadeSlideUp 0.4s ease-out both;
}

/* ========== SweetAlert2 Custom Theme ========== */
.swal2-popup {
    font-family: 'Manrope', sans-serif !important;
    border-radius: 1rem !important;
    padding: 2rem !important;
    font-size: 14px !important;
}

.swal2-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #050A1D !important;
}

.swal2-html-container {
    font-size: 13px !important;
    color: #64748B !important;
    line-height: 1.5 !important;
}

.swal2-icon {
    margin: 0 auto 1rem !important;
    transform: scale(0.7) !important;
}

.swal2-icon.swal2-success .swal2-success-fix {
    background-color: #fff !important;
}

.swal2-icon.swal2-success [class^=swal2-success-circular-line] {
    background-color: #fff !important;
}

.swal2-icon .swal2-icon-content {
    font-size: 28px !important;
}

.swal2-actions {
    gap: 0.75rem !important;
}

.swal2-confirm {
    border-radius: 0.75rem !important;
    padding: 0.625rem 1.5rem !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.swal2-cancel {
    border-radius: 0.75rem !important;
    padding: 0.625rem 1.5rem !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Toast custom */
.swal2-popup.swal2-toast {
    border-radius: 0.75rem !important;
    padding: 0.625rem 1rem !important;
    font-size: 13px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
    padding: 0 0.5rem !important;
}

.swal2-popup.swal2-toast .swal2-icon {
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    border-width: 2px !important;
}

.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content {
    font-size: 16px !important;
}

.swal2-popup.swal2-toast .swal2-timer-progress-bar {
    height: 3px !important;
}

/* ========== Slim Select Custom Theme (Zendenta) ========== */
.ss-main {
    font-family: 'Manrope', sans-serif;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    min-height: 36px !important;
    font-size: 12px !important;
    color: #050A1D !important;
    background: #fff !important;
    padding: 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ss-main:focus,
.ss-main.ss-open-below,
.ss-main.ss-open-above {
    border-color: #445CFF !important;
    box-shadow: 0 0 0 3px rgba(24, 48, 207, 0.1) !important;
}

.ss-main .ss-values {
    padding: 0 12px !important;
    min-height: 36px !important;
    display: flex !important;
    align-items: center !important;
}

.ss-main .ss-values .ss-single {
    font-size: 13px !important;
    color: #050A1D !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ss-main .ss-values .ss-placeholder {
    font-size: 13px !important;
    color: #9ca3af !important;
}

/* Arrow */
.ss-main .ss-arrow {
    margin-right: 12px !important;
}

.ss-main .ss-arrow path {
    stroke: #9ca3af !important;
    stroke-width: 2 !important;
}

/* Dropdown */
.ss-content {
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    margin-top: 4px !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    transition: none !important;
}

/* Search input */
.ss-content .ss-search {
    padding: 8px 10px !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.ss-content .ss-search input {
    font-family: 'Manrope', sans-serif !important;
    font-size: 13px !important;
    color: #050A1D !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 0.5rem !important;
    padding: 6px 10px !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.ss-content .ss-search input:focus {
    border-color: #445CFF !important;
    box-shadow: 0 0 0 2px rgba(24, 48, 207, 0.08) !important;
}

.ss-content .ss-search input::placeholder {
    color: #9ca3af !important;
    font-size: 13px !important;
}

/* Options list */
.ss-content .ss-list {
    max-height: 220px !important;
    padding: 4px !important;
    overscroll-behavior: contain;
}

/* Individual option */
.ss-content .ss-list .ss-option {
    padding: 8px 12px !important;
    font-size: 13px !important;
    color: #374151 !important;
    border-radius: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
}

.ss-content .ss-list .ss-option:hover {
    background: #f0f4ff !important;
    color: #445CFF !important;
}

.ss-content .ss-list .ss-option.ss-highlighted {
    background: #f0f4ff !important;
    color: #445CFF !important;
}

.ss-content .ss-list .ss-option.ss-selected {
    background: #445CFF !important;
    color: #fff !important;
}

.ss-content .ss-list .ss-option.ss-selected:hover {
    background: #1228a8 !important;
    color: #fff !important;
}

/* Scrollbar */
.ss-content .ss-list::-webkit-scrollbar {
    width: 4px;
}

.ss-content .ss-list::-webkit-scrollbar-track {
    background: transparent;
}

.ss-content .ss-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 100px;
}

/* Disabled */
.ss-main.ss-disabled {
    background: #f9fafb !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Compact variant for filter bars */
.ss-compact .ss-main {
    min-height: 36px !important;
    border-radius: 0.5rem !important;
    font-size: 12px !important;
}
.ss-compact .ss-main .ss-values {
    min-height: 34px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
}
.ss-compact .ss-main .ss-values .ss-single,
.ss-compact .ss-main .ss-values .ss-placeholder {
    font-size: 12px !important;
    white-space: nowrap !important;
}
.ss-compact .ss-main .ss-arrow {
    margin-right: 8px !important;
}

/* Extra-compact variant for item rows (matches py-1.5 inputs) */
.ss-compact-sm .ss-main {
    min-height: 29px !important;
    border-radius: 0.5rem !important;
    font-size: 12px !important;
}
.ss-compact-sm .ss-main .ss-values {
    min-height: 27px !important;
    padding: 0 8px !important;
}
.ss-compact-sm .ss-main .ss-values .ss-single,
.ss-compact-sm .ss-main .ss-values .ss-placeholder {
    font-size: 12px !important;
}
.ss-compact-sm .ss-main .ss-arrow {
    margin-right: 6px !important;
    transform: scale(0.8);
}

/* ========== Modal / Panel Animations ========== */
/* Backdrop fade */
.modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
}

/* Panel slide-in from right */
.modal-panel {
    transform: translateX(24px);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.modal-backdrop.active .modal-panel {
    transform: translateX(0);
    opacity: 1;
}

/* ========== Menu Tree List ========== */
/* Parent row hover — left accent border */
.menu-row {
    position: relative;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.menu-row:hover {
    border-left-color: #445CFF;
    background: #f8f9fc !important;
}

/* Route pill — show on hover only */
.menu-row .route-pill {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.25s ease;
}

.menu-row:hover .route-pill {
    opacity: 1;
    transform: translateX(0);
}

/* Section header row */
.menu-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px 6px;
}

.menu-section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Child row — tree connector */
.menu-child-row {
    position: relative;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.menu-child-row:hover {
    border-left-color: #3B82F6;
    background: #f0f4ff !important;
}

/* Tree line — vertical */
.menu-tree-children {
    position: relative;
}

.menu-tree-children::before {
    content: '';
    position: absolute;
    left: 44px;
    top: 0;
    bottom: 16px;
    width: 1.5px;
    background: #e2e5ea;
}

/* Tree line — horizontal branch per child */
.menu-child-row::before {
    content: '';
    position: absolute;
    left: 44px;
    top: 50%;
    width: 16px;
    height: 1.5px;
    background: #e2e5ea;
}

/* Last child — cut vertical line */
.menu-tree-children .menu-tree-item.child:last-child .menu-child-row::after {
    content: '';
    position: absolute;
    left: 44px;
    top: 50%;
    bottom: -1px;
    width: 1.5px;
    background: white;
}

/* Action buttons — smoother reveal */
.menu-actions {
    opacity: 0;
    transform: translateX(4px);
    transition: all 0.2s ease;
}

.menu-row:hover .menu-actions,
.menu-child-row:hover .menu-actions {
    opacity: 1;
    transform: translateX(0);
}

/* Action button pill style */
.menu-action-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.menu-action-btn:hover {
    transform: scale(1.1);
}

/* Stagger animation for menu items */
.menu-tree-item {
    animation: fadeSlideUp 0.3s ease-out both;
}

.menu-tree-item:nth-child(1) {
    animation-delay: 0.03s;
}

.menu-tree-item:nth-child(2) {
    animation-delay: 0.06s;
}

.menu-tree-item:nth-child(3) {
    animation-delay: 0.09s;
}

.menu-tree-item:nth-child(4) {
    animation-delay: 0.12s;
}

.menu-tree-item:nth-child(5) {
    animation-delay: 0.15s;
}

.menu-tree-item:nth-child(6) {
    animation-delay: 0.18s;
}

.menu-tree-item:nth-child(7) {
    animation-delay: 0.21s;
}

.menu-tree-item:nth-child(8) {
    animation-delay: 0.24s;
}

.menu-tree-item:nth-child(9) {
    animation-delay: 0.27s;
}

.menu-tree-item:nth-child(10) {
    animation-delay: 0.30s;
}

.menu-tree-item:nth-child(11) {
    animation-delay: 0.33s;
}

.menu-tree-item:nth-child(12) {
    animation-delay: 0.36s;
}