﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', sans-serif;
}
body {
    background-color: #f5f7fa;
    overflow-x: hidden;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 30px;
    background-color: rgba(50,50,50,0.1);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
h1 {
    margin-bottom: 30px;
    padding-bottom: 15px;
    color: #2c3e50;
    font-size: 32px;
    text-align: center;
    border-bottom: 2px solid #3498db;

}
.section {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background-color: #f9f9f9;
}
/*用户操作指南*/
#help_container ul{
    margin:0 0 0 2em;
}
#help_container li{
	padding: 5px 0 5px 0;
    list-style-type: circle;
    cursor: pointer;
}
#help_container summary{
	padding: 10px 0 10px 0;
}
#leveling_operate li{

    list-style-type: decimal;
}
#leveling_operate li:hover{
	background-color: #3498db;
}
#help_container a{
    text-decoration: none;
    color: black;
    font-size: 16px;
}
#help_container video{
    margin:0 auto;
    padding: 20px;
    width: 80%;
    display: block;
}


/*基本参数设置*/
#parameter {
	display: flex;
}
.left{
    flex:1;
}
.right{
    flex:1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h2 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

h2:before {
	content: '▸';
	margin-right: 8px;
}
.form-group {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}
.form-group label {
	width: 140px;
	text-align: right;
	margin-right: 15px;
	color: #333;
	font-weight: 500;
}
#parameter input[type="number"], select {
	padding: 10px;
	width: 180px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
}
#parameter input[type="number"]:focus, select:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

#school-badge{
    /*校徽*/
    width:70%;
}
.right li{
    list-style: none;
    font-size: 16px;
    margin:10px 0 0 0;
    padding: 0;
}
.right li:first-child{
    font-weight: bold;
}

.btn-group {
    margin-left: 155px;
    margin-top: 20px;
}
button {
    padding: 10px 10px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 23px;
    font-size: 14px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #2980b9;
}
button:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}



/*观测数据输入*/
.table-container {
	overflow-x: auto;
	margin-top: 15px;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
    font-size: 14px;
	white-space: nowrap;
	min-width: 90px;
}
.data-table th {
    background-color: #f2f4f7;
    color: #333;
    font-weight: bold;
}
.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.data-table input {
    width: 90%;
    padding: 8px;
	margin-left: 5px;
    border: none;
    background: transparent;
    text-align: center;
	border-radius: 5px;
}
.data-table input[type="number"]:focus{
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/*计算结果与精度评定*/
.result-panel {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    background-color: #fcfcfc;
}
.result-item {
    display: flex;
    margin-bottom: 10px;
}
.result-label {
    width: 120px;
    text-align: right;
    margin-right: 15px;
    color: #666;
}
.result-value {
    font-weight: bold;
    color: #2c3e50;
}
.result-value.error {
    color: #e74c3c;
}
.result-value.success {
    color: #27ae60;
}
.formula {
    margin: 10px 0 0 155px;
    color: #666;
    font-style: italic;
    font-size: 14px;
    padding: 10px;
    background-color: #f8f9fa;
    border-left: 3px solid #ddd;
    width: fit-content;
}
.note {
    margin-left: 155px;
    color: #777;
    font-size: 13px;
    margin-top: 5px;
}
.tooltip {
    position: relative;
    margin-left: 5px;
    color: #3498db;
    cursor: help;
}
.tooltip:hover:after {
    content: attr(data-tip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
}
.tooltip:hover:before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.validation-message {
    color: #e74c3c;
    font-size: 13px;
    margin-left: 15px;
    display: none;
}
.validation-message.show {
    display: inline;
}
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.footer {
    margin-top: 30px;
    text-align: center;
    color: #777;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

.mark{
    color: red;
    font-size: 20px;
}

/* 移动端隐藏（屏幕宽度≤768px时触发） */
@media screen and (max-width: 768px) {
	.section .right {
		display: none !important;
	}
	label{
		width: 100px;
	}
	#parameter input[type="number"], select {
		width: 160px;
	}
	.btn-group {
		margin-left: 40px;
	}
}

/*wordpress样式*/
#page{
    padding:0;
}
#main{
    margin:0;
}
.inside-article .entry-content{
    margin:0;
}