﻿/* MasterStyle.css - 母版页专属样式 */


/* 页面标题 */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #165DFF;
    display: inline-block;
}


/* ============== 产品页统一按钮样式 ============== */
/* 1. 主按钮（核心操作：查询、提交、确认等） */
/* ============== 产品页统一按钮样式（蓝色主题） ============== */
/* 1. 主按钮（核心操作：查询、提交、确认等） */
.btn-primary {
    /* 基础尺寸与布局 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 32px;
    border-radius: 6px;
    border: none;
    /* 字体样式 */
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    text-decoration: none;
    /* 视觉效果（渐变+阴影，增强层次感） */
    background: linear-gradient(135deg, #165DFF 0%, #0F52D9 100%); /* 蓝色渐变主色 */
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.25), /* 蓝色系外阴影 */
    inset 0 1px 0 rgba(255, 255, 255, 0.15); /* 内阴影优化质感 */
    /* 交互与过渡 */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none; /* 禁止文字选中 */
}
    /* 主按钮hover效果（增强反馈） */
    .btn-primary:hover {
        background: linear-gradient(135deg, #296EFF 0%, #165DFF 100%); /* 渐变加深（更亮的蓝） */
        box-shadow: 0 6px 16px rgba(22, 93, 255, 0.35), /* 阴影扩大 */
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
        transform: translateY(-2px); /* 轻微上移，增强交互感 */
        color: #ffffff; /* 保持文字白色 */
        text-decoration: none;
    }
    /* 主按钮禁用状态（可选） */
    .btn-primary:disabled {
        background: linear-gradient(135deg, #B3C7FF 0%, #99B4FF 100%); /* 禁用态浅蓝渐变 */
        box-shadow: none;
        cursor: not-allowed;
        transform: none;
        opacity: 0.8;
    }

/* 2. 次要按钮（辅助操作：重置、取消、返回等） */
.btn-secondary {
    /* 基础尺寸与主按钮统一，保持视觉一致性 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 32px;
    border-radius: 6px;
    /* 边框+浅色背景，与主按钮区分 */
    border: 1px solid #165DFF; /* 蓝色边框 */
    background-color: #ffffff;
    /* 字体样式（主色文字，增强关联） */
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #165DFF; /* 蓝色文字 */
    white-space: nowrap;
    text-decoration: none;
    /* 视觉效果（弱化阴影，突出主按钮） */
    box-shadow: 0 2px 8px rgba(22, 93, 255, 0.1); /* 蓝色系浅阴影 */
    /* 交互与过渡 */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}
    /* 次要按钮hover效果 */
    .btn-secondary:hover {
        background-color: #F0F7FF; /* 浅蓝背景（主色浅透） */
        border-color: #296EFF; /* hover加深蓝色边框 */
        box-shadow: 0 4px 12px rgba(22, 93, 255, 0.15);
        color: #296EFF; /* hover加深蓝色文字 */
        text-decoration: none;
    }

/* 3. 文字按钮（轻量操作：查看更多、详情、链接等） */
.btn-text {
    /* 无背景无边框，仅文字交互 */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    background: transparent;
    /* 字体样式（强调色文字，与产品详情链接呼应） */
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #165DFF; /* 蓝色文字 */
    white-space: nowrap;
    text-decoration: none;
    /* 交互与过渡 */
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}
    /* 文字按钮hover效果（下划线+颜色加深，模拟链接交互） */
    .btn-text:hover {
        color: #0F52D9; /* 深蓝强调色（hover加深） */
        text-decoration: underline;
        background-color: rgba(22, 93, 255, 0.05); /* 浅蓝背景，增强质感 */
    }

/* ============== 响应式适配（移动端优化） ============== */
@media (max-width: 768px) {
    /* 移动端按钮宽度自适应，避免溢出 */
    .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0 16px;
        height: 40px;
        font-size: 14px;
    }
    /* 文字按钮保持紧凑 */
    .btn-text {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }
} 