  .calculator-container {
            max-width: 1600px;
        }
        
        .calculator-container .container {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 24px;
            width: 100%;
            overflow-x: hidden;
        }

        @media (max-width: 1024px) {
            .calculator-container .container {
                grid-template-columns: 1fr;
            }
        }

        /* 强制前两个卡片等宽 */
        .calculator-container .container > .card:nth-child(1),
        .calculator-container .container > .card:nth-child(2) {
            width: 100%;
            flex: 1;
        }

        .card {
            background: #fff;
            border-radius: 16px;
            padding: 28px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            border: 1px solid #e8e8e8;
            min-width: 0;
            max-width: 100%;
            transition: all 0.3s ease;
        }
        
        .card:hover {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        }
        
        .card-title {
            font-size: 20px;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 24px;
            padding-bottom: 14px;
            border-bottom: 3px solid #667eea;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 14px;
        }
        
        .form-row {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
        }
        
        .form-row > * {
            flex: 1;
        }
        
        input[type="date"],
        input[type="number"],
        input[type="text"],
        select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 14px;
            transition: all 0.3s ease;
            background-color: #fff;
        }
        
        input:focus,
        select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
        }
        
        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }
        
        .btn-success {
            background: linear-gradient(135deg, #10b981 0%, #059669 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
        }
        
        .btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
        }
        
        .btn-danger {
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            color: white;
        }
        
        .btn-danger:hover {
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
            transform: translateY(-2px);
        }
        
        .btn-group {
            display: flex;
            gap: 14px;
            flex-wrap: wrap;
            margin-top: 24px;
        }
        
        .payment-list {
            margin-top: 14px;
            max-height: 220px;
            overflow-y: auto;
            border: 1px solid #e8e8e8;
            border-radius: 10px;
            padding: 12px;
            background-color: #fafafa;
        }
        
        .payment-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 16px;
            margin-bottom: 8px;
            background: white;
            border-radius: 8px;
            border-left: 4px solid #10b981;
            transition: all 0.2s ease;
            box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        }
        
        .payment-item:hover {
            transform: translateX(4px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }
        
        .payment-info {
            flex: 1;
            font-size: 13px;
        }
        
        .payment-amount {
            font-weight: 600;
            color: #667eea;
            margin: 0 12px;
            font-size: 15px;
        }
        
        .payment-type {
            background: linear-gradient(135deg, #f0f7ff 0%, #e0e7ff 100%);
            color: #667eea;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }
        
        .payment-actions {
            display: flex;
            gap: 8px;
        }
        
        .icon-btn {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 4px 8px;
            border-radius: 6px;
            transition: all 0.2s ease;
        }
        
        .delete-btn {
            color: #ef4444;
        }
        
        .delete-btn:hover {
            background-color: #fef2f2;
        }
        
        .result-card {
            grid-column: 1 / -1;
            width: 100%;
        }
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 16px;
            margin-bottom: 28px;
        }
        
        .summary-item {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1px solid #86efac;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .summary-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
        }
        
        .summary-label {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .summary-value {
            font-size: 22px;
            font-weight: 700;
            color: #059669;
        }
        
        .details-container {
            max-height: 600px;
            overflow-x: auto;
            overflow-y: auto;
            border: 1px solid #e8e8e8;
            border-radius: 12px;
            margin-top: 24px;
            width: 100%;
            box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
        }

        .details-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
            min-width: 900px;
        }
        
        .details-table th {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 14px 8px;
            text-align: center;
            position: sticky;
            top: 0;
            font-weight: 600;
            white-space: nowrap;
        }
        
        .details-table td {
            padding: 12px 8px;
            text-align: center;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .details-table tr:nth-child(even) {
            background-color: #fafafa;
        }
        
        .details-table tr:hover {
            background-color: #f0f7ff;
        }
        
        .lpr-change-row {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
            font-weight: 500;
        }
        
        .rate-cell {
            color: #667eea;
            font-weight: 600;
        }
        
        .selected-rate {
            color: #10b981;
            font-weight: 700;
        }
        
        .exceed-payment {
            color: #ef4444;
            font-weight: 600;
        }
        
        .amount-cell {
            text-align: right;
            font-family: 'Arial', monospace;
            font-weight: 500;
        }
        
        .alert {
            padding: 14px 20px;
            border-radius: 10px;
            margin-bottom: 20px;
            font-size: 14px;
            display: none;
        }
        
        .alert-success {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1px solid #86efac;
            color: #059669;
        }
        
        .alert-error {
            background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
            border: 1px solid #fecaca;
            color: #dc2626;
        }
        
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #e8e8e8, transparent);
            margin: 28px 0;
        }
        
        .info-text {
            color: #94a3b8;
            font-size: 12px;
            margin-top: 8px;
            font-style: italic;
        }
        
        .highlight {
            background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
            padding: 4px 10px;
            border-radius: 6px;
            border: 1px solid #fcd34d;
            font-weight: 500;
        }
        
        .tabs {
            display: flex;
            border-bottom: 2px solid #e8e8e8;
            margin-bottom: 24px;
            gap: 8px;
        }
        
        .tab {
            padding: 12px 24px;
            cursor: pointer;
            font-weight: 600;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
            transition: all 0.3s ease;
            border-radius: 8px 8px 0 0;
        }
        
        .tab:hover {
            background: #f5f5f5;
        }
        
        .tab.active {
            color: #667eea;
            border-bottom: 3px solid #667eea;
            background: #f0f7ff;
        }
        
        .info-box {
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border: 1px solid #86efac;
            border-radius: 12px;
            padding: 18px;
            margin-top: 24px;
            font-size: 13px;
        }
        
        .info-box h4 {
            color: #059669;
            margin-bottom: 12px;
            font-weight: 600;
        }
        
        .payment-amounts {
            display: flex;
            gap: 14px;
            margin-top: 12px;
        }
        
        .payment-amounts .form-group {
            flex: 1;
            margin-bottom: 0;
        }
        
        .amount-input-group {
            position: relative;
        }
        
        .amount-input-group span {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 13px;
        }
        
        .payment-type-selector {
            margin-bottom: 18px;
        }
        
        .type-select-btn {
            display: inline-block;
            padding: 10px 20px;
            border: 2px solid #e0e0e0;
            background: white;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: #64748b;
            transition: all 0.3s ease;
        }
        
        .type-select-btn:first-child {
            border-radius: 10px 0 0 10px;
        }
        
        .type-select-btn:last-child {
            border-radius: 0 10px 10px 0;
        }
        
        .type-select-btn.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
        }
        
        @media (max-width: 768px) {
            .card {
                padding: 20px;
            }
            
            .form-row {
                flex-direction: column;
            }
            
            .btn-group {
                flex-direction: column;
            }
            
            .summary-grid {
                grid-template-columns: 1fr;
            }
            
            /* 优化表单元素 */
            input[type="date"],
            input[type="number"],
            input[type="text"],
            select {
                padding: 14px 16px;
                font-size: 16px;
            }
            
            /* 优化按钮 */
            .btn {
                padding: 14px 24px;
                font-size: 16px;
                width: 100%;
            }
            
            /* 优化标题和标签 */
            .card-title {
                font-size: 18px;
                margin-bottom: 20px;
            }
            
            label {
                font-size: 16px;
                margin-bottom: 10px;
            }
            
            /* 优化支付类型选择按钮 */
            .type-select-btn {
                padding: 12px 16px;
                font-size: 14px;
                flex: 1;
                text-align: center;
            }
            
            /* 优化支付金额输入组 */
            .payment-amounts {
                flex-direction: column;
            }
            
            /* 优化提示信息 */
            .info-text {
                font-size: 13px;
            }
        }
        
        /* 针对更小屏幕的优化 */
        @media (max-width: 480px) {
            .card {
                padding: 16px;
            }
            
            .card-title {
                font-size: 16px;
                margin-bottom: 16px;
            }
            
            input[type="date"],
            input[type="number"],
            input[type="text"],
            select {
                padding: 12px 14px;
                font-size: 14px;
            }
            
            .btn {
                padding: 12px 20px;
                font-size: 14px;
            }
            
            label {
                font-size: 14px;
                margin-bottom: 8px;
            }
            
            /* 优化支付类型选择按钮 */
            .type-select-btn {
                padding: 10px 12px;
                font-size: 12px;
            }
            
            /* 优化汇总信息 */
            .summary-value {
                font-size: 18px;
            }
            
            .summary-label {
                font-size: 12px;
            }
        }