*{ box-sizing: border-box; }
a{ text-decoration: none !important;color: #333; }
body{padding: 0;padding-top: 70px;background-color: #F8F9FA !important;font-size: 14px !important;}

.login-btn{
    padding: 6px 16px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
    height: 32px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-top-center, .toast, .toast-error{
    font-size: 14px;
}


.row {
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}
.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}


.ms-content{
    min-height: 80vh;
    width: 1150px;
    margin: 20px auto;
}

/* index banner图*/
.hero-section{
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #1a1a2e;
}

.hero-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-image: url('https://www.mepark.cn/static/hero-banner.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, .5);
}

.hero-subtitle {
    font-size: 20px;
    opacity: .9;
    margin-bottom: 40px;
    display: block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, .5);
}

.search-section {
    background: rgba(248, 249, 250, .05);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    width: 95% !important;
    margin: 0 auto !important;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-width: 1000px;
}

.search-tabs {
    display: flex;
    background: rgba(248, 249, 250, .3);
    border-radius: 12px 12px 0 0;
    padding: 4px 20px;
    gap: 4px;
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    max-width: 350px;
}

.search-tab {
    flex: 1;
    padding: 10px 14px;
    background: #fff;
    color: #6c757d;
    cursor: pointer;
    transition: all .3s ease;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    border: none;
}

.search-bar {
    display: flex;
    padding: 20px;
    background: hsla(0, 0%, 100%, .2);
    align-items: center;
    gap: 0;
    border-radius: 0 0 12px 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}

.search-input {
    flex: 4;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 16px;
    background: hsla(0, 0%, 100%, .7);
    color: #333;
    transition: all .3s ease;
    outline: none;
    height: 60px;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.search-btn {
    flex: 1;
    padding: 0;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 0 12px 12px 0;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    box-sizing: border-box;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

/* 联系我们 */
.service-card{
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
.service-title{
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
    padding: 20px;
    display: block;
    background: #f8f9fa;
}

.service-form {
    padding: 20px;
}

.form-textarea {
    width: 100%;
    height: 40px;
    /*padding: 12px;*/
    /*border: 1px solid #ddd;*/
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    background-color: #fff;
    margin-bottom: 15px;
    resize: none;
    font-family: inherit;
    line-height: 1.2;
}

.form-control{
    height: 100%;
    font-size: 14px !important;
}

.form-captcha{
    display: flex;
    align-items: center;
}

.captcha-img{
    margin-left: 10px;
    border: 1px solid #ddd;
}
.captcha-img, .captcha-img img{
    height: 100%;
}



.submit-btn{
    width: 100%;
    padding: 12px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .3s ease;
    text-align: center;
}

/* 热门推荐 */
.service-card, .recommend-card
{
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.recommend-card{
    margin-top: 12px;
}

.recommend-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
}

.recommend-bar {
    width: 4px;
    height: 20px;
    background: #dc3545;
    margin-right: 10px;
}

.recommend-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.recommend-list {
    padding: 20px;
}

.recommend-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: all .3s ease;
}

.recommend-item:last-child {
    border-bottom: none;
}

.recommend-image {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.recommend-info {
    flex: 1;
}

.recommend-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.recommend-price {
    font-size: 12px;
    color: #dc3545;
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

.recommend-address {
    font-size: 12px;
    color: #666;
    display: block;
}

/*分页*/
.pagination {
    justify-content: center;
}

/* 覆盖 Bootstrap 默认的主题色 */
.pagination > .active > span {
    background-color: #dc3545; /* 背景色 */
    border-color: #ff4b4b;     /* 边框色 */
    color: #fff;               /* 字体颜色 */
}

/* 鼠标悬停时的颜色 */
.pagination > .active > span:hover {
    color: #f8f9fa;
    background-color: #dc3545;
}

.empty{
    text-align: center;
}

.empty-icon{
    font-size: 100px;
    color: #999;
}

.empty-title{
    font-size: 16px;
    color: #666;
    padding-bottom: 50px;
}



@media (max-width: 768px) {
    /* 搜索 */
    .hero-section {
        height: 280px !important;
        min-height: 280px !important;
        padding: 0;
        position: relative !important;
    }

    .hero-overlay {
        position: absolute !important;
        z-index: 2 !important;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .search-section {
        width: 96% !important;
        border-radius: 10px;
        background: hsla(0, 0%, 100%, .95);
        min-width: auto;
        padding: 0;
    }

    .search-tabs {
        padding: 8px;
        gap: 6px;
        justify-content: center;
        width: 100%;
        max-width: none;
        flex-direction: row;
        border-bottom: 1px solid rgba(0, 0, 0, .05);
    }
    .search-tab {
        padding: 8px 12px;
        font-size: 13px;
        max-width: 110px;
        border-radius: 18px;
    }
    .search-bar {
        flex-direction: row;
        background: transparent;
        border-radius: 0 0 12px 12px;
        padding: 9px;
        gap: 8px;
    }

    .search-input {
        flex: 1;
        border: 2px solid #e9ecef;
        background: #fff;
        color: #333;
        box-sizing: border-box;
        width: auto;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
        transition: all .3s ease;

        padding: 12px 16px;
        font-size: 13px;
        height: 44px;
        border-radius: 22px;
    }

    .search-btn {
        min-width: 50px;
        padding: 0 20px;
        height: 44px;
        font-size: 18px;
        border-radius: 22px;
    }

    .ms-content{
        width: 100%;
        margin: 0px auto;
    }

    .recommend-card, .service-card{
        margin-top: 8px;
    }
}