﻿/* 全局盒模型 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    padding: 12px;
}
/* 分页居中 */
.pager-center {
    text-align: center !important;
}
/* td继承对齐 */
.dv table td {
    text-align: inherit;
}
/* DetailsView 基础样式 */
#DetailsView1 {
    width: 90% !important;
    max-width: 600px;
    margin: 0 auto;
    border-collapse: collapse;
}
/* 按钮容器 */
.btn-wrap {
    margin-top: 16px;
    text-align: center;
}
/* 短输入框基础（给搜索页TextBox用） */
.input-short {
    display: inline-block;
    vertical-align: middle;
}
/* ===== 统一蓝色按钮（优先这个，就是咱们要用的）===== */
input[type="submit"],
.blue-btn {
    font-size: 16px;
    padding: 10px 18px;
    margin: 4px;
    border: none;
    border-radius: 6px;
    background: #3b82f6;
    color: #fff;
    cursor: pointer;
}

    input[type="submit"]:hover,
    .blue-btn:hover {
        background-color: #2563eb;
    }
/* ========== 手机端：≤768px ========== */
@media (max-width:768px) {
    .dv {
        width: 100% !important;
    }

        .dv table {
            width: 100% !important;
        }
    /* DetailsView 手机上下堆叠 */
    #DetailsView1 tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #eee;
        border-radius: 8px;
        padding: 8px;
    }

    #DetailsView1 td {
        display: block;
        width: 100% !important;
        padding: 6px 4px;
        font-size: 16px;
    }

        #DetailsView1 td:first-child {
            font-weight: bold;
        }
    /* 手机按钮加高，方便触摸 */
    input[type="submit"],
    .blue-btn {
        min-height: 44px;
    }
    /* 输入框下拉手机适配 */
    input[type="text"],
    select {
        font-size: 16px;
        min-height: 42px;
        padding: 6px 8px;
        border-radius: 4px;
        border: 1px solid #999;
    }

    .input-short {
        width: 180px;
    }
}
/* ========== 电脑大屏：≥769px ========== */
@media (min-width:769px) {
    #DetailsView1 td {
        padding: 10px;
        font-size: 16px;
    }

    .input-short {
        width: 400px;
    }

    .input-long {
        width: 260px;
        display: inline-block;
        vertical-align: middle;
    }
    input[type="text"],
    select {
        min-height: 38px;
        padding: 6px 10px;
        border: 1px solid #999;
        border-radius: 4px;
        font-size: 16px;
    }
}
/* ========== Search页面表单样式 ========== */
.search-wrap {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 0 10px;
}

.title-center {
    text-align: center;
}

.auto-style1 {
    color: #FF0000;
}

.auto-style2 {
    font-size: x-large;
}

.auto-style5 {
    font-size: 16pt;
}

.text-tip-center {
    text-align: center;
    display: block;
}
