* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

#app {
    height: 100%;
}
.sydcb-container {
    background-color: #f7f8fa;
    min-height: 100vh;
}

.van-cell-group {
    margin-bottom: 12px;
}

.tab-button {
    margin: 16px;
}

.tab-buttons {
    display: flex;
    margin: 16px;
}

/* 添加禁用状态的样式 */
:deep(.van-tab--disabled) {
    color: #999 !important;
    cursor: not-allowed !important;
}

:deep(.van-tab__pane) {
    padding: 10px;
}

/* 添加禁用状态的样式 */
:deep(.van-field--disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}


/* 添加隐私弹窗样式 */
.privacy-popup {
    width: 90%;
    max-width: 600px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.privacy-header {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #ebedf0;
    background: #1989fa;
    color: #fff;
    border-radius: 16px 16px 0 0;
}

.privacy-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.privacy-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
}

.privacy-meta {
    color: #969799;
    font-size: 14px;
    margin-bottom: 20px;
}

.privacy-meta p {
    margin: 4px 0;
}

.privacy-text {
    font-size: 12px;
    line-height: 1.6;
    color: #323233;
}

.privacy-notice {
    margin: 10px 0;
}

.privacy-text section {
    margin: 16px 0;
}

.privacy-text h5 {
    font-size: 14px;
    font-weight: bold;
    color: #323233;
    line-height: 18px;
}

.privacy-text p {
    text-align: justify;
    line-height: 1.8;
    font-size: 12px;
}

.privacy-footer {
    padding: 16px;
    border-top: 1px solid #ebedf0;
    display: flex;
    gap: 12px;
}

.footer-btn {
    flex: 1;
    height: 40px;
    font-size: 16px;
    border-radius: 20px;
}

/* 自定义滚动条样式 */
.privacy-content::-webkit-scrollbar {
    width: 4px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background-color: #dcdee0;
    border-radius: 2px;
}

.privacy-content::-webkit-scrollbar-track {
    background-color: transparent;
}

:deep(.van-popup) {
    border-radius: 16px;
}

:deep(.van-popup__close-icon) {
    color: #fff;
    font-size: 20px;
    top: 16px;
}

/* 调整段落间距和缩进 */
.privacy-text p {
    text-indent: 2em;
}

.privacy-text h5 {
    text-indent: 1em;
}

.privacy-notice p:first-child {
    text-indent: 0;
    font-weight: bold;
}

.multi-picker {
    background-color: #fff;
}

.multi-picker__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 16px;
    font-size: 16px;
    background-color: #f7f8fa;
}

.multi-picker__cancel,
.multi-picker__confirm {
    padding: 0;
    border: none;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.multi-picker__cancel {
    color: #969799;
}

.multi-picker__confirm {
    color: #1989fa;
}

.multi-picker__title {
    font-weight: 500;
    color: #323233;
    display: flex;
    align-items: center;
}

.multi-picker__count {
    font-size: 12px;
    color: #969799;
    margin-left: 4px;
    font-weight: normal;
}

.multi-picker__columns {
    position: relative;
    max-height: 264px;
    overflow-y: auto;
}

.multi-picker__column {
    padding: 8px 16px;
}

.multi-picker__item {
    padding: 5px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.multi-picker__item--nanjing {
    color: #1989fa;
    font-weight: bold;
}

.multi-picker__item--disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.multi-picker__item--disabled .multi-picker__item-text {
    color: #999;
}

:deep(.van-checkbox) {
    width: auto;
    padding: 0;
    align-items: center;
}

:deep(.van-checkbox__icon--disabled) {
    background-color: #f7f8fa;
    border-color: #dcdee0;
    cursor: not-allowed;
}

:deep(.van-checkbox__label--disabled) {
    color: #c8c9cc;
}

/* 添加选中项的样式 */
:deep(.van-checkbox__icon--checked) {
    background-color: #1989fa;
    border-color: #1989fa;
}

/* 添加hover效果 */
.multi-picker__item:not(.multi-picker__item--disabled):hover {
    background-color: #f5f7fa;
}

.custom-cascader {
    height: 70vh;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.custom-cascader .item-text {
    font-size: 14px;
}

.custom-cascader .tabs-nav-item {
    font-size: 14px;
}

.custom-cascader__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.custom-cascader__header .title {
    font-size: 16px;
    font-weight: 500;
    color: #323233;
}

.custom-cascader__header .confirm-btn {
    font-size: 14px;
    color: #1989fa;
    padding: 4px 8px;
    cursor: pointer;
}

.custom-cascader__header .confirm-btn:active {
    opacity: 0.7;
}

.custom-cascader__tabs {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.custom-cascader__tabs .tabs-nav {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.custom-cascader__tabs .tabs-nav::-webkit-scrollbar {
    display: none;
}

.custom-cascader__tabs .tabs-nav .tab-item {
    position: relative;
    flex: none;
    padding: 0 12px;
    color: #969799;
    font-size: 14px;
    line-height: 44px;
    cursor: pointer;
}

.custom-cascader__tabs .tabs-nav .tab-item.active {
    color: #1989fa;
    font-weight: 500;
}

.custom-cascader__tabs .tabs-nav .tab-item:not(:last-child)::after {
    content: '/';
    position: absolute;
    right: -2px;
    color: #969799;
}

.custom-cascader__tabs .tab-line {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    height: 2px;
    background-color: #1989fa;
    border-radius: 2px;
}

.custom-cascader__body {
    flex: 1;
    overflow-y: auto;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
}

.custom-cascader__list {
    padding: 8px 0;
}

.custom-cascader__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin: 0;
    line-height: 24px;
}

.custom-cascader__item .radio-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    margin: 0;
}

.custom-cascader__item .radio-wrapper input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    vertical-align: middle;
}

.custom-cascader__item .radio-wrapper .item-text {
    margin-left: 8px;
    font-size: 14px;
    color: #323233;
    vertical-align: middle;
}

.custom-cascader__item .next-level-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.custom-cascader__item .next-level-btn:active {
    opacity: 0.7;
}

.custom-cascader .arrow-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 1px solid #969799;
    border-right: 1px solid #969799;
    transform: rotate(45deg);
    transition: transform 0.2s;
}