/* 服务器与网站管理系统 - 明亮简约风格 */

/* 全局样式 - 根据Logo蓝色调整 */
:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --primary-light: #3d8bfd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #00bcd4;
    --bg-light: #f8f9fa;
    --bg-white: #FFFFFF;
    --border-light: #dee2e6;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --shadow-sm: 0 2px 8px rgba(13, 110, 253, 0.08);
    --shadow-md: 0 4px 16px rgba(13, 110, 253, 0.12);
    --shadow-lg: 0 8px 24px rgba(13, 110, 253, 0.16);
}

body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--bg-light);
    background-image: linear-gradient(180deg, #e7f1ff 0%, #f8f9fa 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 15px;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 导航栏 - 明亮简约风格 */
.navbar {
    background-color: var(--bg-white) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 0.875rem 0;
    min-height: 70px;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color) !important;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.navbar-logo {
    height: 42px;
    max-height: 42px;
    width: auto;
    margin-right: 0.75rem;
    vertical-align: middle;
    border-radius: 8px;
    object-fit: contain;
}

.nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.6rem 1rem !important;
    border-radius: 12px;
    margin: 0 0.25rem;
    font-size: 15px;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
    transform: translateY(0);
}

.nav-link.active {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

/* 导航栏中的容器不需要下内距 */
.navbar .container-fluid {
    padding-bottom: 0;
}

/* 主内容区 */
.container-fluid {
    flex: 1;
    padding-bottom: 60px;
    max-width: 1600px;
    margin: 0 auto;
}

/* 卡片样式 - 大圆角设计 */
.card {
    border: none;
    border-radius: 24px;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.5rem 2rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.card-body {
    padding: 2rem;
}

/* 统计卡片 - 清新明亮风格 */
.card.bg-primary,
.card.bg-success,
.card.bg-info,
.card.bg-warning,
.card.bg-danger {
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
}

.card.bg-primary .card-title,
.card.bg-success .card-title,
.card.bg-info .card-title,
.card.bg-warning .card-title,
.card.bg-danger .card-title {
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.6;
    font-weight: 500;
}

.card.bg-primary h2,
.card.bg-success h2,
.card.bg-info h2,
.card.bg-warning h2,
.card.bg-danger h2 {
    letter-spacing: 0.5px;
    line-height: 1.3;
    color: #ffffff;
}

.card.bg-primary small,
.card.bg-success small,
.card.bg-info small,
.card.bg-warning small,
.card.bg-danger small {
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.card.bg-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.card.bg-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.card.bg-info {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.card.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
}

.card.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
}

.card.bg-primary:hover,
.card.bg-success:hover,
.card.bg-info:hover,
.card.bg-warning:hover,
.card.bg-danger:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* 表格样式 - 简约清新 */
.table {
    margin-bottom: 0;
    color: var(--text-primary);
    font-size: 14.5px;
    line-height: 1.8;
}

.table thead th {
    border-bottom: 2px solid var(--border-light);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    padding: 1.125rem 1.25rem;
    background-color: var(--bg-light);
}

.table tbody td {
    padding: 1.125rem 1.25rem;
    vertical-align: middle;
    border-color: var(--border-light);
    letter-spacing: 0.3px;
    line-height: 1.8;
}

.table-hover tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    cursor: pointer;
}

/* 表格警告行 */
.table-warning {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.table-danger {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* 按钮样式 - 现代简约 */
.btn {
    border-radius: 12px;
    padding: 0.625rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: var(--shadow-sm);
    font-size: 14.5px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #157347 100%);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #000;
}

.btn-info {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.btn-sm {
    padding: 0.375rem 0.875rem;
    font-size: 0.875rem;
    border-radius: 10px;
}

/* 徽章样式 - 圆润设计 */
.badge {
    padding: 0.5em 0.875em;
    font-weight: 500;
    border-radius: 12px;
    letter-spacing: 0.3px;
    font-size: 13px;
    line-height: 1.6;
}

/* 表单样式 - 现代简约 */
.form-control,
.form-select {
    border-radius: 12px;
    border: 1.5px solid var(--border-light);
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

.form-control:hover,
.form-select:hover {
    border-color: rgba(13, 110, 253, 0.4);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    background-color: var(--bg-white);
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    font-size: 14.5px;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

/* 输入组 */
.input-group-text {
    border-radius: 12px 0 0 12px;
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-light);
    color: var(--text-secondary);
}

/* 列表组 - 简约风格 */
.list-group-item {
    border: none;
    border-left: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.list-group-item:hover {
    background-color: rgba(13, 110, 253, 0.05);
    border-left-color: var(--primary-color);
    transform: translateX(4px);
}

.list-group-item.active {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-left-color: var(--primary-color);
}

.list-group-item-action:active {
    background-color: var(--primary-color);
}

/* 警告框 - 柔和圆润 */
.alert {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-sm);
    padding: 1.25rem 1.5rem;
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #0f5132;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #842029;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #664d03;
}

.alert-info {
    background-color: rgba(0, 188, 212, 0.1);
    color: #055160;
}

.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}

/* 模态框 - 大圆角设计 */
.modal-content {
    border-radius: 24px;
    border: none;
    box-shadow: var(--shadow-lg);
    background-color: var(--bg-white);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 1.75rem 2rem;
    background-color: var(--bg-white);
}

.modal-title {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
    background-color: var(--bg-light);
}

/* 页脚 - 简约清新 */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border-light);
    background-color: var(--bg-white);
    padding: 1.5rem 0;
    color: var(--text-secondary);
}

/* 加载动画 */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* 图标对齐 */
.bi {
    vertical-align: -0.125em;
}

/* 复制按钮 */
.copy-btn {
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary-color);
}

.copy-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* 空状态 - 柔和设计 */
.empty-state {
    padding: 4rem 1rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 4.5rem;
    opacity: 0.15;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* 响应式调整 - 移动优先 */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-logo {
        height: 36px;
        max-height: 36px;
    }
    
    .navbar {
        min-height: 64px;
        padding: 0.75rem 0;
    }
    
    .card {
        border-radius: 20px;
        margin-bottom: 20px;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .card-header {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .table {
        font-size: 0.875rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border-radius: 10px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .modal-content {
        border-radius: 20px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }
}

/* 分页样式 - 圆润简约 */
.pagination {
    margin-bottom: 0;
    gap: 0.375rem;
}

.page-link {
    color: var(--primary-color);
    border-radius: 10px;
    margin: 0;
    border: 1.5px solid var(--border-light);
    padding: 0.5rem 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--bg-white);
}

.page-link:hover {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

/* 下拉菜单 - 圆角设计 */
.dropdown-menu {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    background-color: var(--bg-white);
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

.dropdown-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-light);
}

/* 标签页 - 清新风格 */
.nav-tabs {
    border-bottom: 2px solid var(--border-light);
}

.nav-tabs .nav-link {
    border-radius: 12px 12px 0 0;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--bg-white);
    border-bottom: 3px solid var(--primary-color);
}

/* 进度条 - 圆润设计 */
.progress {
    border-radius: 12px;
    height: 1.5rem;
    background-color: rgba(13, 110, 253, 0.1);
}

.progress-bar {
    border-radius: 12px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* 工具提示 */
[data-bs-toggle="tooltip"] {
    cursor: help;
}

/* 表单验证 */
.is-invalid {
    border-color: var(--danger-color) !important;
}

.is-valid {
    border-color: var(--success-color) !important;
}

.invalid-feedback,
.valid-feedback {
    font-size: 0.875rem;
}

/* 密码强度指示器 */
.password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background-color: var(--danger-color);
    width: 33%;
}

.password-strength.medium {
    background-color: var(--warning-color);
    width: 66%;
}

.password-strength.strong {
    background-color: var(--success-color);
    width: 100%;
}

/* 打印样式 */
@media print {
    .navbar,
    .btn,
    .footer {
        display: none;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* 加载覆盖层 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
}

/* 自定义通知动画 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes shrinkWidth {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* 通知容器 - 现代设计 */
#notification-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 420px;
}

/* 自定义通知样式 */
.custom-notification {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.custom-notification:hover .notification-close {
    opacity: 1 !important;
}

/* 响应式通知 */
@media (max-width: 576px) {
    #notification-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .custom-notification {
        font-size: 0.9rem;
        border-radius: 12px;
    }
}

/* 标题样式增强 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

h1 { font-size: 2rem; margin-bottom: 1.5rem; }
h2 { font-size: 1.75rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.875rem; }
h5 { font-size: 1.125rem; margin-bottom: 0.75rem; }
h6 { font-size: 1rem; margin-bottom: 0.625rem; }

/* 文本增强 */
p {
    line-height: 1.8;
    color: var(--text-primary);
    letter-spacing: 0.3px;
    font-size: 15px;
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: #4080FF;
}

/* 按钮组优化 */
.btn-group .btn {
    margin: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* 输入框优化 - 大圆角 */
textarea.form-control {
    border-radius: 16px;
}

/* 表格优化 - 去除多余边框 */
.table > :not(caption) > * > * {
    border-bottom-width: 1px;
}

/* 按钮次要样式 */
.btn-secondary {
    background-color: var(--bg-light);
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: rgba(13, 110, 253, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-color: var(--primary-color);
    color: white;
}

/* 表单验证增强 */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: var(--success-color);
    background-image: none;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: var(--danger-color);
    background-image: none;
}

/* 卡片页脚优化 */
.card-footer {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
}

/* 图片圆角 */
img {
    border-radius: 12px;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0a58ca 0%, #0d6efd 100%);
}

/* 选中文本样式 */
::selection {
    background-color: rgba(13, 110, 253, 0.25);
    color: var(--text-primary);
}

/* 焦点轮廓优化 */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 禁用状态优化 */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--bg-light);
    opacity: 0.7;
    cursor: not-allowed;
}

/* 工具提示优化 */
.tooltip-inner {
    background-color: var(--text-primary);
    border-radius: 8px;
    padding: 0.5rem 0.875rem;
    font-weight: 500;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-secondary);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* 加载状态 */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: button-loading-spinner 0.6s linear infinite;
    color: white;
}

@keyframes button-loading-spinner {
    from { transform: rotate(0turn); }
    to { transform: rotate(1turn); }
}

/* 页面过渡动画 */
.page-enter {
    animation: pageEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* 徽章变体 */
.badge.badge-soft-primary {
    background-color: rgba(13, 110, 253, 0.15);
    color: var(--primary-color);
}

.badge.badge-soft-success {
    background-color: rgba(25, 135, 84, 0.15);
    color: var(--success-color);
}

.badge.badge-soft-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
}

.badge.badge-soft-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #664d03;
}

/* 打印优化 */
@media print {
    .card {
        border-radius: 0;
        box-shadow: none;
    }
    
    body {
        background: white;
    }
}

/* 中文优化 - 小号文字 */
small, .small {
    font-size: 13px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 中文优化 - 列表 */
ul, ol {
    line-height: 1.8;
}

li {
    letter-spacing: 0.3px;
    margin-bottom: 0.25rem;
}

/* 中文优化 - 代码和等宽字体 */
code, pre {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    letter-spacing: 0;
}

/* 中文优化 - 输入组文本 */
.input-group-text {
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

/* 中文优化 - 分页 */
.page-link {
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 中文优化 - 标签页 */
.nav-tabs .nav-link {
    font-size: 14.5px;
    letter-spacing: 0.3px;
}

/* 中文优化 - 面包屑 */
.breadcrumb {
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 中文优化 - 卡片文本 */
.card-text {
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

/* 中文优化 - 工具提示 */
.tooltip-inner {
    font-size: 13px;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* 中文优化 - 文本工具类 */
.text-muted {
    color: #6c757d !important;
    letter-spacing: 0.3px;
}

.text-center {
    letter-spacing: 0.3px;
}

/* 中文优化 - 表单帮助文本 */
.form-text {
    font-size: 13px;
    letter-spacing: 0.3px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* 中文优化 - 列表组 */
.list-group-item {
    font-size: 15px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

/* 中文优化 - 页脚 */
.footer {
    font-size: 14px;
    letter-spacing: 0.3px;
    line-height: 1.8;
}

/* 中文优化 - 表格响应式 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        letter-spacing: 0.2px;
    }
    
    .table {
        font-size: 13px;
    }
    
    .table thead th {
        font-size: 12px;
        padding: 0.875rem 1rem;
    }
    
    .table tbody td {
        padding: 0.875rem 1rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.25rem; }
}

