/* ==================================================================
   YARDEX MOBILE STYLES (Phones + Tablets)
   ================================================================== */

:root {
    --yardex-mobile-primary: #435677;
    --yardex-mobile-primary-2: #435677;
    --yardex-mobile-accent: #f5a623;
    --yardex-mobile-bg: #f5f7fa;
    --yardex-mobile-surface: #ffffff;
    --yardex-mobile-border: #dbe3ef;
    --yardex-mobile-text: #2b3648;
    --yardex-mobile-muted: #64748b;
    --yardex-mobile-success: #10b981;
    --yardex-mobile-danger: #ef4444;
}

.yardex-mobile-rentals-header h3 {
    margin: 0;
    padding: 0 6px 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--yardex-mobile-text);
}

.mobile-rentals-tabs.e-tab {
    border: none;
    background: transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 6px;
    overflow: hidden;
}

.mobile-rentals-tabs.e-tab .e-tab-header {
    border-bottom: none;
    background: transparent;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar,
.mobile-rentals-tabs.e-tab .e-tab-header .e-hscroll,
.mobile-rentals-tabs.e-tab .e-tab-header .e-hscroll-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    background: transparent;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-item {
    min-width: 0;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-wrap {
    min-height: 34px;
    height: auto;
    padding: 2px 4px 5px;
    background: transparent;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    font-size: 11px;
    font-weight: 500;
    color: #5f6b7a;
    text-decoration: none;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-item.e-active .e-tab-text {
    color: var(--yardex-mobile-text);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.mobile-rentals-tabs.e-tab .e-tab-header .e-indicator,
.mobile-rentals-tabs.e-tab .e-tab-header .e-ink-bar {
    background: transparent !important;
    height: 0 !important;
}

.mobile-rentals-tabs.e-tab .e-content {
    padding: 6px;
    background: transparent;
}

@media (max-width: 420px) {
    .mobile-rentals-tabs.e-tab .e-tab-header .e-toolbar-item .e-tab-text {
        font-size: 10px;
    }
}

/* Base validation styles */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--yardex-mobile-success);
}

.invalid {
    outline: 1px solid var(--yardex-mobile-danger);
}

.validation-message {
    color: var(--yardex-mobile-danger);
}

/* Mobile shell */
.mobile-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background: var(--yardex-mobile-bg);
}

.mobile-layout-blank {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(67, 86, 119, 0.25), transparent 45%), linear-gradient(160deg, #2b3648 0%, #435677 50%, #536889 100%);
    display: flex;
    flex-direction: column;
}

.mobile-layout-blank .navbar-default {
    background: transparent !important;
    box-shadow: none !important;
}

.mobile-layout-blank .yardex-header {
    position: relative !important;
    background: transparent !important;
}

.mobile-layout-blank .mobile-body {
    flex: 1;
    background: transparent;
}

.mobile-blank-header {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
}

.mobile-blank-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
}

.mobile-blank-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.mobile-blank-logo-dark {
    display: none;
}

.mobile-blank-brand-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-blank-brand {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 750;
    color: #ffffff;
    letter-spacing: 0.1px;
}

.mobile-blank-brand-subtitle {
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.mobile-layout-blank .mobile-body {
    flex: 1;
    padding: 24px 16px 32px;
    background: transparent;
    display: flex;
    flex-direction: column;
}

.mobile-blank-footer {
    padding: 20px 24px;
    background: #2e3d52;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-blank-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-blank-footer-tagline {
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
}

.mobile-blank-footer-copy {
    font-size: clamp(10px, 2.4vw, 12px);
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.2px;
}

.mobile-auth-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    flex: 1;
}

.mobile-auth-card {
    width: 100%;
    max-width: 430px;
    border-radius: 24px;
    padding: 28px 22px 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 255, 0.96) 100%);
    box-shadow: 0 18px 45px rgba(3, 9, 28, 0.35);
    border: 1px solid rgba(148, 177, 236, 0.35);
}

.mobile-auth-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.mobile-auth-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.mobile-auth-brand-name {
    font-size: clamp(22px, 5.2vw, 28px);
    font-weight: 750;
    color: #2e3d52;
    letter-spacing: -0.3px;
}

.mobile-auth-brand {
    display: inline-flex;
    align-items: center;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: clamp(11px, 2.6vw, 13px);
    font-weight: 700;
    letter-spacing: 1px;
    color: #435677;
    background: rgba(29, 78, 216, 0.12);
    margin-bottom: 10px;
}

.mobile-auth-title {
    margin: 0;
    color: #2e3d52;
    font-size: clamp(24px, 5.8vw, 32px);
    font-weight: 750;
    letter-spacing: -0.4px;
}

.mobile-auth-subtitle {
    margin: 8px 0 18px;
    color: #516581;
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.5;
}

.mobile-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-auth-label {
    color: #26344f;
    font-size: clamp(12px, 2.8vw, 14px);
    font-weight: 600;
}

.mobile-auth-input {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    border: 1px solid #cfe0fb;
    background-color: #f8fbff;
    padding: 11px 12px;
    color: #2e3d52;
    font-size: clamp(14px, 3vw, 16px);
}

.mobile-auth-input:focus {
    outline: none;
    border-color: #435677;
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
    background-color: #ffffff;
}

.mobile-auth-password-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.mobile-auth-password-wrap .mobile-auth-input {
    flex: 1;
}

.mobile-auth-password-toggle {
    border: none;
    border-radius: 12px;
    min-width: 52px;
    font-size: 18px;
    color: #435677;
    background: rgba(67, 86, 119, 0.1);
}

.mobile-auth-alert {
    margin-top: 12px;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: clamp(12px, 2.9vw, 14px);
    font-weight: 600;
}

.mobile-auth-alert-error {
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
}

.mobile-auth-alert-success {
    border: 1px solid rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.mobile-auth-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.mobile-auth-forgot-link {
    font-size: clamp(12px, 2.8vw, 14px);
    font-weight: 600;
    color: #435677;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mobile-auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.mobile-auth-submit {
    flex: 1;
    min-height: 48px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #435677 0%, #536889 100%);
    color: #ffffff;
    font-size: clamp(14px, 3.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 18px rgba(67, 86, 119, 0.3);
}

.mobile-auth-submit:disabled {
    opacity: 0.75;
}

.mobile-auth-cancel {
    flex: 1;
    min-height: 48px;
    border: 1.5px solid #435677;
    border-radius: 14px;
    background: transparent;
    color: #435677;
    font-size: clamp(14px, 3.2vw, 16px);
    font-weight: 700;
    letter-spacing: 0.2px;
}

.mobile-auth-footer-copy {
    margin-top: 18px;
    text-align: center;
    font-size: clamp(10px, 2.5vw, 12px);
    color: #9aaec4;
}

/* Mobile user shell (post-login) */
.yardex-mobile-user-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #2b3648 0%, #435677 55%, #536889 100%);
}

.yardex-mobile-user-header {
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2b3648;
    border-bottom: 2px solid var(--yardex-mobile-accent);
}

.yardex-mobile-user-brand-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.yardex-mobile-user-greeting {
    color: rgba(203, 213, 225, 0.9);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 2px;
}

.yardex-mobile-user-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.yardex-mobile-user-notification {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.yardex-mobile-user-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: 1px solid #ffffff;
}

.yardex-mobile-user-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(22px, 5.6vw, 30px);
    font-weight: 700;
}

.yardex-mobile-user-logo {
    width: 72px;
    height: 36px;
    object-fit: contain;
}

.yardex-mobile-user-logout {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid var(--yardex-mobile-accent);
    background: var(--yardex-mobile-accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: clamp(18px, 4.5vw, 22px);
}

.yardex-mobile-user-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 10px 76px;
}

.yardex-mobile-user-content {
    background: #f6f8fb;
    border: 1px solid #cfd8e6;
    border-radius: 10px;
    min-height: calc(100vh - 148px);
    padding: 12px;
}

.yardex-mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 60px;
    border-radius: 0 0 10px 10px;
    background: #ffffff;
    border: 1px solid #d9e0ea;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    z-index: 1002;
}

.yardex-mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #7b8494;
    text-decoration: none;
    font-size: clamp(11px, 2.6vw, 13px);
    font-weight: 600;
    border: none;
    background: transparent;
}

.yardex-mobile-nav-item i {
    font-size: clamp(17px, 4.2vw, 21px);
    line-height: 1;
}

.yardex-mobile-nav-item.active {
    color: var(--yardex-mobile-accent);
    font-weight: 700;
}

.yardex-mobile-nav-item.active::before {
    content: '';
    position: absolute;
    left: 18%;
    right: 18%;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--yardex-mobile-accent);
}

.yardex-mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 36, 54, 0.45);
    z-index: 1005;
}

.yardex-mobile-menu-sheet {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 76px;
    max-height: 68vh;
    overflow-y: auto;
    border-radius: 14px;
    border: 1px solid #d9e0ea;
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.24);
    z-index: 1006;
}

.yardex-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid #e7edf6;
}

.yardex-mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2b3648;
}

.yardex-mobile-menu-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d7deea;
    background: #f8fafd;
    color: #4b5565;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yardex-mobile-menu-groups {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.yardex-mobile-menu-group {
    border: 1px solid #e1e8f1;
    border-radius: 10px;
    background: #f9fbff;
}

.yardex-mobile-menu-group-btn {
    width: 100%;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.yardex-mobile-submenu-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 10px 10px;
}

.yardex-mobile-submenu-item {
    border-radius: 8px;
    border: 1px solid #dfe6f1;
    background: #ffffff;
    text-decoration: none;
    color: #4b5565;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 10px;
}

.yardex-mobile-submenu-item.active {
    color: var(--yardex-mobile-accent);
    border-color: rgba(245, 166, 35, 0.6);
    background: rgba(245, 166, 35, 0.1);
}

.yardex-mobile-dashboard {
    min-height: calc(100vh - 184px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── Attention Banner ── */
.ymdash-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fffbea;
    border: 1px solid #f5c842;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.82rem;
    color: #7a4f00;
    line-height: 1.4;
}

.ymdash-alert-icon {
    color: #d97706;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Section Labels ── */
.ymdash-section-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0 2px;
    margin-bottom: -4px;
}

/* ── KPI 2×2 Grid ── */
.ymdash-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ymdash-kpi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ymdash-kpi-value {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.ymdash-kpi-label {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.ymdash-kpi-sub {
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
}

.ymdash-sub-green  { color: #16a34a; }
.ymdash-sub-orange { color: #ea580c; }
.ymdash-sub-red    { color: #dc2626; }


.yardex-mobile-dashboard-content i {
    font-size: clamp(44px, 11vw, 62px);
    color: #9ba3b0;
}

.yardex-mobile-dashboard-content h2 {
    margin: 12px 0 6px;
    font-size: clamp(28px, 7.5vw, 42px);
    color: #2b3648;
}

.yardex-mobile-dashboard-content p {
    margin: 0 auto 12px;
    max-width: 320px;
    font-size: clamp(16px, 4.2vw, 24px);
    line-height: 1.35;
}

.yardex-mobile-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #f9e8b8;
    color: #9c5a00;
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 700;
    letter-spacing: 0.7px;
}

/* Header */
.mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 16px;
    background: linear-gradient(135deg, var(--yardex-mobile-primary) 0%, var(--yardex-mobile-primary-2) 100%);
    border-bottom: 2px solid var(--yardex-mobile-accent);
    box-shadow: 0 2px 10px rgba(15, 42, 102, 0.18);
    z-index: 999;
}

.header-left,
.header-right {
    display: flex;
    align-items: center;
    min-width: 50px;
}

.header-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.header-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-title {
    font-size: clamp(20px, 5vw, 26px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.3px;
}

/* Mobile body */
.mobile-body {
    flex: 1;
    overflow-y: auto;
    padding-top: 60px;
    padding-bottom: 110px;
    scroll-behavior: smooth;
}

    .mobile-body::-webkit-scrollbar {
        width: 6px;
    }

    .mobile-body::-webkit-scrollbar-track {
        background: transparent;
    }

    .mobile-body::-webkit-scrollbar-thumb {
        background: #b7c5dc;
        border-radius: 3px;
    }

        .mobile-body::-webkit-scrollbar-thumb:hover {
            background: #8ea3c4;
        }

/* Chart shell */
.chart-shell {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

@media (max-width: 767px) {
    .chart-shell {
        margin-left: calc(-1 * var(--card-padding, 16px));
        margin-right: calc(-1 * var(--card-padding, 16px));
        width: calc(100% + (2 * var(--card-padding, 16px)));
    }
}

/* Syncfusion chart text tuning */
.e-chart svg text[id*='AxisLabel'],
.e-chart svg text[id*='axis-label'],
.e-chart .e-axis-label {
    font-size: 10px !important;
    font-weight: 500 !important;
    fill: #5b6f8f !important;
    text-anchor: middle !important;
}

.e-chart svg text[id*='AxisTitle'],
.e-chart svg text[id*='axis-title'],
.e-chart .e-axis-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    fill: var(--yardex-mobile-text) !important;
}

.e-chart .e-datalabel text,
.e-chart svg .e-datalabel text,
.e-chart svg text[id*='DataLabel'],
.e-chart svg text[id*='data-label'] {
    font-size: 10px !important;
    font-weight: 700 !important;
    fill: var(--yardex-mobile-primary) !important;
}

/* Bottom navigation */
.mobile-nav-bar {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--yardex-mobile-surface);
    border-top: 1px solid var(--yardex-mobile-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(15, 42, 102, 0.08);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
    color: var(--yardex-mobile-muted);
    font-size: clamp(11px, 2.8vw, 13px);
    font-weight: 500;
    transition: all .2s ease;
    border: none;
    background: none;
    padding: 0;
    gap: 4px;
    position: relative;
}

    .nav-item i {
        font-size: clamp(18px, 4.6vw, 22px);
        transition: all .2s ease;
    }

    .nav-item .nav-label {
        font-size: clamp(10px, 2.4vw, 12px);
        letter-spacing: .3px;
    }

    .nav-item:hover {
        color: var(--yardex-mobile-primary);
        background: rgba(15, 42, 102, 0.06);
    }

    .nav-item.active {
        color: var(--yardex-mobile-primary);
        font-weight: 700;
    }

        .nav-item.active::before {
            content: '';
            position: absolute;
            top: 0;
            left: 20%;
            right: 20%;
            height: 3px;
            background: var(--yardex-mobile-accent);
            border-radius: 0 0 2px 2px;
        }

        .nav-item.active i {
            transform: scale(1.1);
        }

    .nav-item.nav-center i {
        font-size: clamp(22px, 5vw, 26px);
        color: var(--yardex-mobile-primary-2);
    }

/* Footer */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--yardex-mobile-surface);
    border-top: 1px solid var(--yardex-mobile-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 999;
    box-shadow: 0 -2px 8px rgba(15, 42, 102, 0.05);
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
}

.footer-text {
    font-size: clamp(11px, 2.8vw, 13px);
    color: var(--yardex-mobile-muted);
    font-weight: 500;
}

/* Splash */
.splash-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--yardex-mobile-primary) 0%, #0a1f4e 100%);
    color: #fff;
}

.splash-content {
    text-align: center;
    animation: fadeIn .5s ease-in;
}

.splash-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 24px;
    animation: slideDown .6s ease-out;
}

.splash-title {
    font-size: clamp(34px, 9vw, 46px);
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.8px;
    animation: slideDown .6s ease-out .1s both;
}

.splash-spinner {
    animation: slideDown .6s ease-out .2s both;
}

    .splash-spinner .spinner-border {
        width: 3rem;
        height: 3rem;
        border-width: .3rem;
        border-color: rgba(255, 255, 255, .2);
        border-right-color: var(--yardex-mobile-accent);
    }

.splash-text {
    font-size: clamp(14px, 3.6vw, 18px);
    color: rgba(255, 255, 255, .88);
    letter-spacing: .5px;
    font-weight: 500;
}

.mobile-rentals-tab-content {
    padding: 12px 0;
}

.mobile-rental-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: var(--yardex-mobile-muted);
    font-size: 14px;
    gap: 8px;
}

    .mobile-rental-loading .spinner-border-sm {
        width: 1.2rem;
        height: 1.2rem;
        border-width: .2em;
    }

/* ==================================================================
   MOBILE RENTAL ACCORDION COMPONENT STYLES
   ================================================================== */

.mobile-rental-container {
    width: 100%;
    padding: 0;
}

.mobile-rental-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--yardex-mobile-muted);
    text-align: center;
}

    .mobile-rental-empty i {
        font-size: 48px;
        margin-bottom: 16px;
        opacity: 0.5;
    }

    .mobile-rental-empty p {
        font-size: 14px;
        margin: 0;
    }

/* ACCORDION WRAPPER */
.mobile-rental-accordion {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 6px;
}

.mobile-rental-accordion .accordion-item {
    border: 1px solid var(--yardex-mobile-border);
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--yardex-mobile-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.mobile-rental-accordion .accordion-header {
    padding: 0;
    margin-bottom: 0;
    background: transparent;
}

.mobile-rental-accordion .accordion-button {
    padding: 12px;
    border: none;
    background: var(--yardex-mobile-surface);
    border-radius: 10px;
    color: inherit;
    font-weight: normal;
}

    .mobile-rental-accordion .accordion-button:hover {
        background: var(--yardex-mobile-surface);
    }

    .mobile-rental-accordion .accordion-button:not(.collapsed) {
        background: var(--yardex-mobile-surface);
        box-shadow: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: 1px solid var(--yardex-mobile-border);
    }

    .mobile-rental-accordion .accordion-button::after {
        content: '';
        flex-shrink: 0;
        width: 1.25rem;
        height: 1.25rem;
        margin-left: auto;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23435677' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-size: 1.25rem;
        transition: transform 0.2s ease;
    }

    .mobile-rental-accordion .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
    }

/* HEADER LAYOUT */
.mobile-rental-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}

.mobile-rental-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.mobile-rental-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* STATUS BADGE */
.mobile-rental-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* HEADER TEXT */
.mobile-rental-header-text {
    flex: 1;
    min-width: 0;
}

.mobile-rental-project-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--yardex-mobile-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-rental-asset-name {
    font-size: 12px;
    color: var(--yardex-mobile-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

/* AMOUNT DISPLAY */
.mobile-rental-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--yardex-mobile-primary);
    flex-shrink: 0;
    text-align: right;
    min-width: 60px;
}

/* CHAT BUTTON */
.mobile-rental-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    background-color: rgba(67, 86, 119, 0.1);
    color: var(--yardex-mobile-primary);
    border: none;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

    .mobile-rental-chat-btn:hover {
        background-color: rgba(67, 86, 119, 0.2);
        transform: scale(1.05);
    }

    .mobile-rental-chat-btn:active {
        transform: scale(0.95);
    }

    .mobile-rental-chat-btn i {
        font-size: 16px;
    }

/* EXPANDED CONTENT */
.mobile-rental-accordion .accordion-collapse {
    border: none;
    background: var(--yardex-mobile-surface);
}

.mobile-rental-accordion .accordion-body {
    padding: 12px;
    border: none;
    background: var(--yardex-mobile-surface);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.mobile-rental-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* INFO GRID */
.mobile-rental-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mobile-rental-info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: var(--yardex-mobile-bg);
    border-radius: 6px;
}

    .mobile-rental-info-row label {
        font-size: 11px;
        font-weight: 600;
        color: var(--yardex-mobile-muted);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-rental-info-row span {
        font-size: 13px;
        color: var(--yardex-mobile-text);
        font-weight: 500;
        word-break: break-word;
    }

.days-left-badge {
    display: inline-block;
    padding: 4px 8px;
    background-color: var(--yardex-mobile-accent);
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* RATES SECTION */
.mobile-rental-rates {
    border-top: 1px solid var(--yardex-mobile-border);
    padding-top: 12px;
}

.mobile-rental-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--yardex-mobile-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.mobile-rental-rate-row,
.mobile-rental-charge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--yardex-mobile-bg);
    font-size: 13px;
}

    .mobile-rental-rate-row:last-child,
    .mobile-rental-charge-row:last-child {
        border-bottom: none;
    }

    .mobile-rental-rate-row span:first-child,
    .mobile-rental-charge-row span:first-child {
        color: var(--yardex-mobile-muted);
    }

    .mobile-rental-rate-row span:last-child,
    .mobile-rental-charge-row span:last-child {
        font-weight: 600;
        color: var(--yardex-mobile-text);
    }

/* CHARGES SECTION */
.mobile-rental-charges {
    border-top: 1px solid var(--yardex-mobile-border);
    padding-top: 12px;
}

/* ALERTS SECTION */
.mobile-rental-alerts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--yardex-mobile-border);
    padding-top: 12px;
}

.mobile-rental-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background-color: rgba(239, 68, 68, 0.1);
    border-left: 3px solid var(--yardex-mobile-danger);
    border-radius: 4px;
    font-size: 13px;
    color: var(--yardex-mobile-text);
}

    .mobile-rental-alert i {
        color: var(--yardex-mobile-danger);
        flex-shrink: 0;
        margin-top: 1px;
    }

/* ACTIONS */
.mobile-rental-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--yardex-mobile-border);
    padding-top: 12px;
}

    .mobile-rental-actions .btn-primary {
        background-color: var(--yardex-mobile-primary);
        border-color: var(--yardex-mobile-primary);
        color: white;
        font-size: 13px;
        font-weight: 600;
        padding: 10px 16px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

        .mobile-rental-actions .btn-primary:hover {
            background-color: #364556;
            border-color: #364556;
        }

        .mobile-rental-actions .btn-primary:active {
            transform: scale(0.98);
        }

/* MOBILE-ONLY ADJUSTMENTS */
@media (max-width: 480px) {
    .mobile-rental-info-grid {
        grid-template-columns: 1fr;
    }

    .mobile-rental-amount {
        min-width: auto;
    }

    .mobile-rental-header {
        gap: 6px;
    }

    .mobile-rental-accordion.e-accordion {
        padding: 0 4px;
    }

    .mobile-rental-accordion.e-accordion .e-accordion-item {
        margin-bottom: 8px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet+ */
@media (min-width: 768px) {
    .e-chart svg text[id*='AxisLabel'],
    .e-chart svg text[id*='axis-label'],
    .e-chart .e-axis-label {
        font-size: 12px !important;
    }

    .e-chart svg text[id*='AxisTitle'],
    .e-chart svg text[id*='axis-title'],
    .e-chart .e-axis-title {
        font-size: 13px !important;
    }

    .e-chart .e-datalabel text,
    .e-chart svg .e-datalabel text,
    .e-chart svg text[id*='DataLabel'],
    .e-chart svg text[id*='data-label'] {
        font-size: 12px !important;
    }
}
