﻿/* ========================================
   自动生成：cctv_calc.asp 页面样式
   ======================================== */

.auto-style-1 {
  max-width:100%;
}

.auto-style-2 {
  font-size:11px;
  color:#9ca3af;
  margin:4px 0 0;
}

.auto-style-3 {
  display:none;
}

.auto-style-4 {
  overflow-x:auto;
}

.auto-style-5 {
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  min-width:700px;
}

.auto-style-6 {
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
}

.auto-style-7 {
  padding:10px;
  text-align:left;
  border-radius:8px 0 0 0;
}

.auto-style-8 {
  padding:10px;
  text-align:center;
}

.auto-style-9 {
  padding:10px;
  text-align:left;
  border-radius:0 8px 0 0;
}

.auto-style-10 {
  background:#f9fafb;
}

.auto-style-11 {
  padding:8px;
  border-bottom:1px solid #e5e7eb;
}

.auto-style-12 {
  padding:8px;
  border-bottom:1px solid #e5e7eb;
  text-align:center;
}

.auto-style-13 {
  padding:8px;
}

.auto-style-14 {
  padding:8px;
  text-align:center;
}

.auto-style-15 {
  font-size:12px;
  color:#9ca3af;
  margin-top:8px;
}

.auto-style-16 {
  background:linear-gradient(135deg,#3b82f6,#2563eb);
}

.auto-style-17 {
  background:linear-gradient(135deg,#10b981,#059669);
}

.auto-style-18 {
  background:linear-gradient(135deg,#f59e0b,#d97706);
}

.auto-style-19 {
  background:linear-gradient(135deg,#8b5cf6,#7c3aed);
}

.auto-style-20 {
  background:linear-gradient(135deg,#ef4444,#dc2626);
}

.auto-style-21 {
  background:linear-gradient(135deg,#06b6d4,#0891b2);
}

.auto-style-22 {
  color:#ef4444;
  font-weight:700;
}


/* ========================================
   从ASP文件迁移的内联样式（计算器表单和结果卡片）
   ======================================== */

/* 页面专属：表单100%版心 + 增加呼吸感 */
.estimate-form-container {
    max-width: 100% !important;
    padding: 28px !important;
}
.estimate-form-grid {
    gap: 10px !important;
    margin-bottom: 22px !important;
}
.estimate-form-group {
    gap: 10px !important;
}
.estimate-form-label {
    font-size: 14px !important;
    line-height: 1.6 !important;
    padding-bottom: 2px !important;
}
.estimate-form-select,
.estimate-form-input,
.estimate-form-textarea {
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    min-height: 44px !important;
}
.estimate-form-submit {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
}
.estimate-submit-btn {
    padding: 14px 40px !important;
    font-size: 15px !important;
    letter-spacing: 1px !important;
}
.estimate-result {
    margin-top: 24px !important;
}
.estimate-detail-grid {
    gap: 16px !important;
}
.estimate-detail-item {
    padding: 12px 14px !important;
    line-height: 1.7 !important;
}
.estimate-notice {
    margin-top: 20px !important;
    padding: 18px 20px !important;
    line-height: 1.8 !important;
}
.tool-section-title {
    margin-bottom: 20px !important;
    line-height: 1.5 !important;
}
.estimate-factor-card {
    padding: 20px !important;
    line-height: 1.8 !important;
}
.estimate-factor-card h3 {
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}
.estimate-factor-card p {
    line-height: 1.8 !important;
    font-size: 13px !important;
}
.tool-desc {
    margin-bottom: 24px !important;
    line-height: 1.8 !important;
}
/* 分组标题 - 精美样式 */
.form-group-title {
    grid-column: 1 / -1;
    font-size: 15px;
    font-weight: 700;
    color: #1e40af;
    padding: 12px 16px;
    margin: 12px 0 4px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #2563eb;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
}
.form-group-title i {
    margin-right: 10px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
/* 表单项 - 精美样式 */
.estimate-form-group {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.25s ease;
    position: relative;
}
.estimate-form-group:hover {
    border-color: #93c5fd;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}
/* 标签 - 精美样式 */
.estimate-form-label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #374151 !important;
    line-height: 1.5 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}
.estimate-form-label i {
    color: #2563eb !important;
    font-size: 12px !important;
    margin-right: 6px !important;
    width: 20px;
    height: 20px;
    background: #eff6ff;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* 输入框和下拉框 - 精美样式 */
.estimate-form-select,
.estimate-form-input,
.estimate-form-textarea {
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    min-height: 40px !important;
    border: 1.5px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #f9fafb !important;
    color: #1f2937 !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    outline: none !important;
}
.estimate-form-select:hover,
.estimate-form-input:hover {
    border-color: #93c5fd !important;
    background: #fff !important;
}
.estimate-form-select:focus,
.estimate-form-input:focus {
    border-color: #2563eb !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}
.estimate-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}
/* 输入框下方提示文字 */
.estimate-form-group p {
    font-size: 11px !important;
    color: #9ca3af !important;
    margin: 6px 0 0 !important;
    line-height: 1.4 !important;
    padding-left: 26px;
}
/* 提交按钮 - 精美样式 */
.estimate-form-submit {
    margin-top: 28px !important;
    margin-bottom: 8px !important;
    text-align: center;
}
.estimate-submit-btn {
    padding: 14px 48px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px;
}
.estimate-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px) !important;
}
.estimate-submit-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3) !important;
}
.estimate-submit-btn i {
    font-size: 16px;
}
/* 表单容器背景 */
.estimate-form-container {
    background: linear-gradient(180deg, #f8fafc, #fff) !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .estimate-form-grid {
        gap: 12px !important;
    }
    .estimate-form-group {
        padding: 12px !important;
    }
    .estimate-submit-btn {
        padding: 12px 32px !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    .form-group-title {
        font-size: 14px !important;
        padding: 10px 12px !important;
    }
}