* {
    margin: 0;
    box-sizing: border-box;
    font-family: PingFang SC,system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,Hiragino Sans GB,Microsoft YaHei UI,Microsoft YaHei,Arial,sans-serif;
    -webkit-tap-highlight-color: transparent;
}
.fake-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ededed;
    z-index: -1;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ededed;
    height: 100vh;
}
.container {
    max-width: 750px;
    margin: 0 auto;
    overflow: hidden;
}
.header {
    font-size: 14px;
    color: #777;
    display: block;
    padding: 16px 16px 8px;
    margin-top: 10px;
}
ul {
    list-style-type: none;
    padding: 0;
}
li {
    font-size: 16px;
    padding: 16px 18px 16px 15px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}
li a {
    color: #333;
    text-decoration: none;
    width: 100%;
}
li::before {
    content: '';
    width: calc(100% - 16px);
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 16px;
}
li::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    box-sizing: border-box;
    transform: rotate(45deg);
}
p {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
    margin-top: 20px;
    text-align: center;
}
p a {
    text-decoration: none;
    color: #007bff;
}
.form-section {
    display: none;
    padding: 35px;
    background-color: #fff;
}
#form-view {
    display: none;
}
#form-view.active {
    display: block;
}
#submit-success.active {
    display: block;
}
.form-section.active {
    display: block;
}
.form-item {
    margin-bottom: 25px;
}
.form-label {
    font-size: 15px;
    color: #333;
    margin-bottom: 8px;
}
.form-error {
    margin-top: 12px;
    font-size: 12px;
    line-height: 12px;
    color: #f56c6c;
    display: none;
}
.form-input {
    width: 100%;
    padding: 16px 0px;
    color: #333;
    border: none;
    border-bottom-width: 0.5px!important;
    border-color: #dadbde!important;
    border-bottom-style: solid;
    outline: none;
    font-size: 15px;
}
.form-input::placeholder {
    color: rgb(192, 196, 204);
}
.upload-area {
    display: block;
}
.image-preview-container {
    display: grid;
    grid-template-columns: repeat(3, 100px);
    gap: 10px;
    max-width: 310px;
}
.upload-button {
    width: 100px;
    height: 100px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #ededed;
    background-image: url('https://img.alicdn.com/imgextra/i2/724156739/O1CN01qOFIcg1zeW8rSA0kA_!!724156739-2-chatting.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25%;
    font-size: 35px;
    line-height: 35px;
    color: rgb(164, 164, 164);
}
.upload-button.disabled {
    background-color: #f0f0f0;
    cursor: not-allowed;
    opacity: 0.5;
    display: none;
}
.upload-feedback {
    font-size: 14px;
    margin-top: 8px;
    display: none;
    width: 100%;
}
.upload-feedback.success {
    color: #00cc66;
    display: block;
}
.upload-feedback.error {
    color: #ff4d4f;
    display: block;
}
.image-preview {
    position: relative;
    width: 100px;
    height: 100px;
}
.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #fff;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 5px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.delete-button {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.textarea {
    width: 100%;
    height: 74px;
    padding: 12px 0;
    font-size: 15px;
    color: #333;
    border: none;
    border-top-width: 0.5px!important;
    border-color: #eee!important;
    border-top-style: solid;
    resize: none;
    outline: none;
    overflow-y: auto;
}
.textarea::placeholder {
    color: rgb(192, 196, 204);
}
.textarea-counter {
    font-size: 12px;
    color: #909193;
    text-align: right;
    margin-top: 4px;
}
.submit-btn {
    background-color: #00cc66;
    color: #fff;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 50%;
    margin: 20px auto 0;
    display: block;
}
.hidden {
    display: none;
}
.warnPage {
    width: 100%;
    height: 100vh;
    background: #fff;
    font-size: 17px;
    color: #333;
    font-weight: bold;
    text-align: center;
    line-height: 300px;
}
#submit-success {
    display: none;
}
.success-icon {
    width: 60px;
    height: 60px;
    background: url('https://img.alicdn.com/imgextra/i2/724156739/O1CN01j7VYb41zeW8qua25S_!!724156739-2-chatting.png')no-repeat;
    background-size: 100%;
    background-position: center;
    margin: 50px auto 35px;
}
.success-text {
    text-align: center;
    font-weight: bold;
    overflow-wrap: normal;
    font-size: 25px;
    color: rgb(48, 49, 51);
}
.success-desc {
    font-weight: normal;
    overflow-wrap: normal;
    font-size: 18px;
    color: rgb(48, 49, 51);
    text-align: center;
    width: 88%;
    margin: 30px auto 0;
}
.weui-toast__content {
    color: #fff;
}