body {
    background: linear-gradient(to right , #015033, #328E6E);
    margin: 0;
    padding: 0;
}


/* 定义本地字体 */
@font-face {
    font-family: 'MuyaoSoftbrush'; /* 自定义字体名称 */
    src: url('./Muyao-Softbrush-2.ttf') format('truetype'); /* 指定字体路径和格式 */
    font-weight: normal; /* 字体粗细 */
    font-style: normal; /* 字体样式 */
}


.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    color: white;
    width: 100%;
    position: absolute;
    top: 0;
}
.header .logo {
  width: 100px;
}
.header span {
  font-style: italic;
}

.index-img {
  margin: 10px 0;
}
.index-img img {
  width: 100%;
}

.login-img {
  margin: 40px 0 10px;
}
.login-img img {
  width: 100%;
}

.list-img {
  margin: 70px auto 10px;
  text-align: center;
}
.list-img img {
  width: 70%;
}

.login-page .form-container {
    background: url('./login_paper.jpg') repeat;
    border-radius: 10px;
    width: 80%;
    margin: 0 auto;
    padding-right: 3px;
    padding-top: 2px;
}
.login-page .form-container form {
    background: linear-gradient(to right,rgba(20, 99, 70, 1),rgba(20, 99, 70, 0.7));
    padding: 40px 20px 20px;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
}
.login-page .form-container button {
    background-image: url('./login_btn.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    color: transparent;
    width: 100%;
} 


.login-page .form-group-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background: #fff;
    padding-left: 10px;
    border-radius: 6px;
}
.login-page .form-group-row .label {
    display: flex;
    align-items: center;
    margin-right: 10px;
    color: #555;
}
.login-page .form-group-row .label img {
    margin-right: 5px;
    width: 16px;
}
.login-page .form-group-row .input {
    flex: 1;
    text-align: right;
}
.form-control {
  border:0;
  text-align: right;
}
.form-control:focus {
    box-shadow: none; /* 移除聚焦时的阴影 */
    border-color: #ced4da; /* 保持默认边框颜色 */
    outline: none; /* 移除浏览器默认的聚焦轮廓 */
}
.page-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
}
.page-footer img {
  width: 100%;
}


.list-title {
    text-align: center;
}
.list-title img {
    width: 60%;
}
.list-title p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
}
.list-box {
    padding: 20px 30px;
}
.list-item {
    margin-bottom: 18px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    position: relative;
    background: linear-gradient(to right,#003723,#238661);
}
.list-item .tag {
    position: absolute;
    left: -8px;
    top: -5px;
    width: 40px;
}
.list-item .zp {
    width: 100%;
}
.list-item .item-info {
    color: #fff;
    font-size: 12px;
    padding: 10px 10px 0;
}
.list-item .item-info .item-title {
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}
.list-item .vote-btn {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.list-item .vote-btn img {
    width: 80px;
}
.list-item .vote-btn p {
    margin-bottom: 5px;
}
.list-item .item-desc {
    margin-bottom: 0;
}


/*首页*/
.index-page .index-container {
    background: url('./login_paper.jpg') repeat;
    border-radius: 10px;
    width: 80%;
    margin: -40px auto 0;
    padding-right: 3px;
    padding-top: 2px;
}
.index-page .index-container .index-box {
    background: linear-gradient(to right,rgba(20, 99, 70, 1),rgba(20, 99, 70, 0.7));
    padding: 40px 20px 20px;
    border-radius: 10px;
    width: 100%;
    font-size: 14px;
}
.index-page .index-box .info {
    color: #fff;
    font-family: 'MuyaoSoftbrush', '微软雅黑';
}
.index-page .index-box .info span {
    color: #FFE16B;
}
.index-page .index-box .view-more {
    background: #F6D24A;
    color: #003523;
    padding: 6px 24px;
    border-radius: 50px;
    display: inline-block;
    margin: 20px auto;
}

.index-page .index-box .view-more1 img {
    width: 80%;
}

.index-page .index-box .view-more2 img {
    width: 60%;
    margin-top: 20px;
}


.upload-box {
    border-radius: 20px;
    margin: 30px;
    padding: 30px;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to bottom,#01503300,#238661);
}

.upload-box .list-title img {
    width: 80%;
}


.custom-file-upload {
    background: #E6E6E6;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    border-radius: 16px;
    margin-top: 20px;
    color: #888;
    position: relative;
    width: 100%;
}
.custom-file-upload:hover {
    border-color: #aaa;
}
.custom-file-upload input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
    width: 100%;
    height: 100%;
}
.upload-box .form-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #AABEB5;
    margin-bottom: .6rem;
}
.upload-box .form-group label {
    color: #fff;
    flex-shrink: 0;
    font-size: 13px;
    width: 85px;
    margin-bottom: 0;
}
.upload-box .form-group input {
    background: none;
    padding: 0;
    text-align: left;
    font-size: 13px;
    color: #fff;
}

/* 设置占位符颜色 */
.upload-box ::placeholder {
            color: #aaa; /* 浅灰色 */
            opacity: 1; /* Firefox */
        }
.upload-box :-ms-input-placeholder { /* Internet Explorer 10-11 */
            color: #aaa;
        }
.upload-box ::-ms-input-placeholder { /* Microsoft Edge */
            color: #aaa;
        }

.upload-box button {
    background: #EEA802;
    box-shadow: -2px 2px 4px #9E6F01;
    color: #fff;
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 14px;
    margin: 10px auto;
    display: block;
}

.upload-box .form-check {
    color:#55AF7D;
    font-size: 12px;
    text-align: center;
}

.upload-box .preview-image {
    max-width: 100%;
    max-height: 300px;
    margin-top: 20px;
    border-radius: 10px;
}

.page {
    display: flex;
    justify-content: center;
    align-items:center;
    padding-bottom: 30px;
    margin-bottom:30px;
}
.page li {
    list-style: none;
}
.page .page-link {
    color: #00a35f;
}

