.auth-form-icon{
    color:#3051d3;
    font-size:5rem;
}
.navbar-brand-box h3{
    padding-top:30px;
    color:#3051d3;
    font-weight: bold;
    line-height: 1;
    margin-bottom:5px;
}
.navbar-brand-box h5{
    color:#3051d3;
    line-height: 1;
    font-size:16px;
}

.subicon{
    width:24px;
    color:#98a8e9;
    text-align: center;
}

a.active i{
    color:#3051d3!important;
}
.list-unstyled{
}
.menu-title{
    margin-top:20px;
    padding-top:20px!important;
    border-top:1px solid #f4f8f9;    
    font-weight: bold;
}

.text-primary{
    color:#3051d3!important;
}
.text-secondary{
    color:#7c8a96!important;
}
.text-success{
    color:#3ddc97!important;
}
.text-info{
    color:#00a7e1!important;
}
.text-warning{
    color:#e4cc37!important;
}
.text-danger{
    color:#f06543!important;
}
.text-dark{
    color:#343a40!important;
}
.reservations-page-table{
    
}

.reservations-page-table tr td{
    white-space: nowrap;
    overflow: hidden;
}
.reservations-page-table tr td:nth-child(3){
    width:120px;
    max-width: 120px;
    min-width: 120px;
}
.reservations-page-table tr td:nth-child(4),.reservations-page-table tr td:nth-child(8){
    width:120px;
    max-width: 120px;
    min-width: 120px;
}
.reservations-page-table tr td:nth-child(5),.reservations-page-table tr td:nth-child(6),.reservations-page-table tr td:nth-child(7){
    max-width: 180px;
    min-width: 180px;
    text-overflow: ellipsis;
}

.reservations-page-table tr td:nth-child(9),.reservations-page-table tr td:nth-child(10),.reservations-page-table tr td:nth-child(11),.reservations-page-table tr td:nth-child(12){
    max-width: 120px;
    min-width: 120px;
    text-overflow: ellipsis; 
}
.reservations-page-table tr td:nth-child(13),.reservations-page-table tr td:nth-child(14){
    max-width: 150px;
    min-width: 150px;
    text-overflow: ellipsis; 
}
.reservations-page-table tr td:nth-child(15){
    width:200px;
    max-width: 200px;
    min-width: 200px;
}
.reservations-page-table tr td:nth-child(16){
    width:230px;
    max-width: 230px;
    min-width: 230px;
    
}
.table-responsive {
/* 标准属性：thumb颜色 track颜色 */
scrollbar-color: #dddddd #fcfcfc;
scrollbar-width: auto; /* auto | thin | none */
}

.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    
}

/* 滚动条轨道（背景） */
.table-responsive::-webkit-scrollbar-track {
background: #f0f0f0;
border-radius: 50%;
}

/* 滚动条滑块 */
.table-responsive::-webkit-scrollbar-thumb {
background: #4a90d9;
border-radius: 50%;
}

/* 滑块悬停状态 */
.table-responsive::-webkit-scrollbar-thumb:hover {
background: #357abd;
}

.pagination{
    margin-bottom:0px!important;
}

.sq-img2{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    border:1px solid #ddd; /* 濡剝瀚欓崢鐔告降 img-thumbnail 鏉堣顢� */
    padding:5px;
    border-radius:4px;     /* 濡剝瀚� rounded */
    cursor: pointer;
}

.thumbnail {
    width: 100%;
    padding-top: 100%; /* 淇濇寔姝ｆ柟褰� */
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom:10px;
}
.thumbnailbox {
    width: 100%;
    padding-top: 100%; /* 淇濇寔姝ｆ柟褰� */
    background-size: cover;
    background-position: center;
    position: relative;
    border:1px solid #ddd; /* 濡剝瀚欓崢鐔告降 img-thumbnail 鏉堣顢� */
}
.thumbnail img {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    object-fit: cover; /* 纭繚鍥剧墖濉厖鏁翠釜鍖哄煙 */
    border:1px solid #ddd; /* 濡剝瀚欓崢鐔告降 img-thumbnail 鏉堣顢� */
    padding:5px;
    border-radius:4px;     /* 濡剝瀚� rounded */
}


.thumbnail2box {
    max-width: 180px;
    min-width: 80px;
    height:30px;
    text-overflow: ellipsis; /* 鏄剧ず鐪佺暐鍙锋潵浠ｈ〃琚慨鍓殑鏂囨湰 */
    overflow-x: hidden;
    cursor: pointer;
}

.thumbnail2 {
    width: 30px;
    padding-top: 30px; /* 淇濇寔姝ｆ柟褰� */
    background-size: cover;
    background-position: center;
    position: relative;
    float:left;
    margin-right:5px;
}
.thumbnail2 img {
    width: 100%;
    height: 100%;
    position: absolute;
    top:0;
    left: 0;
    object-fit: cover; /* 纭繚鍥剧墖濉厖鏁翠釜鍖哄煙 */
    border:1px solid #ddd; /* 濡剝瀚欓崢鐔告降 img-thumbnail 鏉堣顢� */
    padding:2px;
}

.thumbnail3 {
    float:left;
    margin-right:5px;
    font-size:24px;
}

.badge {
    padding: 5px 8px!important;
    font-size: 12px!important;
}
.sub-menu li.active a{
    background:#f4f8f9!important;
    color:#3051d3!important;
    
}


.shipping-page-table tr td{
    white-space: nowrap;
    overflow: hidden;
}
.shipping-page-table tr td:nth-child(3){
    width:120px;
    max-width: 120px;
    min-width: 120px;
}

.shipping-page-table tr td:nth-child(4),.shipping-page-table tr td:nth-child(5),.shipping-page-table tr td:nth-child(6){
    max-width: 180px;
    min-width: 180px;
    text-overflow: ellipsis;
}

.shipping-page-table tr td:nth-child(7),.shipping-page-table tr td:nth-child(8),.shipping-page-table tr td:nth-child(9),.shipping-page-table tr td:nth-child(10){
    max-width: 120px;
    min-width: 120px;
    text-overflow: ellipsis; 
}
.shipping-page-table tr td:nth-child(11),.shipping-page-table tr td:nth-child(12){
    max-width: 150px;
    min-width: 150px;
    text-overflow: ellipsis; 
}

.clickstyle{
    cursor: pointer!important;
}

/* ========== 产品图库模块：pg- 前缀命名空间 ========== */
.pg-wrap {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 30px;
    max-width: 700px;
    width: 100%;
}

.pg-head {
    margin-bottom: 20px;
}

.pg-head__title {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

/* 主图区域 */
.pg-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #fafafa;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: zoom-in;
}

.pg-main__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.pg-main__img--out {
    opacity: 0;
    transform: scale(0.95);
}

.pg-main__img--in {
    opacity: 1;
    transform: scale(1);
}

.pg-main__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    z-index: 10;
    font-size: 18px;
    color: #333;
}

.pg-main__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pg-main__nav--prev { left: 15px; }
.pg-main__nav--next { right: 15px; }

.pg-main__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.pg-main__count {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.pg-main__hint {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.pg-main:hover .pg-main__hint {
    opacity: 1;
}

/* 缩略图区域 */
.pg-thumb__wrap {
    position: relative;
}

.pg-thumb__list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px;
    scrollbar-width: thin;
    scrollbar-color: #ddd transparent;
}

.pg-thumb__list::-webkit-scrollbar {
    height: 6px;
}

.pg-thumb__list::-webkit-scrollbar-track {
    background: transparent;
}

.pg-thumb__list::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

.pg-thumb__item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    background: #f0f0f0;
}

.pg-thumb__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.pg-thumb__item:hover {
    border-color: #ccc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pg-thumb__item:hover img {
    transform: scale(1.05);
}

.pg-thumb__item--on {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.pg-thumb__item--on::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(37, 99, 235, 0.1);
    pointer-events: none;
}

/* 全屏 Lightbox */
.pg-box {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pg-box--show {
    display: flex;
    opacity: 1;
}

.pg-box__core {
    position: relative;
    width: 90vw;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pg-box__img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.pg-box__img--switch {
    opacity: 0;
    transform: scale(0.95);
}

.pg-box__close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1001;
}

.pg-box__close:hover {
    background: rgba(255,255,255,0.3);
}

.pg-box__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 1001;
}

.pg-box__nav:hover {
    background: rgba(255,255,255,0.3);
}

.pg-box__nav--prev { left: 20px; }
.pg-box__nav--next { right: 20px; }

.pg-box__nav:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.pg-box__count {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 600px) {
    .pg-wrap {
        padding: 15px;
    }
    
    .pg-thumb__item {
        width: 65px;
        height: 65px;
    }
    
    .pg-main__nav {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .pg-box__nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .pg-box__nav--prev { left: 10px; }
    .pg-box__nav--next { right: 10px; }

    .pg-box__close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

.text-600{
    font-weight: 600!important;
}

.table tr.active{
    background: #f4f8f9!important;
}

#side-menu li a.active{
    font-weight: 600!important;
    color:#3051d3!important;
}

table.th-no-top-border th{
    border-top:0px;
}

.text-right{
    text-align: right!important
}
.border0111{
    border:1px solid #edeff1;
    border-top:none;
    border-radius: 3px;
}

.border0100{
    border:1px solid #edeff1;
    border-top:none;
    border-bottom:none;
    border-left:none;
    border-radius: 3px;
}