/* Bootstrap 补充样式 */

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* 表单浮动标签优化 */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #0d6efd;
}

.form-floating > .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* 卡片悬停效果 */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* 按钮悬停效果 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

/* 列表项悬停效果 */
.list-group-item-action:hover {
    background-color: #f8f9fa;
    transform: translateX(2px);
    transition: all 0.2s ease;
}

/* 徽章样式优化 */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 加载动画优化 */
.spinner-border {
    width: 2rem;
    height: 2rem;
}

/* 固定底部栏优化 */
.fixed-bottom {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

/* 导航栏优化 */
.navbar {
    backdrop-filter: blur(10px);
}

/* 表单验证样式 */
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 响应式图片 */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* 文本选择样式 */
::selection {
    background-color: #0d6efd;
    color: white;
}

/* 焦点样式 */
:focus {
    outline: none;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* 阴影效果 */
.shadow-custom {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.shadow-custom-lg {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 边框圆角 */
.rounded-custom {
    border-radius: 0.75rem;
}

/* 间距工具类 */
.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.gap-5 {
    gap: 3rem;
}

/* 保持原有的Vant组件样式兼容性 */
.van-field__control {
    text-align: right;
}

.van-cell {
    font-size: 16px;
}

.van-checkbox__icon--checked .van-icon, 
.van-radio__icon--checked .van-icon {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

.van-nav-bar .van-icon {
    color: #6c757d !important;
}

/* 保持原有的工具类 */
[v-cloak] {
    display: none;
}

.f_l {
    float: left;
}

.f_r {
    float: right;
}

.clear {
    clear: both;
}

.text_left {
    text-align: left;
}

.text_right {
    text-align: right;
}

.text_center {
    text-align: center;
}

.text-indent {
    text-indent: 30px;
}

.pointer {
    cursor: pointer;
}

.f_w {
    font-weight: bold;
}

.grayBg {
    background: #F3F3F3;
}

.scaleFontSize10,
.scaleFontSize8,
.scaleFontSize6 {
    display: inline-block;
    font-size: 12px;
    -webkit-text-size-adjust: none;
    -webkit-transform: scale(0.83, 0.83);
}

.scaleFontSize8 {
    -webkit-transform: scale(0.66, 0.66);
}

.scaleFontSize6 {
    -webkit-transform: scale(0.5, 0.5);
}

.b_b {
    border-bottom: 1px solid #EEEEEE;
}

.b_t {
    border-top: 1px solid #EEEEEE;
}

.b_l {
    border-left: 1px solid #EEEEEE;
}

.b_r {
    border-right: 1px solid #EEEEEE;
}

.b_d {
    border: 1px solid #EEEEEE;
}

.flex_a_c {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex_b_c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_b_b {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.flex_c_c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_c_t {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.flex_l_c {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex_r_c {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex_b_l {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex_t_l {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex_l_b {
    display: flex;
    justify-content: flex-start;
    align-content: space-between;
}

.flex_l_t {
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
}

.flex_w {
    display: flex;
    flex-flow: wrap;
}

.flex_w_b {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex {
    display: flex;
}

.flex_1 {
    flex: 1;
}

.i_block {
    display: inline-block;
}

.omit {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.omit2 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.redColor {
    color: #dc3545;
}

/* 响应式设计优化 */
@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .fs-5 {
        font-size: 1.1rem !important;
    }
    
    .fs-4 {
        font-size: 1.25rem !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 打印样式 */
@media print {
    .fixed-bottom,
    .navbar {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}

section,
header,
footer,
nav {
    display: block;
    margin: 0;
    padding: 0
}

html,
body {
    background: #F9F9F9;
    font-size: 12px;
    overflow: auto;
    color: #1A1717;
    font-family: PingFangSC-Regular, PingFang SC;
}

/*ol,
ul {
    list-style: none
}

ins {
    text-decoration: none
}*/

table {
    border-collapse: collapse;
    border-spacing: 0
}

img {
    border: 0;
    font-size: 0
}

a {
    text-decoration: none;
    cursor: pointer;
}

input,
select,
textarea {
    -webkit-background-origin: content-box;
    background-origin: content-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    resize: none;
}

input,
button {
    border-radius: 0;
    padding: 0;
}

/*ol,
ul {
    list-style: none
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}
*/

a:hover {
    text-decoration: none;
}

button {
    cursor: pointer;
}

ins,
a {
    text-decoration: none
}

[v-cloak] {
    display: none
}

.f_l {
    float: left;
}

.f_r {
    float: right;
}

.clear {
    clear: both
}

/*文字对齐方式*/
.text_left {
    text-align: left;
}

.text_right {
    text-align: right;
}

.text_center {
    text-align: center;
}

.text-indent {
    text-indent: 30px;
}

.pointer {
    cursor: pointer;
}

.f_w {
    font-weight: bold;
}

.grayBg {
    background: #F3F3F3
}

/*字体缩小*/
.scaleFontSize10,
.scaleFontSize8,
.scaleFontSize6 {
    display: inline-block;
    font-size: 12px;
    -webkit-text-size-adjust: none;
    -webkit-transform: scale(0.83, 0.83);
}

.scaleFontSize8 {
    -webkit-transform: scale(0.66, 0.66);
}

.scaleFontSize6 {
    -webkit-transform: scale(0.5, 0.5);
}

/*边框线*/
.b_b {
    border-bottom: 1px solid #EEEEEE;
}

.b_t {
    border-top: 1px solid #EEEEEE;
}

.b_l {
    border-left: 1px solid #EEEEEE;
}

.b_r {
    border-right: 1px solid #EEEEEE;
}

.b_d {
    border: 1px solid #EEEEEE;
}

/* 弹性布局 */
.flex_a_c {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex_b_c {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_b_b {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.flex_c_c {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_c_t {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.flex_l_c {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex_r_c {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex_b_l {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.flex_t_l {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.flex_l_b {
    display: flex;
    justify-content: flex-start;
    align-content: space-between;
}

.flex_l_t {
    display: flex;
    justify-content: flex-start;
    align-content: flex-start;
}

.flex_w {
    display: flex;
    flex-flow: wrap;
}

.flex_w_b {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

.flex {
    display: flex;
}

.flex_1 {
    flex: 1;
}

.i_block {
    display: inline-block;
}

input::-webkit-input-placeholder {
    color: #999999;
}

input::-moz-input-placeholder {
    color: #999999;
}

input::-ms-input-placeholder {
    color: #999999;
}

/*单行多行省略*/
.omit {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-break: break-all;
}

.omit2 {
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.redColor {
    color: red;
}

.navBar {
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

.navBarMain {
    padding: 46px 0 0;
}


/*立即下单*/
.logoBox {
    background: #E5E5E5;
    padding: 10px 20px;
}

.logoBox .logo {
    width: 50px;
}

#placeOrder .van-field__control {
    text-align: right;
}

#placeOrder .van-cell {
    font-size: 16px;
}

#placeOrder .standardItem {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #CCCCCC;
    text-align: center;
    border-radius: 20px;
    color: #ffffff;
}

#placeOrder .standard .van-field__control--custom {
    display: block;
}

#placeOrder .options {
    margin-top: 15px;
}

#placeOrder .optionBox {
    padding-top: 20px;
    padding-bottom: 40px;
}

.filingBox {
    margin-top: 30px;
    font-size: 14px;
    color: #aaaaaa;
}

.filingName {
    margin-right: 15px;
}

.van-checkbox__icon--checked .van-icon, .van-radio__icon--checked .van-icon {
    background-color: #0B3472 !important;
    border-color: #0B3472 !important;
}

.submitBox {
    background: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
}

.submitBtn {
    background: #0B3472;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 5px;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
}

.van-nav-bar .van-icon {
    color: #707070 !important;
}

#selCity .item {
    word-break: break-all;
    background: #ffffff;
    padding: 10px 20px;
    font-size: 18px;
}

.noData {
    text-align: center;
    font-size: 18px;
    margin-top: 40px;
}

/*发票信息*/
#invoice .mainBox {
    background: #ffffff;
}

#invoice .groupBox {
    padding: 40px 10px;
}

#invoice .van-radio {
    margin: 0 15px;
    font-size: 16px;
}

#invoice .tips {
    color: red;
    padding: 10px;
    font-size: 14px;
}

#invoice .submitBtnBox {
    margin-top: 40px;
}

#invoice .invoiceTip {
    text-align: center;
    font-size: 18px;
    padding: 30px 10px;
}

#invoice .van-cell__value--alone {
    font-size: 18px !important;
}

#invoice .van-cell {
    line-height: 30px;
}

/*我的订单*/
#order .logoBox {
    height: 64px;
}
#order .item {
    word-break: break-all;
    background: #ffffff;
    padding: 20px;
    font-size: 16px;
    color: #a6a6a6;
}

#order .listBox {
    height: calc(100vh - 64px);
    overflow: auto;
}

#order .name {
    padding: 4px 0;
    font-size: 18px;
}

#order .city {
    color: #6b6b6b;
    margin-bottom: 15px;
}

#order .submitBtn {
    background: #D30000;
    margin-left: 20px;
    padding: 6px 20px;
    font-size: 14px;
    cursor: pointer;
}

/*支付*/
#payment .info{
    padding: 20px;
    font-size: 18px;
    color: #5a5a5a;
}

#payment .title {
    font-size: 30px;
    margin-bottom: 5px;
    color: #000;
}

#payment .item {
    word-break: break-all;
    margin-bottom: 8px;
    line-height: 32px;
}

#payment .submitBtn {
    margin: 70px auto 0;
    text-align: center;
    display: block;
    width: 95%;
}

/*订单详情*/
#orderDetails .navBarMain {
    background: #ffffff;
    font-size: 16px;
    padding: 70px 20px 20px;
}

#orderDetails .item {
    word-break: break-all;
    padding: 10px 0;
}

#orderDetails .requiredName {
    margin-right: 20px;
}

#orderDetails .threeQrBox {
    margin-top: 20px;
}

#orderDetails .threeQr {
    width: 250px;
}

#orderDetails .submitBtn {
    margin-top: 20px;
}
