/* 孝感中亚城市燃气发展有限公司管理系统 - 现代化UI */

/* ========== 设计系统 ========== */
:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    
    --secondary-color: #f59e0b;
    --secondary-light: #fbbf24;
    --secondary-dark: #d97706;
    
    --success-color: #10b981;
    --success-light: #34d399;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #06b6d4;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 全局样式 ========== */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* ========== 导航栏 ========== */
.navbar {
    background: var(--bg-primary) !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
    transition: all var(--transition-base);
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-primary) !important;
    font-size: 16px;
    letter-spacing: -0.01em;
}

.navbar-brand img {
    height: 32px;
    margin-right: 10px;
    transition: transform var(--transition-base);
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: var(--bg-tertiary);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(37, 99, 235, 0.08);
}

/* ========== 轮播图 ========== */
.carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    border-radius: var(--radius-md);
    padding: 20px;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 220px;
    }
}

/* ========== 快捷功能区 ========== */
.quick-actions {
    padding: 60px 0;
    background: var(--bg-primary);
}

.quick-action-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.quick-action-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quick-action-card:hover::before {
    transform: scaleX(1);
}

.quick-action-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.quick-action-card:hover .quick-action-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.quick-action-card:nth-child(2) .quick-action-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.quick-action-card:nth-child(3) .quick-action-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.quick-action-card:nth-child(4) .quick-action-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.quick-action-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.quick-action-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== 表单样式 ========== */
.form-container {
    max-width: 800px;
    margin: 40px auto;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    font-size: 15px;
    transition: all var(--transition-fast);
    background: var(--bg-primary);
}

.form-control:hover {
    border-color: var(--primary-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

/* ========== 按钮样式 ========== */
.btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success-color) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #f87171 0%, var(--danger-color) 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* ========== 状态标签 ========== */
.status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    letter-spacing: 0.01em;
}

.status-pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

.status-approved {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.status-rejected {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
}

.status-processing {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #155e75;
}

.status-completed {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

/* ========== 卡片样式 ========== */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--bg-primary);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.card-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: 0 !important;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 16px;
    border: none;
}

.card-body {
    padding: 24px;
}

/* ========== 表格样式 ========== */
.table {
    margin-bottom: 0;
}

.table th {
    background-color: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding: 14px 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table td {
    vertical-align: middle;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
}

.table tbody tr:hover {
    background-color: var(--bg-secondary);
}

/* ========== 进度查询 ========== */
.progress-container {
    max-width: 600px;
    margin: 40px auto;
}

.progress-step {
    display: flex;
    align-items: center;
    padding: 16px;
    border-left: 3px solid var(--border-color);
    margin-bottom: 12px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    transition: all var(--transition-fast);
}

.progress-step:hover {
    background: var(--bg-secondary);
}

.progress-step.active {
    border-left-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.progress-step.completed {
    border-left-color: var(--success-color);
}

.progress-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 16px;
    transition: all var(--transition-base);
}

.progress-step.active .progress-icon {
    background: var(--primary-gradient);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.progress-step.completed .progress-icon {
    background: linear-gradient(135deg, var(--success-light) 0%, var(--success-color) 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.progress-content {
    flex: 1;
}

.progress-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.progress-time {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* ========== 底部样式 ========== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-link {
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
    display: block;
    transition: all var(--transition-fast);
    padding-left: 0;
}

.footer-link:hover {
    color: white;
    padding-left: 8px;
}

.footer-phone {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 0.02em;
}

/* ========== 响应式调整 ========== */

/* 平板设备 */
@media (max-width: 992px) {
    .carousel-item img {
        height: 350px;
    }
    
    .quick-actions {
        padding: 40px 0;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    /* 导航栏优化 */
    .navbar {
        padding: 8px 0;
    }
    
    .navbar-brand {
        font-size: 14px;
    }
    
    .navbar-brand img {
        height: 28px;
        margin-right: 6px;
    }
    
    .navbar-toggler {
        padding: 6px 10px;
        border: none;
    }
    
    .navbar-collapse {
        background: var(--bg-primary);
        padding: 16px;
        margin-top: 8px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid var(--border-light);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* 轮播图优化 */
    .carousel-item > div {
        height: 280px !important;
    }
    
    .carousel-item h1 {
        font-size: 24px !important;
    }
    
    .carousel-item h2 {
        font-size: 20px !important;
    }
    
    .carousel-item p {
        font-size: 14px !important;
    }
    
    .carousel-item .btn {
        padding: 10px 24px !important;
        font-size: 14px !important;
    }
    
    .carousel-indicators {
        bottom: 10px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }
    
    /* 快捷功能区优化 */
    .quick-actions {
        padding: 30px 0;
    }
    
    .quick-actions h2 {
        font-size: 24px !important;
    }
    
    .quick-actions > .container > p {
        font-size: 14px !important;
        margin-bottom: 24px !important;
    }
    
    .quick-action-card {
        padding: 20px 12px;
        margin-bottom: 12px;
    }
    
    .quick-action-icon {
        width: 56px !important;
        height: 56px !important;
        font-size: 24px !important;
        margin-bottom: 12px;
    }
    
    .quick-action-title {
        font-size: 14px !important;
    }
    
    .quick-action-desc {
        font-size: 12px !important;
    }
    
    /* 表单优化 */
    .form-container {
        padding: 20px 16px;
        margin: 16px 12px;
    }
    
    .form-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    
    .form-control {
        padding: 12px 14px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    /* 按钮优化 */
    .btn {
        padding: 12px 20px;
        font-size: 15px;
        min-height: 44px; /* 触摸区域最小44px */
    }
    
    .btn-sm {
        padding: 8px 14px;
        font-size: 13px;
        min-height: 36px;
    }
    
    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }
    
    /* 卡片优化 */
    .card {
        margin-bottom: 16px;
    }
    
    .card-body {
        padding: 16px;
    }
    
    .card-header {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    /* 表格优化 - 横向滚动 */
    .table-responsive {
        border-radius: var(--radius-md);
    }
    
    .table th,
    .table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
    
    /* 模态框优化 */
    .modal-dialog {
        margin: 16px;
    }
    
    .modal-content {
        border-radius: var(--radius-lg);
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-footer {
        padding: 12px 20px;
    }
    
    /* 底部优化 */
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-phone {
        font-size: 20px;
    }
    
    .footer-link {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    /* 状态标签优化 */
    .status-badge {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    /* 空状态优化 */
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-icon {
        font-size: 48px;
    }
    
    /* 进度条优化 */
    .progress-step {
        padding: 12px;
    }
    
    .progress-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-right: 12px;
    }
    
    .progress-title {
        font-size: 14px;
    }
    
    .progress-time {
        font-size: 12px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .navbar-brand {
        font-size: 13px;
    }
    
    .carousel-item > div {
        height: 240px !important;
    }
    
    .carousel-item h1 {
        font-size: 20px !important;
    }
    
    .carousel-item h2 {
        font-size: 18px !important;
    }
    
    .quick-action-card {
        padding: 16px 8px;
    }
    
    .quick-action-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
    
    .quick-action-title {
        font-size: 13px !important;
    }
    
    .quick-action-desc {
        font-size: 11px !important;
    }
    
    .form-container {
        padding: 16px 12px;
        margin: 12px 8px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除hover效果，改用active */
    .quick-action-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    .quick-action-card:active {
        transform: scale(0.98);
        box-shadow: var(--shadow-sm);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .card:hover {
        transform: none;
    }
    
    .card:active {
        transform: scale(0.99);
    }
}

/* 横屏模式 */
@media (max-width: 992px) and (orientation: landscape) {
    .carousel-item > div {
        height: 200px !important;
    }
    
    .quick-action-icon {
        width: 48px !important;
        height: 48px !important;
        font-size: 20px !important;
    }
}

/* 安全区域适配（iPhone X+） */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .navbar {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
    
    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1e293b;
        --bg-secondary: #0f172a;
        --bg-tertiary: #334155;
        --text-primary: #f8fafc;
        --text-secondary: #cbd5e1;
        --text-tertiary: #64748b;
        --border-color: #334155;
        --border-light: #1e293b;
    }
    
    .navbar {
        background: var(--bg-primary) !important;
    }
    
    .form-control {
        background: var(--bg-secondary);
        color: var(--text-primary);
    }
}

/* 打印优化 */
@media print {
    .navbar,
    .footer,
    .btn,
    .carousel {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}


/* ========== 上传文件预览 ========== */
.upload-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-light);
}

/* ========== 地图容器 ========== */
.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }
}

/* ========== 消息提示 ========== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    padding: 14px 18px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid var(--danger-color);
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-left: 4px solid var(--warning-color);
}

.alert-info {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #155e75;
    border-left: 4px solid var(--info-color);
}

/* ========== 加载动画 ========== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 64px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-text {
    font-size: 16px;
    font-weight: 500;
}

/* ========== 模态框美化 ========== */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 20px 24px;
}

.modal-title {
    font-weight: 700;
    font-size: 18px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 16px 24px;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/* ========== 下拉菜单美化 ========== */
.dropdown-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 8px;
}

.dropdown-item {
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* ========== 动画效果 ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

.animate-slide-in {
    animation: slideIn 0.4s ease-out;
}
