html {
    overflow-x: hidden;
    touch-action: manipulation;
}

*,
:after,
:before {
    margin: 0 auto;
    border: 0 solid #e3e3e3;
    box-sizing: border-box;
}

input[type="text"] {
    border-radius: 10px;
    /* border: 1px solid #d4d4d4; */
    background-color: #ffffff;
    transition: background-color 0.3s;
    color: #333;
    padding: 10px;
    margin: 10px;
    font-size: 18px;
    outline: none;
}

input[type="text"]:hover {
    /* box-shadow: 0px 0px 10px #666; */
}

button[type="submit"] {
    border: none;
    border-radius: 10px;
    background-color: #d4a57b;
    transition: background-color 0.3s;
    color: #fff;
    font-size: 16px;
    padding: 10px;
    margin: 40px 10px 10px 10px;
    font-size: 20px;
}

button[type="submit"]:hover {
    /* box-shadow: 0px 0px 10px #666; */
    filter: brightness(0.85);
    /* 将亮度降低为 85% */
}

input[type=range] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 10px;
    background-color: #d4a57b;
    border: 1px solid white;
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 35px;
    height: 24px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #d4a57b;
    margin-top: 0px;
    cursor: grab;
}

.check-switch {
    -moz-appearance: none;
    -webkit-appearance: none;
    outline: none;
    display: inline-block;
    cursor: pointer;
    width: 39px;
    height: 20px;
    position: relative;
    border: 1px solid #dfdfdf;
    background-color: #fdfdfd;
    box-shadow: #dfdfdf 0 0 0 0 inset;
    border-radius: 20px;
    background-clip: content-box;
}

.check-switch:before {
    content: '';
    width: 17px;
    height: 17px;
    position: absolute;
    top: 0px;
    left: 0;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.check-switch:checked {
    border-color: #d4a57b;
    box-shadow: #d4a57b 0 0 0 16px inset;
    background-color: #d4a57b;
}

.check-switch:checked:before {
    left: 21px;
}

.check-switch-anim {
    transition: border cubic-bezier(0, 0, 0, 1) 0.4s, box-shadow cubic-bezier(0, 0, 0, 1) 0.4s;
}

.check-switch-anim:before {
    transition: left 0.3s;
}

.check-switch-anim:checked {
    box-shadow: #d4a57b 0 0 0 16px inset;
    background-color: #d4a57b;
    transition: border ease 0.4s, box-shadow ease 0.4s, background-color ease 1.2s;
}

.check-switch-anim:checked:before {
    transition: left 0.3s;
}

.rotate {
    animation: rotate 6s linear infinite;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 20px;
    overflow: clip;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.toggle-button {
    background-color: transparent;
    border: none;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'FZShuSong-Z01S', sans-serif;
    padding: 5px;
    font-size: 15px;
}

.toggle-button.active {
    color: white;
    background-color: #d4a57b;
}

.toggle-button:not(.active) {
    color: black;
    background-color: transparent;
}

.toggle-button:not(.active):hover {
    background-color: #f9f9f9;
    filter: brightness(0.95);
}

.fa {
    color: white;
    background-color: #d4a57b;
    margin: 2px;
    padding: 2px;
    border-radius: 2px;
    width: 20px;
    height: 20px;
}

.loading {
    background-color: grey !important;
    cursor: auto !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
}

.choices__inner {
    margin: 0px !important;
    padding: 0px 15px !important;
    font-size: 15px !important;
    min-height: 35px !important;
    max-height: 35px !important;
    height: 35px !important;
    border-radius: 10px !important;
}

.choices {
    margin: 0px !important;
    padding: 0px !important;
    font-size: 15px !important;
    width: 100px !important;
    height: 35px !important;

}

.choices__list choices__list--single {
    padding: 0px !important;
}

.choices__list--single {
    padding: 0px !important;
}

.table-row {
    transition: background-color 0.2s;
}

.table-row:hover {
    background-color: #f5f7fa;
}

.table-header-cell {
    padding: 8px;
    border-bottom: 2px solid #ddd;
}

.table-cell {
    padding: 8px;
    border-bottom: 2px solid #ddd;
}

.markdown-body {
    box-sizing: border-box;
    min-width: 200px;
    max-width: 980px;
    margin: 0 auto;
    padding: 45px;
}

@media (max-width: 767px) {
    .markdown-body {
        padding: 15px;
    }
}
