:root {
    --max: 1200px;
    --size14: 14px;
    --size16: 16px;
    --size18: 18px;
    --size20: 20px;
    --size24: 24px;
    --size30: 30px;
    --size36: 36px;
    --size40: 40px;
    --size46: 46px;
    --size50: 50px;
    --size56: 56px;
    --size60: 60px;

    --top20: 20px;
    --top30: 30px;
    --top40: 40px;
    --top50: 50px;
    --top60: 60px;
    --top80: 80px;
    --top100: 100px;
    --top120: 120px;
}

@font-face {
    font-family: "m";
    src: url("../fonts/m.otf") format("truetype");
}

@font-face {
    font-family: "bold";
    src: url("../fonts/bold.otf") format("truetype");
}

body {
    font-family: "m";
    background: rgb(208, 150, 152);
    padding: 0.6rem 0.4rem;
    max-width: 750px;
    margin: 0 auto;
}


.Title {
    width: 100%;
    text-align: center;
    font-size: 0.36rem;
    line-height: 1.5;
    color: rgb(255, 255, 255);
}

.Index {
    width: 100%;
    border-radius: 10px;
    background: rgb(251, 237, 237);
    overflow: hidden;
    margin-top: 0.4rem;
    position: relative;
}

.Index>p {
    width: max-content;
    line-height: 2;
    border-radius: 0px 0px 5px 5px;
    background: linear-gradient(-1.15deg, rgb(202, 6, 11) 9.419%, rgb(224, 109, 112) 90.581%);
    font-size: 0.28rem;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 0;
    padding: 0 0.3rem;
    left: 0.3rem;
}

.Index_text {
    width: 100%;
    font-size: 0.26rem;
    color: rgb(51, 51, 51);
    line-height: 2;
    margin-top: 0.8rem;
    padding: 0 0.3rem;
}

.Daojishi {
    width: 100%;
    background: rgb(249, 224, 225);
    margin-top: 0.8rem;
    padding: 0.3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.Daojishi>p {
    font-size: 0.28rem;
    color: rgb(51, 51, 51);
}

.Forn_text {
    width: 100%;
    padding: 0.5rem;
    font-size: 0.36rem;
    color: rgb(201, 0, 4);
    line-height: 1.5;
    text-align: center;
}

.Form {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 0.5rem 0.2rem;
}

.Form form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.label {
    width: 100%;
}

.label p {
    font-size: 0.30rem;
    color: rgb(51, 51, 51);
}

.label p span {
    color: rgb(201, 0, 4);
}

.label p font {
    color: rgb(153, 153, 153);
}

.Form_input {
    width: 100%;
    margin-top: 0.2rem;
    position: relative;
}

.Form_input input {
    width: 100%;
    display: block;
    height: 1rem;
    border: 1px solid rgb(237, 237, 237);
    font-size: 0.24rem;
    color: #00000080;
    padding: 0 0.3rem;
}

.label:nth-child(1) .Form_input input,
.label:nth-child(2) .Form_input input,
.label:nth-child(3) .Form_input input {
    padding-left: 1rem;
}

.Form_input img {
    width: 0.4rem;
    height: 0.4rem;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 0.3rem;
    transform: translateY(-50%);
}
.label_max{
    width: 100%;
    
    margin-top: 0.3rem;
    display: flex;
}
.image_preview {
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgb(237, 237, 237);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: relative;
}

.image_preview img {
    width: 20px;
    height: auto;
}

.image_preview h2 {
    width: 100%;
    font-size: 0.24rem;
    color: rgb(102, 102, 102);
    line-height: 1.3;
    text-align: center;
    margin-top: 0.16rem;
}

.image_preview input {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.image_pas{
    width: 2.2rem;
    height: 2.2rem;
    margin-left: 0.1rem
}
.image_pas img{
    width: 100%;
    height: 100%;
}
.image_pas img:not([src]), 
.image_pas img[src=""] {
    display: none;
}
.submit_btn {
    width: 100%;
    height: 1rem;
    background: rgb(201, 0, 4);
    font-size: 0.28rem;
    color: rgb(255, 255, 255);
    border: transparent;
}

.Daojishi_time {
    font-size: 0.24rem;
    color: #00000080;
    display: flex;
    align-content: center;
    align-items: center;
    gap: 0.05rem;
    line-height: 1;
}

.Daojishi_time p {
    display: block;
    width: max-content;
    padding: 0.05rem 0.06rem 0.02rem;
    line-height: 1.1;
    background: rgb(201, 0, 4);
    color: #ffffff;
    border-radius: 4px;
    font-size: 0.24rem;
}

.Shjian {
    width: 100%;
    overflow: hidden;
    padding: 0.3rem;
    padding-top: 0.8rem;
}

.Shjian ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    gap: 0.2rem;
}

.Shjian ul li {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem;
}

.Shjian ul li img {
    width: 0.28rem;
    height: auto;
}

.Shjian ul li p {
    font-size: 0.28rem;
    color: rgb(51, 51, 51);
}

.Footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
}

.Footer button {
    width: 33%;
    height: 1rem;
    background: rgb(70, 0, 2);
    border: transparent;
    font-size: var(--size16);
    color: rgb(255, 255, 255);
}

.Footer a {
    flex: 1;
    background: rgb(201, 0, 4);
    font-size: 0.32rem;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: none;
}

.school_selector {
    width: calc(100% - 0.8rem);
    overflow: hidden;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.1rem;
    z-index: 9999;
    display: none;
}

.school_selector_header{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.3rem 0.2rem;
}

.school_selector_header h2{
    font-size: 0.36rem;
    color: rgb(51, 51, 51);
    line-height: 1;
}
.close_btn{
    width: 0.4rem;
}
.close_btn svg{
    width: 100%;
    height: auto;
    display: block;
}
.search_box{
    width: 100%;
    padding: 0.3rem;
    position: relative;
    display: flex;
    gap: 0.2rem;
}
.search_box input{
    flex: 1;
    height: 50px;
    display: block;
    border: 1px solid rgb(237, 237, 237);
    font-size: 0.28rem;
    color: rgb(153, 153, 153);
    padding: 0 0.2rem;
}

.search_btn {
    width: 1.5rem;
    height: 50px;
    background: rgb(201, 0, 4);
    color: #ffffff;
    font-size: 0.28rem;
    border: none;
    border-radius: 0.05rem;
}

.region_list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.2rem 0;
    padding: 0.3rem;
    border-top: 1px solid rgb(237, 237, 237);
    margin-top: 0.3rem;
}

.region_item {
    width: 100%;
    font-size: 0.3rem;
    text-align: center;
    color: rgb(51, 51, 51);
}
.region_item.active{
    color: rgb(0, 149, 255);
}
.school_list{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding: 0.3rem;
    border-top: 1px solid rgb(237, 237, 237);
}
.school_item{
    font-size: 0.3rem;
    color: rgb(51, 51, 51);
}
.error_text{
    font-size: 0.3rem;
    color: red;
}