        :root {
            --panel-sidebar-width: 260px;
            --panel-bg: #f8fafc;
            --panel-card-bg: #ffffff;
            --panel-border: #e2e8f0;
            --ff-display: 'Lora', Georgia, serif;
            --ff-sans: 'DM Sans', system-ui, sans-serif;
        }

        body {
            background-color: var(--panel-bg);
            color: #1e293b;
            font-family: var(--ff-sans);
        }

        h1, h2, h3, h4, .sidebar-logo {
            font-family: var(--ff-display);
            letter-spacing: -0.02em;
        }

        /* ─── Panel Layout ─── */
        .panel-wrapper {
            display: flex;
            min-height: 100vh;
        }

        /* ─── Sidebar ─── */
        .panel-sidebar {
            width: var(--panel-sidebar-width);
            background: #ffffff;
            border-right: 1px solid var(--panel-border);
            padding: 24px;
            position: fixed;
            height: 100vh;
            display: flex;
            flex-direction: column;
            z-index: 100;
            overflow-y: auto;
            flex-shrink: 0;
        }

        .sidebar-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: var(--ff-serif);
            font-weight: 800;
            color: #1B4332;
            text-decoration: none;
            margin-bottom: 40px;
            font-size: 1.4rem;
        }

        .sidebar-nav {
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex: 1;
        }

        .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            color: #64748b;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
            background: transparent;
            width: 100%;
            text-align: left;
            font-size: 0.95rem;
        }

        .nav-item:hover {
            background: #f1f5f9;
            color: var(--c-primary-600);
        }

        .nav-item.active {
            background: var(--c-primary-50);
            color: var(--c-primary-700);
        }

        .nav-icon {
            font-size: 1.2rem;
        }

        .sidebar-footer {
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid var(--panel-border);
        }

        /* ─── Main Content ─── */
        .panel-main {
            flex: 1;
            margin-left: var(--panel-sidebar-width);
            padding: 40px;
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
        }

        .panel-section {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .panel-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* ─── Dashboard Cards ─── */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 24px;
            margin-bottom: 32px;
        }

        .stat-card {
            background: var(--panel-card-bg);
            padding: 24px;
            border-radius: 20px;
            border: 1px solid var(--panel-border);
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--c-primary-700);
            display: block;
            margin-top: 8px;
        }

        .stat-label {
            color: #64748b;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* ─── List Styles ─── */
        .data-card {
            background: var(--panel-card-bg);
            border-radius: 20px;
            border: 1px solid var(--panel-border);
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
        }

        .card-header {
            padding: 20px 24px;
            border-bottom: 1px solid var(--panel-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .card-title {
            font-weight: 700;
            font-size: 1.1rem;
        }

        .data-table {
            width: 100%;
            border-collapse: collapse;
        }

        .data-table th {
            text-align: left;
            padding: 16px 24px;
            background: #f8fafc;
            color: #64748b;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
        }

        .data-table td {
            padding: 16px 24px;
            border-bottom: 1px solid var(--panel-border);
            font-size: 0.95rem;
        }

        .data-table tr:last-child td {
            border-bottom: none;
        }

        .status-badge {
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .status-upcoming {
            background: #e0f2fe;
            color: #0369a1;
        }

        .status-completed {
            background: #dcfce7;
            color: #15803d;
        }

        /* ─── Toggle Switch ─── */
        .switch {
            position: relative;
            display: inline-block;
            width: 44px;
            height: 24px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #cbd5e1;
            transition: .4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
        }

        input:checked+.slider {
            background-color: var(--c-primary-600);
        }

        input:focus+.slider {
            box-shadow: 0 0 1px var(--c-primary-600);
        }

        input:checked+.slider:before {
            transform: translateX(20px);
        }

        .slider.round {
            border-radius: 24px;
        }

        .slider.round:before {
            border-radius: 50%;
        }

        .slot-pill {
            padding: 8px 12px;
            border-radius: 8px;
            background: #fff;
            border: 1px solid #e2e8f0;
            text-align: center;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s;
            color: #475569;
        }

        .slot-pill:hover {
            border-color: var(--c-primary-500);
            color: var(--c-primary-700);
            background: #f0fdf4;
        }

        .slot-pill.selected {
            background: var(--c-primary-600);
            border-color: var(--c-primary-600);
            color: white;
            font-weight: 600;
        }

        /* ─── Profile specific ─── */
        .verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .status-active {
            background: #E6FFFA;
            color: #2C7A7B;
            border: 1px solid #B2F5EA;
        }

        .status-review {
            background: #FFFBEB;
            color: #975A16;
            border: 1px solid #FEEBC8;
        }

        /* ─── Checkbox Styles (Sync with registration) ─── */
        .check-container {
            display: block;
            position: relative;
            padding-left: 35px;
            margin-bottom: 5px;
            cursor: pointer;
            font-size: 14px;
            user-select: none;
            color: #475569;
        }
        .check-container input {
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0; width: 0;
        }
        .checkmark {
            position: absolute;
            top: 0;
            left: 0;
            height: 20px;
            width: 20px;
            background-color: #fff;
            border: 1.5px solid #cbd5e1;
            border-radius: 4px;
            transition: all 0.2s;
        }
        .check-container:hover input ~ .checkmark {
            border-color: var(--c-primary-500);
        }
        .check-container input:checked ~ .checkmark {
            background-color: var(--c-primary-700);
            border-color: var(--c-primary-700);
        }
        .checkmark:after {
            content: "";
            position: absolute;
            display: none;
        }
        .check-container input:checked ~ .checkmark:after {
            display: block;
        }
        .check-container .checkmark:after {
            left: 6px;
            top: 2px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2.5px 2.5px 0;
            transform: rotate(45deg);
        }

        /* 📱 Mobilus režimas (<1024px) */
        @media (max-width: 1024px) {
            .panel-wrapper {
                flex-direction: column;
            }

            /* Paverčiame šoninę navigaciją į viršutinį/išskleidžiamą meniu */
            .panel-sidebar {
                width: 100% !important;
                height: auto !important;
                position: relative !important;
                padding: 16px 20px !important;
                border-right: none !important;
                border-bottom: 1px solid var(--panel-border);
                display: flex !important;
                flex-direction: row !important;
                justify-content: space-between !important;
                align-items: center !important;
                flex-wrap: wrap !important;
                overflow-y: visible !important;
            }

            .sidebar-logo {
                margin-bottom: 0 !important;
                font-size: 1.25rem !important;
            }

            #sidebarProfileWidget {
                display: none !important; /* Paslepiame widgetą mobilioje juostoje */
            }

            /* Navigacijos nuorodos paslepiamos pagal nutylėjimą arba rodomos stulpeliu */
            .sidebar-nav {
                display: none !important;
                flex-direction: column !important;
                width: 100% !important;
                gap: 8px !important;
                margin-top: 16px !important;
                order: 3;
            }

            .sidebar-nav.active {
                display: flex !important;
            }

            .nav-item {
                justify-content: flex-start !important;
                padding: 12px 16px !important;
                width: 100% !important;
            }

            .nav-item span {
                display: inline !important; /* Parodome tekstą */
            }

            .sidebar-footer {
                display: none !important;
                width: 100% !important;
                margin-top: 16px !important;
                padding-top: 16px !important;
                order: 4;
            }

            .sidebar-footer.active {
                display: flex !important;
            }

            /* Sukuriame hamburger mygtuką specialisto panelei */
            .panel-mobile-toggle {
                display: flex !important;
                flex-direction: column;
                gap: 5px;
                cursor: pointer;
                padding: 8px;
                background: none;
                border: none;
            }

            .panel-mobile-toggle span {
                width: 24px;
                height: 2px;
                background: var(--c-primary-900);
                transition: 0.3s;
                border-radius: 2px;
            }

            .panel-mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
            .panel-mobile-toggle.active span:nth-child(2) { opacity: 0; }
            .panel-mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

            /* Pagrindinis turinys prisitaiko */
            .panel-main {
                margin-left: 0 !important;
                padding: 20px !important;
            }

            .panel-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                margin-bottom: 24px;
            }

            .stats-grid {
                grid-template-columns: 1fr !important;
                gap: 16px;
            }

            /* Kalendoriaus savaitės ir dienų skiltys */
            #weeklyBookingsContainer {
                padding: 0;
            }

            /* Rezervacijų ir istorijos grid išdėstymas telefone */
            #tab-bookings > div {
                grid-template-columns: 1fr !important;
                gap: 20px !important;
            }

            /* Formos skiltys registracijoje */
            .form-row {
                grid-template-columns: 1fr !important;
                gap: 12px;
            }

            /* Sąskaitų faktūrų lentelės ir kt. */
            .data-card {
                width: 100%;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            /* Availability puslapio tvarkaraščio tinklelis */
            #availabilityGrid > div {
                flex-direction: column !important;
                align-items: stretch !important;
                gap: 12px !important;
                padding: 16px !important;
            }

            #availabilityGrid select, 
            #availabilityGrid input {
                width: 100% !important;
            }

            /* ═══ REZERVACIJŲ KORTELĖS MOBILIAME ═══ */

            /* Kiekviena rezervacijos eilutė – stulpelinis išdėstymas */
            .booking-row {
                flex-direction: column !important;
                align-items: flex-start !important;
                gap: 8px !important;
            }

            /* Kliento informacijos blokas – pilnas plotis */
            .booking-info {
                min-width: 0 !important;
                width: 100% !important;
            }

            /* Veiksmų mygtukai – pilnas plotis, apačioje */
            .booking-actions {
                width: 100% !important;
                flex-wrap: wrap !important;
                justify-content: flex-start !important;
            }

            /* Rezervacijų kortelės „Pridėti sesiją" header flex-wrap */
            #tab-bookings .card-header {
                flex-wrap: wrap !important;
                gap: 10px !important;
            }

            #tab-bookings .card-header .btn {
                width: 100% !important;
                text-align: center !important;
            }

            /* Istorijos sąrašas – neribojame aukščio telefone */
            #historyBookingsList {
                max-height: none !important;
                overflow-y: visible !important;
            }

            /* Istorijos kortelių data ir statusas – nesuspaudžiame */
            #historyBookingsList [style*="justify-content: space-between"] {
                flex-wrap: wrap !important;
                gap: 6px !important;
            }

            /* Istorijos kortelių veiksmai – pilnas plotis */
            #historyBookingsList [style*="justify-content: flex-end"] {
                flex-wrap: wrap !important;
                justify-content: flex-start !important;
            }

            /* ═══ MODALINIAI LANGAI MOBILIAME ═══ */

            /* Booking actions, delete, reschedule modal – pilnas plotis */
            #bookingActionsModal > div,
            #deleteConfirmModal > div,
            #rescheduleModal > div,
            .notes-modal-box {
                max-width: calc(100vw - 32px) !important;
                width: 100% !important;
                margin: 16px !important;
                padding: 20px !important;
                box-sizing: border-box !important;
            }

            /* Add Session modal */
            #addSessionModal > div {
                max-width: calc(100vw - 32px) !important;
                width: 100% !important;
                margin: 16px !important;
                box-sizing: border-box !important;
            }

            /* ═══ PROFILIO SEKCIJA MOBILIAME ═══ */

            /* Nuotraukos blokas – stulpeliu */
            #tab-profile [style*="gap: 30px"] {
                flex-direction: column !important;
                align-items: center !important;
                text-align: center !important;
            }

            /* Profilio nustatymai formos input'ai */
            #tab-profile .form-input,
            #tab-profile select,
            #tab-profile textarea {
                width: 100% !important;
                box-sizing: border-box !important;
            }

            /* ═══ KLIENTŲ LENTELĖ MOBILIAME ═══ */

            #tab-clients .data-table {
                font-size: 0.75rem !important;
                display: block !important;
                overflow-x: auto !important;
                -webkit-overflow-scrolling: touch !important;
            }

            /* ═══ TOAST MOBILIAME ═══ */
            .toast-container {
                left: 16px !important;
                right: 16px !important;
                bottom: 16px !important;
            }

            .toast {
                min-width: auto !important;
                width: 100% !important;
            }

            /* ═══ PRICING CARDS MOBILIAME ═══ */
            .pricing-plan-grid {
                grid-template-columns: 1fr !important;
            }

            /* ═══ PANEL MAIN PADDING MAŽESNIS ═══ */
            .panel-main {
                padding: 12px !important;
            }

            /* DATA CARD patobulinimai */
            .data-card {
                padding: 16px !important;
                border-radius: 16px !important;
            }

            /* ═══ LOGIN KONTEINERIS MOBILIAME ═══ */
            #loginContainer > div {
                max-width: 100% !important;
                padding: 24px !important;
                margin: 12px !important;
                box-sizing: border-box !important;
            }

            /* ═══ STRIPE OVERLAY MOBILIAME ═══ */
            #stripeOverlay > div {
                max-width: calc(100vw - 32px) !important;
                padding: 24px !important;
                box-sizing: border-box !important;
            }

            /* ═══ PRIDĖTI SESIJĄ MODAL VIDINIS GRID ═══ */
            #addSessionModal [style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
        }

        /* ─── Toast System ─── */
        .toast-container {
            position: fixed;
            bottom: 24px;
            right: 24px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 999999;
        }

        .toast {
            padding: 16px 24px;
            border-radius: 12px;
            background: white;
            color: #1e293b;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            animation: toastFadeIn 0.3s ease forwards;
            min-width: 300px;
            border-left: 4px solid var(--c-primary-500);
            transition: all 0.3s ease;
        }

        .toast.error { border-left-color: #ef4444; }
        .toast.success { border-left-color: #10b981; }
        .toast.warning { border-left-color: #f59e0b; }

        @keyframes toastFadeIn {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        @keyframes toastFadeOut {
            from { transform: translateY(20px); opacity: 1; }
            to { transform: translateY(0); opacity: 0; }
        }

        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
        }

        /* --- Dashboard Pricing Plan Cards --- */
        .pricing-plan-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 24px;
            margin-bottom: 32px;
            align-items: stretch;
        }
        .pricing-plan-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: 20px;
            padding: 28px;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        }
        .pricing-plan-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.1);
            border-color: #cbd5e1;
        }
        .pricing-plan-card.premium-tier {
            border: 2px solid #2D6A4F;
            background: #f0fdf4;
            box-shadow: 0 10px 25px -5px rgba(45, 106, 79, 0.1);
        }
        .pricing-plan-card.premium-tier:hover {
            box-shadow: 0 20px 25px -5px rgba(45, 106, 79, 0.15);
        }
        .pricing-plan-badge {
            position: absolute;
            top: -12px;
            right: 20px;
            background: #475569;
            color: #ffffff;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            padding: 4px 12px;
            border-radius: 20px;
            letter-spacing: 0.05em;
        }
        .pricing-plan-card.premium-tier .pricing-plan-badge {
            background: #2D6A4F;
        }
        .pricing-plan-title {
            font-size: 1.25rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 4px;
        }
        .pricing-plan-subtitle {
            font-size: 0.82rem;
            color: #64748b;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .pricing-plan-card.premium-tier .pricing-plan-subtitle {
            color: #2D6A4F;
        }
        .pricing-plan-desc {
            font-size: 0.8rem;
            color: #475569;
            margin-bottom: 16px;
            line-height: 1.5;
            font-style: italic;
        }
        .pricing-plan-price {
            font-size: 1.75rem;
            font-weight: 900;
            color: #0f172a;
            margin-bottom: 20px;
            display: flex;
            align-items: baseline;
            gap: 4px;
        }
        .pricing-plan-card.premium-tier .pricing-plan-price {
            color: #2D6A4F;
        }
        .pricing-plan-price span {
            font-size: 0.9rem;
            font-weight: 500;
            color: #64748b;
        }
        .pricing-plan-card.premium-tier .pricing-plan-price span {
            color: #2D6A4F;
            opacity: 0.8;
        }
        .pricing-plan-features {
            list-style: none;
            padding: 0;
            margin: 0 0 24px 0;
            font-size: 0.82rem;
            color: #475569;
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex-grow: 1;
        }
        .pricing-plan-features li {
            position: relative;
            padding-left: 20px;
            line-height: 1.4;
            margin-bottom: 8px;
        }
        .pricing-plan-features li::before {
            content: "✓";
            color: #10b981;
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
        }
        .pricing-plan-card.premium-tier .pricing-plan-features li::before {
            color: #2D6A4F;
        }
        .pricing-plan-features li.feature-negative::before {
            content: "✕";
            color: #ef4444;
        }
