
/* 头部样式 */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* 主容器 */
.container-biaogao{
    margin: 0 auto;
	background: white;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	font-size: 16px;
	line-height:24px;
}

/* Tab 切换 */
.tab-container {
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 100;
    border: 1px solid #e2e8f0;
}

.tab-buttons {
    display: flex;
    position: relative;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: #f8fafc;
    color: #64748b;
    font-size: 1.2em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tab-btn:hover {
    color: var(--theme-color);
    background: #f1f5f9;
}

.tab-btn.active {
    color: #ffffff;
    background: var(--theme-color) ;
    font-weight: 600;
}

.tab-indicator {
    display: none;
}

/* 卡片样式 */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 24px;
    margin-bottom: 20px;
    animation: slideUp 0.4s ease-out;
    border: 1px solid #e2e8f0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 输入组 */
.input-group {
    margin-bottom: 10px;
}

.input-label {
    display: block;
    font-size: 1.0em;
    font-weight: 500;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-unit {
    font-size: 1em;
    color: var(--theme-color);
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.input-field {
    width: 100%;
    padding: 10px 15px;
    margin-top: 6px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.0em;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
    font-family: 'Courier New', monospace;
    background: #fafafa;
}

.input-field:focus {
    outline: none;
    border-color: var(--theme-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.input-field::placeholder {
    color: #cbd5e1;
}

/* 测站卡片 */
.station-card {
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.station-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
}

.station-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}

.station-title {
    font-weight: 700;
    color: var(--theme-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1em;
}

.station-badge {
    background: var(--theme-color);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em;
    font-weight: 700;
}

.station-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.1em;
}

.btn-icon:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    transform: scale(1.1);
}

.station-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-color) 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--theme-color);
    border: 2px solid var(--theme-color);
    font-size: 1.0em;
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.05);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    margin-top: 12px;
}

.btn-add {
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    color: #fff;
    margin-top: 12px;
}

.btn-add:hover {
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4);
}

/* 结果展示 */
.result-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid var(--theme-color2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: resultPop 0.5s ease-out;
}

@keyframes resultPop {
    0% { transform: scale(0.9); opacity: 0; }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); opacity: 1; }
}

.result-label {
    font-size: 1em;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-value {
    font-size: 2.0em;
    font-weight: 700;
    line-height: 1;
    color: var(--theme-color);
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.result-unit {
    font-size: 1em;
    color: #64748b;
    font-weight: 500;
}

.result-detail {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    font-size: 0.875em;
    color: #64748b;
}

/* 公式展示 */
.formula-box {
    background: #f8fafc;
    border-left: 4px solid var(--theme-color);
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #64748b;
}

.formula-highlight {
    color: var(--theme-color);
    font-weight: 700;
}

/* 提示信息 */
  .sue-icon-text {
    margin-bottom: 0 !important;
    margin-top: 30px;
    border: 1px solid #98d3f9;
    padding: 15px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 10px;
}
.sue-icon-text p {
    margin: 6px 0;
    line-height: 18px;
    font-size: 0.9em;
}

.sue-icon-text strong{
    font-size: 0.95em;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.empty-icon {
    font-size: 3em;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* 响应式优化 */
@media (max-width: 640px) {
    
    .container-biaogao {
    margin: 0 auto;
    background: white;
    border-radius: 0px;
    box-shadow: none;
    padding: 12px 0;
    font-size: 14px;
    line-height: 24px;
}

    .card {
        padding: 15px;
    }
    
.station-card {
    padding: 10px 12px;
    margin-bottom: 10px;
}
    
    .result-value {
        font-size: 2em;
    }
    
    .tab-btn {
        font-size: 1.0em;
        padding: 10px 15px;
    }
    
    .input-field {
    padding: 8px 12px;
}
.input-group {
    margin-bottom: 5px;
}

.btn {
    gap: 8px;
    padding: 10px 12px;
    font-size: 1.0em;
}

    .sue-icon-text {
    margin-top: 20px;
    padding: 6px 8px;
}
.sue-icon-text p {
    margin: 6px 0;
    line-height: 18px;
    font-size: 0.9em;
}
}

/* 输入验证样式 */
.input-field.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.error-message {
    color: #ef4444;
    font-size: 0.8em;
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 加载动画 */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 工具栏 */
.toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}
