
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        
        :root {
            --primary: #2c3e50;
            --primary-light: #34495e;
            --secondary: #e74c3c;
            --secondary-light: #c0392b;
            --success: #27ae60;
            --warning: #f39c12;
            --light: #f8f9fa;
            --dark: #2c3e50;
            --gray: #7f8c8d;
            --light-gray: #ecf0f1;
            --border-radius: 10px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --transition: 0.3s ease;
        }
        
        body {
            background-color: #f5f7fb;
            color: var(--dark);
            line-height: 1.6;
        }
        
        .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 16px;
        }
        
        /* 单栏布局，移除右侧边栏相关样式 */
        @media (min-width: 1200px) {
            .container {
                max-width: 900px;  /* 居中且宽度适中 */
                display: block;     /* 取消网格布局 */
            }
            
            .header-text{
                grid-column: auto;
            }
            
            .info-cards {
                grid-column: auto;
            }
            
            .calculate-btn, footer {
                grid-column: auto;
            }
        }
        
        /* Header */
        .header-text{
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
	color: white;
	text-align: center;
	margin-bottom: 15px;
            box-shadow: var(--box-shadow);
            border-radius: 0 0 var(--border-radius) var(--border-radius);
	padding-right: 16px;
	padding-left: 16px;
	margin-top: 15px;
        }
        
        h1 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .subtitle {
            font-size: 0.85rem;
            opacity: 0.9;
            max-width: 900px;
            margin: 0 auto;
        }
        
        /* Main Card */
        .card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 20px;
            margin-bottom: 20px;
            transition: var(--transition);
        }
        
        .card:hover {
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
        }
        
        .section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            color: var(--primary);
            font-size: 1.1rem;
            font-weight: 600;
            padding-bottom: 8px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .section-title i {
            font-size: 1rem;
        }
        
        /* Form Elements */
        .form-group {
            margin-bottom: 18px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark);
            font-size: 0.95rem;
        }
        
        .label-help {
            font-weight: normal;
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: 4px;
        }
        
        select, input, .slider-container {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--light-gray);
            border-radius: 8px;
            font-size: 16px;
            transition: var(--transition);
            background-color: white;
        }
        
        select:focus, input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
        }
        
        .input-with-icon {
            position: relative;
        }
        
        .input-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
        }
        
        .input-with-icon input {
            padding-left: 40px;
        }
        
        /* Radio & Checkbox Groups */
        .radio-group, .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .radio-option, .checkbox-option {
            flex: 1;
            min-width: 140px;
        }
        
        .radio-option input, .checkbox-option input {
            display: none;
        }
        
        .radio-option label, .checkbox-option label {
            display: block;
            padding: 12px;
            background: var(--light-gray);
            border-radius: 8px;
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            font-size: 0.9rem;
        }
        
        .radio-option input:checked + label,
        .checkbox-option input:checked + label {
            background: var(--primary);
            color: white;
        }
        
        /* Toggle Switch */
        .toggle-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 18px;
            padding: 10px;
            background: var(--light-gray);
            border-radius: 8px;
        }
        
        .toggle-label {
            font-weight: 600;
            color: var(--dark);
            font-size: 0.95rem;
        }
        
        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 34px;
        }
        
        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        
        input:checked + .toggle-slider {
            background-color: var(--primary);
        }
        
        input:checked + .toggle-slider:before {
            transform: translateX(24px);
        }
        
        /* Bankruptcy Info Cards */
        .info-cards {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin: 0 0 20px 0;
        }
        
        .info-card {
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid;
        }
        
        .chapter-7-card {
            background-color: #e8f4fd;
            border-left-color: #3498db;
        }
        
        .chapter-13-card {
            background-color: #f0f9f0;
            border-left-color: var(--success);
        }
        
        .info-card-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .info-card-desc {
            font-size: 0.9rem;
            color: var(--dark);
        }
        
        /* Results Section */
        .results-card {
            background: white;
            border-left: 4px solid var(--primary);
        }
        
        .results-header {
            text-align: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .results-header h3 {
            color: var(--primary);
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .results-subtitle {
            color: var(--gray);
            font-size: 0.9rem;
        }
        
        .eligibility-result {
            text-align: center;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .eligible {
            background-color: #d5f4e6;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .not-eligible {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .result-details {
            margin: 20px 0;
        }
        
        .detail-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .detail-item:last-child {
            border-bottom: none;
        }
        
        .detail-label {
            font-weight: 500;
        }
        
        .detail-value {
            font-weight: 600;
        }
        
        .cost-breakdown {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin: 20px 0;
        }
        
        .cost-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
        }
        
        .cost-total {
            font-weight: 700;
            font-size: 1.1rem;
            padding-top: 10px;
            margin-top: 10px;
            border-top: 2px solid var(--light-gray);
        }
        
        .warning-box {
            background-color: #fff3cd;
            border-left: 4px solid #ffc107;
            padding: 14px;
            border-radius: 8px;
            margin: 20px 0;
            font-size: 0.9rem;
        }
        
        .warning-title {
            font-weight: 700;
            margin-bottom: 6px;
            color: #856404;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .disclaimer {
            background-color: #f8f9fa;
            border-left: 4px solid var(--gray);
            padding: 14px;
            border-radius: 8px;
            margin-top: 20px;
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .disclaimer-title {
            font-weight: 700;
            margin-bottom: 6px;
            color: var(--dark);
            font-size: 0.9rem;
        }
        
        /* State Fee Info */
        .state-fee-info {
            background-color: #e8f4fd;
            border-radius: 8px;
            padding: 12px;
            margin: 15px 0;
            font-size: 0.9rem;
            border-left: 3px solid #3498db;
        }
        
        .state-fee-label {
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .state-fee-value {
            font-weight: 700;
            color: #e74c3c;
        }
        
        .state-fee-note {
            font-size: 0.8rem;
            color: #7f8c8d;
            margin-top: 5px;
            font-style: italic;
        }
        
        /* Button */
        .calculate-btn {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
            color: white;
            border: none;
            padding: 16px;
            border-radius: 8px;
            font-size: 17px;
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 10px;
            margin-bottom: 20px;
        }
        
        .calculate-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(231, 76, 60, 0.3);
        }
        
        .calculate-btn:active {
            transform: translateY(0);
        }
        
        /* 侧边栏相关样式已全部删除 */
        
        /* Responsive */
        @media (min-width: 768px) {
            .container {
                max-width: 720px;
            }
            
            h1 {
                font-size: 1.7rem;
            }
            
            .radio-option, .checkbox-option {
                min-width: 150px;
            }
            
            .info-cards {
                flex-direction: row;
            }
        }
        
        @media (min-width: 1200px) {
            .container {
                max-width: 1200px;
            }
        }
        
        /* Animation */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .fade-in {
            animation: fadeIn 0.5s ease forwards;
        }
        
        .hidden {
            display: none;
        }
