/* 右侧栏样式 */
.right-setion {
    position: fixed;
    right: 20px;
    top:40% ;
    transform: translateY(-50%);
    padding: 10px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0px 20px rgba(0, 0, 0, 0.2);
    min-width: 30px;
    min-height: 60px;
    z-index: 999;
}

.right-btn-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.right-btn {
    border-bottom: #999 1px solid;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #333;
    align-items: center;
    text-decoration: none;
    margin-top: 10px
}

.right-btn:last-child {
    border-bottom: none;
}

.right-btn img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.right-btn p {
    margin: 0 0 10px 0;
    font-weight: 500;
}
@media (max-width: 768px) { 
    .right-setion {
        display: none;
    }
}
/* 居中标题样式 */
.title-container {
    position: relative;
    text-align: center;
    margin-bottom: 30px;
}

.title-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    /* 与标题字体大小相近 */
    color: #dcdcdc;
    /* 使用较浅的颜色 */
    z-index: 1;
    font-weight: bold;
    /* 设置较低的层级 */
    white-space: nowrap;
    text-transform: uppercase;
}


.main-title {
    position: relative;
    z-index: 2;
    /* 设置较高的层级，确保标题在上方 */
    display: inline-block;
    /* 与页面背景色一致 */
    padding: 0 20px;
    margin: 0;
    font-size: 30px;
    font-weight: bold;
    color: #000;
}

.underline {
    content: "";
    display: block;
    width: 80px;
    /* 固定长度 */
    height: 4px;
    background: #d32f2f;
    margin: 15px auto 15px;
}

/* 左对齐标题样式 */
.title-container.left-align {
    text-align: left;
}

.title-container.left-align .title-background-text {
    left: 0;
    transform: translateY(-50%);
}

.title-container.left-align .main-title {
    padding: 0 20px 0 0;
}

.title-container.left-align .underline {
    margin: 15px 0 15px;
}

/* 通用样式文件 - 包含所有控制器页面的共同样式 */

section {
    padding: 70px 8%;
}
@media (max-width: 768px) { 
    section {
        padding: 20px 30px;
    }
}
/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

body.body-white {
    background: #fff;
}

/* 通用容器 */
.tc-main {
    margin-top: 20px;
}

/* 通用盒子 */
.tc-box {
    background: #fff;
    padding: 10px;
    margin: 0 0 10px 0;
}

.body-white .tc-box {
    border: solid 1px #eee;
}

.tc-box.first-box {
    margin: 0 0 10px 0;
}

.tc-box.article-box {
    padding: 5px 20px;
}

/* 网格盒子 */
.tc-gridbox-container {
    width: 25%;
    float: left;
}

.tc-gridbox {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    border: solid 1px #eee;
    background: #fff;
    cursor: pointer;
    margin: 0 10px 20px 10px;
}

.tc-gridbox:hover {
    -webkit-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
    box-shadow: 0 0 10px 1px rgba(50, 50, 50, 0.1);
}

.tc-gridbox a {
    text-decoration: none;
}

/* 导航栏固定 */
.navbar-fixed-top,
.navbar-fixed-bottom {
    position: fixed;
}

.navbar-fixed-top,
.navbar-fixed-bottom,
.navbar-static-top {
    margin-right: 0px;
    margin-left: 0px;
}

.navbar .nav .user {
    padding: 0;
    line-height: 70px;
}

.navbar .nav .user .headicon {
    margin: 0 5px;
    height: 30px;
}

.navbar .nav .user .caret {
    vertical-align: middle;
    margin: 0 5px;
}

/* 胶囊型按钮样式 */
.btn-primary {
    background: linear-gradient(to bottom, rgb(240, 68, 70), rgb(195, 40, 45));
    border: rgb(182, 48, 54) solid 1px;
    color: white;
    padding: 0 23px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    height: 40px;
    border-radius: 20px;
}

.btn-secondary {
    background: white;
    color: #d32f2f;
    border: 1px solid #d32f2f;
    padding: 0 23px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    height: 40px;
    border-radius: 20px;
}

a.btn-secondary,a.btn-primary{
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 38px;
    white-space: nowrap;
}

.btn-primary:hover {
/*      background: linear-gradient(to bottom, rgb(240, 68, 70), rgb(195, 40, 45));
    border: rgb(182, 48, 54) solid 1px;
    color: white; */
    transform: translateY(-2px);
}
.btn-section{
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-secondary:hover {
/*     background: linear-gradient(to bottom, rgb(240, 68, 70), rgb(195, 40, 45));
    border: rgb(182, 48, 54) solid 1px;
    color: white; */
    transform: translateY(-2px);
}
.btn-primary,.btn-secondary{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
.btn-primary img,
.btn-secondary img{
    height: 16px;
}
/* 响应式网格 */
@media (min-width: 769px) and (max-width: 979px) {
    .tc-gridbox {
        display: block;
    }
}

@media (max-width: 768px) {
    .tc-gridbox {
        display: block;
    }

    .tc-gridbox-container {
        width: 100%;
        float: none;
    }
    .title-background-text{
        display: none;
    }
}
@media (max-width: 768px){
    .PC{
        display: none!important;
    }
}
@media (min-width: 769px){
    .mobile{
        display: none!important;
    }
}
/* 通用卡片样式 */
.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
    margin-top: 0;
    color: #333;
}

/* 通用标题样式 */
.section-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d32f2f;
}