.default-mobile-header-lab {
    --mh-surface: var(--bg-card);
    --mh-soft: var(--bg-input);
    --mh-border: var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    min-height: 100vh;
}

.dmh-header {
    background-color: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    z-index: 10000;
}

.dmh-bar {
    min-height: 70px;
}

.dmh-brand {
    min-width: 0;
    color: var(--text-main);
}

.dmh-logo {
    width: auto;
    max-width: 200px;
    max-height: 48px;
    object-fit: contain;
}

.dmh-logo-fallback {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
}

.dmh-brand-title {
    display: block;
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.dmh-actions {
    flex: 0 0 auto;
}

.dmh-icon-btn,
.dmh-menu-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px var(--shadow-color);
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.dmh-icon-btn:hover,
.dmh-menu-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.06);
}

.dmh-menu-btn {
    border-radius: 12px;
}

.dmh-lang-btn {
    width: auto;
    min-width: 58px;
    padding: 0 8px;
    gap: 6px;
    border-radius: 50rem;
    font-size: 0.76rem;
    font-weight: 800;
}

.dmh-lang-btn img,
.dmh-dropdown-item img {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--border-color);
}

.dmh-currency-btn {
    font-size: 0.88rem;
    font-weight: 800;
}

.dmh-notification-btn {
    position: relative;
}

.dmh-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--danger-color, #ef4444);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    border: 2px solid var(--header-bg);
}

.dmh-dropdown-menu {
    min-width: 220px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
    z-index: 10050;
}

[data-bs-theme="dark"] .dmh-dropdown-menu {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.dmh-currency-menu {
    min-width: 128px;
}

.dmh-dropdown-item {
    min-height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-weight: 700;
}

.dmh-dropdown-item small {
    margin-left: auto;
    color: var(--text-muted);
    font-weight: 800;
}

.dmh-dropdown-item:hover,
.dmh-dropdown-item.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.dmh-dropdown-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 8px 10px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.dmh-dropdown-heading a {
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.dmh-notification-menu {
    width: min(320px, calc(100vw - 24px));
}

.dmh-notification-item {
    display: block;
    padding: 10px 8px;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
}

.dmh-notification-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--text-main);
}

.dmh-notification-item span {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
}

.dmh-notification-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.76rem;
    margin-top: 2px;
}

.dmh-pill {
    min-height: 38px;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.dmh-pill:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.dmh-pill-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
}

.dmh-pill-primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.dmh-pill-balance {
    padding-left: 6px;
}

.dmh-pill-balance i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
}

.dmh-desktop-nav {
    display: none;
}

.dmh-desktop-nav a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 50rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.dmh-desktop-nav a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.08);
}

.dmh-offcanvas {
    --dmh-header-space: 71px;
    --dmh-bottom-nav-space: calc(58px + env(safe-area-inset-bottom));
    --bs-offcanvas-width: min(340px, calc(100vw - 58px));
    top: var(--dmh-header-space);
    right: 0;
    bottom: var(--dmh-bottom-nav-space);
    left: auto;
    width: var(--bs-offcanvas-width);
    height: auto;
    max-height: none;
    border-radius: 0;
    background: var(--bg-body);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-right: 0;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
    z-index: 1045;
    transform: translateX(105%);
}

.dmh-offcanvas.showing,
.dmh-offcanvas.show:not(.hiding) {
    transform: none;
}

[data-bs-theme="dark"] .dmh-offcanvas {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.dmh-offcanvas::before {
    content: none;
}

.offcanvas-backdrop.show {
    opacity: 0 !important;
}

.offcanvas-backdrop {
    z-index: 1040;
}

.dmh-offcanvas .offcanvas-header {
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--border-color);
    background: var(--header-bg);
}

@media (max-width: 575.98px) {
    .dmh-offcanvas {
        --dmh-header-space: 70px;
        --dmh-bottom-nav-space: calc(58px + env(safe-area-inset-bottom));
        --bs-offcanvas-width: min(332px, calc(100vw - 48px));
    }
}

.dmh-offcanvas .offcanvas-body {
    overflow-y: auto;
    padding: 14px 14px 18px;
}

.dmh-card,
.dmh-user-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.dmh-user-card {
    padding: 14px;
}

.dmh-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
}

.dmh-section-label {
    color: var(--text-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dmh-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dmh-menu-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-card);
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dmh-menu-tile:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.05);
}

.dmh-menu-tile i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

.dmh-menu-tile span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.15;
}

.dmh-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dmh-drawer-primary,
.dmh-drawer-secondary {
    min-height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dmh-drawer-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.22);
}

.dmh-drawer-primary:hover {
    color: #fff;
    filter: brightness(1.05);
}

.dmh-drawer-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.dmh-drawer-secondary:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.06);
}

.dmh-drawer-section {
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: var(--bg-card);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.dmh-drawer-nav {
    display: grid;
    gap: 6px;
}

.dmh-drawer-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 10px;
    border-radius: 12px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.18s ease;
}

.dmh-drawer-nav a:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.08);
}

.dmh-drawer-nav i {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    flex: 0 0 auto;
}

.dmh-drawer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dmh-drawer-chips a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-body);
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 800;
}

.dmh-drawer-chips a.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.dmh-drawer-chips img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

.dmh-test-section {
    padding: 34px 0;
}

.dmh-test-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.dmh-demo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-body);
}

.dmh-demo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .dmh-desktop-nav {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .dmh-test-section {
        padding: 54px 0;
    }
}

@media (max-width: 575.98px) {
    .dmh-brand {
        max-width: 50vw;
    }

    .dmh-logo {
        max-width: 160px;
        max-height: 42px;
    }

    .dmh-brand-title {
        max-width: 40vw;
    }

    .dmh-menu-grid {
        grid-template-columns: 1fr;
    }

    .dmh-icon-btn,
    .dmh-menu-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .dmh-lang-btn {
        min-width: 48px;
        padding: 0 6px;
        gap: 4px;
    }

    .dmh-lang-btn img {
        width: 18px;
        height: 14px;
    }
}

/* ==============================
   ADMIN SINGLE TOGGLE MENÜ
   ============================== */

.dmh-admin-toggle-wrapper {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e5e7eb);
    background: var(--bg-card, #fff);
    transition: border-color 0.2s ease;
}

.dmh-admin-toggle-wrapper.open {
    border-color: rgba(var(--primary-rgb, 99, 102, 241), 0.3);
}

/* Ana toggle butonu */
.dmh-admin-toggle-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border: none;
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.06);
    color: var(--text-main, #1f2937);
    font-size: 0.92rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dmh-admin-toggle-btn:hover {
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.1);
}

.dmh-admin-toggle-btn > i:first-child {
    font-size: 1.1rem;
    color: var(--primary-color, #6366f1);
}

/* Chevron animasyonu */
.dmh-admin-chevron {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.dmh-admin-toggle-wrapper.open .dmh-admin-chevron {
    transform: rotate(180deg);
    opacity: 0.9;
}

/* İçerik paneli - varsayılan kapalı */
.dmh-admin-panel-items {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.dmh-admin-panel-items-inner {
    overflow: hidden;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    transition: padding 0.35s ease;
}

.dmh-admin-toggle-wrapper.open .dmh-admin-panel-items {
    grid-template-rows: 1fr;
}

.dmh-admin-toggle-wrapper.open .dmh-admin-panel-items-inner {
    padding: 6px 10px 10px;
}

/* Kategori başlıkları */
.dmh-admin-cat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 8px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-main, #6b7280);
    opacity: 0.6;
}

.dmh-admin-cat-label i {
    font-size: 0.82rem;
    opacity: 1;
}

/* Menü linkleri */
.dmh-admin-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--text-main, #374151) !important;
    text-decoration: none !important;
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.dmh-admin-item:hover {
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.08);
    color: var(--primary-color, #6366f1) !important;
    transform: translateX(3px);
}

.dmh-admin-item i {
    font-size: 0.9rem;
    opacity: 0.65;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}

/* Ana panel linki vurgusu */
.dmh-admin-item-main {
    font-weight: 700;
    color: var(--primary-color, #6366f1) !important;
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.06);
    border-radius: 10px;
    margin-bottom: 4px;
}

.dmh-admin-item-main i {
    opacity: 1;
    color: var(--primary-color, #6366f1);
}
