/* CSS Reset - 基础重置 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.5;
    color: #2d3748;
    background-color: #eef1f5;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

/* 选中文本颜色 */
::selection {
    background: #b4d5fe;
    color: #1a1a1a;
}

::-moz-selection {
    background: #b4d5fe;
    color: #1a1a1a;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #c1c9d4;
    border-radius: 4px;
}

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

::-webkit-scrollbar-track {
    background: #f1f3f5;
}

/* 焦点样式 */
:focus-visible {
    outline: 2px solid #1d7ce6;
    outline-offset: 2px;
}