/* 基础样式重置与通用设置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* 按钮基础样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.3);
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2ecc71, #e74c3c, #9b59b6);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 2;
}

.subtitle {
    margin: 10px 0 0;
    font-size: 1.1rem;
    color: #ecf0f1;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* 主要内容区域样式 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

/* 应用容器样式 */
.app-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.app-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
}

/* 输入区域与报价区域布局 */
.input-section, .quote-section {
    width: 100%;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.input-section:hover, .quote-section:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* 卡片样式通用设置 */
.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.card-body {
    padding: 20px;
}

/* 辅助文本样式 */
.helper-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 5px;
}

/* 成功/错误提示样式 */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* 加载状态样式 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 选择文本样式 */
::selection {
    background-color: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

::-moz-selection {
    background-color: rgba(52, 152, 219, 0.2);
    color: #2980b9;
}

/* 焦点样式 */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* 禁用状态样式 */
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 响应式设计基础设置 */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .app-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        max-width: 720px;
        padding: 15px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .app-container {
        padding: 20px 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 10px;
    }
    
    header {
        padding: 20px 0;
    }
    
    header h1 {
        font-size: 1.75rem;
    }
    
    .app-container {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        font-size: 12pt;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    header {
        background: white;
        color: black;
        padding: 20px 0;
        box-shadow: none;
    }
    
    header::before {
        display: none;
    }
    
    .btn, .add-room-btn, .remove-room-btn {
        display: none !important;
    }
    
    .app-container {
        box-shadow: none;
        border: none;
    }
    
    .app-container::before {
        display: none;
    }
    
    .room-info-section, .quote-section {
        page-break-inside: avoid;
    }
    
    .total-quote {
        background: white !important;
        border: 2px solid #000;
    }
}

/* 客户信息卡片样式 */
.customer-info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #3498db;
    text-align: left;
}

.customer-info-card .form-group {
    text-align: left;
    display: flex;
    align-items: center;
}

.customer-info-card .form-group label {
    margin-right: 8px;
    white-space: nowrap;
}

.customer-info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

/* 表单行样式 */
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 15px;
}

.form-row .form-group:last-child {
    margin-right: 0;
}

/* 优化的表单输入框样式 */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: white;
}

/* 客户姓名输入框特定宽度 */
#customerName {
    width: 6em;
}

/* 客户姓名表单组缩小样式 */
.form-group:has(#customerName) {
    flex: 0 0 auto;
    min-width: unset;
}

#customerPhone {
    width: 16em;
    max-width: 16em;
}

/* 客户电话表单组缩小样式 */
.form-group:has(#customerPhone) {
    flex: 0 0 auto;
    min-width: unset;
}

.form-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* 房间信息区域样式 */
.room-info-section {
    margin-top: 10px;
}

/* 区域标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

/* 添加房间按钮样式 */
.add-room-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.add-room-btn:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

/* 房间容器样式 */
.room-container {
    min-height: 150px;
    background-color: #fafbfc;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.room-container:not(:has(.empty-state)) {
    background-color: white;
    border-style: solid;
    border-color: #e0e0e0;
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

/* 按钮样式 */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.primary {
    background-color: #3498db;
    color: white;
}

.primary:hover {
    background-color: #2980b9;
}

.secondary {
    background-color: #95a5a6;
    color: white;
}

.secondary:hover {
    background-color: #7f8c8d;
}

/* 报价结果样式 */
.quote-result {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    min-height: 200px;
}

.quote-details {
    margin-bottom: 20px;
}

.room-quote {
    margin-bottom: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.room-quote h4 {
    margin: 0 0 10px;
    color: #2c3e50;
}

.room-quote p {
    margin: 5px 0;
    color: #555;
}

.total-quote {
    text-align: center;
    padding: 15px;
    background-color: #e8f4f8;
    border-radius: 4px;
    margin-top: 20px;
}

.total-quote h3 {
    margin: 0;
    color: #2980b9;
    font-size: 1.5em;
}

.hidden {
    display: none;
}

/* 移除装修效果图参考区相关样式 */

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 1.8em;
    }
    
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 18px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="number"],
    .form-group select {
        padding: 12px;
        font-size: 16px;
    }
    
    .room-input {
        padding: 20px;
    }
    
    .dimension-inputs {
        grid-template-columns: 1fr;
    }
    
.treatment-options {
    margin-top: 15px;
}

/* 三列布局样式 - 确保在所有屏幕尺寸下都显示为三列 */
.treatments-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px;
    margin-top: 15px;
    width: 100% !important;
    overflow-x: auto;
}

.treatments-row > div {
    flex: 1 1 33.333% !important;
    min-width: 280px !important;
    width: 33.333% !important;
    box-sizing: border-box;
}

/* 确保墙面/顶面/地面处理的容器样式正确应用 */
.wall-options, .ceiling-option, .floor-option {
    display: block !important;
}

/* 装修处理选项样式 */
.treatment-group {
    position: relative;
    padding: 20px;
    margin-bottom: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    min-height: 300px;
}

.treatment-group:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.treatment-group h4 {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.treatment-group h4::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 子选项样式 - 移除外边距缩进，使用内边距 */
.treatment-group .treatment-options {
    padding: 0;
    margin-left: 0;
}

.treatment-group .treatment-options h4 {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

/* 墙面、顶面、地面处理子选项横排显示 */
.wall-full-treatment,
.wall-partial-treatment,
.ceiling-full-treatment,
.ceiling-partial-treatment,
.floor-remove,
.floor-install {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

/* 处理类型切换标题样式 */
.treatment-toggle {
    display: block;
    padding: 12px 16px;
    margin: 0 0 10px 0;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
}

.treatment-toggle:hover {
    background-color: #f0f4ff;
    border-color: rgba(52, 152, 219, 0.3);
}

.treatment-toggle.checked {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #3498db;
    color: #2980b9;
}

/* 统一所有处理类型的标签样式 */
.wall-full-treatment label,
.wall-partial-treatment label,
.ceiling-full-treatment label,
.ceiling-partial-treatment label,
.floor-remove label,
.floor-install label {
    flex: 1;
    min-width: 140px;
    max-width: calc(50% - 6px);
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 0;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 2px solid transparent;
}

.treatment-options label:hover {
    background-color: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.treatment-options label span {
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
    font-weight: 500;
    color: #444;
    margin-left: 12px;
    transition: color 0.2s ease;
}

/* 复选框美化 */
.treatment-options input[type="checkbox"] {
    width: 20px;
    height: 20px;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #d1d9e6;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    background-color: white;
    flex-shrink: 0;
}

.treatment-options input[type="checkbox"]:hover {
    border-color: #3498db;
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.treatment-options input[type="checkbox"]:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.treatment-options input[type="checkbox"]:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 13px;
    font-weight: bold;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 选中状态的标签样式 */
.treatment-options label.checked {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #3498db;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.15);
}

.treatment-options label.checked span {
    color: #2980b9;
    font-weight: 600;
}

/* 墙面处理 - 蓝色系 */
.treatment-group.wall-treatment {
    border-left: 5px solid #3498db;
    padding: 20px;
    background-color: rgba(52, 152, 219, 0.25) !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 300px;
}

.treatment-group.wall-treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.treatment-group.wall-treatment h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(52, 152, 219, 0.5);
    color: #2980b9 !important;
}

.treatment-group.wall-treatment h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M3 3h18v18H3V3zm2 2v14h14V5H5zm4 2h2v2H9V7zm4 0h2v2h-2V7zm-4 4h2v2H9v-2zm4 0h2v2h-2v-2zm-4 4h2v2H9v-2zm4 0h2v2h-2v-2z'/%3E%3C/svg%3E");
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.treatment-group.wall-treatment label.checked {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #3498db;
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.2);
}

.treatment-group.wall-treatment label.checked span {
    color: #2980b9;
    font-weight: 600;
}

/* 顶面处理 - 绿色系 */
.treatment-group.ceiling-treatment {
    border-left: 5px solid #2ecc71;
    padding: 20px;
    background-color: rgba(46, 204, 113, 0.25) !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 300px;
}

.treatment-group.ceiling-treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
}

.treatment-group.ceiling-treatment h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(46, 204, 113, 0.5);
    color: #27ae60 !important;
}

.treatment-group.ceiling-treatment h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232ecc71'%3E%3Cpath d='M12 3L2 12h2v9h16v-9h2L12 3zm0 2.8L18 11v8H6v-8l6-5.2z'/%3E%3C/svg%3E");
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.treatment-group.ceiling-treatment label.checked {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #2ecc71;
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.2);
}

.treatment-group.ceiling-treatment label.checked span {
    color: #27ae60;
    font-weight: 600;
}

/* 地面处理 - 橙色系 */
.treatment-group.floor-treatment {
    border-left: 5px solid #e67e22;
    padding: 20px;
    background-color: rgba(230, 126, 34, 0.25) !important;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-height: 300px;
}

.treatment-group.floor-treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e67e22 0%, #d35400 100%);
}

.treatment-group.floor-treatment h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(230, 126, 34, 0.5);
    color: #d35400 !important;
}

.treatment-group.floor-treatment h4::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e67e22'%3E%3Cpath d='M19 10V5h-3v2h-2V5h-6v2H8V5H5v5H3v9h18v-9h-2zm-9-3h2v2h-2V7zm0 3h2v2h-2v-2zm0 3h2v2h-2v-2z'/%3E%3C/svg%3E");
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.treatment-group.floor-treatment label.checked {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-color: #e67e22;
    box-shadow: 0 4px 20px rgba(230, 126, 34, 0.2);
}

.floor-treatment label.checked span {
    color: #d35400;
    font-weight: 600;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .treatment-group {
        padding: 15px 15px 15px 50px;
    }
    
    .treatment-group h4::before {
        width: 28px;
        height: 28px;
    }
    
    .treatment-options {
        margin-left: 1.5em;
    }
    
    .treatment-options label {
        padding: 10px 15px 10px 35px;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .treatment-group {
        padding-left: 40px;
    }
    
    .treatment-group h4::before {
        width: 24px;
        height: 24px;
    }
    
    .treatment-options {
        margin-left: 1.5em;
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .treatment-group {
        padding-left: 35px;
    }
    
    .treatment-group h4::before {
        width: 20px;
        height: 20px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .treatment-group {
        padding: 12px;
    }
    
    .treatment-options label {
        padding: 10px 15px;
        font-size: 15px;
    }
}
    
    .price-edit-form .form-group {
        margin-bottom: 20px;
    }
}

/* 房间输入区域样式 */
.room-input {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    position: relative;
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.remove-room {
    color: #e74c3c;
    cursor: pointer;
    font-weight: bold;
}

/* 房间类型选择和尺寸测量横排布局 */
.room-input > .form-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* 房间类型部分样式 */
.room-type-section {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.room-type-section label {
    display: inline-block;
    margin-right: 8px;
    min-width: 80px;
    font-weight: 600;
    color: #2c3e50;
}

/* 房间类型选择样式 */
.room-type-section select {
    width: 120px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
}

/* 尺寸测量标签样式 */
.dimension-label {
    margin-right: 15px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
    min-width: 80px;
}

/* 尺寸测量横排显示 */
.dimension-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    flex: 1;
}

.dimension-input {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.dimension-input label {
    margin-right: 8px;
    white-space: nowrap;
    font-weight: normal;
    min-width: 60px;
}

/* 缩短尺寸输入框长度 */
.dimension-input input[type="number"] {
    width: 80px;
    padding: 8px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer .container {
    padding: 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.footer-info {
    text-align: center;
}

.footer-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-info p {
    color: #ecf0f1;
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-info a {
    color: #3498db;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: #2980b9;
    text-decoration: underline;
}
