/**
 * CommonInput.css - 表单输入组件样式
 * 
 * 主题变量支持：切换 --ci-theme-* 变量可切换主题
 * 移动优先设计，桌面端保持基础可用
 */

:root {
    /* 默认主题颜色 */
    --ci-theme-primary: #4A90D9;
    --ci-theme-primary-light: #6BA3E0;
    --ci-theme-primary-dark: #3A7BC8;
    --ci-theme-bg: #FFFFFF;
    --ci-theme-bg-secondary: #F5F7FA;
    --ci-theme-border: #E4E7ED;
    --ci-theme-text: #303133;
    --ci-theme-text-secondary: #909399;
    --ci-theme-text-placeholder: #C0C4CC;
    --ci-theme-error: #F56C6C;
    --ci-theme-success: #67C23A;
}

/* 深色主题 */
.ci-theme-dark {
    --ci-theme-primary: #5B8DEF;
    --ci-theme-primary-light: #7AA3E8;
    --ci-theme-primary-dark: #4A7BD0;
    --ci-theme-bg: #1E1E1E;
    --ci-theme-bg-secondary: #252526;
    --ci-theme-border: #3C3C3C;
    --ci-theme-text: #E4E7ED;
    --ci-theme-text-secondary: #909399;
    --ci-theme-text-placeholder: #606266;
    --ci-theme-error: #F56C6C;
    --ci-theme-success: #67C23A;
}

/* 蓝色主题 */
.ci-theme-blue {
    --ci-theme-primary: #1890FF;
    --ci-theme-primary-light: #40A9FF;
    --ci-theme-primary-dark: #096DD9;
    --ci-theme-bg: #FFFFFF;
    --ci-theme-bg-secondary: #F0F7FF;
    --ci-theme-border: #91D5FF;
    --ci-theme-text: #002766;
    --ci-theme-text-secondary: #597EF7;
    --ci-theme-text-placeholder: #ADC6FF;
}

/* 绿色主题 */
.ci-theme-green {
    --ci-theme-primary: #52C41A;
    --ci-theme-primary-light: #73D13D;
    --ci-theme-primary-dark: #389E0D;
    --ci-theme-bg: #FFFFFF;
    --ci-theme-bg-secondary: #F6FFED;
    --ci-theme-border: #B7EB8F;
    --ci-theme-text: #135200;
    --ci-theme-text-secondary: #73D13D;
    --ci-theme-text-placeholder: #D9F7BE;
}

/* ==================== 基础样式 ==================== */

.ci-item {
    margin-bottom: 0px;
    padding: 0px 10px;
    background: var(--ci-theme-bg);
}

.ci-item.ci-separator-item {
    padding: 0;
}

.ci-title {
    font-size: 13px;
    color: var(--ci-theme-text);
    padding: 3px 6px;
    text-align: left;
    font-weight: 500;
}

.ci-must {
    color: var(--ci-theme-error);
    margin-right: 2px;
}

.ci-content {
    padding: 2px 6px;
}

/* ==================== 文本输入 ==================== */

.ci-text-item {
    padding-top: 4px;
    padding-bottom: 4px;
}

.ci-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--ci-theme-text);
    background: var(--ci-theme-bg);
    box-sizing: border-box;
}

.ci-input:focus {
    outline: none;
    border-color: var(--ci-theme-primary);
}

.ci-input[readonly],
.ci-input:disabled {
    background: var(--ci-theme-bg-secondary);
    cursor: not-allowed;
    outline: none;
    color: var(--ci-theme-text);
    opacity: 1;
}

.ci-textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.5;
}

/* ==================== 选择组件 ==================== */

.ci-select-item-wrapper {
    padding-top: 4px;
    padding-bottom: 4px;
}

.ci-select-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 2px 6px;
}

.ci-select-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ci-select-content.ci-no-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.ci-select-item {
    display: flex;
    padding: 8px 14px;
    font-size: 13px;
    text-align: center;
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    cursor: pointer;
    background: transparent;
    color: var(--ci-theme-primary);
}

.ci-select-item.ci-selected {
    background: var(--ci-theme-primary);
    border-color: var(--ci-theme-primary);
    color: white;
}

.ci-select-item.ci-gray {
    color: var(--ci-theme-text-placeholder);
    cursor: not-allowed;
}

/* 固定宽度选项 */
.ci-select-item.ci-item-fixed-width {
    min-width: 60px;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 全宽选项（每行100%宽度） */
.ci-select-item.ci-item-full-width {
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--ci-theme-border, #e8e8e8);
    border-radius: 0;
    white-space: normal;
    word-break: break-all;
}
.ci-select-item.ci-item-full-width:last-child {
    border-bottom: none;
}

/* 换行起始项 */
.ci-select-item.ci-item-row-start {
    margin-left: 0;
    margin-top: 8px;
}

/* 选择组件换行占位元素 */
.ci-select-row-break {
    flex-basis: 100%;
    width: 100%;
    height: 0;
    margin: -8px 0 0 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* 其他选项 */
.ci-other-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--ci-theme-bg-secondary);
    border: 1px dashed var(--ci-theme-primary);
    padding: 6px 12px;
}

.ci-other-item.ci-selected {
    background: var(--ci-theme-primary);
    border-color: var(--ci-theme-primary);
    color: white;
}

.ci-other-item.ci-selected .ci-other-label {
    color: white;
}

.ci-other-label {
    flex-shrink: 0;
    color: var(--ci-theme-primary);
    font-weight: 500;
}

.ci-other-input {
    width: 100px;
    padding: 3px 8px;
    font-size: 12px;
    border: 1px solid var(--ci-theme-border);
    border-radius: 3px;
    outline: none;
    background: var(--ci-theme-bg);
}

.ci-other-input:focus {
    border-color: var(--ci-theme-primary);
}

/* ==================== 文本输入快捷标签 ==================== */
.ci-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 2px 2px;
}

.ci-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.ci-tag-item {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    background: transparent;
    border: 1px dashed var(--ci-theme-border);
    border-radius: 3px;
    cursor: pointer;
    color: var(--ci-theme-text-secondary);
}

/* ==================== 多行文本HTML支持 ==================== */
.ci-html-toggle {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    background: var(--ci-theme-bg-secondary);
    border-bottom: 1px solid var(--ci-theme-border);
}

.ci-html-toggle label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--ci-theme-primary);
    cursor: pointer;
    font-weight: 500;
}

.ci-html-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--ci-theme-primary);
}

.ci-html-preview {
    padding: 10px;
    min-height: 60px;
    background: var(--ci-theme-bg);
    border: 1px dashed var(--ci-theme-primary);
    border-radius: 4px;
    line-height: 1.5;
    color: var(--ci-theme-text);
}

.ci-textarea.ci-textarea-html {
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 12px;
    background: #1e1e1e;
    color: #d4d4d4;
}

.ci-textarea.ci-hide,
.ci-html-preview.ci-hide {
    display: none;
}

/* ==================== 日期选择 ==================== */

.ci-date-content {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.ci-date-row,
.ci-date-time-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ci-date-has-time .ci-date-row {
    width: 100%;
}

.ci-date-has-time .ci-date-time-row {
    width: 100%;
    margin-top: 4px;
}

.ci-date-input,
.ci-time-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ci-theme-text);
    background: var(--ci-theme-bg);
}

.ci-date-sep,
.ci-time-sep,
.ci-number-sep {
    color: var(--ci-theme-text-secondary);
    flex-shrink: 0;
}

.ci-unit {
    color: var(--ci-theme-text-secondary);
    font-size: 14px;
    padding: 0 5px;
}

/* ==================== 数字输入 ==================== */

.ci-number-content {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ci-number-input {
    width: 100px;
    padding: 10px 12px;
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ci-theme-text);
    background: var(--ci-theme-bg);
}

/* ==================== 分隔线 ==================== */

.ci-separator-line {
    border-top: 1px solid var(--ci-theme-border);
    position: relative;
    margin: 10px 0;
}

.ci-separator-label {
    position: absolute;
    top: -10px;
    left: 20px;
    background: var(--ci-theme-bg);
    padding: 0 10px;
    font-size: 12px;
    color: var(--ci-theme-text-secondary);
}

/* ==================== 表单内Banner ==================== */

.ci-form-banner {
    padding: 4px 0px;
    background-color: #F0F0F0;
    color: dimgray;
    font-size: 12px;
    line-height: 10px;
    border: none;
    outline: none;
}

.ci-form-banner.ci-has-tip {
    line-height: 25px;
}

.ci-form-banner:focus {
    outline: none;
}

.ci-form-banner-line {
    border-top: 1px solid var(--ci-theme-border);
    opacity: 0.5;
}

.ci-form-banner-tip {
    font-size: 12px;
    color: var(--ci-theme-text-placeholder);
}

/* ==================== 第二层：组合输入组件 (Banner) ==================== */

.ci-banner-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0;
    border-bottom: none;
    background: var(--ci-theme-bg);
}

.ci-banner-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: var(--ci-theme-bg);
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    min-height: 44px;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    flex: 1;
}

.ci-banner-item .ci-title,
.ci-banner-main .ci-title {
    flex-shrink: 0;
    padding: 0 6px 0 0;
    font-weight: 500;
    min-width: 100px;
}

.ci-banner-main .ci-title {
    flex: 0 0 100px;
}

.ci-banner-value,
.ci-banner-item-content {
    flex: 1 1 auto;
    min-width: 40px;
    padding: 0 6px;
    font-size: 13px;
    color: var(--ci-theme-text);
    word-break: break-all;
    line-height: 1.5;
    text-align: left;
    display: flex;
    align-items: center;
}

.ci-banner-value:empty::before {
    content: '\200B';
}

.ci-banner-value.ci-placeholder {
    color: var(--ci-theme-text-placeholder);
}

.ci-banner-arrow {
    flex-shrink: 0;
    padding: 0 3px;
    font-size: 12px;
    color: var(--ci-theme-primary);
    font-weight: bold;
}

.ci-multigroup-header,
.ci-banner-header {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    background: transparent;
    border-bottom: none;
}

.ci-banner-header {
    background: var(--ci-theme-bg-secondary);
    border-bottom: 1px solid var(--ci-theme-border);
}

.ci-multigroup-header .ci-title,
.ci-banner-header .ci-title {
    flex: 1;
    padding: 0;
    font-weight: 500;
}

.ci-multigroup-tip,
.ci-banner-tip {
    color: var(--ci-theme-text-secondary);
    font-size: 11px;
    margin-right: 6px;
}

.ci-multigroup-list,
.ci-banner-list {
    max-height: 400px;
    overflow-y: auto;
}

.ci-multigroup-list {
    border: none;
}

.ci-multigroup-item,
.ci-single-group-item {
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    display: block;
    width: 100%;
}

.ci-single-group-item .ci-banner-main {
    border: none;
    padding: 10px 15px;
    width: 100%;
}

.ci-multigroup-row {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-bottom: none;
    background: transparent;
}

.ci-multigroup-content {
    flex: 1;
    font-size: 13px;
    color: var(--ci-theme-text);
    word-break: break-all;
}

.ci-multigroup-actions,
.ci-banner-item-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    margin-left: 6px;
}

.ci-multigroup-add,
.ci-banner-add {
    padding: 4px 12px;
    background: var(--ci-theme-primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.ci-multigroup-add.ci-gray,
.ci-banner-add.ci-gray {
    background: var(--ci-theme-border);
    cursor: not-allowed;
}

.ci-banner-arrow.ci-gray {
    color: var(--ci-theme-text-placeholder);
    cursor: not-allowed;
}

/* 图标按钮 */
.ci-btn-icon {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--ci-theme-text-secondary);
}

.ci-btn-icon.ci-btn-delete {
    color: var(--ci-theme-error);
}

/* ==================== 按钮 ==================== */

.ci-btn {
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}

.ci-btn-primary {
    background: var(--ci-theme-primary);
    color: white;
}

.ci-btn-primary.ci-gray {
    background: var(--ci-theme-text-placeholder);
    cursor: not-allowed;
    opacity: 0.6;
}

.ci-btn-default {
    background: var(--ci-theme-bg-secondary);
    color: var(--ci-theme-text);
    border: 1px solid var(--ci-theme-border);
}

.ci-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* ==================== 弹窗 ==================== */

.ci-popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    display: none;
}

.ci-popup-mask.ci-mask-show {
    opacity: 1;
    display: block;
}

.ci-popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ci-theme-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    opacity: 0;
    display: none;
}

.ci-popup-container.ci-popup-show {
    opacity: 1;
    display: flex;
}

/* 全屏弹窗 */
.ci-popup-container.ci-popup-full {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    margin: 0;
    position: fixed;
}

.ci-popup-container.ci-popup-full.ci-popup-show {
    transform: none;
}

/* 内联弹窗样式 */
.ci-popup-container.ci-popup-inline {
    width: 400px;
    padding: 0;
}

.ci-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-bottom: 1px solid var(--ci-theme-border);
    background: #fafafa;
    border-radius: 12px 12px 0 0;
}

.ci-popup-container.ci-popup-full .ci-popup-header {
    border-radius: 0;
}

.ci-popup-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ci-theme-text);
}

.ci-popup-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
    color: #ff4d4f;
    font-weight: bold;
    border-radius: 50%;
}

.ci-popup-body {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.ci-popup-footer {
    display: flex;
    justify-content: center;
    gap: 0px;
    margin-top: 20px;
    padding: 0px;
    background: #fafafa;
    border-radius: 0 0 12px 12px;
}

.ci-popup-footer .ci-btn {
    flex: 1;
    text-align: center;
}

.ci-popup-container.ci-popup-full .ci-popup-footer {
    border-radius: 0;
    flex-shrink: 0;
}

.ci-popup-container.ci-popup-full .ci-popup-body {
    flex: 1;
    min-height: 0;
}

/* 子表单 */
.ci-sub-form {
    padding: 0;
}

/* ==================== 表单容器 ==================== */

.ci-form-container {
    background: var(--ci-theme-bg);
    border-radius: 8px;
    overflow: hidden;
}

.ci-form-header {
    padding: 8px 10px;
    border-bottom: 1px solid var(--ci-theme-border);
    background: var(--ci-theme-bg-secondary);
}

.ci-form-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ci-theme-text);
}

.ci-form-body {
    padding: 0;
}

.ci-form-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--ci-theme-border);
    background: var(--ci-theme-bg-secondary);
}

.ci-form-footer .ci-btn {
    flex: 1;
    text-align: center;
}

/* ==================== 响应式（桌面增强） ==================== */

@media (min-width: 601px) {
    /* 仅桌面端：可选的hover效果 */
    .ci-select-item:hover {
        border-color: var(--ci-theme-primary);
        background: var(--ci-theme-bg-secondary);
    }

    .ci-btn-primary:hover {
        background: var(--ci-theme-primary-dark);
    }

    .ci-btn-default:hover {
        background: var(--ci-theme-bg);
        border-color: var(--ci-theme-primary);
    }

    .ci-multigroup-add:hover,
    .ci-banner-add:hover {
        background: var(--ci-theme-primary-dark);
    }

    .ci-btn-icon:hover {
        background: var(--ci-theme-bg-secondary);
        color: var(--ci-theme-primary);
    }

    .ci-banner-main:hover {
        border-color: var(--ci-theme-primary);
        background: var(--ci-theme-bg-secondary);
    }

    .ci-multigroup-row:hover {
        background: var(--ci-theme-bg-secondary);
    }

    .ci-other-item:hover {
        border-style: solid;
        background: var(--ci-theme-bg-secondary);
    }

    .ci-tag-item:hover {
        background: var(--ci-theme-bg-secondary);
        border-color: var(--ci-theme-primary);
        color: var(--ci-theme-primary);
    }

    .ci-popup-close:hover {
        background: #ff4d4f;
        color: #fff;
    }

    .ci-image-add-btn:hover {
        border-color: var(--ci-theme-primary);
        background: var(--ci-theme-bg-secondary);
    }

    .ci-image-remove:hover {
        background: rgba(245, 108, 108, 0.9);
    }

    .ci-input:focus {
        box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.1);
    }

    .ci-other-input:focus {
        box-shadow: 0 0 0 2px rgba(74, 144, 217, 0.2);
    }
}

/* 手机端弹窗适配 */
@media (max-width: 600px) {
    .ci-popup-container {
        width: 92%;
        max-width: 360px;
        max-height: 90vh;
    }

    .ci-select-content {
        flex-direction: column;
    }

    .ci-select-item {
        width: 100%;
        box-sizing: border-box;
    }

    .ci-banner-main {
        flex-wrap: wrap;
    }

    .ci-banner-value {
        width: 100%;
        order: 3;
    }
}

/* ==================== 多选过滤组件 ==================== */

.ci-filter-wrapper {
    padding: 5px 10px;
}

.ci-filter-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--ci-theme-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ci-theme-text);
    background: var(--ci-theme-bg);
    box-sizing: border-box;
}

.ci-filter-input:focus {
    outline: none;
    border-color: var(--ci-theme-primary);
}

.ci-filter-input::placeholder {
    color: var(--ci-theme-text-placeholder);
}

/* ==================== 图片上传组件 ==================== */

.ci-image-item {
    padding-top: 6px;
    padding-bottom: 6px;
}

.ci-image-content {
    padding: 2px 6px;
}

.ci-image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ci-image-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--ci-theme-border);
}

.ci-image-wrapper.ci-uploading {
    opacity: 0.7;
}

.ci-image-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.ci-image-wrapper.readonly .ci-image-preview {
    pointer-events: none;
}

.ci-image-wrapper.readonly,
.ci-image-wrapper.readonly * {
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.ci-image-wrapper.readonly img,
.ci-image-wrapper.readonly .ci-image-preview {
    pointer-events: none;
    border: none;
    box-shadow: none;
}

.ci-image-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.ci-image-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.ci-image-add-btn {
    width: 80px;
    height: 80px;
    border: 2px dashed var(--ci-theme-border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--ci-theme-bg);
}

.ci-image-add-icon {
    font-size: 32px;
    color: var(--ci-theme-text-placeholder);
    line-height: 1;
}

.ci-image-add-text {
    font-size: 12px;
    color: var(--ci-theme-text-secondary);
    margin-top: 5px;
}

/* ==================== 隐藏类 ==================== */

.ci-hide {
    display: none;
}

/* ==================== 开关组件 ==================== */

.ci-boolean-item {
    padding-top: 4px;
    padding-bottom: 4px;
}

.ci-boolean-content {
    padding: 2px 6px;
    display: flex;
    align-items: center;
}

.ci-switch-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.ci-switch-wrapper.ci-readonly {
    cursor: default;
    opacity: 0.85;
}

.ci-switch-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 开关轨道 */
.ci-switch-track {
    position: relative;
    width: 48px;
    height: 28px;
    background: #dcdfe6;
    border-radius: 14px;
}

.ci-switch-track.ci-switch-checked {
    background: #52c41a;
}

/* 开关滑块 */
.ci-switch-thumb {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ci-switch-track.ci-switch-checked .ci-switch-thumb {
    transform: translateX(20px);
}

/* 开关标签 */
.ci-switch-label {
    font-size: 14px;
    font-weight: 500;
    color: #909399;
}

.ci-switch-label-true {
    color: #52c41a;
}

.ci-switch-label-false {
    color: #909399;
}
