/* common.css - 环亚项目公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
}

a {
    color: #1a73e8;
    text-decoration: none;
    cursor: pointer;
}

.container {
    max-width: 750px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px;
    margin:0 auto;
}

/* 头部区域 */
.header {
    background: linear-gradient(135deg, #1a73e8, #0d62d9);
    color: white;
    padding: 20px 16px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 18px;
    /*font-weight: 600;*/
    text-align: center;
    flex: 1;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    border: none;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-actions {
    width: 40px;
}

/* 通用卡片样式 */
.card-section {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    margin: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.card-title i {
    color: #1a73e8;
    font-size: 16px;
}
.card-grid {
    display: grid;
    gap: 16px;
}
.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.info-label {
    width: 80px;
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
    text-align: right;
}
.info-value {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}
.card-action {
    font-size: 13px;
    color: #666;
    background: #f5f7fa;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.card-action:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title .title-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title .title-icon {
    color: #1a73e8;
    font-size: 16px;
}

.section-title .edit-link {
    font-size: 13px;
    color: #666;
    background: #f5f7fa;
    padding: 4px 12px;
    border-radius: 12px;
    transition: all 0.3s;
}

.section-title .edit-link:hover {
    background: #e8f0fe;
    color: #1a73e8;
}
/* 节标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}
/* 状态样式 */
.status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.status-upcoming {
    background: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
}

.status-in-progress {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-completed {
    background: #e6fffb;
    color: #13c2c2;
    border: 1px solid #87e8de;
}

.status-cancelled {
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.status-pending {
    background: #fefce6;
    color: #d4b106;
    border: 1px solid #ffe566;
}
.status-missed {
    background: #fff7e6;
    color: #fa8c16;
    border: 1px solid #ffd591;
}
/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #e0e0e0;
}

.empty-text {
    font-size: 16px;
    margin-bottom: 8px;
}

.empty-subtext {
    font-size: 14px;
    margin-bottom: 20px;
}

.empty-action {
    display: inline-block;
    padding: 10px 20px;
    background: #1a73e8;
    color: white;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.empty-action:hover {
    background: #0d62d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding-top: 12px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-width: 750px;
    margin: 0 auto;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #666;
    font-size: 12px;
    text-decoration: none;
    padding: 4px;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
    max-width: 80px;
}

.nav-item:hover,
.nav-item.active {
    color: #1a73e8;
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
    transition: all 0.3s;
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
}

/* 按钮区域 */
.button-group {
    display: flex;
    justify-content: space-between;
    padding: 20px 16px;
    gap: 15px;
}
/* 按钮样式 */
.btn {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
        

.btn-cancel {
    background-color: #f5f7fa;
    color: #666;
    border: 1px solid #e0e0e0;
}
.btn-cancel:hover {
    background: #e8f0fe;
    color: #1a73e8;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}
.btn-save {
    background-color: #1a73e8;
    color: white;
}

.btn-save:hover {
    background: #0d62d9;
    /*transform: translateY(-1px);*/
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}
.btn-primary {
    background: #1a73e8;
    color: white;
}



.btn-primary:hover {
    background: #0d62d9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.btn-secondary {
    background: #f5f7fa;
    color: #666;
}

.btn-secondary:hover {
    background: #e8f0fe;
    color: #1a73e8;
}

.btn-danger {
    background: #fff2f0;
    color: #ff4d4f;
}

.btn-danger:hover {
    background: #ffccc7;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* 头像样式 */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
    background-color: #e8f0fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a73e8;
    overflow: hidden;
}

.avatar-sm {
    width: 24px;
    height: 24px;
    font-size: 12px;
}

.avatar-md {
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.avatar-lg {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255,255,255,0.2);
    font-size: 28px;
}

.avatar-placeholder {
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    font-size: inherit;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 表单组样式 */
.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

.form-group:hover {
    background-color: #f8f9fa;
}

.form-label {
    font-size: 16px;
    color: #333;
    flex: 1;
}

.form-input {
    flex: 2;
    text-align: right;
    border: none;
    outline: none;
    font-size: 16px;
    color: #666;
    padding: 5px 0;
    background: transparent;
}

.form-input::placeholder {
    color: #999;
}
/* 页脚样式 */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 0 16px;
    font-size: 12px;
    color: #999;
}

.footer p {
    margin-bottom: 5px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .header {
        padding: 20px 16px 16px 20px;
    }
    
    .card-section {
        margin: 6px 12px;
        padding: 16px;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .section-title .edit-link {
        align-self: flex-end;
    }
}

@media (max-width: 375px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .card-section {
        background-color: #2d2d2d;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .section-title {
        color: #e0e0e0;
    }
    
    .bottom-nav {
        background-color: #2d2d2d;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .btn-secondary {
        background: linear-gradient(135deg, #3d3d3d, #4d4d4d);
        color: #8ab4f8;
    }
    
    .empty-state {
        color: #b0b0b0;
    }
    
    .empty-icon {
        color: #5d5d5d;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .header {
        background: #0000ff;
    }
    
    .card-action:hover {
        background: #0000ff;
        color: #ffffff;
    }
    
    .empty-action {
        background: #0000ff;
        color: #ffffff;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.fa-regular, .far {
    padding: 5px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 纵向表单容器 */
.edit-form-container {
    padding: 16px;
}

/* 纵向表单组 */
.edit-form-group {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
}

/* 标准表单标签 */
.edit-form-group-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.edit-form-group-label.required::after {
    content: "*";
    color: #ff4d4f;
    margin-left: 4px;
}
/* 纵向表单标签 */
.edit-form-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    display: flex;
    align-items: center;
}

.edit-form-label::before {
    content: "•";
    color: #1a73e8;
    margin-right: 8px;
    font-weight: bold;
}

/* 单选按钮组 */
.edit-form-radio {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-form-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin: 0;
}

/* 选择框 */
.edit-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
    padding-left:10px;
}

.required::after {
    content: " *";
    color: #ff4d4f;
}

/* 纵向表单输入框 */
.edit-form-input, .edit-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background-color: #fafafa;
}

.edit-form-input:focus, .edit-form-textarea:focus {
    outline: none;
    border-color: #1a73e8;
    background-color: white;
}

.edit-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.edit-form-hint {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* 开关样式 */
.switch-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.switch-label {
    font-size: 16px;
    color: #333;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #1a73e8;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1000;
    display: none;
}

.message.success {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.message.error {
    background-color: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

/* 加载状态样式 */
.loading {
    display: none;
    text-align: center;
    padding: 20px;
    color: #1a73e8;
}

.loading i {
    margin-right: 8px;
}

/* 标准表单容器 */
.edit-form-standard {
    background-color: white;
    margin: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}


.edit-form-standard-group:last-child {
    border-bottom: none;
}

.edit-form-standard-group:hover {
    background-color: #f8f9fa;
}

.edit-form-standard-group.error {
    background-color: #fff2f0;
}


/* 标准表单输入框 */
.form-input-standard {
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    padding: 8px 0;
    background: transparent;
    width: 100%;
    transition: color 0.3s;
    /*text-indent: 2em;*/
}
.edit-form-standard-group.error {
    background-color: #fff2f0;
}

.edit-form-standard-group.error .form-input,
.edit-form-standard-group.error .form-select,
.edit-form-standard-group.error .form-textarea {
    color: #ff4d4f;
}

.form-input-standard::placeholder {
    color: #999;
}

.form-input-standard:focus {
    color: #1a73e8;
}

.edit-form-standard-group.error .form-input-standard {
    color: #ff4d4f;
}

/* 标准表单选择框 */
.form-select-standard {
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    padding: 8px 10px;
    background: transparent;
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    cursor: pointer;
    /*text-indent: 2em;*/
}

.form-select-standard:focus {
    color: #1a73e8;
}

.edit-form-standard-group.error .form-select-standard {
    color: #ff4d4f;
}

/* 标准表单文本域 */
.form-textarea-standard {
    width: 100%;
    min-height: 100px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    padding: 8px 10px;
    background: transparent;
    resize: none;
    line-height: 1.5;
    font-family: inherit;
    /*text-indent: 2em;*/
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
}

.form-textarea-standard::placeholder {
    color: #999;
}

.form-textarea-standard:focus {
    color: #1a73e8;
}

.edit-form-standard-group.error .form-textarea-standard {
    color: #ff4d4f;
}

/* 标准表单多选框网格 */
.form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.form-checkbox-item {
    position: relative;
}

.form-checkbox-input {
    display: none;
}

.form-checkbox-label {
    display: block;
    padding: 10px 5px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}

.form-checkbox-input:checked + .form-checkbox-label {
    background-color: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
    font-weight: 500;
}

.form-checkbox-label:hover {
    border-color: #1a73e8;
}

/* 标准表单错误提示 */
.form-error-message {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    line-height: 1.4;
}

.edit-form-standard-group.error .form-error-message {
    display: block;
}

/* 标准表单提示文本 */
.form-hint-standard {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

/* 标准表单只读状态 */
.form-input-standard[readonly],
.form-select-standard[readonly] {
    color: #999;
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* 标准表单禁用状态 */
.form-input-standard:disabled,
.form-select-standard:disabled {
    color: #ccc;
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 标准表单操作区 */
.form-actions {
    display: flex;
    justify-content: space-between;
    padding: 20px 16px;
    gap: 15px;
    background-color: white;
    margin: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 标准表单分割线 */
.form-divider-standard {
    height: 1px;
    background-color: #f0f0f0;
    margin: 0 16px;
}

/* 标准表单节标题 */
.form-section-standard {
    background-color: white;
    margin: 20px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-section-header {
    padding: 16px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .form-checkbox-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .edit-form-standard {
        margin: 16px 12px;
    }
    
    .form-actions {
        margin: 16px 12px;
    }
    
    .form-section-standard {
        margin: 16px 12px;
    }
}

@media (max-width: 480px) {
    .edit-form-standard-group {
        padding: 14px;
    }
    
    .form-checkbox-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .form-checkbox-label {
        padding: 12px 8px;
    }
}

@media (max-width: 320px) {
    .edit-form-standard-group {
        padding: 12px;
    }
    
    .form-actions {
        padding: 16px 12px;
    }
}

/* 标准表单焦点状态 */
.form-input-standard:focus,
.form-select-standard:focus,
.form-textarea-standard:focus {
    background-color: #f8f9fa;
}

/* 标准表单加载状态 */
.form-loading {
    position: relative;
    pointer-events: none;
}

.form-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}


/* 紧凑表单容器 */
.edit-form-compact {
    padding: 16px;
    background-color: #f5f7fa;
}

/* 紧凑表单行 */
.edit-form-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding: 0;
    border: none;
    background: transparent;
}

.edit-form-row:last-child {
    margin-bottom: 0;
}

/* 紧凑表单列 */
.edit-form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0; /* 防止内容溢出 */
}

.edit-form-col-full {
    flex: 1 1 100%;
}

.edit-form-col-half {
    flex: 1 1 calc(50% - 8px);
}

.edit-form-col-third {
    flex: 1 1 calc(33.333% - 10.67px);
}

.edit-form-col-quarter {
    flex: 1 1 calc(25% - 12px);
}

/* 紧凑表单标签 */
.edit-form-label-compact {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

/*        .edit-form-label-compact.required::before {
    content: "*";
    color: #ff4d4f;
    margin-right: 4px;
    font-weight: bold;
}*/

/* 紧凑表单输入 */
.edit-form-input-compact {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.3s;
    min-height: 40px;
}

.edit-form-input-compact:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.edit-form-input-compact[readonly] {
    background-color: #f8f9fa;
    color: #666;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.edit-form-input-compact:disabled {
    background-color: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* 紧凑选择框 */
.edit-form-select-compact {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 36px;
}

/* 紧凑文本域 */
.edit-form-textarea-compact {
    min-height: 80px;
    resize: vertical;
    line-height: 1.5;
    font-family: inherit;
}

/* 紧凑单选/复选框组 */
.edit-form-radio-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.edit-form-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin: 0;
    line-height: 40px;
    padding-left: 5px;
}

.edit-form-radio-label input[type="radio"],
.edit-form-radio-label input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.edit-form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 紧凑表单提示文本 */
.edit-form-hint-compact {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
    line-height: 1.4;
}

.edit-form-hint-compact.error {
    color: #ff4d4f;
}

/* 紧凑表单分割线 */
.edit-form-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 20px 0;
    border: none;
}

/* 紧凑表单节标题 */
.edit-form-section {
    margin-bottom: 20px;
}

.edit-form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.edit-form-section-title::before {
    content: "";
    width: 3px;
    height: 16px;
    background-color: #1a73e8;
    margin-right: 8px;
    border-radius: 2px;
}

/* 紧凑表单操作区 */
.edit-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.edit-form-actions-center {
    justify-content: center;
}

.edit-form-actions-space-between {
    justify-content: space-between;
}

/* 紧凑表单内联操作 */
.edit-form-inline-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

/* 紧凑表单卡片容器 */
.edit-form-card {
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edit-form-card:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .edit-form-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .edit-form-col-half,
    .edit-form-col-third,
    .edit-form-col-quarter {
        flex: 1 1 100%;
    }
    
    .edit-form-radio-group {
        gap: 12px;
    }
    
    .edit-form-actions {
        flex-direction: column;
    }
    
    .edit-form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .edit-form-compact {
        padding: 12px;
    }
    
    .edit-form-card {
        padding: 12px;
        border-radius: 6px;
    }
    
    .edit-form-input-compact {
        padding: 8px 12px;
        min-height: 36px;
    }
}

/* 紧凑表单验证状态 */
.edit-form-input-compact.valid {
    border-color: #52c41a;
}

.edit-form-input-compact.invalid {
    border-color: #ff4d4f;
    background-color: #fff2f0;
}

.edit-form-input-compact.warning {
    border-color: #faad14;
    background-color: #fffbe6;
}

/* 紧凑表单加载状态 */
.edit-form-loading {
    position: relative;
    pointer-events: none;
}

.edit-form-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1a73e8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 紧凑表单计数器 */
.edit-form-counter {
    font-size: 12px;
    color: #999;
    text-align: right;
    margin-top: 4px;
}

.edit-form-counter.warning {
    color: #faad14;
}

.edit-form-counter.error {
    color: #ff4d4f;
}


/* 消息提示样式 */
.message-toast {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 48px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
    max-width: 80%;
    text-align: center;
}

.message-success {
    background-color: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.message-error {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}