/* 页面2 - 结婚登记信息查询表单页 */

.query-page {
    background: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏 */
.query-nav {
    background: #fff;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    height: 50px;
}

.query-nav .left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.query-nav .back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #333;
    background: none;
    border: none;
    padding: 4px 0;
}

.query-nav .back-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.query-nav .title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: center;
}

.query-nav .refresh-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    flex-shrink: 0;
}

/* 蓝色头部横幅 */
.blue-header {
    background: #0952A7;
    padding: 0;
    position: relative;
    height: 160px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.header-bg-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    top: 0;
    left: 0;
}

.blue-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(9, 82, 167, 0.2) 0%, rgba(9, 82, 167, 0.5) 100%);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding-bottom: 28px;
}

.blue-header h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 表单卡片 */
.form-card {
    background: #fff;
    margin: -16px 16px 20px;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.form-card .card-title {
    padding: 0 0 12px 0;
    font-size: 13px;
    color: #999;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f5f5f5;
}

.form-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-row .label {
    width: 70px;
    flex-shrink: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.form-row .value {
    flex: 1;
    font-size: 14px;
    color: #999;
    text-align: right;
}

.form-row input {
    flex: 1;
    font-size: 14px;
    color: #333;
    border: none;
    outline: none;
    text-align: right;
    background: transparent;
}

.form-row input::placeholder {
    color: #ccc;
}

/* 按钮区域 */
.button-group {
    padding: 20px 16px;
}

.btn-query {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #0B66D2 0%, #0952A7 100%);
    border-radius: 8px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
    transition: opacity 0.2s;
}

.btn-query:active {
    opacity: 0.85;
}

.btn-reset {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    background: transparent;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-reset:active {
    color: #666;
}

/* 底部提示 */
.footer-text {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 20px 16px;
}
