html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
    min-height: 100vh;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-center {
    width: 100%;
    max-width: 1200px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

table:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

th {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e8f4fc;
    transition: background-color 0.2s ease;
}

td {
    color: #2c3e50;
    font-weight: 500;
}

/* 特殊样式处理 */
td:contains("True") {
    color: #27ae60;
    font-weight: bold;
}

td:contains("False") {
    color: #e74c3c;
    font-weight: bold;
}

td:contains("%") {
    color: #e67e22;
    font-weight: bold;
}

/* 第一个表格的特殊样式 */
table:first-of-type th {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    text-align: right;
    width: 120px;
}

table:first-of-type td {
    font-weight: 600;
    color: #2c3e50;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding: 15px 10px;
    }

    th, td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    table {
        display: block;
        overflow-x: auto;
    }
}

.button-link {
    /* 核心样式：显示为块级元素，允许设置宽度/高度，并让文本居中 */
    display: inline-block;
    padding: 10px 20px; /* 上下10px，左右20px 的内边距 */

    /* 字体和颜色 */
    color: #ffffff; /* 按钮文字颜色 */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none; /* 去掉 A 标签默认的下划线 */
    text-align: center;

    /* 外观和背景 */
    background-color: #007bff; /* 按钮背景颜色 (蓝色) */
    border: none;
    border-radius: 5px; /* 轻微圆角 */
    cursor: pointer; /* 确保鼠标悬停时显示指针 */

    /* 动画效果 */
    transition: background-color 0.3s ease, transform 0.1s ease;

    /* 阴影（可选：增加立体感） */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 鼠标悬停 (Hover) 效果 */
.button-link:hover {
    background-color: #0056b3; /* 悬停时颜色变深 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* 鼠标点击 (Active) 效果 */
.button-link:active {
    background-color: #004085; /* 点击时颜色更深 */
    /* 增加一个轻微的按压效果 */
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}