/*
 * 诺千征信查询 - 会员查询手机版样式
 * 苹果设计风格，简洁精致
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f2f2f7;
    color: #1d1d1f;
    line-height: 1.6;
    font-size: 16px;
}

/* 头部导航 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 16px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.header-back {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
}

/* 验证/登录页面 */
.auth-container {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
        background: #f6f5fa;
}

.auth-box {
    background: white;
    padding: 40px 24px;
    border-radius: 20px;
    width: 100%;
    max-width: 90%; margin: 5%;
}

.auth-logo {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
}

.auth-subtitle {
    text-align: center;
    color: #8e8e93;
    font-size: 14px;
    margin-bottom: 30px;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d2d2d7;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f5f5f7;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
}

/* 按钮 */
.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #107ff0  0%, #107ff0  100%);
    color: white; border-radius: 6px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.btn-success {
    background: #34c759;
    color: white;
}

.btn-danger {
    background: #ff3b30;
    color: white;
}

.btn-secondary {
    background: #8e8e93;
    color: white;
}

.btn-small {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    width: auto;
}

/* 提示消息 */
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4fdd8;
    color: #34c759;
}

.alert-error {
    background: #ffe5e5;
    color: #ff3b30;
}

.alert-warning {
    background: #fff3cd;
    color: #ff9500;
}

.alert-info {
    background: #e3f2fd;
    color: #1976d2;
}

/* 信息卡片 */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
    display: flex;
    align-items: center;
}

.info-card-title .icon {
    margin-right: 8px;
    font-size: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5ea;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #8e8e93;
    font-size: 14px;
}

.info-value {
    color: #1d1d1f;
    font-size: 14px;
    font-weight: 500;
}

/* 价格展示 */
.price-section {
    text-align: center;
    padding: 30px 20px;
}

.price-label {
    color: #8e8e93;
    font-size: 14px;
    margin-bottom: 8px;
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    color: #ff3b30;
}

.price-value .currency {
    font-size: 24px;
}

.price-value .decimal {
    font-size: 24px;
}

/* 支付方式选择 */
.pay-methods {
    padding: 16px;
}

.pay-method {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pay-method.active {
    border-color: #667eea;
}

.pay-method-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 16px;
}

.pay-method-icon.wechat {
    background: #07c160;
    color: white;
}

.pay-method-icon.alipay {
    background: #1677ff;
    color: white;
}

.pay-method-info {
    flex: 1;
}

.pay-method-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
}

.pay-method-desc {
    font-size: 13px;
    color: #8e8e93;
    margin-top: 4px;
}

.pay-method-radio {
    width: 24px;
    height: 24px;
    border: 2px solid #d2d2d7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pay-method.active .pay-method-radio {
    border-color: #667eea;
}

.pay-method-radio::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.pay-method.active .pay-method-radio::after {
    transform: scale(1);
}

/* 查询结果 */
.result-section {
    padding: 16px;
}

.result-status {
    text-align: center;
    padding: 40px 20px;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.result-icon.success {
    color: #34c759;
}

.result-icon.error {
    color: #ff3b30;
}

.result-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-desc {
    color: #8e8e93;
    font-size: 14px;
}

.result-detail {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.result-detail h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.result-item {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5ea;
}

.result-item:last-child {
    border-bottom: none;
}

/* 查询历史 */
.history-list {
    padding: 16px;
}

.history-item {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.history-order-no {
    font-size: 14px;
    color: #8e8e93;
}

.history-status {
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
}

.history-status.pending {
    background: #fff3cd;
    color: #ff9500;
}

.history-status.success {
    background: #d4fdd8;
    color: #34c759;
}

.history-status.failed {
    background: #ffe5e5;
    color: #ff3b30;
}

.history-info {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.history-info .label {
    color: #8e8e93;
}

.history-info .value {
    color: #1d1d1f;
    font-weight: 500;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8e8e93;
    font-size: 10px;
    padding: 4px 0;
}

.nav-item.active {
    color: #667eea;
}

.nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8e8e93;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.empty-text {
    font-size: 16px;
}

/* 间距 */
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }


/* 首页底部 */

.query{
    background: white;
    padding:20px;
    border-radius: 20px;
    width: 100%;
    max-width: 90%;
    margin: 5%;
}
.query h3{    font-size: 18px;
    color: #333;     padding-bottom: 20px; position: relative;}
    
.query h3:before {
    content: "";
    display: inline-block;
    height: 4px;
    background: linear-gradient(135deg, #107ff0 0%, #107ff0 100%);
    width: 20px;
    position: absolute;
    bottom: 13px;}

/* 外层容器 */
        .container {
            width: 100%; font-size: 12px;
        }
	
	.more{ float: right;
    font-size: 14px;
    color: #000;
    background-color: #107ff0;
    padding: 3px 17px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    border-radius: 100px;}

        /* 表头 + 行 共用布局 */
        .row {
            display: flex;
            padding: 5px;
            border-bottom: 1px solid #eee;
            align-items: center;
        }

        /* 每一列宽度比例 */
        .col-name { width: 20%; }
        .col-card { width: 45%; }
        .col-status { width: 15%; }
        .col-operate { width: 20%;     text-align: right;}

        /* 表头样式 */
        .row_header {
            font-size: 14px;
            color: #666;
            font-weight: normal;
            border-bottom: 1px solid #eee;
        }

        /* 内容样式 */
        .status { font-size: 14px;
            color: #007bff;
        }

        .operate {
            cursor: pointer;
            color: #333;
        }


/* 首页底部 */

.footer_icon {
    background: white;
    padding:20px;
    border-radius: 20px;
    width: 100%;
    max-width: 90%;
    margin: 5%;
}

.footer_icon h3{    font-size: 18px;
    margin-bottom: 10px;
    color: #107ff0;}

.footer_icon_box{    display: grid;
    grid-template-columns: repeat(2, 1fr);     gap: 8px;}
    
.icon_box{padding:20px; border-radius: 10px;     background: linear-gradient(155deg, #e9f5fe 0%, #fff 100%);}
.icon_box p{font-size: 12px;     display: inline-block;     line-height: 35px;}
.icon_box img{    width: 35px;
    vertical-align: middle;
    display: inline-block;     float: right;}

.icon_box:nth-child(2){ background: linear-gradient(155deg, #cbffe2 0%, #fff 100%);}
.icon_box:nth-child(3){ background: linear-gradient(155deg, #cbffe2 0%, #fff 100%);}
.icon_box:nth-child(6){ background: linear-gradient(155deg, #cbffe2 0%, #fff 100%);}

/*yuedu*/

.agree-container{    font-size: 12px;
    margin-bottom: 15px;     display: table;}
    
.agree-container label{width: 92%;
    float: right;}

