/* Scoped Style for MaliyetHUB */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette - Forest Green Theme */
    --mhub-primary: #16a34a !important;
    --mhub-primary-hover: #15803d !important;
    --mhub-primary-light: #f0fdf4 !important;
    --mhub-primary-rgb: 22, 163, 74;

    --mhub-accent: #22c55e;
    --mhub-accent-light: #f0fdf4;

    --mhub-bg-app: #f8fafc;
    --mhub-bg-card: #ffffff;
    --mhub-bg-sidebar: #ffffff;
    --mhub-sidebar-width-collapsed: 70px;
    /* Width when collapsed */

    --mhub-text-main: #14532d;
    --mhub-text-muted: #64748b;
    --mhub-text-on-primary: #ffffff;

    --mhub-border-color: #e2e8f0;
    --mhub-glass-bg: rgba(255, 255, 255, 0.8);
    --mhub-glass-border: rgba(226, 232, 240, 0.8);
    --mhub-glass-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);

    --mhub-success: #16a34a;
    --mhub-warning: #f59e0b;
    --mhub-danger: #ef4444;

    --mhub-warning-bg: linear-gradient(135deg, #fef9c3, #fef3c7);
    --mhub-warning-border: #f59e0b;
    --mhub-warning-text: #92400e;
    --mhub-warning-muted: #a16207;

    /* Spacing & Misc */
    --mhub-header-height: 80px;
    --mhub-sidebar-width: 280px;
    --mhub-transition-speed: 0.3s;
    --mhub-radius-lg: 16px;
    --mhub-radius-md: 12px;
    --mhub-radius-sm: 8px;
}

/* Dark Theme Overrides */
#mhub-app-container.dark-theme {
    --mhub-bg-app: #0f172a !important;
    --mhub-bg-card: #1e293b !important;
    --mhub-bg-sidebar: #0f172a !important;
    --mhub-text-main: #f8fafc !important;
    --mhub-text-muted: #94a3b8 !important;
    --mhub-border-color: #334155 !important;
    --mhub-glass-bg: rgba(30, 41, 59, 0.8) !important;
    --mhub-glass-border: rgba(51, 65, 85, 0.8) !important;
    --mhub-primary-light: rgba(22, 163, 74, 0.15) !important;

    --mhub-warning-bg: rgba(245, 158, 11, 0.1) !important;
    --mhub-warning-border: #f59e0b !important;
    --mhub-warning-text: #fbbf24 !important;
    --mhub-warning-muted: #d97706 !important;
}

#mhub-app-container.dark-theme .mhub-user-name,
#mhub-app-container.dark-theme .mhub-page-title,
#mhub-app-container.dark-theme .mhub-card h3,
#mhub-app-container.dark-theme .mhub-modal h2,
#mhub-app-container.dark-theme .mhub-modal h3,
#mhub-app-container.dark-theme .mhub-modal label,
#mhub-app-container.dark-theme .mhub-label,
#mhub-app-container.dark-theme label,
#mhub-app-container.dark-theme h2,
#mhub-app-container.dark-theme h3,
#mhub-app-container.dark-theme h4 {
    color: #f8fafc !important;
}

#mhub-app-container.dark-theme .mhub-page-header,
#mhub-app-container.dark-theme .mhub-card,
#mhub-app-container.dark-theme .mhub-table th,
#mhub-app-container.dark-theme .mhub-table td {
    background: #1e293b !important;
    border-color: #334155 !important;
}

#mhub-app-container.dark-theme .nav-item:hover,
#mhub-app-container.dark-theme .nav-item.active {
    background: #1e293b !important;
    color: #fff !important;
}

/* Additional Dark Mode Fixes */
#mhub-app-container.dark-theme .logo-area,
#mhub-app-container.dark-theme .mhub-modal,
#mhub-app-container.dark-theme .mhub-metraj-side-panel,
#mhub-app-container.dark-theme .mhub-metraj-footer,
#mhub-app-container.dark-theme .mhub-settings-nav,
#mhub-app-container.dark-theme .mhub-settings-pane .mhub-card {
    background: #1e293b !important;
    border-color: #334155 !important;
}

#mhub-app-container.dark-theme .mhub-tab.active {
    background: #1e293b !important;
    color: var(--mhub-primary) !important;
    border-bottom-color: #1e293b !important;
}

#mhub-app-container.dark-theme .mhub-sub-tab {
    background: #334155 !important;
    color: #94a3b8 !important;
}

#mhub-app-container.dark-theme .mhub-sub-tab.active {
    background: var(--mhub-primary) !important;
    color: #fff !important;
}

#mhub-app-container.dark-theme .mhub-input,
#mhub-app-container.dark-theme .excel-input,
#mhub-app-container.dark-theme select,
#mhub-app-container.dark-theme textarea,
#mhub-app-container.dark-theme input,
#mhub-app-container.dark-theme .mhub-btn-delete-row,
#mhub-app-container.dark-theme .mhub-btn-copy-metraj {
    background: #0f172a !important;
    color: #f8fafc !important;
    border-color: #334155 !important;
}

#mhub-app-container.dark-theme .excel-input:focus {
    background: #1e293b !important;
    border-color: var(--mhub-primary) !important;
}

#mhub-app-container.dark-theme .report-table thead tr,
#mhub-app-container.dark-theme #metraj-table thead tr {
    background: #334155 !important;
}

#mhub-app-container.dark-theme .report-table th,
#mhub-app-container.dark-theme #metraj-table th {
    color: #f8fafc !important;
}

#mhub-app-container.dark-theme .bending-canvas-container {
    background: #0f172a !important;
    border-color: #334155 !important;
}

#mhub-app-container.dark-theme .mhub-metraj-side-header {
    background: rgba(var(--mhub-primary-rgb), 0.1) !important;
    color: #f8fafc !important;
}

#mhub-app-container.dark-theme .mhub-metraj-side-item:hover {
    background: #334155 !important;
}

#mhub-app-container.dark-theme .mhub-metraj-side-item.active {
    background: rgba(var(--mhub-primary-rgb), 0.2) !important;
}

#mhub-app-container.dark-theme .discovery-row.active {
    background: rgba(var(--mhub-primary-rgb), 0.2) !important;
    border-left-color: var(--mhub-primary) !important;
}

/* Zebra Striping - Dark Theme */
#mhub-app-container.dark-theme .discovery-row:nth-child(even),
#mhub-app-container.dark-theme .metraj-row:nth-child(even),
#mhub-app-container.dark-theme .row-zebra:nth-child(even) {
    background: rgba(255, 255, 255, 0.05) !important;
    /* Increased visibility slightly */
}

/* Ensure Metraj cells and inputs are transparent in dark mode to show zebra */
#mhub-app-container.dark-theme #metraj-table td,
#mhub-app-container.dark-theme #metraj-table .excel-input,
#mhub-app-container.dark-theme #metraj-table select.excel-input {
    background: transparent !important;
}

#mhub-app-container.dark-theme .mhub-modal {
    background: #1e293b !important;
    color: #f8fafc !important;
}

#mhub-app-container.dark-theme .mhub-modal .report-table thead tr {
    background: #334155 !important;
}

#mhub-app-container.dark-theme .mhub-btn-secondary {
    background: #334155 !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
}

#mhub-app-container.dark-theme .mhub-btn:not(.mhub-btn-primary):not(.mhub-btn-danger):not(.mhub-btn-icon) {
    background: #334155 !important;
    color: #f8fafc !important;
    border: 1px solid #475569 !important;
}

#mhub-app-container.dark-theme .mhub-btn:not(.mhub-btn-primary):not(.mhub-btn-danger):not(.mhub-btn-icon):hover {
    background: #475569 !important;
}

#mhub-app-container * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* FIXED APP LAYOUT */
#mhub-app-container {
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    background-color: var(--mhub-bg-app) !important;
    color: var(--mhub-text-main) !important;
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    min-height: calc(100vh - 40px) !important;
    overflow: hidden !important;
}

#mhub-app-container .sidebar {
    width: var(--mhub-sidebar-width) !important;
    background: var(--mhub-bg-sidebar) !important;
    border-right: 1px solid var(--mhub-border-color) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 1.5rem 1rem !important;
    z-index: 50 !important;
    transition: all var(--mhub-transition-speed) !important;
    height: 100% !important;
    overflow-y: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

#mhub-app-container .sidebar .logo-area {
    margin-bottom: 2rem;
}

#mhub-app-container .sidebar .nav-links {
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#mhub-app-container .sidebar .sidebar-footer {
    margin-top: auto !important;
    padding-top: 1rem;
    border-top: 1px solid var(--mhub-border-color);
}

/* Collapsed Sidebar State - ProjeHUB Reference */
#mhub-app-container .sidebar.collapsed {
    width: 80px !important;
    padding: 1.5rem 0.5rem !important;
}

#mhub-app-container .sidebar.collapsed .logo-area {
    padding: 0 !important;
    justify-content: center !important;
    margin-bottom: 2rem !important;
}

#mhub-app-container.dark-theme .logo-area,
#mhub-app-container.dark-theme .logo-img {
    background: transparent !important;
    box-shadow: none !important;
}

#mhub-app-container.dark-theme ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

#mhub-app-container.dark-theme ::-webkit-scrollbar-track {
    background: #0f172a;
}

#mhub-app-container.dark-theme ::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 10px;
}

#mhub-app-container.dark-theme ::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

#mhub-app-container .sidebar.collapsed .logo-area span,
#mhub-app-container .sidebar.collapsed .mhub-version {
    display: none !important;
}

#mhub-app-container .sidebar.collapsed .nav-item {
    justify-content: center !important;
    padding: 12px 0 !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 4px auto !important;
}

#mhub-app-container .sidebar.collapsed .nav-item .nav-text {
    display: none !important;
}

#mhub-app-container .sidebar.collapsed .nav-item .dashicons {
    margin: 0 !important;
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

/* Sidebar Toggle Button - ProjeHUB Style */
.sidebar-toggle-btn {
    width: 100% !important;
    padding: 12px !important;
    background: transparent !important;
    border: 1px solid var(--mhub-border-color) !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: var(--mhub-text-muted) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.sidebar-toggle-btn:hover {
    background: var(--mhub-primary-light) !important;
    color: var(--mhub-primary) !important;
    border-color: var(--mhub-primary) !important;
}

.sidebar-toggle-btn .dashicons {
    font-size: 20px !important;
    width: 20px !important;
    height: 20px !important;
}

#mhub-app-container .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100% !important;
    overflow: hidden !important;
    /* Prevent double scrollbars */
    min-width: 0;
}

#mhub-app-container .top-bar {
    height: 70px;
    min-height: 70px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--mhub-bg-card);
    border-bottom: 1px solid var(--mhub-border-color);
    flex-shrink: 0;
    z-index: 100;
}

#mhub-app-container .breadcrumb {
    font-size: 0.95rem;
    color: var(--mhub-text-muted);
    font-weight: 500;
}

#mhub-app-container .breadcrumb span {
    color: var(--mhub-text-main);
    font-weight: 700;
}

/* User Info Section in Top Bar */
.mhub-user-layout {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.mhub-premium-badge {
    padding: 5px 12px !important;
    border-radius: 10px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    line-height: 1 !important;
}

.mhub-plan-premium {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: white !important;
}

.mhub-plan-pro {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
}

.mhub-plan-free {
    background: #94a3b8 !important;
    color: white !important;
}

.mhub-user-info-text {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mhub-user-name {
    font-weight: 700;
    color: var(--mhub-text-main);
    font-size: 0.95rem;
    line-height: 1.2;
}

.mhub-user-role {
    font-weight: 500;
    color: var(--mhub-text-muted);
    font-size: 0.75rem;
}

.mhub-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mhub-primary), #4ade80);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.2);
    cursor: pointer;
    border: 2px solid white;
    transition: transform 0.2s;
}

.mhub-user-avatar:hover {
    transform: scale(1.05);
}

.mhub-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--mhub-bg-app);
    color: var(--mhub-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid var(--mhub-border-color);
}

.mhub-theme-toggle:hover {
    background: var(--mhub-primary);
    color: white;
}

.mhub-year-selector-wrap {
    margin-right: 5px;
}

.mhub-top-select {
    padding: 8px 15px !important;
    background: var(--mhub-bg-app) !important;
    border: 1px solid var(--mhub-border-color) !important;
    border-radius: 12px !important;
    color: var(--mhub-text-main) !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    outline: none !important;
}

/* Notification Components */
.mhub-notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 10;
}

.mhub-notifications-dropdown {
    position: absolute;
    top: 70px;
    right: 0;
    width: 340px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 9999;
    padding: 1.5rem;
    border-radius: 20px;
    background: var(--mhub-bg-card);
    backdrop-filter: blur(24px);
    border: 1px solid var(--mhub-border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
    animation: mhubFadeIn 0.3s ease-out;
}

#mhub-app-container.dark-theme .mhub-notifications-dropdown {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

#mhub-app-container .view-section {
    padding: 1.5rem !important;
    width: 100% !important;
    flex: 1 !important;
    /* Take remaining height */
    overflow-y: auto !important;
    /* Main content scrollbar is HERE */
    overflow-x: hidden !important;
    display: block !important;
}

/* Page Headers & General Layout */
.mhub-page-header {
    margin-bottom: 24px !important;
    padding: 24px !important;
    background: var(--mhub-bg-card) !important;
    border-radius: var(--mhub-radius-lg) !important;
    border: 1px solid var(--mhub-border-color) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.mhub-page-title {
    margin: 0 !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: var(--mhub-text-main) !important;
    letter-spacing: -0.5px;
}

.mhub-page-subtitle {
    margin: 5px 0 0 0 !important;
    color: var(--mhub-text-muted) !important;
    font-size: 0.9rem !important;
}

.mhub-settings-wrapper {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 25px !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.mhub-settings-nav {
    background: #fff !important;
    border-radius: var(--mhub-radius-lg) !important;
    border: 1px solid var(--mhub-border-color) !important;
    padding: 15px !important;
    box-shadow: var(--mhub-glass-shadow) !important;
    height: fit-content !important;
}

.settings-nav-item {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-bottom: 6px !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
}

.settings-nav-item:hover {
    background: #f8fafc !important;
    color: var(--mhub-primary) !important;
    transform: translateX(4px) !important;
}

.settings-nav-item.active {
    background: var(--mhub-primary-light) !important;
    color: var(--mhub-primary) !important;
    border-color: rgba(22, 163, 74, 0.1) !important;
}

.settings-nav-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.mhub-settings-pane {
    animation: mhubFadeIn 0.3s ease-out;
}

@keyframes mhubFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mhub-label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: var(--mhub-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.mhub-card {
    background: var(--mhub-bg-card);
    border: 1px solid var(--mhub-border-color);
    border-radius: var(--mhub-radius-lg);
    padding: 1.5rem !important;
    box-shadow: var(--mhub-glass-shadow);
    margin-bottom: 1.5rem !important;
}

.mhub-settings-pane .mhub-card {
    border: none !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    background: #fff !important;
    border-radius: 24px !important;
    padding: 0 !important;
    /* Managed by inner padding */
}

.mhub-settings-pane h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--mhub-text-main) !important;
    border-bottom: 2px solid var(--mhub-bg-app);
    padding-bottom: 20px;
    margin-bottom: 25px !important;
}

.mhub-form-group {
    margin-bottom: 1.25rem;
}

.mhub-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--mhub-text-main);
}

.mhub-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid var(--mhub-border-color) !important;
    border-radius: 10px !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    color: var(--mhub-text-main) !important;
    background-color: var(--mhub-bg-card) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.mhub-input:hover {
    border-color: #cbd5e1 !important;
}

.mhub-input:focus {
    outline: none !important;
    border-color: var(--mhub-primary) !important;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    background-color: #fff !important;
}

.mhub-input:disabled {
    background-color: #f8fafc !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    border-color: #e2e8f0 !important;
}

select.mhub-input {
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='Q 12 12 8 8 Q 12 12 16 8' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 10l4 4 4-4'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Typography - Headings */
#mhub-app-container h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

#mhub-app-container h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

#mhub-app-container h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

#mhub-app-container h4 {
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

#mhub-app-container p {
    font-size: 15px !important;
    line-height: 1.6 !important;
}

#mhub-app-container .breadcrumb {
    font-size: 15px !important;
}

#mhub-app-container .user-area {
    font-size: 15px !important;
}

/* App Mode Global Overrides */
body.mhub-app-active {
    overflow: hidden !important;
    /* Disable window scroll */
}

body.mhub-app-active #wpwrap,
body.mhub-app-active #wpcontent,
body.mhub-app-active #wpbody,
body.mhub-app-active #wpbody-content {
    height: 100vh !important;
    overflow: hidden !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Logo Area */
#mhub-app-container .logo-area {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px 10px;
    background: var(--mhub-bg-sidebar);
    border-radius: var(--mhub-radius-md);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

#mhub-app-container .logo-img {
    width: 100%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

/* Nav Items */
#mhub-app-container .nav-item {
    padding: 12px 16px;
    border-radius: var(--mhub-radius-md);
    cursor: pointer;
    color: var(--mhub-text-muted);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 4px;
}

#mhub-app-container .nav-item.active {
    background: var(--mhub-primary) !important;
    color: white !important;
}

#mhub-app-container .nav-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}


/* Modal Styles */
.mhub-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000000;
    backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 2rem 0;
}

.mhub-modal {
    background: var(--mhub-bg-card);
    padding: 32px !important;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 1600px;
    width: 95%;
    color: var(--mhub-text-main);
    font-size: 15px;
    margin: auto;
    position: relative;
}

.mhub-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mhub-modal-close {
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    color: var(--mhub-text-muted);
    cursor: pointer;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.2s;
    margin-top: -8px;
    margin-right: -8px;
}

.mhub-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Global Admin Table Expansion */
.report-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 1.5rem;
    table-layout: auto;
}

.report-table th,
.report-table td {
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

.report-table thead tr {
    background: #f8fafc;
}

.report-table th {
    padding: 15px !important;
    font-weight: 700 !important;
    color: var(--mhub-text-muted) !important;
    background: var(--mhub-bg-app) !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.report-table td {
    padding: 12px 15px !important;
    vertical-align: middle !important;
}

/* Table Spacing */
#mhub-app-container td,
#mhub-app-container th {
    padding: 10px 12px !important;
    line-height: 1.5 !important;
    vertical-align: middle !important;
    font-size: 14px !important;
}

/* Compact Lists (Minimum Padding) */
#mhub-poz-table td,
#mhub-poz-table th,
#mhub-prices-results table td,
#mhub-prices-results table th,
.mhub-modal-results table td,
.mhub-modal-results table th {
    padding: 8px 10px !important;
    font-size: 14px !important;
}

#mhub-app-container .mhub-no-pad {
    padding: 0 !important;
}

/* Tab Styles */
.mhub-tabs {
    display: flex;
    gap: 5px;
    padding: 0 10px;
    overflow-x: auto;
}

.mhub-tab {
    padding: 12px 24px !important;
    background: transparent;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--mhub-text-muted);
    transition: all 0.2s;
    border: 1px solid transparent;
    margin-right: 5px;
}

.mhub-tab:hover {
    color: var(--mhub-primary);
    background: var(--mhub-primary-light);
}

.mhub-tab.active {
    background: white;
    color: var(--mhub-primary);
    border: 1px solid var(--mhub-border-color);
    border-bottom-color: white;
    position: relative;
    z-index: 2;
}

.admin-tabs .mhub-tab {
    border-radius: 8px;
    border: 1px solid transparent;
    margin-bottom: 5px;
}

.admin-tabs .mhub-tab.active {
    background: var(--mhub-primary) !important;
    color: white !important;
    border-color: var(--mhub-primary) !important;
}

.mhub-sub-tabs {
    display: flex !important;
    gap: 8px !important;
    margin: 10px 0 20px 0 !important;
    border-bottom: 2px solid var(--mhub-primary-light) !important;
}

.mhub-sub-tab {
    padding: 8px 18px !important;
    background: #e2e8f0 !important;
    border-radius: 6px 6px 0 0 !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #475569 !important;
    transition: all 0.2s !important;
}

.mhub-sub-tab:hover {
    background: #cbd5e1 !important;
}

.mhub-sub-tab.active {
    background: var(--mhub-primary) !important;
    color: white !important;
}

.mhub-btn-primary {
    background: var(--mhub-primary) !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.2) !important;
}

.mhub-btn-primary:hover {
    background: #15803d !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(22, 163, 74, 0.3) !important;
}

.mhub-btn-primary:active {
    transform: translateY(0);
}

/* Buttons */
.mhub-btn {
    padding: 10px 20px !important;
    border-radius: var(--mhub-radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer !important;
    user-select: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.mhub-btn-icon,
.mhub-btn-copy-metraj,
.mhub-btn-delete-row,
.mhub-bending-btn,
.mhub-btn-fullscreen {
    cursor: pointer !important;
    user-select: none !important;
}

.mhub-btn span.dashicons,
.mhub-btn-icon span.dashicons {
    pointer-events: none !important;
    /* Prevents icon from intercepting cursor/clicks incorrectly */
}

.mhub-btn-primary {
    background: var(--mhub-primary);
    color: white;
}

/* Input Styles */
.excel-input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid transparent;
    font-size: 14px;
}

.excel-input:focus {
    border-color: var(--mhub-primary);
    background: white;
}

/* Form Elements */
#mhub-app-container input[type="text"],
#mhub-app-container input[type="email"],
#mhub-app-container input[type="password"],
#mhub-app-container input[type="number"],
#mhub-app-container textarea,
#mhub-app-container select {
    font-size: 14px !important;
}

#mhub-app-container label,
#mhub-app-container .popup-label {
    font-size: 14px !important;
    color: var(--mhub-text-main) !important;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

/* Delete Row Button */
div#mhub-app-container .mhub-btn-delete-row {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    border: 1px solid #fee2e2;
    border-radius: 6px;
    cursor: pointer;
    background: white;
}

div#mhub-app-container .mhub-btn-delete-row:hover {
    background: #fee2e2;
}

div#mhub-app-container .mhub-btn-delete-row span.dashicons {
    font-size: 18px;
}

/* Copy Metraj Button */
div#mhub-app-container .mhub-btn-copy-metraj {
    width: 30px !important;
    height: 30px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    cursor: pointer;
    background: white;
}

div#mhub-app-container .mhub-btn-copy-metraj:hover {
    background: #dbeafe;
}

div#mhub-app-container .mhub-btn-copy-metraj span.dashicons {
    font-size: 18px;
}


/* Version Badge */
.mhub-version {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Discovery Row Active State */
.discovery-row.active {
    background: var(--mhub-primary-light) !important;
    border-left: 3px solid var(--mhub-primary) !important;
}

/* Zebra Striping - Light Theme */
.discovery-row:nth-child(even),
.metraj-row:nth-child(even),
.row-zebra:nth-child(even) {
    background: rgba(0, 0, 0, 0.03) !important;
}

/* Internal Table Wrappers */
.mhub-table-wrapper,
.mhub-excel-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    /* Ensure internal scrolling on Y axis */
    max-height: 60vh !important;
    /* Dynamic height limit for internal tables */
    margin-bottom: 10px;
    border: 1px solid var(--mhub-border-color);
    /* Add border for visibility */
    border-radius: 8px;
}

/* Hyper Compact Metraj Inputs (User Request 1/4 Padding) */
#metraj-table .excel-input {
    padding: 4px 6px !important;
    height: 30px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    background: transparent !important;
}

#metraj-table select.excel-input {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    background: transparent !important;
}

#metraj-table td {
    height: 30px !important;
    font-size: 14px !important;
}

/* FINAL METRAJ PADDING KILLER */
#metraj-table td {
    padding: 0 !important;
}

#metraj-table th {
    padding: 4px !important;
}

/* Bending Editor Styles */
.mhub-bending-btn {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 5px;
}

.mhub-bending-btn:hover {
    background: #e2e8f0;
    color: var(--mhub-primary);
}

.mhub-bending-btn.active {
    background: var(--mhub-primary);
    color: white;
    border-color: var(--mhub-primary);
}

.bending-shape-item {
    border: 1px solid var(--mhub-border-color);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.bending-shape-item:hover {
    border-color: var(--mhub-primary);
    background: var(--mhub-primary-light);
}

.bending-shape-item.selected {
    border-width: 2px;
    border-color: var(--mhub-primary);
    background: var(--mhub-primary-light);
}

.bending-canvas-container {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.bending-input-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.bending-input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--mhub-text-muted);
}

/* Fullscreen Metraj Mode */
.mhub-metraj-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: var(--mhub-bg-app) !important;
    display: flex !important;
    flex-direction: row !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

.mhub-metraj-fullscreen .mhub-metraj-side-panel {
    width: 300px;
    background: var(--mhub-bg-card);
    border-right: 1px solid var(--mhub-border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mhub-metraj-fullscreen .mhub-metraj-side-header {
    padding: 15px;
    border-bottom: 1px solid var(--mhub-border-color);
    background: var(--mhub-primary-light);
    font-weight: 700;
}

.mhub-metraj-side-list {
    flex: 1;
    overflow-y: auto;
}

.mhub-split-resizer {
    width: 6px;
    background: transparent;
    cursor: col-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mhub-split-resizer:hover,
.mhub-split-resizer:active {
    background: var(--mhub-primary-light);
}

.mhub-split-resizer .resizer-handle {
    height: 30px;
    width: 4px;
    background: var(--mhub-border-color);
    border-radius: 4px;
    transition: background 0.2s;
}

.mhub-split-resizer:hover .resizer-handle {
    background: var(--mhub-primary);
}

.mhub-metraj-fullscreen .mhub-metraj-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.mhub-metraj-main-content>div:first-child {
    flex-shrink: 0;
}

.mhub-metraj-fullscreen .mhub-excel-table-wrapper {
    max-height: none !important;
    flex: 1;
    min-height: 0;
    /* Critical for flex scrolling */
    margin-bottom: 0 !important;
}

.mhub-metraj-footer {
    flex-shrink: 0;
    margin-top: 15px;
    padding: 12px;
    background: var(--mhub-bg-card);
    border: 1px solid var(--mhub-border-color);
    border-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    /* Shadow on top to distinguish from table */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 20;
    /* Ensure it stays above any table overflow */
    position: relative;
}

.mhub-metraj-side-item {
    padding: 12px 15px;
    border-bottom: 1px solid var(--mhub-border-color);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mhub-metraj-side-item:hover {
    background: #f1f5f9;
}

.mhub-metraj-side-item.active {
    background: var(--mhub-primary-light);
    border-left: 4px solid var(--mhub-primary);
}

.mhub-metraj-side-item .poz-no {
    font-weight: 700;
    color: var(--mhub-primary);
}

.mhub-metraj-side-item .desc {
    color: var(--mhub-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.mhub-btn-fullscreen {
    background: transparent;
    border: 1px solid var(--mhub-border-color);
    border-radius: 6px;
    padding: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mhub-text-muted);
    transition: all 0.2s;
}

.mhub-btn-fullscreen:hover {
    background: var(--mhub-primary-light);
    color: var(--mhub-primary);
    border-color: var(--mhub-primary);
}

body.mhub-fullscreen-active {
    overflow: hidden !important;
}

/* Smart Auditor Styles */
.metraj-row.row-warning {
    background-color: #fef3c7 !important;
    /* light orange */
}

.metraj-row.row-warning:hover {
    background-color: #fde68a !important;
}

.metraj-row.row-warning td {
    border-color: #fcd34d !important;
}

.metraj-row.row-danger {
    background-color: #fee2e2 !important;
    /* light red */
    animation: mhubPulseError 2s infinite;
}

.metraj-row.row-danger:hover {
    background-color: #fecaca !important;
}

.metraj-row.row-danger td {
    border-color: #fca5a5 !important;
}

@keyframes mhubPulseError {
    0% {
        background-color: #fee2e2;
    }

    50% {
        background-color: #fecaca;
    }

    100% {
        background-color: #fee2e2;
    }
}

.mhub-auditor-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
}

.mhub-auditor-badge.warning {
    background: #f59e0b;
    color: white;
}

.mhub-auditor-badge.danger {
    background: #ef4444;
    color: white;
}

/* TABLET & MOBILE RESPONSIVENESS (EXCLUDING METRAJ) */
/* TABLET & MOBILE RESPONSIVENESS (ProjeHUB Style Navigation) */
@media screen and (max-width: 991px) {

    html,
    body {
        /* Prevent body scroll to lock the app wrapper nicely */
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    #wpwrap,
    #wpcontent,
    #wpbody,
    #wpbody-content {
        height: 100% !important;
        overflow: hidden !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #mhub-app-container {
        flex-direction: column !important;
        /* Handle WP admin bar if present */
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: hidden !important;
        position: relative !important;
        display: flex !important;
    }

    body.admin-bar #mhub-app-container {
        height: calc(100vh - 46px) !important;
        min-height: calc(100vh - 46px) !important;
    }

    /* Mobile Sidebar Overlay */
    .mhub-mobile-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 9990;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        transition: opacity 0.3s;
    }

    .mhub-mobile-sidebar-overlay.hidden {
        display: none;
        opacity: 0;
    }

    /* Sidebar - Off-screen Side Panel */
    #mhub-app-container .sidebar {
        position: fixed !important;
        left: -280px !important;
        top: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        z-index: 9999 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding: 2rem 1.5rem !important;
        background: var(--mhub-bg-sidebar) !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100vh !important;
        overflow-y: auto !important;
    }

    #mhub-app-container .sidebar.mobile-active {
        left: 0 !important;
    }

    #mhub-app-container .sidebar .logo-area {
        margin-bottom: 2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    /* Top Bar - Fixed Header */
    #mhub-app-container .top-bar {
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        padding: 1rem !important;
        background: var(--mhub-bg-card) !important;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--mhub-border-color);
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 70px !important;
        min-height: 70px !important;
        width: 100% !important;
    }

    .mhub-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: var(--mhub-bg-app);
        color: var(--mhub-primary);
        border: 1px solid var(--mhub-border-color);
        border-radius: 8px;
        margin-right: 15px;
        cursor: pointer;
    }

    #mhub-app-container .sidebar .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        flex: 1;
        width: 100% !important;
    }

    #mhub-app-container .sidebar .nav-item {
        padding: 12px 16px !important;
        border-radius: 8px !important;
        margin-bottom: 4px !important;
    }

    #mhub-app-container .main-content {
        margin-top: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
        flex: 1 1 auto !important;
    }

    .mhub-user-layout {
        gap: 12px !important;
    }

    .mhub-user-info-text,
    .mhub-year-selector-wrap {
        display: none !important;
    }

    .mhub-user-avatar {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.8rem !important;
    }

    #mhub-app-container .breadcrumb {
        font-size: 0.85rem !important;
    }

    #mhub-app-container .view-section {
        padding: 1.5rem !important;
        height: 100% !important;
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Scaling Fixes & Grids */
    .dashboard-grid,
    .mhub-settings-wrapper,
    .project-details-split {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .mhub-modal {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        padding: 1.5rem !important;
    }

    /* TABLE TO CARD TRANSFORMATION (Discovery List) */
    #mhub-poz-table,
    #mhub-poz-table thead,
    #mhub-poz-table tbody,
    #mhub-poz-table tr,
    #mhub-poz-table td,
    #mhub-poz-table th {
        display: block !important;
        width: 100% !important;
    }

    #mhub-poz-table thead {
        display: none !important;
    }

    #mhub-poz-table .discovery-row {
        background: var(--mhub-bg-card) !important;
        border: 1px solid var(--mhub-border-color) !important;
        border-radius: 12px !important;
        padding: 15px !important;
        margin-bottom: 12px !important;
        position: relative !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    }

    #mhub-poz-table .discovery-row.active {
        border-color: var(--mhub-primary) !important;
        background: var(--mhub-primary-light) !important;
        box-shadow: 0 4px 12px rgba(var(--mhub-primary-rgb), 0.1) !important;
    }

    #mhub-poz-table td {
        text-align: left !important;
        padding: 5px 0 !important;
        border: none !important;
    }

    #mhub-poz-table td:first-child {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        color: var(--mhub-primary) !important;
        margin-bottom: 5px;
    }

    #mhub-poz-table td:nth-child(2) {
        font-size: 0.95rem !important;
        color: var(--mhub-text-main) !important;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    #mhub-poz-table td:nth-child(3),
    #mhub-poz-table td:nth-child(4),
    #mhub-poz-table td:nth-child(5) {
        display: inline-block !important;
        width: auto !important;
        margin-right: 15px;
        font-size: 0.85rem !important;
        color: var(--mhub-text-muted) !important;
    }

    #mhub-poz-table td:nth-child(4)::before {
        content: "Miktar: ";
        font-weight: 600;
    }

    #mhub-poz-table td:nth-child(5)::before {
        content: "P. Fiyat: ";
        font-weight: 600;
    }

    #mhub-poz-table td:nth-child(6) {
        border-top: 1px solid var(--mhub-border-color) !important;
        margin-top: 10px;
        padding-top: 10px !important;
        max-width: none !important;
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        color: var(--mhub-primary) !important;
        text-align: right !important;
    }

    #mhub-poz-table td:last-child {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: auto !important;
    }

    /* Project Detail Header Cleanup */
    #mhub-view-container>div:first-child[style*="flex-start"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
    }

    #mhub-view-container>div:first-child>div:last-child {
        text-align: left !important;
        background: var(--mhub-bg-app);
        padding: 15px;
        border-radius: 12px;
        border: 1px solid var(--mhub-border-color);
    }

    #mhub-view-container>div:first-child>div:last-child>div:first-child {
        justify-content: flex-start !important;
        margin-bottom: 10px;
    }

    #mhub-view-container>div:first-child>div:last-child>div:nth-child(3) {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
        width: 100% !important;
        margin-top: 15px !important;
    }

    #mhub-view-container>div:first-child>div:last-child>div:nth-child(3) button {
        border: 1px solid var(--mhub-border-color) !important;
        border-radius: 8px !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 10px !important;
        margin: 0 !important;
    }

    #mhub-view-container>div:first-child>div:last-child>div:nth-child(3) button:last-child {
        grid-column: span 2 !important;
    }

    /* Tabs Horizontal Scrolling */
    .mhub-tabs,
    .mhub-sub-tabs {
        display: flex !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 5px 0 15px 0 !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mhub-tabs::-webkit-scrollbar,
    .mhub-sub-tabs::-webkit-scrollbar {
        display: none;
    }

    .mhub-tab,
    .mhub-sub-tab {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    /* Metraj Cetveli Tablet Exception */
    .mhub-metraj-fullscreen {
        flex-direction: row !important;
        overflow: hidden !important;
        position: fixed !important;
        margin-top: 0 !important;
        z-index: 10000 !important;
    }

    .sidebar-footer,
    .sidebar-toggle-btn {
        display: none !important;
    }
}

/* Hide toggle on desktop */
.mhub-mobile-toggle {
    display: none;
}