
.hide{
    display: none !important;
}

select {
    width: 300px;
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    -moz-appearance: none;    /* Firefox */
    appearance: none;        /* 标准属性 */
    background: #fff; /* 自定义背景图片，箭头图标 */
    background-size: auto 1em;
    padding: 0.5em;            /* 增加内边距 */
    border: 1px solid #ccc;   /* 边框 */
    border-radius: 4px;       /* 圆角 */
}

select option{
    font-size: 0.9em;
}
select.lang-select{
    width: 1.3em;
    height: 1.3em;
    -webkit-appearance: none; /* Chrome, Safari, Edge */
    -moz-appearance: none;    /* Firefox */
    appearance: none;        /* 标准属性 */
    color: #ffffff;
    background: transparent url('') no-repeat right center; /* 自定义背景图片，箭头图标 */
    background-size: auto 1em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 1em;
    top: 4.5em;
    border: 2px solid #ffffff;
    border-radius: 2px;
    /*font-size: em;*/
}
.warp {
    min-height: 100vh;
    max-width: 640px;
    margin: 0 auto;
    background-color: #ffffff;
}

.header-main{
    width: 100%;
    height: 21em;
    background: url(./header_bg.png) no-repeat;
    background-position: top center;
    background-size: 100% 100%;
    position: relative;
    overflow: hidden;
}
.header-main .lang-btn{
    padding: 0.2em 0.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: absolute;
    right: 1em;
    top: 4em;
    border: 2px solid #ffffff;
    border-radius: 2px;
}
.header-main .user-name{
    line-height: 2em;
    color: #ffffff;
    text-align: center;
}
.header-main .koc-avatar{
    /*height: 68vw;*/
    /*width: 58vw;*/
    height: 90%;
    position: absolute;
    left: 0;
    bottom: -10%;
}
.header-main .car-icon{
    width: 45%;
    height: auto;
    position: absolute;
    right: 2%;
    bottom: 14%;
}

.content-main{
    width: 100%;
    background-color: #ffffff;
    margin-top: -1em;
    position: relative;
    z-index: 10;
    border-radius: 1em 1em 0 0;
    box-sizing: border-box;
    padding: 1em 1em 8em;
}

.content-main .tabs-box{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(238, 238, 238, 1);
    border-radius: 10em;
    padding: 0.2em;
}

.tabs-box .tabs-item{
    width: 50%;
    height: 2.5em;
    text-align: center;
    line-height: 2.5em;
    border-radius: 10em;
    font-size: 0.9em;
}
.tabs-box .tabs-item.active{
    background-color: #ffffff;
}

.content-main .desc-box{
    margin-top: 2em;
}
.content-main .desc-box .desc-title{
    font-weight: bold;
    margin-bottom: 0.5em;
}
.content-main .desc-box .desc-content{
    margin-bottom: 1em;
    font-family: NotoSans-Regular;
}
.break-word { word-wrap: break-word; overflow-wrap: break-word; }
.break-all { word-break: break-all; }
.keep-all { word-break: keep-all; }
.pre-wrap { white-space: pre-wrap; }

.content-main .gallery{
    margin-top: 1em;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 10px; /* Space between items */
}
.gallery-item img {
    width: 100%; /* Make images fill their container */
    height: 7em; /* Maintain image aspect ratio */
    object-fit: cover;
}

.next-btn{
    width: 22em;
    height: 3em;
    background: linear-gradient(180deg, #EE8946 0%, #FFC37C 100%);
    position: fixed;
    left: 50%;
    bottom: 3em;
    transform: translateX(-50%);
    z-index: 11;
    border-radius: 3em;
    border: none;
    color: #ffffff;
    font-size: 1em;
    box-shadow: 0px 2px 10px 0px rgba(255, 215, 129, 0.2);
    box-shadow: 0px -4px 10px 0px rgba(0, 0, 0, 0.16);

}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* Two columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr; /* One column on very small screens */
    }
    .header-main .koc-avatar{
        height: 80%;
        position: absolute;
        left: 0%;
        bottom: 0%;
    }
    .header-main .car-icon {
        width: 50%;
        height: auto;
        position: absolute;
        right: 0%;
        bottom: 18%;
    }
}
@media (max-width: 390px) {
    .header-main .koc-avatar{
        height: 74%;
        position: absolute;
        left: 0%;
        bottom: 0%;
    }
}
@media (max-width: 344px) {
    .header-main .koc-avatar{
        height: 66%;
        position: absolute;
        left: 0%;
        bottom: 0%;
    }
    .next-btn{
        width: 19em;
    }
}

.loading{
    text-align: center;
    color: #999999;
    margin-top: 2em;
}

/* Phone number validation hint styling */
.phone-tip {
    font-size: 12px;
    color: #64748b;
    margin-top: -0.4em;
    margin-bottom: 0.8em;
    line-height: 1.4;
    font-style: italic;
}
