html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
}

.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('images/tech-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 15px 30px 18px 30px;
    width: 320px;
    max-width: 90%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 15px;
}

.login-header h1 {
    color: #ffffff;
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-header p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-body .login-form .form-group label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 3px;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-body .login-form .form-group input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.8);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 
                inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 工单中心：审核 / 验收 — 单选 + 固定约两行高的说明框 */
.wo-choice-group {
    margin-bottom: 14px;
    font-size: 13px;
    color: #333;
}
.wo-choice-group-title {
    font-weight: 600;
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #333;
}
.wo-radio-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}
.wo-radio-line input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #52c41a;
}
.wo-remark-label {
    display: block;
    font-size: 13px;
    margin: 6px 0 4px 0;
    color: #666;
}
/* 工单详情：七步流程条（与小程序报修→归档一致） */
.wo-flow-title {
    font-weight: 600;
    font-size: 13px;
    margin: 0 0 10px 0;
    color: #333;
}
.wo-flow-bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    margin: 4px 0 16px 0;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
}
.wo-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    min-width: 44px;
}
.wo-flow-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-sizing: border-box;
    background: #f0f0f0;
    color: #999;
}
.wo-flow-step--done .wo-flow-circle {
    background: #52c41a;
    color: #fff;
    border: none;
}
.wo-flow-step--current .wo-flow-circle {
    background: #fff;
    color: #333;
    border: 2px solid #52c41a;
}
.wo-flow-label {
    font-size: 11px;
    margin-top: 5px;
    text-align: center;
    color: #888;
    line-height: 1.2;
    max-width: 52px;
}
.wo-flow-step--done .wo-flow-label {
    color: #52c41a;
}
.wo-flow-step--current .wo-flow-label {
    color: #333;
    font-weight: 600;
}
.wo-flow-line {
    flex: 1 1 8px;
    min-width: 6px;
    height: 2px;
    margin-top: 12px;
    background: #e8e8e8;
    align-self: flex-start;
}
.wo-flow-line--done {
    background: #95de64;
}
.wo-flow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px 0;
    align-items: center;
}
.wo-flow-actions .btn {
    margin: 0;
}

.workorder-remark-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
    font-family: inherit;
    resize: none;
    min-height: calc(1.5em * 2 + 12px);
    max-height: calc(1.5em * 2 + 12px);
    overflow-y: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="tel"] {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    letter-spacing: 1px;
    margin-top: 3px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

.admin-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    height: 100vh;
    width: 100%;
    background: #f5f7fa;
}

.admin-header {
    background: #137C8B;
    color: #ffffff;
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
}

.logo .subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.company-selector {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
}

.user-name {
    font-weight: 500;
    font-size: 16px;
    color: #ffffff;
}

.user-role {
    font-size: 14px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    color: #ffffff;
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.logout-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.main-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    width: 100%;
    min-height: 0;
}

.sidebar {
    position: relative;
    /* 高于主内容区内可能出现的绝对定位层，避免侧栏被遮挡导致「菜单点不动」 */
    z-index: 50;
    flex-shrink: 0;
    width: 240px;
    background: #137C8B;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    min-height: calc(100vh - 70px);
    height: 100%;
}

.sidebar-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-nav ul {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    flex: 1;
}

.nav-item {
    margin: 4px 12px;
}

.nav-item a,
.nav-item .nav-link-btn {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border: none;
    background: transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

.nav-item a:hover,
.nav-item .nav-link-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.nav-item.active a,
.nav-item.active .nav-link-btn {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-item i {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.nav-item.active i {
    color: #ffffff;
}

.main-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    padding: 24px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #f5f7fa;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333333;
}

.permission-badge {
    background: #e6f7ff;
    color: #1890ff;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #91d5ff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

/* 第1个卡片：今日工单 - 青绿色渐变 */
.stat-card:nth-child(1) {
    background: linear-gradient(135deg, #7fdbda 0%, #5bbfb9 100%);
}

/* 第2个卡片：设备总数 - 橙黄色渐变 */
.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #ffd8a8 0%, #f5c185 100%);
}

/* 第3个卡片：备件总数 - 粉紫色渐变 */
.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #f0d5e8 0%, #dcb8d0 100%);
}

/* 第4个卡片：待维修 - 蓝紫色渐变 */
.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #d4b8e8 0%, #b89bd4 100%);
}

/* 第5个卡片：待验收 - 灰白色渐变 */
.stat-card:nth-child(5) {
    background: linear-gradient(135deg, #f0f0f0 0%, #d8d8d8 100%);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #1890ff;
}

/* 趋势图表容器 */
.trend-chart-container {
    margin-top: 20px;
}

.trend-chart-container .chart-row {
    grid-template-columns: repeat(2, 1fr); /* 两个图表并排 */
}

.trend-chart-container .chart-card {
    aspect-ratio: auto; /* 移除固定宽高比，由内容撑开 */
}

.trend-chart-container .chart-placeholder {
    min-height: 120px; /* 图表区域固定高度，避免过高导致滚动条 */
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.stat-icon.blue {
    background: #e6f7ff;
    color: #1890ff;
}

.stat-icon.green {
    background: #f6ffed;
    color: #52c41a;
}

.stat-icon.orange {
    background: #fffbe6;
    color: #faad14;
}

.stat-icon.red {
    background: #fff2f0;
    color: #f5222d;
}

.stat-icon.purple {
    background: #f9f0ff;
    color: #722ed1;
}

.stat-icon.yellow {
    background: #fff7e6;
    color: #fa8c16;
}

.stat-content h3 {
    font-size: 13px;
    color: #999999;
    margin: 0 0 4px;
}

.stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin: 0;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.charts-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.chart-row:nth-child(2) {
    grid-template-columns: repeat(2, 1fr);
}

.chart-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    min-height: 340px;
}

.chart-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px;
    flex-shrink: 0;
}

.chart-placeholder {
    flex: 1;
    background: #fafafa;
    border-radius: 6px;
    position: relative;
    color: #999999;
    font-size: 13px;
    border: 1px dashed #e8e8e8;
    overflow: hidden;
    min-height: 280px;
}

.chart-placeholder canvas {
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    max-width: none;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.stats-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.stats-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-item {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 通用按钮悬停效果 */
.btn:hover:not(.btn-primary):not(.btn-secondary):not(.btn-danger) {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 按钮激活状态样式（用于切换按钮） */
.btn.active {
    background: #1890ff;
    color: white;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.btn.active:hover {
    background: #40a9ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.btn-primary {
    background: #1890ff;
    color: white;
}

.btn-primary:hover {
    background: #40a9ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.btn-secondary {
    background: #ffffff;
    color: #333333;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #f5f5f5;
    border-color: #b3b3b3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 登录页磨砂玻璃按钮（仅限登录页 .login-body 内） */
.login-body .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.login-body .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-danger {
    background: #f5222d;
    color: white;
}

.btn-danger:hover {
    background: #ff4d4f;
    box-shadow: 0 2px 8px rgba(245, 34, 45, 0.2);
}

/* 小尺寸按钮样式 */
.btn-sm {
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.5;
    height: auto;
    min-height: 28px;
}

.data-table {
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-collapse: collapse; /* 合并边框 */
}

.data-table thead {
    background: #99CCCC; /* 青绿色背景 */
    color: #333333;
}

.data-table th {
    padding: 12px 16px;
    text-align: left; /* 表头文字靠左 */
    font-weight: 600;
    font-size: 13px;
    border-left: 1px solid #f0f0f0; /* 垂直边框保持原有样式 */
    border-right: 1px solid #f0f0f0;
    border-top: none;
    border-bottom: 2px solid #d9d9d9; /* 水平边框加粗加深 */
}

.data-table td {
    padding: 12px 16px;
    text-align: left; /* 单元格内容靠左 */
    border-left: 1px solid #f0f0f0; /* 垂直边框保持原有样式 */
    border-right: 1px solid #f0f0f0;
    border-top: none;
    border-bottom: 1px solid #f0f0f0; /* 水平边框保持原有样式 */
    font-size: 13px;
    color: #333333;
}

.data-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.data-table tbody tr:hover {
    background: #f5f5f5;
}

/* 分页控件样式 */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 12px 0;
}

.pagination-btn {
    min-width: 80px;
}

.pagination-info {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}


.settings-form {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.settings-form .form-group {
    margin-bottom: 20px;
}

.settings-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #333333;
}

.settings-form input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.settings-form input[type="text"],
.settings-form input[type="number"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.settings-form input[type="text"]:focus,
.settings-form input[type="number"]:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.settings-form button {
    margin-top: 8px;
}

@media (max-width: 1200px) {
    .sidebar {
        width: 220px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.modal-header .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-header .close:hover,
.modal-header .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-body {
    margin-bottom: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* 权限复选框样式 */
.permission-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.permission-checkboxes label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

.permission-checkboxes input[type="checkbox"] {
    margin: 0;
}

@media (max-width: 768px) {
    .admin-header {
        padding: 0 20px;
    }
    
    .main-wrapper {
        flex-direction: column;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        min-height: auto;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
}

