/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* 全局重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: #ffffff;
    min-height: 100vh;
}

/* 链接样式 */
a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #85B4BC;
}

/* 按钮样式 */
button {
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
}

/* 输入框样式 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* 图片样式 */
img {
    max-width: 100%;
    height: auto;
}

/* 列表样式 */
ul, ol {
    list-style: none;
}

/* 表格样式 */
table {
    border-collapse: collapse;
    width: 100%;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

/* 段落样式 */
p {
    margin-bottom: 1rem;
}

/* 代码样式 */
code, pre {
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

code {
    padding: 0.2em 0.4em;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(133, 180, 188, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(133, 180, 188, 0.5);
}
