/* Giyimsan App — global theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --app-bg: #eef2f7;
    --app-surface: #ffffff;
    --app-surface-muted: #f8fafc;
    --app-border: #e2e8f0;
    --app-border-light: #f1f5f9;
    --app-text: #0f172a;
    --app-text-muted: #64748b;
    --app-primary: #2563eb;
    --app-primary-dark: #1d4ed8;
    --app-primary-soft: #eff6ff;
    --app-success: #059669;
    --app-danger: #dc2626;
    --app-warning: #d97706;
    --app-header-bg: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1e40af 100%);
    --app-radius: 12px;
    --app-radius-sm: 8px;
    --app-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
    --app-shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.04), 0 16px 40px rgba(15, 23, 42, 0.1);
    --app-font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html, body {
    font-family: var(--app-font);
    background: var(--app-bg);
    color: var(--app-text);
    -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.app-main {
    min-height: calc(100vh - 56px);
    padding: 1.25rem 1rem 2rem;
}

.app-container {
    max-width: 1600px;
    margin: 0 auto;
}

/* ── Header / Menu ── */
.app-header {
    background: var(--app-header-bg);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.18);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.app-header .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.app-header .card-body {
    padding: 0 !important;
}

.app-header .dxbl-menu,
.app-header .dxbs-menu {
    background: transparent !important;
    border: none !important;
}

.app-header .dxbl-menu-item-text,
.app-header .dxbl-menu-title,
.app-header .dxbs-menu .nav-link,
.app-header .dx-menu-item-text {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 500;
    font-size: 13px;
}

.app-header .dxbl-menu-item:hover .dxbl-menu-item-text,
.app-header .dxbs-menu .nav-link:hover {
    color: #fff !important;
}

.app-header .dxbl-menu-title {
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: -0.02em;
}

/* Menü ikonları — koyu header üzerinde beyaz */
.app-header .oi,
.app-header .oi:before,
.app-header .menu-icon,
.app-header .dxbl-menu-item-icon,
.app-header .dxbl-menu-item .dxbl-image,
.app-header .dxbl-menu-hamburger-button {
    color: rgba(255, 255, 255, 0.92) !important;
    opacity: 1 !important;
}

.app-header .menu-icon {
    background-color: rgba(255, 255, 255, 0.92) !important;
}

.app-header .dxbl-menu-item:hover .oi,
.app-header .dxbl-menu-item:hover .oi:before,
.app-header .dxbl-menu-item:hover .menu-icon {
    color: #fff !important;
    background-color: #fff !important;
}

/* Açılır alt menü — açık zemin, koyu ikon */
.dxbl-menu-dropdown .oi,
.dxbl-menu-dropdown .oi:before,
.dxbl-menu-dropdown .menu-icon,
.dxbl-popup.dxbl-menu-popup .oi,
.dxbl-popup.dxbl-menu-popup .menu-icon {
    color: #475569 !important;
    background-color: #475569 !important;
    opacity: 1 !important;
}

.app-header .dxbl-menu-hamburger-button:hover {
    color: #fff !important;
}

.app-user-panel {
    min-width: 220px;
    padding: 0.5rem;
}

.app-user-panel .user-name-title {
    font-weight: 600;
    color: var(--app-text) !important;
    font-size: 13px;
}

.app-user-panel .btn-link {
    color: var(--app-danger) !important;
    font-weight: 500;
    text-decoration: none;
}

.app-user-panel .btn-link:hover {
    text-decoration: underline;
}

/* ── Page panels (auto-styles existing pages) ── */
.control-section,
.col-lg-12.control-section {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow);
    padding: 1.25rem 1.35rem 1.5rem;
    margin-bottom: 1rem;
}

.control-section > .row:first-child,
.control-section > h5:first-child {
    margin-bottom: 0.25rem;
}

.control-section h5,
.page-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--app-text);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--app-text-muted);
    font-size: 0.875rem;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

/* Filter toolbar rows inside pages */
.control-section > .row.align-items-center,
.control-section > .row.align-items-end {
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border-light);
    border-radius: var(--app-radius-sm);
    padding: 0.85rem 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0.75rem;
}

.control-section .form-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--app-text-muted);
    margin-bottom: 0.25rem;
}

/* ── Grids ── */
.gridfontsize,
.user-mgmt-grid,
.app-grid-wrap {
    font-size: 12px !important;
}

.app-grid-wrap .dxbl-grid,
.gridfontsize .dxbl-grid,
.app-list-page .dxbl-grid {
    border-radius: var(--app-radius-sm);
    overflow: hidden;
    border: 1px solid var(--app-border) !important;
    box-shadow: var(--app-shadow);
    background: var(--app-surface);
}

.gridfontsize .dxbl-grid-header-row,
.gridfontsize .dxbl-grid-header,
.app-grid-wrap .dxbl-grid-header-row,
.app-grid-wrap .dxbl-grid-header,
.app-list-page .dxbl-grid-header-row,
.app-list-page .dxbl-grid-header {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--app-text-muted);
    border-bottom: 2px solid var(--app-border) !important;
}

.gridfontsize .dxbl-grid-data-row:hover,
.gridfontsize .dxbl-grid-row:hover,
.app-grid-wrap .dxbl-grid-data-row:hover,
.app-grid-wrap .dxbl-grid-row:hover,
.app-list-page .dxbl-grid-data-row:hover,
.app-list-page .dxbl-grid-row:hover {
    background: var(--app-primary-soft) !important;
}

.gridfontsize .dxbl-grid-data-row:nth-child(even),
.app-grid-wrap .dxbl-grid-data-row:nth-child(even),
.app-list-page .dxbl-grid-data-row:nth-child(even) {
    background: #fafbfc;
}

.gridfontsize .dxbl-grid-data-row:nth-child(even):hover,
.app-grid-wrap .dxbl-grid-data-row:nth-child(even):hover,
.app-list-page .dxbl-grid-data-row:nth-child(even):hover {
    background: var(--app-primary-soft) !important;
}

.gridfontsize .dxbl-grid-pager,
.app-grid-wrap .dxbl-grid-pager,
.app-list-page .dxbl-grid-pager {
    background: var(--app-surface-muted) !important;
    border-top: 1px solid var(--app-border) !important;
    padding: 0.5rem 0.75rem !important;
}

.gridfontsize .dxbl-grid-pager .dxbl-btn,
.app-grid-wrap .dxbl-grid-pager .dxbl-btn,
.app-list-page .dxbl-grid-pager .dxbl-btn {
    border-radius: 6px !important;
    font-weight: 600;
    min-width: 2rem;
}

/* ── List page layout ── */
.app-list-page {
    margin-bottom: 1rem;
}

.app-list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.app-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.app-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 12px;
    font-weight: 500;
    color: var(--app-text-muted);
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
}

.app-stat-chip strong {
    color: var(--app-text);
    font-weight: 700;
}

.app-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 12px;
    font-weight: 500;
    color: var(--app-text-muted);
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    white-space: nowrap;
}

.app-live-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--app-success);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    animation: app-pulse-dot 2s ease-in-out infinite;
}

@keyframes app-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.85); }
}

.app-grid-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    align-items: center;
}

.app-act {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.28rem 0.6rem;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
    white-space: nowrap;
    background: transparent;
}

.app-act:hover {
    transform: translateY(-1px);
}

.app-act-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.app-act-danger:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

.app-act-neutral {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.app-act-neutral:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.app-act-primary {
    background: var(--app-primary-soft);
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.app-act-primary:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}

.app-act-success {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.app-act-success:hover {
    background: #d1fae5;
    border-color: #6ee7b7;
}

.app-limit-value {
    font-weight: 700;
    color: #0f766e;
    font-variant-numeric: tabular-nums;
}

.app-office-badge {
    display: inline-block;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.03em;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    padding: 0.15rem 0.45rem;
}

.app-curr-code {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 11px;
    color: #475569;
    font-weight: 600;
}

.control-section .dxbl-grid,
.control-section .dxbs-grid,
.control-section .e-grid {
    border-radius: var(--app-radius-sm);
    overflow: hidden;
    border: 1px solid var(--app-border) !important;
}

.control-section .dxbl-grid-header-row,
.control-section .dxbl-grid-header {
    background: var(--app-surface-muted) !important;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--app-text-muted);
}

.control-section .dxbl-grid-data-row:hover,
.control-section .dxbl-grid-row:hover {
    background: var(--app-primary-soft) !important;
}

/* ── Buttons ── */
.button-marg {
    margin-right: 0.35rem;
}

.control-section .dxbl-btn-primary,
.control-section .dx-button-primary,
.control-section .btn-primary {
    background: var(--app-primary) !important;
    border-color: var(--app-primary) !important;
    border-radius: var(--app-radius-sm) !important;
    font-weight: 600;
    font-size: 13px;
    padding: 0.45rem 1rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.control-section .dxbl-btn-primary:hover,
.control-section .btn-primary:hover {
    background: var(--app-primary-dark) !important;
}

.control-section .dxbl-btn-secondary,
.control-section .btn-secondary {
    border-radius: var(--app-radius-sm) !important;
    font-weight: 500;
    font-size: 13px;
}

.grid-btn-link {
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* ── Alerts ── */
.alert {
    border: none;
    border-radius: var(--app-radius-sm);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--app-shadow);
}

.alert-success {
    background: #ecfdf5;
    color: #047857;
    border-left: 4px solid var(--app-success);
}

.alert-danger {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid var(--app-danger);
}

.alert-info {
    background: var(--app-primary-soft);
    color: #1e40af;
    border-left: 4px solid var(--app-primary);
}

.alert-warning {
    background: #fffbeb;
    color: #b45309;
    border-left: 4px solid var(--app-warning);
}

/* ── Stats / meta text ── */
.text-muted,
.control-section .text-muted {
    color: var(--app-text-muted) !important;
    font-size: 12px;
}

/* ── Home dashboard ── */
.app-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.app-dash-card {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    padding: 1.25rem;
    box-shadow: var(--app-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.app-dash-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--app-shadow-lg);
    border-color: #bfdbfe;
}

.app-dash-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.app-dash-card-icon.blue { background: #dbeafe; color: #1d4ed8; }
.app-dash-card-icon.green { background: #d1fae5; color: #047857; }
.app-dash-card-icon.amber { background: #fef3c7; color: #b45309; }
.app-dash-card-icon.slate { background: #e2e8f0; color: #475569; }
.app-dash-card-icon.purple { background: #ede9fe; color: #6d28d9; }

.app-dash-card h6 {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 0.25rem;
    color: var(--app-text);
}

.app-dash-card p {
    font-size: 12px;
    color: var(--app-text-muted);
    margin: 0;
}

.app-welcome-banner {
    background: var(--app-header-bg);
    color: #fff;
    border-radius: var(--app-radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--app-shadow-lg);
}

.app-welcome-banner h4 {
    font-weight: 700;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.app-welcome-banner p {
    opacity: 0.85;
    margin: 0;
    font-size: 14px;
}

/* ── Popups ── */
.doc-popup-clean .dxbl-popup-content,
.doc-popup-clean .dx-popup-content {
    border-radius: var(--app-radius-sm);
}

/* Popup solid arka plan — mobilde şeffaflık sorunu */
.dxbl-popup-root,
.dxbl-popup-dialog {
    background: #ffffff !important;
}
.dxbl-popup-header {
    background: #ffffff !important;
}
.dxbl-popup-body {
    background: #ffffff !important;
}
.dxbl-popup-footer {
    background: #f8f9fa !important;
}
/* Modal backdrop koyu overlay */
.dxbl-modal-root .dxbl-modal-backdrop,
.dxbl-modal-backdrop {
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* ── Syncfusion inputs in filter bars ── */
.control-section .e-input-group,
.control-section .e-control-wrapper {
    border-radius: var(--app-radius-sm) !important;
}

.control-section .e-input-group:not(.e-disabled):not(.e-success):not(.e-warning):not(.e-error):hover {
    border-color: #93c5fd !important;
}

/* ── Spinner overlay area ── */
.control-section .e-spinner-pane {
    border-radius: var(--app-radius-sm);
}

/* ── Global loading overlay ── */
.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    padding: 1rem;
}

.app-loading-panel {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-lg);
    padding: 1.75rem 2rem;
    min-width: 240px;
    max-width: 90vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.app-loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid var(--app-border);
    border-top-color: var(--app-primary);
    border-radius: 50%;
    animation: app-loading-spin 0.75s linear infinite;
}

@keyframes app-loading-spin {
    to { transform: rotate(360deg); }
}

.app-loading-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--app-text);
}

.app-loading-detail {
    margin: 0;
    font-size: 13px;
    color: var(--app-text-muted);
    line-height: 1.4;
}

/* ── Document status colors (global) ── */
.doc-ok {
    color: var(--app-success) !important;
    font-weight: 600;
}

.doc-missing {
    color: var(--app-danger) !important;
    font-weight: 600;
}

.doc-clickable {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Scrollbar (webkit) ── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--app-border-light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ── Login page ── */
body:has(#account) {
    background: var(--app-bg);
}

#account {
    max-width: 400px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--app-surface);
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-lg);
    border: 1px solid var(--app-border);
}

#account .form-floating {
    margin-bottom: 1rem;
}

#account .form-control {
    border-radius: var(--app-radius-sm);
    border-color: var(--app-border);
}

#account .btn-primary {
    width: 100%;
    padding: 0.65rem;
    font-weight: 600;
    border-radius: var(--app-radius-sm);
    background: var(--app-primary);
    border-color: var(--app-primary);
    margin-top: 0.5rem;
}

header .navbar {
    background: var(--app-header-bg) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15);
}

header .navbar-brand,
header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   MOBİL / TABLET — telefon deneyimi
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
    .app-main {
        padding: 0.65rem 0.5rem 1.25rem;
    }

    .control-section,
    .col-lg-12.control-section {
        padding: 0.85rem 0.75rem 1rem;
        border-radius: var(--app-radius-sm);
        margin-bottom: 0.65rem;
    }

    /* Filtre satırları: tek sütun, tam genişlik */
    .control-section > .row.align-items-center > [class*="col-"],
    .control-section > .row.align-items-end > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 0.5rem;
    }

    .control-section > .row.align-items-center,
    .control-section > .row.align-items-end {
        padding: 0.65rem 0.75rem;
    }

    .control-section > .row .d-flex.gap-2,
    .control-section > .row .d-flex.gap-1 {
        flex-wrap: wrap;
        width: 100%;
    }

    .control-section > .row .dxbl-btn,
    .control-section > .row .dx-button,
    .control-section > .row .btn {
        flex: 1 1 auto;
        min-height: 44px;
    }

    .app-list-header {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .app-list-meta {
        gap: 0.35rem;
    }

    .app-stat-chip,
    .app-live-badge {
        font-size: 11px;
        padding: 0.25rem 0.55rem;
    }

    .page-title {
        font-size: 1rem;
    }

    .page-subtitle {
        font-size: 0.8rem;
    }

    /* Tablolar: yatay kaydırma, parmak dostu */
    .app-grid-wrap,
    .gridfontsize,
    .user-mgmt-grid {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding-bottom: 0.25rem;
    }

    .app-grid-wrap .dxbl-grid,
    .gridfontsize .dxbl-grid {
        min-width: 720px;
    }

    /* Dokunma hedefleri */
    .app-act {
        min-height: 36px;
        padding: 0.4rem 0.65rem;
        font-size: 12px;
    }

    .app-grid-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .app-grid-actions .app-act {
        width: 100%;
    }

    /* Popup'lar tam ekrana yakın — mobil */
    .dxbl-popup,
    .dx-popup {
        max-width: calc(100vw - 1rem) !important;
        width: calc(100vw - 1rem) !important;
    }
    .dxbl-popup-root,
    .dxbl-popup-dialog {
        background: #ffffff !important;
        max-height: 95vh !important;
    }
    .dxbl-popup-body {
        background: #ffffff !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .app-welcome-banner {
        padding: 1rem 1.1rem;
    }

    .app-welcome-banner h4 {
        font-size: 1.1rem;
    }

    .app-dashboard {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .app-dash-card {
        padding: 1rem;
    }

    /* Menü başlığı kısalt */
    .app-header .dxbl-menu-title {
        font-size: 13px !important;
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-header .dxbl-menu-hamburger-button {
        min-width: 44px;
        min-height: 44px;
    }

    /* Syncfusion / DevExpress input yüksekliği */
    .control-section .e-input-group input,
    .control-section .e-control-wrapper,
    .control-section .dxbl-text-edit-input {
        min-height: 44px;
        font-size: 16px; /* iOS zoom engelleme */
    }

    .email-input-group {
        flex-direction: column;
    }

    .email-domain-suffix {
        border-left: none;
        border-top: 1px solid var(--app-border);
        justify-content: center;
        padding: 0.4rem;
    }

    .user-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .app-header .dxbl-menu-title {
        max-width: 100px;
    }

    .control-section .dxbl-grid-pager,
    .gridfontsize .dxbl-grid-pager {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* iPhone çentik / home bar */
@supports (padding: max(0px)) {
    .app-main {
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    }

    .app-header {
        padding-top: env(safe-area-inset-top);
    }
}
