/* 全局样式 */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --accent-color: #0d6efd;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 导航栏 */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    background-color: rgba(255, 255, 255, 0.98) !important;
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.tenant-balance-text {
    font-size: 0.9em;
}

/* 修复 nav-pills 选中时的文字颜色 */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff !important;
    background-color: var(--primary-color);
}

/* 首页 Banner */
.hero-banner {
    background: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
    position: relative;
    color: white;
    padding: 80px 0 60px;
    /* 降低高度 */
    margin-bottom: 40px;
    /* 减少间距 */
    overflow: hidden;
}

/* 装饰性背景圆 */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.hero-title {
    font-size: 2.5rem;
    /* 减小字体 */
    font-weight: 800;
    margin-bottom: 15px;
    /* 减少间距 */
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    /* 减小字体 */
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 25px;
    /* 减少间距 */
}

.hero-search {
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    margin: 0 auto;
    display: flex;
}

.hero-search .form-control {
    height: 55px;
    font-size: 1.1rem;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 25px;
}

.hero-search .btn {
    padding: 0 40px;
    font-size: 1.1rem;
    border-radius: 40px;
    background: linear-gradient(to right, #ff9d00, #ffc107);
    /* 优化渐变色 */
    border: none;
    color: #fff;
    /* 文字改白色显得更高级 */
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 157, 0, 0.3);
    white-space: nowrap;
    /* 防止换行 */
    flex-shrink: 0;
    /* 防止被压缩 */
}

.hero-search .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 157, 0, 0.4);
    color: #fff;
}

/* 章节标题通用 */
.section-title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 服务卡片 */
.service-card {
    border: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--card-shadow);
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, var(--bg-light), #fff);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card img {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card .btn-outline-primary {
    border-radius: 50px;
    padding: 8px 25px;
    border-width: 2px;
    font-weight: 600;
}

.service-card .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.price-tag {
    color: #e63946;
    font-weight: 800;
    font-size: 1.4rem;
}

/* 流程介绍 */
.process-section {
    position: relative;
}

.process-step {
    padding: 20px;
    position: relative;
}

.process-icon-wrapper {
    width: 100px;
    height: 100px;
    line-height: 100px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

.process-step:hover .process-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    color: white;
    background: var(--primary-color);
}

.process-step h4 {
    font-weight: 700;
    margin-bottom: 10px;
}

.process-arrow {
    position: absolute;
    top: 50px;
    right: -50px;
    font-size: 2rem;
    color: #e9ecef;
    z-index: 1;
}

@media (max-width: 768px) {
    .process-arrow {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* 页脚 */
.footer {
    background-color: #212529;
    color: rgba(255, 255, 255, 0.7);
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer h5 {
    color: white;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    margin-bottom: 10px;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

/* 登录/注册页 - 现代高级设计 */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    overflow: hidden;
}

/* 动态背景装饰 */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: float 10s infinite ease-in-out;
}

.auth-wrapper::before {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    top: -100px;
    left: -100px;
}

.auth-wrapper::after {
    background: linear-gradient(to right, #43e97b 0%, #38f9d7 100%);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(20px) scale(1.05);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.auth-header {
    text-align: center;
    margin-bottom: 35px;
}

.auth-header h3 {
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
}

/* 增强的输入框样式 */
.form-label {
    font-weight: 600;
    color: #344767;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-group {
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-group:focus-within {
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateY(-2px);
}

.input-group-text {
    background: transparent;
    border: none;
    color: var(--primary-color);
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1.1rem;
}

.input-group .form-control {
    border: none;
    padding: 12px 15px 12px 5px;
    font-size: 1rem;
    background: transparent;
    box-shadow: none;
}

.input-group .form-control:focus {
    background: transparent;
    box-shadow: none;
}

/* 密码切换按钮 */
.password-toggle {
    background: transparent;
    border: none;
    color: #a0aec0;
    padding: 0 15px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: var(--primary-color);
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #00d2ff 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(13, 110, 253, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
}

/* 复选框和链接 */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    cursor: pointer;
    border-color: #cbd5e0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    cursor: pointer;
    color: #4a5568;
    user-select: none;
}

.auth-card a {
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.2s;
}

.auth-card a:hover {
    color: #0a58ca;
    text-decoration: underline !important;
}

.return-home {
    margin-top: 18px;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.return-home:hover {
    opacity: 1;
}

.return-home a {
    color: #495057;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.return-home a:hover {
    background: white;
    color: var(--primary-color);
    text-decoration: none !important;
    transform: translateY(-2px);
    display: inline-block;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.95);
    }
}

/* 个人中心 - 仪表盘样式 */
.dashboard-container {
    padding: 30px 0;
    min-height: calc(100vh - 76px);
    /* 减去导航栏高度 */
    background-color: #f8f9fa;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(13, 110, 253, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 20%);
}

/* 侧边栏 */
.dashboard-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.user-profile-card {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(0, 210, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.15);
}

.sidebar-menu {
    padding: 15px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #495057;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
    white-space: nowrap;
}

.sidebar-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.sidebar-link.active {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link i {
    font-size: 1.1rem;
    width: 18px;
    flex: 0 0 18px;
    text-align: center;
}

.sidebar-group {
    padding: 4px 0 6px;
}

.sidebar-group-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    justify-content: space-between;
    cursor: pointer;
    color: #0f172a;
    font-weight: 700;
    text-align: left;
}

.sidebar-group-toggle > span {
    min-width: 0;
}

.sidebar-group.active .sidebar-group-toggle,
.sidebar-group.expanded .sidebar-group-toggle {
    color: var(--primary-color);
}

.sidebar-group-label {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.sidebar-group-arrow {
    margin-left: 12px;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.sidebar-group.expanded .sidebar-group-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    position: relative;
    margin: 0 10px 0 30px;
    padding-left: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.22s ease, opacity 0.18s ease, margin-top 0.18s ease;
}

.sidebar-submenu::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(13, 110, 253, 0.14);
}

.sidebar-group.expanded .sidebar-submenu {
    margin-top: 6px;
    opacity: 1;
    max-height: 640px;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: #5b6472;
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-sublink:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.sidebar-sublink.active {
    background-color: rgba(13, 110, 253, 0.08);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-sublink i {
    font-size: 1rem;
    width: 16px;
    flex: 0 0 16px;
    text-align: center;
}

/* 仪表盘统计卡片 */
.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg) translateX(150%);
    transition: 0.5s;
}

.stat-card:hover::after {
    transform: skewX(-20deg) translateX(-250%);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.stat-icon.blue {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
}

.stat-icon.green {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.stat-icon.purple {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 现代表格样式 */
.modern-table-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-top: 30px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.table-header h5 {
    font-weight: 700;
    margin: 0;
}

.custom-table th {
    background-color: #f8f9fa;
    border-bottom: none;
    font-weight: 600;
    color: #495057;
    padding: 15px;
}

.custom-table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.status-success {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.status-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* 商标图片悬浮放大效果 */
.tm-img-wrapper {
    position: relative;
    display: inline-block;
}

.tm-img-wrapper .tm-img-preview {
    display: none;
    position: absolute;
    left: 60px;
    top: 0;
    width: 200px;
    height: 200px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 5px;
}

.tm-img-wrapper .tm-img-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tm-img-wrapper:hover .tm-img-preview {
    display: block;
}

.global-toast-container {
    z-index: 9999;
}

.empty-state-icon {
    font-size: 3rem;
}

.copyright-wechat-pay-icon {
    font-size: 40px;
}

/* ===== Notice band (shared header) ===== */
:root {
    --notice-orange: #ff7a1a;
    --notice-line: #dbe4ef;
    --notice-muted: #66758a;
}

.home-notice-band {
    background: #f8fbff;
    border-bottom: 1px solid var(--notice-line);
    color: var(--notice-muted);
    font-size: 13px;
}

.home-notice-band .container {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-notice-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}

.home-notice-text span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-notice-text i {
    color: var(--notice-orange);
    flex-shrink: 0;
}

.home-notice-links {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.home-notice-links a {
    color: #27364a;
    font-weight: 600;
}

.home-notice-links a:hover {
    color: var(--notice-orange);
}

.home-notice-phone {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--notice-orange);
    font-weight: 700;
}

.home-notice-phone i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .home-notice-band .container {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .home-notice-text {
        font-size: 12px;
    }
}

/* ===== Shared nav variables & styles (used by all pages) ===== */
:root {
    --home-ink: #102033;
    --home-muted: #66758a;
    --home-blue: #155bd5;
    --home-blue-dark: #0b3272;
    --home-blue-soft: #eaf2ff;
    --home-orange: #ff7a1a;
    --home-orange-dark: #dc5f00;
    --home-orange-soft: #fff3e8;
    --home-teal: #12a79d;
    --home-line: #dbe4ef;
    --home-page: #f5f8fc;
    --home-surface: #ffffff;
    --home-shadow: 0 16px 36px rgba(18, 45, 82, 0.1);
}

.home-business-page .navbar {
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(219, 228, 239, 0.95);
    background: rgba(255, 255, 255, 0.96) !important;
}

.home-business-page .navbar-brand {
    color: var(--home-blue-dark) !important;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.home-business-page .navbar-brand i {
    color: var(--home-blue);
}

.home-business-page .nav-link {
    color: #25364b !important;
    font-weight: 600;
    margin: 0 6px;
    padding: 8px 10px !important;
    border-radius: 6px;
}

.home-business-page .nav-link:hover,
.home-business-page .nav-link.active {
    color: var(--home-blue) !important;
    background: var(--home-blue-soft);
}

.home-auth-links-hidden {
    display: none !important;
}

.home-nav-tools {
    align-items: center;
    gap: 18px;
}

.home-nav-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #111827;
    font-size: 22px;
}

.home-nav-search:hover {
    color: var(--home-blue);
}

@media (max-width: 767.98px) {
    .tenant-account-page {
        background: #f5f8fc;
    }

    .tenant-account-page .home-notice-band {
        display: none;
    }

    .tenant-account-page .navbar {
        padding: 10px 0;
        box-shadow: 0 1px 0 rgba(219, 228, 239, 0.95);
    }

    .tenant-account-page .navbar-brand {
        max-width: calc(100vw - 128px);
        overflow: hidden;
        font-size: 17px;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .tenant-account-page .dashboard-container {
        min-height: auto;
        padding: 10px 0 calc(var(--home-mobile-cta-height, 78px) + 28px + env(safe-area-inset-bottom));
        background: #f5f8fc;
        background-image: none;
    }

    .tenant-account-page .dashboard-container > .container-fluid {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .tenant-account-page .dashboard-container > .container-fluid > .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-right: 0;
        margin-left: 0;
    }

    .tenant-account-page .dashboard-container > .container-fluid > .row > .col-lg-10 {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .tenant-account-page:not(.user-center-page) .dashboard-container > .container-fluid > .row > .col-lg-2 {
        display: none !important;
        margin-bottom: 0 !important;
    }

    [class*="-mobile-topbar"] {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0 0 10px;
    }

    [class*="-mobile-back"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        min-height: 36px;
        padding: 7px 12px 7px 9px;
        border: 1px solid #dbeafe;
        border-radius: 999px;
        background: #fff;
        color: #0d6efd;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.2;
        text-decoration: none;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    }

    [class*="-mobile-back"]:hover {
        color: #0b5ed7;
        background: #f8fbff;
    }

    [class*="-mobile-back"] .bi {
        font-size: 16px;
        line-height: 1;
    }

    .tenant-account-footer {
        display: none !important;
    }

    .tenant-account-mobile-footer-gap {
        height: calc(var(--home-mobile-cta-height, 78px) + 28px + env(safe-area-inset-bottom));
        background: linear-gradient(180deg, rgba(248, 251, 255, 0), rgba(248, 251, 255, 0.94));
    }
}
