/* 基础样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* 顶部导航栏 */
.header {
    background-color: #1a56a8;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .logo {
    height: 60px;
}

.header .title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

.header .date {
    font-size: 14px;
}

/* 主内容区 */
.main-content {
    background-color: white;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0 15px;
    font-size: 14px;
}

.footer a {
    color: #ddd;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 表单样式 */
.report-form .card {
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.report-form .card-header {
    font-weight: bold;
}

/* 按钮样式 */
.btn-primary {
    background-color: #1a56a8;
    border-color: #1a56a8;
}

.btn-primary:hover {
    background-color: #14468c;
    border-color: #14468c;
}

/* 成功页面样式 */
.report-result .card {
    max-width: 600px;
    margin: 0 auto;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.success-icon {
    color: #28a745;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header .title {
        font-size: 20px;
    }

    .header .logo {
        height: 50px;
    }
}

/* 优化输入框单位样式 */
.input-group-custom {
  width: 100%;
}

.input-group-custom .form-control {
  border-right: none;
  padding-right: 0;
}

.input-group-custom .unit-text {
  background-color: white;
  border-left: none;
  color: #495057;
  font-weight: normal;
  min-width: 60px;
  justify-content: flex-end;
  padding-right: 15px;
}

/* 保持输入框整体边框一致 */
.input-group-custom > .form-control:not(:last-child),
.input-group-custom > .unit-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group-custom > .form-control:not(:first-child),
.input-group-custom > .unit-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}