/* 公共样式文件 - 统一字体设置 */

/* 导入思源黑体字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

/* 全局字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
    margin: 0;
    min-height: 100vh;
    position: relative;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 定义根元素的 CSS 变量（全局可用） */
:root {
    /* 基础主题色 - 纯 #005EAD 无透明度 */
    --primary-color: #005EAD;
    
    /* 辅助色：基于 #005EAD 的不同不透明度版本 (10%-90%) */
    --primary-opacity-10: rgba(0, 94, 173, 0.1);  /* 10% 不透明度 */
    --primary-opacity-20: rgba(0, 94, 173, 0.2);  /* 20% 不透明度 */
    --primary-opacity-30: rgba(0, 94, 173, 0.3);  /* 30% 不透明度 */
    --primary-opacity-40: rgba(0, 94, 173, 0.4);  /* 40% 不透明度 */
    --primary-opacity-50: rgba(0, 94, 173, 0.5);  /* 50% 不透明度 */
    --primary-opacity-60: rgba(0, 94, 173, 0.6);  /* 60% 不透明度 */
    --primary-opacity-70: rgba(0, 94, 173, 0.7);  /* 70% 不透明度 */
    --primary-opacity-80: rgba(0, 94, 173, 0.8);  /* 80% 不透明度 */
    --primary-opacity-90: rgba(0, 94, 173, 0.9);  /* 90% 不透明度 */
    
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #666666;
    --dark-gray: #333333;
}

/* 响应式字体大小 */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }
}

@media screen and (min-width: 1025px) {
    body {
        font-size: 16px;
    }
}
