/*
 * CSS Reset for 广东中证司法鉴定中心网站
 * 基于现代CSS重置标准，确保跨浏览器一致性
 */

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

/* HTML5显示定义 */
article, aside, details, figcaption, figure, footer,
header, hgroup, main, mark, nav, section, summary {
    display: block;
}

/* 根元素设置 */
html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    line-height: 1.15;
}

/* 身体元素 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
                 "Helvetica Neue", Arial, "Noto Sans", sans-serif,
                 "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
                 "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 标题重置 */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}

/* 段落和文本 */
p {
    margin: 0 0 1rem 0;
}

/* 列表 */
ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 链接 */
a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    text-decoration: underline;
}

/* 图片 */
img {
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 表单元素 */
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* 表格 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

th, td {
    padding: 0;
}

/* 其他元素 */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

code, kbd, pre, samp {
    font-family: "Consolas", "Monaco", "Courier New", monospace;
    font-size: 1em;
}

/* 可访问性 */
[hidden] {
    display: none;
}

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

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

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

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