/* 双条件必须查询页面样式 */
.dual-required-search {}

.results-list .fas {
    display: block;
    height: 4px;
    width: 4px;
    background: #1890ff;

}

/* 头部样式 */
.search-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: url(../images/pxzzbg.jpg) no-repeat;
    border-radius: 5px;
    color: white;
    background-size: cover;
}

.search-header h1 {
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 0;
}

.search-header h1 i {
    margin-right: 15px;
}

.search-header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

/* 搜索表单样式 */
.search-form-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #e8e8e8;
}

.input-group {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 20px;
    }

    .search-header h1 {
        font-size: 20px;
        padding: 69px 0 20px 0;
    }

    .search-form-box {
        padding: 20px;
    }

    .input-field {
        width: 100%;
    }

    .btn-search,
    .btn-reset {
        flex: 1 !important;
        padding: 13px 15px !important;
        font-size: 14px !important;
    }
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.input-field label i {
    margin-right: 8px;
    color: #1890ff;
}

.required {
    color: #ff4d4f;
    font-size: 18px;
    margin-left: 4px;
    position: relative;
    top: 4px;
}

.input-field input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.input-field input:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.input-field.has-error input {
    border-color: #ff4d4f;
    background: #fff2f0;
}

.field-note {
    margin-top: 8px;
    color: #000;
    font-size: 13px;
}

.error-message {
    margin-top: 8px;
    color: #ff4d4f;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 连接器样式 */
.connector {
    padding: 10px 20px;
    background: #f6ffed;
    border: 2px solid #b7eb8f;
    border-radius: 20px;
    color: #52c41a;
    font-weight: 700;
    font-size: 16px;
    align-self: center;
}

@media (max-width: 768px) {
    .connector {
        align-self: flex-start;
    }
}

/* 按钮样式 */
.form-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.btn-search,
.btn-reset {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-search {
    flex: 2;
    background: linear-gradient(135deg, #9edef9 0%, #1771eb 100%);
    color: white;
}

.btn-search:hover {
    background: linear-gradient(135deg, #389e0d 0%, #237804 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

.btn-reset {
    flex: 1;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #d9d9d9;
}

.btn-reset:hover {
    background: #e8e8e8;
    color: #333;
}

.form-notice {
    padding: 15px;
    background: #f0f5ff;
    border-radius: 6px;
    border-left: 4px solid #1890ff;
    color: #333;
    font-size: 14px;
}

.form-notice i {
    color: #1890ff;
    margin-right: 8px;
}

/* 查询结果样式 */
.search-results {
    margin-top: 40px;
}

.query-summary {
    background: #f6ffed;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #b7eb8f;
}

.query-summary h2 {
    color: #237804;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conditions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.condition-row {
    display: flex;
    align-items: center;
}

.condition-label {
    width: 120px;
    font-weight: 600;
    color: #595959;
}

.condition-value {
    flex: 1;
    color: #1a1a1a;
    font-weight: 500;
}

.condition-value strong {
    color: #52c41a;
}

/* 结果头部 */
.results-header {
    background: #f0f5ff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h2 {
    margin: 0;
    color: #1d39c4;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #595959;
    font-weight: 500;
}

.stat-item i {
    color: #1890ff;
}

/* 结果列表 */
.results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.result-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s;
}

.result-item:hover {
    border-color: #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.1);
}

.result-main {
    display: flex;
    gap: 25px;

}

@media (max-width: 768px) {
    .result-main {
        flex-direction: column;
        gap: 15px;
    }
}

.result-id {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;

    justify-content: center;
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
    min-width: 100px;
}

.id-label {
    font-size: 12px;
    color: #8c8c8c;
    margin-bottom: 5px;
}

.id-value {
    font-size: 18px;
    font-weight: 700;
    color: #1890ff;
}

.result-content {
    flex: 1;
    margin-top: 28px;
    padding: 0 8px;
}

.person-name {
    margin: 0 0 20px 0;
    color: #1a1a1a;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.person-name i {
    color: #1890ff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;

}

.info-label {
    font-size: 16px;
    color: #8c8c8c;
    width: 125px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.info-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
    margin-left: 25px;
}

.dates-row {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-label {
    color: #8c8c8c;
    font-size: 14px;
}

.date-value {
    color: #1a1a1a;
    font-weight: 500;
}

.additional-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #e8e8e8;
}

.result-status {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
}

.status-valid {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.status-expired {
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.status-lost {
    background: #fffbe6;
    color: #faad14;
    border: 1px solid #ffe58f;
}

/* 结果页脚 */
.result-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 14px;
}

.update-time {
    color: #8c8c8c;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-details {
    color: #1890ff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #1890ff;
    border-radius: 6px;
    transition: all 0.3s;
}

.view-details:hover {
    background: #1890ff;
    color: white;
}

/* 无结果样式 */
.no-results {
    background: white;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    border: 2px dashed #e8e8e8;
}

.no-results-icon {
    font-size: 60px;
    color: #d9d9d9;
    margin-bottom: 20px;
}

.no-results-content h3 {
    color: #595959;
    margin-bottom: 15px;
}

.no-results-content p {
    color: #8c8c8c;
    margin-bottom: 30px;
}

.failed-conditions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.failed-condition {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    min-width: 200px;
}

.condition-icon {
    width: 40px;
    height: 40px;
    background: #fff2f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d4f;
    font-size: 18px;
}

.and-connector {
    color: #ff4d4f;
    font-weight: 700;
    font-size: 14px;
}

.condition-label {
    font-size: 12px;
    color: #8c8c8c;
}

.condition-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.suggestions {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: left;
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1890ff;
}

.suggestions h4 {
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #595959;
}

.suggestions li:before {
    content: "•";
    color: #1890ff;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 4px;
}

/* 分页样式 */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 5px;
    padding: 0 15px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    color: #1a1a1a;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination-wrapper .current {
    background: #1890ff;
    color: white;
    border-color: #1890ff;
}

.pagination-wrapper a:hover:not(.current) {
    background: #f0f0f0;
    border-color: #1890ff;
}

/* 错误提示样式 */
.search-error {
    background: #fff2f0;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #ffccc7;
}

.error-icon {
    font-size: 40px;
    color: #ff4d4f;
}

.error-content h3 {
    color: #cf1322;
    margin: 0 0 10px 0;
}

.error-content p {
    color: #595959;
    margin: 5px 0;
}

.error-content i {
    color: #ff4d4f;
    margin-right: 8px;
}

.sub-mouse {
    display: block;
    width: 50px;
    height: 57px;
    position: absolute;
    left: 50%;
    margin-left: -15px;
    bottom: 0px;
    z-index: 2;
}