html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Microsoft YaHei', Arial, sans-serif, "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica";
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

:root {
    --primary-color: #007BFE;
    --primary-hover: #0068d9;
    --nav-link-bg: #eaf1fe;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f8f9fa;
    padding-top: 102px; /* 为固定导航栏留出空间 */
}

/* 头部导航 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /*margin-bottom: 20px;*/
}

.navbar-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    padding: 12px 15px;
}

.navbar-left {
    display: flex;
    align-items: stretch;
}

.container{
    position: relative;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 1.8rem;
    text-decoration: none;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: var(--primary-hover) !important;
    text-decoration: none;
}

.navbar-center {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    flex: 1;
    /*justify-content: center;*/
}

.contact-phone {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    margin-right: 30px;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.contact-phone i {
    margin-right: 6px;
    margin-top: -5px;
    color: var(--primary-color);
}

.region-selector-box {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.region-btn {
    background: #FFF;
    border: 1px solid #FFF;
    color: #333;
    padding: 0;
    /*border-radius: 5px;*/
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-btn:hover {
    font-weight: bold;
    /*border-color: var(--primary-color);*/
    color: var(--primary-color);
}

.region-btn i {
    margin-left: 0px;
}

/* 全国区域选择 */
.dropdown-menu {
    position: absolute;
    border-radius: 10px;
    border-style: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    left: 0 !important;
    bottom: calc(0px - 80vh - 30px) !important;
    padding: 20px;
    display: none; /* 默认隐藏 */
    z-index: 1001;
    background: white;
}

.dropdown-menu.show {
    display: block; /* 显示时显示 */
}
.menu-box{
    height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
}
.media {
    margin-bottom: 15px;
    font-size: 14px;
}
.pull-left {
    margin-right: 20px;
    min-width: 60px;
    padding-right: 10px;
    overflow: hidden;
}
.media-body{
    display: table-cell;
    vertical-align: top;
    width: 10000px;
    overflow: hidden;
    zoom: 1;
}
.media-body a{
    color: #337ab7;
    text-decoration: none;
    margin-bottom: 5px;
}
.media-body a:hover{
    color: var(--primary-hover);
    font-weight: bolder;
}

.navbar-right {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    flex-grow: 1;
    gap: 10px;
}

.nav-menu {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.nav-item {
    margin: 0;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(0, 123, 254, 0.1);
    color: var(--primary-color) !important;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1px 8px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
}

.btn-register {
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: #FFF;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: var(--primary-color) !important;
    color: #333;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.contact-info {
    color: #666;
    font-size: 0.9rem;
}

.contact-info a {
    color: #666;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* 底部 */
.footer {
    background-color: #333;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: white;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}


/* 主要内容区域 */
.hero-section {
    background: linear-gradient(135deg, #007BFE 0%, #0056b3 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 123, 254, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.feature-desc {
    color: #666;
    line-height: 1.6;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 20px;
}

.step-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.step-desc {
    color: #666;
    text-align: left;
    text-indent: 2em;
}

.cta-section {
    background-color: #f0f8ff;
    padding: 60px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-section .cta-section-box {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.cta-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* 订单列表 */
.order-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.order-list h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f8ff;
}

.order-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.order-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.order-meta {
    font-size: 0.9rem;
    color: #666;
}

.order-line-meta{
    font-size: 0.9rem;
    color: #666;

}

.bs-b-d{
    border-bottom-style: dashed;
}

.c-green{
    color: green;
}

.c-black{
    color: black;
}



.order-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

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

.status-transporting {
    background-color: #d1ecf1;
    color: #0c5460;
}



/* 响应式 */
@media (max-width: 1200px) {
    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-center {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        padding-top: 10px;
    }

    .nav-menu {
        margin-right: 10px;
    }

    .nav-item {
        margin: 0 8px;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: auto;
        padding: 10px 0;
    }

    .navbar-container {
        flex-direction: column;
        align-items: stretch;
    }

    .navbar-left {
        justify-content: center;
        margin-bottom: 15px;
    }

    .navbar-brand {
        font-size: 1.5rem;
        margin-right: 0;
    }

    .navbar-center {
        order: 2;
        /*justify-content: flex-start;*/
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin: 15px 0;
        padding: 15px 0;
    }

    .contact-phone {
        margin-right: 0;
        text-align: center;
    }

    .navbar-right {
        order: 3;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-right: 0;
    }

    .nav-item {
        margin: 0px;
    }

    .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .auth-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .contact-phone {
        font-size: 1rem;
    }

    .region-btn {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 2px 0;
    }

    .nav-link {
        padding: 8px 20px;
        width: 100%;
        text-align: center;
    }
}

/* 表单样式 */
.page-header {
    background: linear-gradient(135deg, #007BFE 0%, #0056b3 100%);
    color: #fff;
    padding: 40px 0;
    margin-bottom: 30px;
}

.page-header .title {
    font-weight: 700;
}

.form-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    padding: 24px;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 12px 0 16px;
}

.required::after {
    content: '*';
    color: #dc3545;
    margin-left: 4px;
}

/* 城市选择输入框样式 */
.city-select-input {
    cursor: pointer !important;
    background-color: #fff !important;
    color: #212529 !important;
}

.city-select-input[readonly] {
    background-color: #fff !important;
    opacity: 1 !important;
}

.city-select-input:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 254, 0.25) !important;
    background-color: #fff !important;
}

.city-select-input:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 254, 0.25) !important;
    background-color: #fff !important;
}

/* 城市选择器样式 */
.city-selector-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    overflow-y: auto;
}

.city-selector-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* 禁止背景滚动 */
body.modal-open {
    overflow: hidden !important;
}

.city-selector-content {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 900px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.city-selector-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.city-selector-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.city-selector-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.city-selector-close:hover {
    color: #333;
}

.city-selector-search {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
}

.city-selector-search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.city-selector-tabs {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.city-selector-tab {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.city-selector-tab.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.city-selector-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

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

.city-group-letter {
    font-size: 1.5rem;
    font-weight: bold;
    color: #dc3545;
    /* min-width: 40px; */
    flex-shrink: 0;
    margin-top: 0;
}

.city-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.city-item {
    padding: 8px 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s;
}

.city-item:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.city-selector-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
}

.city-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
}

.city-btn-primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
