body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    overflow: auto;
}

#blog-title{
    text-decoration: none;
    color: #34495e;
    text-wrap: nowrap;
}

#loading-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

#loading-video.hide {
    opacity: 0;
    pointer-events: none; /* 隐藏后禁止用户交互 */
}



#nav-div {
    position: fixed;
    left: 0;
    width: 100%;
    color: black;
    background: #f5f5fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    padding: 10px;
    max-width: 100%;
}
.nav-visible{
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -ms-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-transform: translate3d(0, 100%, 0);
    -moz-transform: translate3d(0, 100%, 0);
    -o-transform: translate3d(0, 100%, 0);
    -ms-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}
.nav-container {
    display: flex;
    width: 100%;
    gap: 8em;
    justify-content: flex-start;
    flex: 1 1.2 auto;
}

h1 {
    font-size: 1.5em;
    /* 降低标题字体大小 */
    margin: 0;
    padding: 0.3em;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    display: block;
    border-radius: 2px;
}

nav {
    width: 100%;
    flex-grow: 1;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    align-items: center;
}

.nav-menu li {
    margin: 0 10px;
    text-align: center;
    white-space: nowrap;
}

nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1em;
    /* 略微减小链接字体大小 */
    transition: color 0.3s ease;
    /* 添加颜色过渡效果 */
}

nav a:hover {
    color: gold;
    /* 鼠标悬停时改变颜色为金色 */
}

#loginUser {
    color: gold;
    /* 登录链接颜色为金色 */
    cursor: pointer;
}

#login-title {
    font-size: 1.5em;
}

.cursor-blink {
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid pink;
    /* 用于模拟光标 */
    animation: cursor-blink 1s infinite;
    /* 光标闪烁动画 */
}

@keyframes cursor-blink {
    0%,
    100% {
        border-color: pink;
        /* 光标可见时的颜色 */
    }
    50% {
        border-color: transparent;
        /* 光标隐藏时的颜色 */
    }
}

#begin-img {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
}

#begin-text {
    color: white;
    font-size: 2.5em;
    font-weight: bolder;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loginContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 768px;
    width: 100%;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
    z-index: 10000;
}

.header-input-field {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

.header-button {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
}

.header-button-container {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}

.header-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 8px 12px;
    cursor: pointer;
}

#loginButton {
    background-color: #2ecc71;
}

#registerButton {
    background-color: #3498db;
}


/* 设置滚动条的样式 */

::-webkit-scrollbar {
    width: 0.4em;
    /* 设置滚动条宽度 */
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* 设置滚动条轨道的背景颜色 */
}

::-webkit-scrollbar-thumb {
    background-color: #888;
    /* 设置滚动条手柄的背景颜色 */
    border-radius: 6px;
    /* 设置滚动条手柄的圆角 */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* 设置滚动条手柄的背景颜色（悬停时） */
}

#background {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: -1;
    opacity: 0.7;
    width: 100%;
}


/************************************* 这个是user界面的***********************************/

#userContainer {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    height: 620px;
    width: 100%;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
    z-index: 10000;
    overflow-y: auto;
    overflow-x: hidden;
    /* 允许垂直滚动 */
    scrollbar-width: thin;
    /* 定义滚动条的宽度，可以是thin、auto、none等值 */
    scrollbar-color: #808080 #f0f0f0;
    /* 定义滚动条的颜色，两个颜色分别表示滑块和轨道的颜色 */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

#userContainer ::-webkit-scrollbar {
    width: 4px;
    /* 定义滚动条的宽度 */
}

#userContainer ::-webkit-scrollbar-thumb {
    background-color: #808080;
    /* 定义滑块的颜色 */
}

#userContainer ::-webkit-scrollbar-track {
    background-color: #f0f0f0;
    /* 定义轨道的颜色 */
}

#myForm {
    display: flex;
    gap: 2em;
    padding: 1em;
    margin-top: 1em;
    flex-direction: column;
    justify-content: center;
}

#user-container{
    margin-top:0px;
    max-height:581px;
    overflow:auto;
}


#user-container label {
    display: inline-block;
    text-align: right;
    margin-right: 10px;
    background: lightblue;
    padding: 10px;
    border-radius: 12%;
    font-weight: 700;
    color: cornflowerblue;
}

.detail-form {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#user-container input[type="text"],
#user-container textarea {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
    width: 300px;
}

#user-container input[type="password"] {
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
    width: 300px;
}

#user-container input[type="submit"],
#user-container button[id="preLook"],
#user-container input[id="logOff"] {
    background-color: #4CAF50;
    width: 150px;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
}

#user-container input[type="file"] {
    color: black;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    /* Additional or overridden styles */
    /* For example, changing the background color */
    background-color: #f0f0f0;
    /* Adding a box shadow */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
}

#user-container input[type="submit"]:hover,
#user-container button[id="preLook"]:hover,
#user-container input[id="logOff"]:hover {
    background-color: #3e8e41;
}

#user-container input[readonly="readonly"] {
    background-color: #f0f0f0;
    /* 防止点击后聚焦 */
    outline: none;
    /* 禁止鼠标点击事件 */
    pointer-events: none;
}

#user-container select {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    font-size: 16px;
    margin-right: 10px;
    width: 250px;
}

#left-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 150px;
    height: 100%;
    background-color: cadetblue;
    opacity: 0.9;
}

#left-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#left-nav li {
    margin-bottom: 10px;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    display: block;
    border-radius: 5px;
    transition: background-color 0.2s ease;
    text-align: center;
}

#left-nav a {
    text-decoration: none;
    color: #ecf0f1;
    /* 设置链接颜色 */
    display: block;
    padding: 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    /* 添加平滑过渡效果 */
}

#left-nav li a:hover {
    background-color: #3498db;
    /* 设置鼠标悬停时的背景颜色 */
    transition: background-color 0.3s ease;
}

#right-iframe {
    border: 1px solid rgba(0, 0, 0, 0);
    /* Set border color to transparent */
    margin-left: 150px;
    background-color: rgba(255, 255, 255, 0);
}

.active {
    background-color: lightseagreen;
    transition: background-color 0.3s ease;
}


/*给article,documentation和label页面添加壁纸用的*/
#bk_container {
    height: 400px;
    position: relative;
    width: 100%;
    background-color: #49b1f5;
    background-position: 10% center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#bk_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#bk_title_name {
    color: white;
    position: relative;
    z-index: 1;
    font-size: 28px;
    margin-bottom: 10px;
}

/*提交事件加载过程*/
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.4); /* 设置为半透明的灰色背景 */
    z-index: 700; /* 设置较高的层级，确保覆盖其他元素 */
    display: flex;
    visibility: hidden;
}

#loadingText {
    position: fixed;
    color: black;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    display: block;
    z-index: 10000;
}

#spinner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #ccc;
    background-image: url("/source/picture/preview.gif");
    display: block;
    background-size: cover;
    margin-left: 20px;
    z-index: 10000;
    position: fixed;
    left: 57%;
}

/*特殊button的样式*/
.comment-button {
    background: #fff;
    backface-visibility: hidden;
    border-radius: .375rem;
    border-style: solid;
    border-width: .125rem;
    box-sizing: border-box;
    color: #212121;
    cursor: pointer;
    display: inline-block;
    font-family: Circular, Helvetica, sans-serif;
    font-size: .4rem;
    font-weight: 700;
    letter-spacing: -.01em;
    line-height: 1.3;
    padding: 0.5rem 0.5rem;
    position: relative;
    text-align: left;
    text-decoration: none;
    transform: translateZ(0) scale(1);
    transition: transform .2s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.comment-button:not(:disabled):hover {
    transform: scale(1.05);
}

.comment-button:not(:disabled):hover:active {
    transform: scale(1.05) translateY(.125rem);
}

.comment-button:focus {
    outline: 0 solid transparent;
}

.comment-button:focus:before {
    content: "";
    left: calc(-1 * .375rem);
    pointer-events: none;
    position: absolute;
    top: calc(-1 * .375rem);
    transition: border-radius;
    user-select: none;
}

.comment-button:focus:not(:focus-visible) {
    outline: 0 solid transparent;
}

.comment-button:focus:not(:focus-visible):before {
    border-width: 0;
}

.comment-button:not(:disabled):active {
    transform: translateY(.125rem);
}


.reply-button {
    --b: 2px;
    --s: 0.15em;
    --color: #373B44;

    padding: calc(0.5em + var(--s)) calc(0.5em + var(--s));
    color: var(--color);
    --_p: var(--s);
    background: conic-gradient(from 90deg at var(--b) var(--b), #0000 90deg, var(--color) 0) var(--_p) var(--_p)/calc(100% - var(--b) - 2 * var(--_p)) calc(100% - var(--b) - 2 * var(--_p));
    transition: .3s linear, color 0s, background-color 0s;
    outline: var(--b) solid #0000;
    font-size: 0.8em;

    border: 0;

    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.reply-button:hover,
.reply-button:focus-visible {
    --_p: 0px;
    outline-color: var(--color);
    outline-offset: .05em;
}

.reply-button:active {
    background: var(--color);
    color: #fff;
}

/*帖子审核展示内容*/
.check-container {
    overflow: hidden;
    margin: 2em 0em;
    border: 1px solid black;
    border-radius: 2em;
    width: 80%;
}

.check-detail-box {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1em;
    font-weight: 700;
    font-size: 17px;
    border: 1px solid black;
    border-radius: 2em;
}

.check-container > .check-content-container {
    transition: all .5s;
    text-align: left;
    max-height: 0;
    opacity: 0;
}

.check-container > .unfold {
    max-height: 100vw;
    opacity: 1;
}

.check-container > .check-btn {
    color: #4C98F7;
    cursor: pointer;
    width: 10em;
    padding: 0.5em;
    background: white;
    border: 1px solid #eee;
}

.fa-arrow-circle-left {
    transition: all 0.5s;
}

.headerPreviewImg {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    max-width: 26em;
    overflow-x: auto;
    overflow-y: hidden;
}

.headerPreviewImg::-webkit-scrollbar {
    height: 8px;
}

.header-preview-img {
    width: 8em;
    height: 8em;
    transition: filter 375ms ease-in 0.2s, transform 0.6s;
    object-fit: cover;
}

.header-preview-img-div {
    position: relative; /* 添加这一行 */
    width: 8em;
    height: 8.5em;
    border-radius: 1em;
}

#check-bar-box {
    overflow-y: auto;
}

.header-check-container {
    padding: 0.5em 1.5em;
}

.check-title-cover {
    font-weight: 700;
    font-size: 1.5em;
}

.check-about-div {
    width: 80%;
    border: 0.1em solid black;
    padding: 0.5em;
    border-radius: 10px;
}

.check-bar-title {
    border: none;
    width: 100%;
    background: transparent;
    outline: none;
    font-size: 19px;
    padding: 0.5em;
}

.check-bar-about {
    border: none;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    resize: none;
    outline: none;
    min-height: 6em;
    width: 97%;
    font-size: 17px;
}

.check-ok-button {
    background: white;
    border: 1px solid black;
    color: lightgreen;
    padding: 0.5em 1em;
    border-radius: 1em;
    font-weight: 700;
    font-size: 16px;
}

.check-no-button {
    background: white;
    border: 1px solid black;
    color: red;
    padding: 0.5em 1em;
    border-radius: 1em;
    font-weight: 700;
    font-size: 16px;
}

.check-button-op {
    display: flex;
    justify-content: space-around;
}



.emojiContainer > .emojiDiv {
    transition: all .5s;
    max-height: 0;
    flex-wrap: wrap;
    margin-top: 35px;
    gap: 0.2em;
    position: absolute;
    max-width: 300px;
    overflow-x: auto;
    display: flex;
    opacity: 0;
}

.emojiContainer > .unfold {
    max-height: 135px;
    opacity: 1;
    background: white;
    z-index: 200;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    border-radius: 0 0 10px 10px;
}


footer {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    background-image: url(../source/picture/footer.png);
    background-attachment: scroll;
    background-position: center 30%;
    background-size: cover;
    height: 5rem;
}

#footer-icp {
    margin-bottom: 20px;
}

#heartbeat {
    color: red;
    animation: iconAnimate 1.33s ease-in-out infinite
}

/* 开关按钮 */
.btn-on{
    width: 6em;
    height: 25px;
    border-radius: 25px;
}
.btn-on{
    cursor: pointer;
    position: relative;
    border: 1px solid white;
    background-color: #ffffff;
}
.btn-on-circle{
    position: absolute;
    width: 15px;
    height: 15px;
    top: 5px;
    left: 0.3em;
    background-color: #12B090;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
    transition: all .5s;
}
.btn-on-text{
    position: absolute;
    right: 10px;
    line-height: 25px;
    color: #000000;
    font-weight: bold;
    transition: all .5s;
}

@-moz-keyframes iconAnimate {
    0%, 100% {
        transform: scale(1)
    }
    10%, 30% {
        transform: scale(.9)
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.1)
    }
    50%, 70% {
        transform: scale(1.1)
    }
}

@-webkit-keyframes iconAnimate {
    0%, 100% {
        transform: scale(1)
    }
    10%, 30% {
        transform: scale(.9)
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.1)
    }
    50%, 70% {
        transform: scale(1.1)
    }
}

@-o-keyframes iconAnimate {
    0%, 100% {
        transform: scale(1)
    }
    10%, 30% {
        transform: scale(.9)
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.1)
    }
    50%, 70% {
        transform: scale(1.1)
    }
}

@keyframes iconAnimate {
    0%, 100% {
        transform: scale(1)
    }
    10%, 30% {
        transform: scale(.9)
    }
    20%, 40%, 60%, 80% {
        transform: scale(1.1)
    }
    50%, 70% {
        transform: scale(1.1)
    }
}

/*备案用的*/
.icp {
    display: flex;
    width: 100%;
    color: white;
    flex-direction: column;
    gap: 0.5em;
}

.icp > a {
    color: white;
    text-decoration: none;
}

.icp > a:hover {
    color: aqua;
    text-decoration: none;
}



.bar-about-div{
    width: 80%;
    border: 0.1em solid black;
    padding: 0.5em;
    border-radius: 10px;
}
.tip-div{
    display: flex;
    justify-content: flex-start;
    gap: 1em;
    align-items: flex-start;
    padding: 0.7em 0;
    flex-direction: column;
}
.tip{

}
.bar-container{
    padding: 0.5em 1.5em;
}
.title-cover{
    font-weight: 700;
    font-size: 1.5em;
}
#bar-about{
    border: none;
    background: transparent;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Lato, Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    resize: none;
    outline: none;
    min-height: 6em;
    width: 97%;
    font-size: 17px;
}
#bar-title{
    border: none;
    width: 100%;
    background: transparent;
    outline: none;
    font-size: 19px;
    padding: 0.5em;
}

.dark{
    background-color: black !important;
}

.dark #itemMenu {
    background-color: black;
    border: 1px solid white;
    color: rgb(212, 212, 216);
}
.dark article{
    background-color: black !important;
    border: 1px solid white;
    color: rgb(212, 212, 216);
}
.dark .website_archive_time_day_a{
    color: rgb(212, 212, 216);
}
.dark .web_item{
    color: rgb(212, 212, 216);
    border: 1px solid white;
    background-color: black;
}
.dark .websiteAboutBox{
    color: rgb(212, 212, 216);
}
.dark #item_feedback button{
    background: #333;
}
.dark #nav-div{
    background: #333333;
}
.dark #blog-title{
    color: white !important;
}
.dark .nav-toggle span{
    color: #333;
}
.dark .nav-menu ul li a{
    color: white;
}
.dark .home-article-img::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.dark .website_archive_time_day::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.dark footer::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 7rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
    margin: -1rem;
}
.dark #bottom-page a{
    border: 1px solid white;
}
.dark .slide-img-box::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.dark .article-content-left,.dark .article-content-right{
    z-index: 2;
}
.dark #like_div.liked,.dark #select_div.liked{
    background-color: darkgrey;
}
.dark .aplayer{
    background: black;
}
.dark .aplayer .aplayer-lrc:before,.dark .aplayer .aplayer-lrc:after{
    background: none;
}
.dark .emojiContainer > .unfold{
    background: black;
}
.dark .talk-container{
    background-color: black;
    border: 1px solid white;
    color: white;
}
.dark .talk-response{
    color: black;
}
.dark .container>#btn{
    background: black;
    color: white;
}
.dark #option-container{
    color: white;
    background: black;
    border: 1px solid white;
}
.dark .bar-about-div{
    border: 1px solid white;
}
.dark .comment-button{
    background: black;
    color: white;
    border: 1px solid;
}
.dark #Ltalk_emoji_div_1{
    background: black;
}

.dark #article_about_div{
    background: black;
    color: white;
    border: 1px solid white;
}
.dark #all-box{
    background: black;
    color: white;
    border: 1px solid white;
}
.dark #user_op{
    background: black;
}
.dark .op_div{
    background: black;
    border: 1px solid white;
}

.dark aside{
    background: black;
}
.dark aside h3{
    color: white !important;
}
.dark #submitComment{
    background: black;
    color: white;
}
.dark #feedBack{
    background-color: black;
    color: white;
}
.dark #userContainer{
    background: black;
}
.dark #left-nav{
     background: #333;
}
.dark #archive_container{
    background-color: black;
}
.dark .archive_time_year,.dark .archive_time_month,.dark .archive_time_day_detail{
    color: white;
}
.dark #articles_container{
    background-color: #333;
}
.dark .otherDiv,.dark .mainDiv{
    background: #333;
    color: white;
}
.dark .other_personContribution{
    background: whitesmoke;
}
.dark .personTitle{
    color: white;
}
.dark .personContribution,.dark .other_personContribution{
    background: darkgray;
}
.dark .give-some-suggestion{
    background: black;
    border: 1px solid white;
}


/*新版本的个人中心*/
/* 左侧导航栏样式 */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 200px;
    background-color: #1a2a3a;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu {
    flex: 1;
    padding: 20px 0;
}

.menu-item {
    padding: 10px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-icon {
    margin-right: 10px;
    font-size: 16px;
}

.sidebar-footer {
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* 右侧内容区样式 */
.content-area {
    margin-left: 200px;
    padding: 0 20px;
    height: 100%;
    max-height: 620px;
    background-color: #f0f2f5;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 1rem;
}

.content-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.close-btn {
    width: 2rem;
    height: 2rem;
    background-color: #ff5c5c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: row;
}

/* 个人信息卡片样式 */
.info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.form-label {
    width: 120px;
    background-color: #62c2e4;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
}

.form-control {
    flex: 1;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-btns {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.form-btn {
    width: 20%;
    padding: 10px 0;
    background-color: #4caf50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.form-btn:hover {
    background-color: #388e3c;
}

/* 文件上传样式 */
.custom-file-upload {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.upload-btn {
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.file-info {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 12px;
    color: #666;
}

/* 帖子列表样式 */
.posts-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
}

.posts-list-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.post-item:last-child {
    border-bottom: none;
}

.post-title {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.post-preview {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.post-time {
    font-size: 12px;
    color: #999;
}



/*----------------------------------------------------------*/
/*这个是新版本的登录界面*/
.user-login-h1 {
    font-weight: bold;
    margin: 0;
}
.user-login-p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: .5px;
    margin: 20px 0 30px;
}
.user-login-span {
    font-size: 12px;
}
.user-login-a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 0.5rem 0;
}
.sign-container-box {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;

}

.user-login-form-container form {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    height: auto;
    justify-content: center;
    text-align: center;
}
.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

.social-container a:hover {
    background-color: #eee;

}

.txtb {
    border-bottom: 2px solid #adadad;
    position: relative;
    margin: 10px 0;
}

.txtb-input {
    font-size: 15px;
    color: #333;
    border: none;
    width: 100%;
    outline: none;
    background: none;
    padding: 0 3px;
    height: 35px;
}

.txtb span::before {
    content: attr(data-placeholder);
    position: absolute;
    top: 50%;
    left: 5px;
    color: #adadad;
    transform: translateY(-50%);
    transition: .5s;
}
.txtb span::after {
    content: '';
    position: absolute;
    left: 0%;
    top: 100%;
    width: 0%;
    height: 2px;
    background-image: linear-gradient(120deg,#3498db,#8e44ad);
    transition: .5s;
}

.focus + span::before {
    top: -5px;
}

.focus + span::after {
    width: 100%;
}

.user-login-button {
    border-radius: 20px;
    border: 1px solid #ff4b2b;
    background: #ff4b2b;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    cursor: pointer;
}

.user-login-button:active {
    transform: scale(.95);
}

.user-login-button:focus {
    outline: none;
}

.ghost {
    background: transparent;
    border-color: #fff;
}

.user-login-form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all .6s ease-in-out;
}

.user-login-form-container button {
    background: linear-gradient(120deg, #3498db, #8e44ad);
    border: none;
    background-size: 200%;
    color: #fff;
    transition: .5s;
    margin: 0.3rem 1rem;
}

.user-login-form-container button:hover {
    background-position: right;
}

.user-login-sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
}
.user-login-sign-in-container form a {
    position: relative;
    left: 100px;
}
.user-login-sign-up-container {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}
.user-login-sign-up-container button {
    margin-top: 20px;
}
.user-login-overlay-container {
    position:absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform .6s ease-in-out;
    z-index: 100;
}
.user-login-overlay {
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}
.user-login-overlay-panel {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 50%;
    text-align: center;
    transform: translateY(0);
    transition: transform .6s ease-in-out;
}
.user-login-overlay-right {
    right: 0;
    transform: translateY(0);
    background-image: url(/source/picture/shantian.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.user-login-overlay-left {
    transform: translateY(-20%);
    background-image: url(/source/picture/mingri.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.user-login-overlay-right::before,.user-login-overlay-left::before {
    content: ''; /* 伪元素必须有 content 属性 */
    position: absolute; /* 绝对定位，相对于父元素 */
    top: 0; /* 覆盖整个父元素 */
    left: 0;
    width: 100%; /* 宽度和高度覆盖父元素 */
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色阴影 */
    z-index: -1; /* 确保覆盖层在内容上方 */
}
.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-sign-in-container {
    transform: translateY(100%);
}

.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-overlay-container {
    transform: translateX(-100%);
}
.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}
.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-overlay {
    transform: translateX(50%);
}
.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-overlay-left {
    transform: translateY(0);
}
.sign-container-box.sign-container-box.user-login-right-panel-active .user-login-overlay-right {
    transform: translateY(20%);
}

.txtb-img-box{
    width: 100%;
    height: auto;
    text-align: center;
}
.txtb-img{
    width: 42%;
    border-radius: 50%;
}

.slide-up {
    transform: translateY(-100%) !important;
    transition: all .6s ease-in-out;
}
.slide-center{
    transform: translateY(0%) !important;
    transition: all .6s ease-in-out;
}

#forget-password-box{
    display: flex;
    flex-direction: column;
}

#scroll-box-forget-password,#scroll-box-new-password{
    transform: translateY(100%);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        margin-left: 10px;
        justify-content: center;
    }
    .nav-container{
        flex: none;
    }
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background-color: black; /* 改为黑色 */
        margin: 3px 0;
        display: block;
        border-radius: 2px;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .overlay.visible {
        display: block; /* 显示 */
        opacity: 1; /* 完全可见 */
    }

    .nav-menu {
        /* 使用 opacity 和 visibility 替代 display */
        opacity: 0; /* 初始不可见 */
        visibility: hidden; /* 隐藏状态 */
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -250px; /* 初始状态下隐藏在屏幕左侧 */
        width: 250px;
        height: 100%;
        background-color: #f5f5fa;
        transition: left 0.3s ease;
        z-index: 3000;
    }
    .dark .nav-menu{
        background-color: black;
    }

    .nav-menu.open {
        left: 0; /* 滑入 */
        opacity: 1; /* 显示状态 */
        visibility: visible; /* 设置为可见 */
        width: 200px;
        height: 100vh;
    }

    .nav-menu ul {
        padding: 0;
        margin: 0;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
    }

    .nav-menu li {
        padding: 1.5em;
    }

    .nav-menu a {
        color: black;
        text-decoration: none;
    }
    #loginContainer {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #ffffff;
        padding: 2%;
        border-radius: 8px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        max-width: 400px;
        width: 90%;
        text-align: center;
        transition: opacity 0.3s ease-in-out;
        z-index: 10000;
    }
    li{
        margin: 0;
        padding: 0;
    }
    #begin-text {
        font-size: 1.4em;
    }
    #bk_container {
        height: 300px;
        position: relative;
        width: 100%;
        background-color: #49b1f5;
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
        overflow: hidden;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #left-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 80px;
        height: 100%;
        background-color: cadetblue;
        opacity: 0.9;
        font-size: 0.9rem;
    }
    #right-iframe {
        margin-left: 70px;
    }
    #user-container{
        font-size: 0.7rem;
    }

    .user-login-form-container form{
        padding: 0 0.3rem;
        font-size: 0.5rem;
        height: 100%;
    }
    .user-login-sign-in-container form a{
        left: 0;
    }
    .send-check-code-button{
        margin: 0.3rem 0 !important;
        padding: 0 0.4rem !important;
        font-size: 0.75rem !important;
    }

}