
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft JhengHei', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #2c3e50);
            color: #333;
            min-height: 100vh;
            padding: 20px;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        header {
            text-align: center;
            margin-bottom: 30px;
            color: white;
            padding: 25px;
            border-radius: 15px;
            background: rgba(0, 0, 0, 0.25);
            box-shadow: 0 8px 16px rgba(0,0,0,0.3);
            position: relative;
            overflow: hidden;
        }
        
        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, #3498db, #2ecc71, #f1c40f, #e74c3c);
        }
        
        h1 {
            font-size: 2.8rem;
            margin-bottom: 10px;
            text-shadow: 0 2px 8px rgba(0,0,0,0.4);
        }
        
        .subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
            color: #ecf0f1;
        }
        
        .dashboard {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin-bottom: 35px;
        }
        
        @media (max-width: 900px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
        }
        
        .card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 18px;
            padding: 28px;
            box-shadow: 0 12px 24px rgba(0,0,0,0.25);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.35);
        }
        
        .card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
        }
        
        .section-title {
            font-size: 1.7rem;
            margin-bottom: 22px;
            color: #2c3e50;
            padding-bottom: 12px;
            border-bottom: 3px solid #3498db;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .section-title i {
            background: #3498db;
            color: white;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }
        
        .form-group {
            margin-bottom: 22px;
            position: relative;
        }
        
        label {
            display: block;
            margin-bottom: 10px;
            font-weight: 600;
            color: #2c3e50;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        label i {
            color: #3498db;
            width: 24px;
            text-align: center;
        }
        
        input {
            width: 100%;
            padding: 14px 18px;
            border: 2px solid #ddd;
            border-radius: 10px;
            font-size: 1.05rem;
            transition: all 0.3s;
            background: #f8f9fa;
        }
        
        input:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
            background: white;
        }
        
        button {
            background: linear-gradient(135deg, #3498db, #2c3e50);
            color: white;
            border: none;
            padding: 16px 24px;
            font-size: 1.15rem;
            border-radius: 10px;
            cursor: pointer;
            width: 100%;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.15);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        
        button:hover {
            background: linear-gradient(135deg, #2980b9, #1a2a6c);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        }
        
        .result-box {
            background: linear-gradient(to right, #f8f9fa, #e8f4fd);
            border-radius: 12px;
            padding: 22px;
            margin-top: 15px;
            border-left: 4px solid #3498db;
        }
        
        .result-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #ddd;
            font-size: 1.1rem;
        }
        
        .result-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border: none;
        }
        
        .result-label {
            font-weight: 600;
            color: #2c3e50;
        }
        
        .result-value {
            font-weight: 700;
            font-size: 1.2rem;
        }
        
        .distance-value {
            color: #3498db;
        }
        
        .consumption-value {
            color: #27ae60;
        }
        
        .cost-value {
            color: #e67e22;
        }
        
        .avg-value {
            color: #9b59b6;
        }
        
        .highlight {
            display: inline-block;
            padding: 5px 15px;
            border-radius: 20px;
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .good {
            background: #d5f5e3;
            color: #27ae60;
        }
        
        .average {
            background: #fcf3cf;
            color: #f39c12;
        }
        
        .poor {
            background: #fadbd8;
            color: #e74c3c;
        }
        
        .history-section, .chart-section {
            margin-bottom: 35px;
        }
        
        .chart-container {
            height: 400px;
            margin-top: 15px;
            position: relative;
        }
        
        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            margin-top: 18px;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        th {
            background: linear-gradient(to bottom, #3498db, #2980b9);
            color: white;
            font-weight: 600;
            padding: 16px 15px;
            text-align: left;
        }
        
        th:first-child {
            border-top-left-radius: 12px;
        }
        
        th:last-child {
            border-top-right-radius: 12px;
        }
        
        td {
            padding: 14px 15px;
            border-bottom: 1px solid #eee;
        }
        
        tr:last-child td {
            border-bottom: none;
        }
        
        tr:nth-child(even) {
            background-color: #f8f9fa;
        }
        
        tr:hover {
            background-color: #e8f4fd;
        }
        
        .action-buttons {
            display: flex;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }
        
        .action-btn {
            padding: 14px 24px;
            font-size: 1.05rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            border: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
        }
        
        .export-btn {
            background: linear-gradient(135deg, #27ae60, #219653);
            color: white;
        }
        
        .export-btn:hover {
            background: linear-gradient(135deg, #219653, #1e8449);
            transform: translateY(-3px);
        }
        
        .clear-btn {
            background: linear-gradient(135deg, #e74c3c, #c0392b);
            color: white;
        }
        
        .clear-btn:hover {
            background: linear-gradient(135deg, #c0392b, #a93226);
            transform: translateY(-3px);
        }
        
        footer {
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
            padding: 25px;
            font-size: 1rem;
            margin-top: 20px;
        }
        
        .no-data {
            text-align: center;
            padding: 50px 20px;
            color: #7f8c8d;
            font-size: 1.2rem;
            background: #f8f9fa;
            border-radius: 12px;
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .no-data i {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #bdc3c7;
        }
        
        .stat-box {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        
        .stat-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            border-top: 4px solid #3498db;
        }
        
        .stat-card h3 {
            font-size: 1.1rem;
            color: #7f8c8d;
            margin-bottom: 12px;
        }
        
        .stat-card .value {
            font-size: 2.2rem;
            font-weight: 700;
            color: #2c3e50;
        }
        
        .stat-card .unit {
            font-size: 1rem;
            color: #7f8c8d;
            margin-top: 5px;
        }
        
        .best-record {
            border-top-color: #2ecc71;
        }
        
        .worst-record {
            border-top-color: #e74c3c;
        }
        
        .total-fuel {
            border-top-color: #f39c12;
        }
        
        .total-cost {
            border-top-color: #9b59b6;
        }
        
        .tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .tab {
            padding: 12px 25px;
            background: #e0e7ff;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            color: #3498db;
            transition: all 0.3s;
        }
        
        .tab.active {
            background: #3498db;
            color: white;
        }
        
        /* 记录操作按钮样式 */
        .record-actions {
            display: flex;
            gap: 8px;
        }
        
        .action-icon {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .edit-icon {
            background: #f1c40f;
            color: #2c3e50;
        }
        
        .edit-icon:hover {
            background: #f39c12;
            transform: scale(1.1);
        }
        
        .delete-icon {
            background: #e74c3c;
            color: white;
        }
        
        .delete-icon:hover {
            background: #c0392b;
            transform: scale(1.1);
        }
        
        .save-icon {
            background: #2ecc71;
            color: white;
        }
        
        .save-icon:hover {
            background: #27ae60;
            transform: scale(1.1);
        }
        
        .cancel-icon {
            background: #95a5a6;
            color: white;
        }
        
        .cancel-icon:hover {
            background: #7f8c8d;
            transform: scale(1.1);
        }
        
        .editable {
            background-color: #fffde7;
            border: 1px solid #ffd54f;
            border-radius: 4px;
            padding: 5px;
        }
        
        @media (max-width: 600px) {
            .tabs {
                flex-direction: column;
            }
            
            .record-actions {
                flex-direction: column;
            }
        }
