@charset "utf-8";

/* Reset & Basic Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

ul, li {
    list-style: none;
}

.container {
    width: 100%;
    /* max-width: 1200px; */ /* 截图看起来是全宽或者很宽 */
    padding: 0;
    margin: 0 auto;
}

/* Header */
.header {
    background-color: #378de6; /* 亮蓝色 */
    color: #fff;
    padding: 15px 20px;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 50px; /* 调整高度以适应 header */
    margin-right: 15px;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-name {
    font-size: 18px; /* 调大字体，原为 14px */
    font-weight: bold; /* 加粗一点更清晰 */
    margin-bottom: 2px;
}

.platform-name {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 10px;
    background-color: #fff;
}

.panel {
    border: 1px solid #ccc;
    margin-bottom: 15px;
    background-color: #fff;
}

.panel-header-wrapper {
    height: 36px;
    background-color: #f7f7f7; /* 头部背景条颜色 */
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.panel-header {
    background-color: #1a76d3; /* 标题背景深蓝色 */
    color: #fff;
    height: 100%;
    line-height: 36px;
    padding: 0 30px 0 20px;
    font-weight: bold;
    font-size: 14px;
    position: relative;
    display: inline-block;
}

/* 蓝色标题右侧斜切效果 */
.panel-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: -18px;
    width: 36px;
    height: 100%;
    background-color: #1a76d3;
    transform: skewX(-30deg);
    z-index: 1;
}

.panel-body {
    padding: 15px 20px;
    background-color: #fff; /* 内容区背景 */
}

/* Form Layout */
#queryForm {
    width: 100%;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
}

.form-group {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.form-group label {
    width: 100px;
    text-align: right;
    margin-right: 10px;
    color: #555;
    font-weight: bold;
    font-size: 13px;
}

.form-control {
    height: 30px;
    padding: 4px 8px;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    color: #333;
    outline: none;
    font-size: 13px;
    width: 250px; /* 默认宽度 */
    background-color: #fff;
}

.form-control:focus {
    border-color: #378de6;
    box-shadow: 0 0 3px rgba(55, 141, 230, 0.3);
}

/* Special width adjustments */
#certNo {
    width: 300px;
}

#orgName {
    width: 400px;
}

.full-width {
    width: 100%;
    display: flex;
}

.full-width label {
    flex-shrink: 0;
}

.select-group {
    display: flex;
    flex: 1;
    max-width: 1000px;
}

.select-group select {
    margin-right: 10px;
    flex: 1;
    min-width: 100px;
}

/* Button Row */
.button-row {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 10px;
}

.btn {
    width: 120px;
    height: 36px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin: 0 10px;
    color: #fff;
    font-family: inherit;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #337ab7;
}
.btn-primary:hover {
    background-color: #286090;
}

.btn-secondary {
    background-color: #337ab7; /* 截图里两个按钮颜色很像 */
}
.btn-secondary:hover {
    background-color: #286090;
}

/* Checkbox alignment */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: auto !important;
    text-align: left !important;
}
.checkbox-label input {
    margin-right: 5px;
}

/* Result Panel */
.list-panel {
    margin-top: 5px;
    border: 1px solid #ccc;
}

.list-header-bg {
    /* 复用 .panel-header 样式 */
}

.result-body {
    min-height: 100px;
    background-color: #eef4fa; /* 列表区域背景色可能略带淡蓝 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.result-message {
    padding: 30px;
    color: #333;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #1a76d3; /* 深蓝色 */
    color: #fff;
    text-align: center;
    padding: 12px 0;
    margin-top: auto;
    font-size: 12px;
}
