* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #2a5298);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}
         
		 /* 顶部导航区域样式 */
        .top-header {
            width: 100%;
            background-color: white;
            border-radius: 8px 8px 0 0;
            padding: 15px 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 1px;
        }
        
        .logo-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            height: 60px;
            vertical-align: middle;
        }
        
        .header-buttons {
            display: flex;
            gap: 15px;
        }
        
        .header-btn {
            padding: 8px 15px;
            background-color: #3498db;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.3s;
        }
        
        .header-btn:hover {
            background-color: #2980b9;
        }
		        
        /* 导航栏样式 */
        .navigation-bar {
            width: 100%;
            background-color: #34495e;
            border-radius: 0 0 8px 8px;
            padding: 0 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }
        
        .nav-menu {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-link {
            display: block;
            padding: 12px 20px;
            color: white;
            text-decoration: none;
            font-size: 15px;
            transition: background-color 0.3s;
        }
        
        .nav-link:hover {
            background-color: #2c3e50;
        }
		
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(90deg, #1a2980, #26d0ce);
    color: white;
    padding: 30px 40px;
    text-align: center;
    border-bottom: 5px solid #0d47a1;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

header p {
    font-size: 1.2rem;
    opacity: 0.92;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

button {
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
}

button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(-2px);
}

.mock-data-btn {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: white;
}

.export-btn {
    background: linear-gradient(90deg, #38ef7d, #11998e);
    color: white;
}

.import-btn {
    background: linear-gradient(90deg, #f7971e, #ffd200);
    color: white;
}

.delete-btn {
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    color: white;
    padding: 8px 15px;
    font-size: 14px;
}

.sync-btn {
    background: linear-gradient(90deg, #4A00E0, #8E2DE2);
    color: white;
    padding: 8px 15px;
    font-size: 14px;
}

.calculate-btn {
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    padding: 16px 30px;
    width: 100%;
    font-size: 20px;
    margin-top: 20px;
}

.tab {
    display: flex;
    background: #e3f2fd;
    border-bottom: 2px solid #bbdefb;
}

.tab button {
    flex: 1;
    padding: 20px;
    border-radius: 0;
    background: #bbdefb;
    color: #0d47a1;
    font-size: 18px;
}

.tab button.active {
    background: #2196f3;
    color: white;
    box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tabcontent {
    padding: 30px;
    display: none;
}

.section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

h2 {
    color: #1a2980;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e0e0e0;
    font-size: 2.0rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: #2196f3;
}

h3 {
    color: #0d47a1;
    margin: 25px 0 20px;
    font-size: 1.7rem;
    padding-left: 15px;
    border-left: 5px solid #2196f3;
}

.form-group {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

label {
    min-width: 140px;
    font-weight: 600;
    color: #333;
    font-size: 17px;
}

input, select {
    padding: 14px 18px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 17px;
    flex: 1;
    max-width: 350px;
    transition: all 0.3s;
    background: #f9f9f9;
}

input:focus, select:focus {
    border-color: #2196f3;
    outline: none;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.25);
    background: #fff;
}

.zone {
    margin-bottom: 35px;
    border: 2px solid #bbdefb;
    border-radius: 15px;
    padding: 25px;
    background: #f8fdff;
    position: relative;
    overflow: hidden;
}

.zone:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #1a2980, #26d0ce);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #bbdefb;
}

.zone-buttons {
    display: flex;
    gap: 15px;
}

.note-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 16px;
    background: #f9f9f9;
}

.test-points {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.test-cell {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 10px;
    border: 1px solid #bbdefb;
}

.test-cell input {
    width: 100%;
    text-align: center;
    padding: 12px;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 15px 18px;
    text-align: center;
}

th {
    background: #2196f3;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

tr:nth-child(even) {
    background-color: #f5f9ff;
}

.result {
    background: #e3f2fd;
    padding: 35px;
    border-radius: 15px;
    margin-top: 30px;
    border-left: 5px solid #2196f3;
}

.summary-item {
    background: #e8f4fe;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 5px solid #2196f3;
}

.calculation-formula {
    font-family: 'Courier New', monospace;
    background: #f5f9ff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #2196f3;
    line-height: 1.8;
}

.calculation-formula p {
    margin: 10px 0;
}

.formula-highlight {
    color: #d35400;
    font-weight: bold;
}

        /* 页脚样式 */
        .footer {
            width: 100%;
            background-color: #2c3e50;
            color: white;
            text-align: center;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
            font-size: 14px;
        }
        
        .footer a {
            color: #3498db;
            text-decoration: none;
            margin: 0 5px;
        }
        
        .footer a:hover {
            color: #2980b9;
            text-decoration: underline;
        }

.status-bar {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    transform: translateY(100px);
}

.status-bar.show {
    transform: translateY(0);
}

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

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

.info {
    background: #cce5ff;
    color: #004085;
    border-left: 5px solid #007bff;
}

.coefficient-table {
    width: 100%;
    max-width: 500px;
    margin: 20px 0;
    background: #e3f2fd;
    border-radius: 10px;
    overflow: hidden;
}

.coefficient-table th {
    background: #1a2980;
}

.point-summary {
    margin: 10px 0;
    padding: 10px;
    background: #e8f4fe;
    border-radius: 8px;
}

.strength-value {
    font-weight: bold;
    font-size: 1.2em;
    color: #1a2980;
}

.steps {
    margin-left: 20px;
    line-height: 2.0;
}

.steps li {
    margin-bottom: 10px;
}

.formula-case {
    margin-left: 20px;
}

.info-text {
    margin-bottom: 20px;
    color: #555;
    font-size: 16px;
}

.input-unit {
    position: relative;
}

.input-unit:after {
    content: '%';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
}

@media (max-width: 768px) {
    .test-points {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .zone-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    input, select {
        max-width: 100%;
        width: 100%;
    }
    
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .action-buttons {
        padding: 15px;
    }
    
    .input-unit:after {
        right: 10px;
    }
}