/* 主样式文件 */
body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 左侧导航栏激活状态 */
.nav-active {
    border-left: 3px solid #3b82f6;
    padding-left: 5px !important;
}

/* 导航链接悬停效果 */
nav a {
    transition: all 0.2s ease;
}

nav a:hover {
    transform: translateX(2px);
}

/* 顶部栏时间日期样式 */
#current-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

#current-time {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* iframe 加载时的过渡效果 */
iframe {
    transition: opacity 0.3s ease;
}

iframe.loading {
    opacity: 0.5;
}

/* 卡片悬停效果 */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 按钮效果 */
button {
    transition: all 0.2s ease;
}

button:active {
    transform: scale(0.98);
}

/* 表格行悬停效果 */
tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(243, 244, 246, 0.8);
} 