/*页面基础样式*/
body {
    min-height: 100vh;
    padding: 20px 10px;
    font-family: "Microsoft YaHei", sans-serif;
}

/*卡片透明度设置*/
.input-box {
    max-width: 720px;
    margin: 0 auto;
    background-color: rgba(255,255,255,0.5);
    border-radius: 12px;
}

.data-card {
    background-color: rgba(255,255,255,0.5);
}

/*卡片外观效果*/
.card {
    border-radius: 18px;
    transition: transform 0.25s;
    border: 1px solid #d1d5db;
}

.card:hover {
    transform: translateY(-4px);
}

/*表单标签样式*/
.form-label {
    font-weight: 600;
    text-align: center;
    font-size: 19px;
}

/*输入框 & 下拉框*/
.form-control,
.form-select {
    text-align: center;
    border-radius: 12px !important;
    height: 50px;
    font-size: 17px;
    border: 1px solid #d1d5db;
}

.form-select:invalid,
.form-control::placeholder {
    color: #9ca3af !important;
}

/*查询按钮*/
.btn-main {
    background: linear-gradient(to right, #6366f1, #3b82f6);
    border-radius: 12px;
}

/*查询结果表格外框（圆角 + 大边框）*/
.result-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d1d5db; /* 外框统一边框颜色 & 粗细 */
}

.result-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed; /* 固定列宽 */
}

/*表格单元格样式*/
.result-table th,
.result-table td {
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid #d1d5db; /* 小分隔线 */
    padding: 12px;
}

/*左列右列固定 50% / 50%*/
.result-table th {
    width: 50%;
}

.result-table td {
    width: 50%;
}

/*左列竖线（分隔线）*/
.result-table th {
    border-right: 1px solid #d1d5db;
}

/*表格条纹背景*/
.result-table .even-row {
    background-color: #f9fafb;
}

.result-table .odd-row {
    background-color: #ffffff;
}

/*表格 hover 高亮*/
.result-table tr:hover {
    background-color: #e0f2fe;
}
