:root {
    --app-bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --border: #e5e7eb;
    --border-strong: #d5dbe6;
    --text: #0f172a;
    --text-soft: #475569;
    --text-muted: #64748b;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-soft: #dbeafe;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --sidebar-bg: #0f172a;
    --sidebar-text: #e2e8f0;
    --sidebar-text-soft: #94a3b8;
    --sidebar-active-bg: rgba(37, 99, 235, 0.18);
    --sidebar-active-border: #60a5fa;
    --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.14);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --layout-sidebar-width: 280px;
    --layout-header-height: 72px;
    --transition: 0.25s ease;
}

html {
    font-size: 15px;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: 100%;
    direction: rtl;
    background: var(--app-bg);
    color: var(--text);
    font-family: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

html,
body {
    overflow: hidden;
}

.app-brand-title,
.app-page-title,
.app-card-title,
.app-sidebar-section-title,
.app-nav-link-text,
.app-footer-copy,
.app-footer-meta {
    font-family: "Heebo", "Assistant", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

.app-brand-title,
.app-page-title,
.app-card-title {
    font-weight: 800;
}

.app-nav-link-text,
.app-sidebar-section-title {
    font-weight: 600;
}
body {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

button,
input,
select,
textarea {
    font: inherit;
}

    button:focus,
    button:active:focus,
    .btn:focus,
    .btn:active:focus,
    .btn-link.nav-link:focus,
    .form-control:focus,
    .form-select:focus,
    .form-check-input:focus {
        box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.15) !important;
        outline: none;
    }

.app-shell {
    min-height: 100vh;
    display: flex;
    background: var(--app-bg);
}

.app-sidebar {
    width: var(--layout-sidebar-width);
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: var(--sidebar-text);
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateX(0);
    transition: transform var(--transition), width var(--transition);
}

html[dir="rtl"] .app-sidebar {
    inset: 0 0 0 auto;
}

.app-sidebar.is-collapsed {
    width: 88px;
}

.app-sidebar-header {
    min-height: var(--layout-header-height);
    padding: 18px 16px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}

.app-brand-logo {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28);
}

.app-brand-text {
    min-width: 0;
    transition: opacity var(--transition), visibility var(--transition);
}

.app-brand-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.app-brand-subtitle {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: var(--sidebar-text-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-sidebar.is-collapsed .app-brand-text,
.app-sidebar.is-collapsed .app-sidebar-section-title,
.app-sidebar.is-collapsed .app-nav-link-text,
.app-sidebar.is-collapsed .app-sidebar-footer-text {
    opacity: 0;
    visibility: hidden;
    width: 0;
    overflow: hidden;
}

.app-sidebar-toggle {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

    .app-sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
    }

.app-sidebar-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 14px 12px 18px;
}

.app-sidebar-section {
    margin-bottom: 20px;
}

.app-sidebar-section-title {
    padding: 10px 12px 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--sidebar-text-soft);
    letter-spacing: 0.02em;
}

.app-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-nav-item {
    margin-bottom: 6px;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--sidebar-text);
    border: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

    .app-nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #fff;
    }

    .app-nav-link.active {
        background: var(--sidebar-active-bg);
        border-color: rgba(96, 165, 250, 0.22);
        color: #fff;
        box-shadow: inset 3px 0 0 var(--sidebar-active-border);
    }

.app-nav-icon {
    width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 1.08rem;
}

.app-nav-link-text {
    font-size: 0.98rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Sidebar hover auto-expand + tooltip */
.app-sidebar {
    overflow: visible;
}

.app-sidebar-body,
.app-sidebar-footer,
.app-nav,
.app-nav-item {
    overflow: visible;
}

.app-nav-link,
.app-sidebar-footer-card {
    position: relative;
}

@media (min-width: 992px) {
    .app-sidebar.is-collapsed .app-nav-link,
    .app-sidebar.is-collapsed .app-sidebar-footer-card {
        justify-content: center;
    }

        .app-sidebar.is-collapsed .app-nav-link::after,
        .app-sidebar.is-collapsed .app-sidebar-footer-card::after {
            content: attr(data-tooltip);
            position: absolute;
            top: 50%;
            right: calc(100% + 14px);
            transform: translateY(-50%) translateX(8px);
            background: rgba(15, 23, 42, 0.96);
            color: #fff;
            padding: 9px 12px;
            border-radius: 12px;
            font-size: 0.84rem;
            font-weight: 700;
            line-height: 1.2;
            white-space: nowrap;
            box-shadow: 0 14px 34px rgba(15, 23, 42, 0.24);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
            z-index: 1200;
        }

        .app-sidebar.is-collapsed .app-nav-link::before,
        .app-sidebar.is-collapsed .app-sidebar-footer-card::before {
            content: "";
            position: absolute;
            top: 50%;
            right: calc(100% + 8px);
            transform: translateY(-50%) translateX(8px);
            border-width: 6px;
            border-style: solid;
            border-color: transparent transparent transparent rgba(15, 23, 42, 0.96);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
            z-index: 1201;
        }

        .app-sidebar.is-collapsed .app-nav-link:hover::after,
        .app-sidebar.is-collapsed .app-nav-link:hover::before,
        .app-sidebar.is-collapsed .app-sidebar-footer-card:hover::after,
        .app-sidebar.is-collapsed .app-sidebar-footer-card:hover::before {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%) translateX(0);
        }

        .app-sidebar.is-collapsed .app-nav-link .app-nav-link-text,
        .app-sidebar.is-collapsed .app-sidebar-footer-text {
            pointer-events: none;
        }
}

.app-sidebar-footer {
    padding: 14px 12px 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.app-sidebar-footer-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    color: var(--sidebar-text);
}

.app-sidebar-footer-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.18);
    color: #93c5fd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.app-sidebar-footer-text {
    min-width: 0;
}

    .app-sidebar-footer-text strong {
        display: block;
        font-size: 0.88rem;
        color: #fff;
    }

    .app-sidebar-footer-text span {
        display: block;
        font-size: 0.76rem;
        color: var(--sidebar-text-soft);
    }

.app-main {
    flex: 1;
    min-width: 0;
    margin-right: var(--layout-sidebar-width);
    transition: margin var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}


html[dir="ltr"] .app-main {
    margin-right: 0;
    margin-left: var(--layout-sidebar-width);
}

.app-shell.sidebar-collapsed .app-main {
    margin-right: 88px;
}

html[dir="ltr"] .app-shell.sidebar-collapsed .app-main {
    margin-left: 88px;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: var(--layout-header-height);
    background: rgba(244, 247, 251, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(213, 219, 230, 0.75);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px;
}

.app-topbar-start,
.app-topbar-end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-mobile-menu-btn,
.app-header-btn {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

    .app-mobile-menu-btn:hover,
    .app-header-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-1px);
    }

.app-mobile-menu-btn {
    display: none;
}

.app-page-headline {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.app-page-title {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text);
}

.app-page-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.app-content {
    flex: 1 1 auto;
    padding: 24px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.app-page-container {
    max-width: 1600px;
    margin: 0 auto;
}

.app-footer {
    margin-top: auto;
    padding: 16px 24px 24px;
}

.app-footer-card {
    max-width: 1600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(213, 219, 230, 0.75);
    color: var(--text-muted);
    border-radius: 18px;
    min-height: 56px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: var(--shadow-sm);
}

.app-footer-copy {
    font-size: 0.92rem;
}

.app-footer-meta {
    font-size: 0.84rem;
}

.app-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.45);
    z-index: 1035;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

    .app-mobile-overlay.show {
        opacity: 1;
        visibility: visible;
    }

/* Generic cards */
.app-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.app-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.app-card-subtitle {
    margin: 4px 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.app-card-body {
    padding: 20px;
}

/* Generic toolbar */
.app-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.app-toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Buttons */
.app-btn {
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}

.app-btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

    .app-btn-primary:hover {
        background: var(--primary-hover);
        color: #fff;
    }

.app-btn-soft {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}

    .app-btn-soft:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

/* Forms */
.app-input,
.app-select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    padding: 10px 14px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

    .app-input::placeholder {
        color: #94a3b8;
    }

    .app-input:focus,
    .app-select:focus {
        border-color: var(--primary);
    }

/* Tables */
.app-table-wrap {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fff;
}

.app-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 860px;
}

    .app-table thead th {
        background: #f8fafc;
        color: var(--text-soft);
        font-size: 0.86rem;
        font-weight: 800;
        padding: 14px 16px;
        border-bottom: 1px solid var(--border);
        white-space: nowrap;
        text-align: right;
    }

    .app-table tbody td {
        padding: 14px 16px;
        border-bottom: 1px solid #eef2f7;
        color: var(--text);
        vertical-align: middle;
        text-align: right;
    }

    .app-table tbody tr:last-child td {
        border-bottom: 0;
    }

    .app-table tbody tr:hover {
        background: #f8fbff;
    }

/* Status badge */
.app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-badge-primary {
    background: var(--primary-soft);
    color: var(--primary-hover);
}

.app-badge-success {
    background: #dcfce7;
    color: #166534;
}

.app-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.app-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Empty state */
.app-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}

    .app-empty i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 68px;
        height: 68px;
        margin-bottom: 14px;
        border-radius: 20px;
        background: #eff6ff;
        color: var(--primary);
        font-size: 1.5rem;
    }

/* Utilities */
.text-muted-soft {
    color: var(--text-muted) !important;
}

.shadow-none {
    box-shadow: none !important;
}

/* =========================================================
   Global Toast / RTL / Bottom Center
   ========================================================= */

.app-toast-host {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: min(92vw, 520px);
    pointer-events: none;
    direction: rtl;
}

.app-toast {
    width: 100%;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid transparent;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(8px);
    background: #ffffff;
    color: #0f172a;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
    overflow: hidden;
    position: relative;
}

    .app-toast.show {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .app-toast.hide {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    .app-toast::after {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 5px;
        border-radius: 0 18px 18px 0;
        background: currentColor;
        opacity: .95;
    }

.app-toast-success {
    background: linear-gradient(180deg, #ffffff 0%, #f6fff8 100%);
    border-color: rgba(34, 197, 94, 0.18);
    color: #15803d;
}

.app-toast-error {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    border-color: rgba(239, 68, 68, 0.18);
    color: #b91c1c;
}

.app-toast-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex: 0 0 auto;
}

.app-toast-success .app-toast-icon {
    background: #dcfce7;
    color: #15803d;
}

.app-toast-error .app-toast-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.app-toast-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.app-toast-title {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
}

.app-toast-text {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    word-break: break-word;
}

.app-toast-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
    flex: 0 0 auto;
}

    .app-toast-close:hover {
        background: rgba(148, 163, 184, 0.12);
        color: #334155;
    }

    .app-toast-close:focus {
        outline: none;
        box-shadow: 0 0 0 0.18rem rgba(37, 99, 235, 0.12);
    }

.app-toast-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: currentColor;
    opacity: .14;
    transform-origin: right center;
    animation: appToastProgress linear forwards;
}

@keyframes appToastProgress {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (max-width: 767.98px) {
    .app-toast-host {
        bottom: 16px;
        width: min(94vw, 520px);
    }

    .app-toast {
        border-radius: 16px;
        padding: 12px 14px;
        gap: 12px;
    }

    .app-toast-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 12px;
    }

    .app-toast-title {
        font-size: 0.92rem;
    }

    .app-toast-text {
        font-size: 0.84rem;
    }
}

@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(100%);
        width: min(86vw, 320px);
    }

    html[dir="ltr"] .app-sidebar {
        transform: translateX(-100%);
    }

    .app-sidebar.show {
        transform: translateX(0);
    }

    .app-main,
    .app-shell.sidebar-collapsed .app-main {
        margin-right: 0;
    }

    html[dir="ltr"] .app-main,
    html[dir="ltr"] .app-shell.sidebar-collapsed .app-main {
        margin-left: 0;
    }

    .app-mobile-menu-btn {
        display: inline-flex;
    }

    .app-topbar {
        padding: 12px 16px;
    }

    .app-content {
        padding: 16px;
    }

    .app-footer {
        padding: 12px 16px 16px;
    }

    .app-footer-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .app-page-title {
        font-size: 1.02rem;
    }

    .app-page-subtitle {
        font-size: 0.84rem;
    }

    .app-card-header,
    .app-card-body {
        padding: 16px;
    }

    .app-toolbar {
        align-items: stretch;
    }

    .app-toolbar-group {
        width: 100%;
    }

    .app-btn {
        width: 100%;
    }

    .app-table {
        min-width: 720px;
    }
}

.app-header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-header-userbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(213, 219, 230, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.app-header-usericon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.app-header-usertext {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 800;
    white-space: nowrap;
}

.app-header-role-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ede9fe;
    color: #6d28d9;
    font-size: 0.78rem;
    font-weight: 900;
}

.app-header-login-btn,
.app-header-logout-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    transition: all .18s ease;
}

.app-header-login-btn {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

    .app-header-login-btn:hover {
        background: #1d4ed8;
        color: #fff;
    }

.app-header-logout-btn {
    background: #fff;
    color: #334155;
    border: 1px solid #dbe3ef;
}

    .app-header-logout-btn:hover {
        border-color: #2563eb;
        color: #2563eb;
    }

@media (max-width: 767.98px) {
    .app-header-usertext strong {
        display: none;
    }

    .app-header-login-btn span,
    .app-header-logout-btn span {
        display: none;
    }

    .app-header-login-btn,
    .app-header-logout-btn {
        min-width: 40px;
        justify-content: center;
        padding: 0 12px;
    }
}
