html {
    /*font-style:italic;*/
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

html, body {
    height: 100%;
}

@media (min-width: 768px) {
    html {
        /*font-style:italic;*/
    }
}

body {
    /*margin-bottom: 60px;*/
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bg-logo {
    background-color: #141414;
    box-shadow: 0px 3px 8px 0px #000;
}

index-float {
    width: 30%;
    position: fixed;
    bottom: 10%;
    right: 10px;
    line-height: 1;
    z-index: 5;
}

.div-float {
    width: 30%;
    position: fixed;
    bottom: 10%;
    right: 10px;
    line-height: 1;
    z-index: 5;
}

.custom-table {
    font-size: 11px;
    border-radius: 3px;
    box-shadow: 0 1px 3px 2px #666;
    background-color: #FFFFFF;
}

.custom-table-header {
    font-size: 12px;
}

.td-tdfooter {
    background-color: rgba(217, 210, 210,0.6) !important;
    font-size: 12px !important;
    line-height: 15px !important;
}

.navbar-cus {
    padding: 100px 0 0 0;
}


footer.footerbg {
    background-color: rgba(220,220,220, 0.3);
    position: relative !important;
    bottom: 0px !important;
    width: 100%;
}

.span-navtext {
    font-size: 12px;
}

.sys-first-div {
    padding: 100px 0 0 0;
}

.sys-container {
    /*display: grid;
    grid-template-columns: 40% auto;*/ /*auto auto;
    /*gap: 12px;
    padding: 16px 0 0 0;*/
    position: relative;
    /*width: 100%;*/
    padding-right: 15px;
    padding-left: 15px;
}

.sys-width {
    width: 100%;
    margin-top: 5%;
    /*padding-bottom: 30px;*/
    /*padding: 0 60px;*/
    min-height: 198px;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    transition: all .4s ease-in-out;
    box-shadow: 0 0 25px 0 rgba(20,27,202,.17)
}

.sys-vis-none {
    display: none !important;
    font-size: 12px;
}


.box {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.our-services {
    margin-top: 75px;
    padding-bottom: 30px;
    padding: 0 20px;
    min-height: 198px;
    text-align: center;
    border-radius: 10px;
    background-color: #fff;
    transition: all .4s ease-in-out;
    box-shadow: 0 0 25px 0 rgba(20,27,202,.17)
}

    .our-services .icon {
        margin-bottom: -21px;
        transform: translateY(-50%);
        text-align: center
    }

    .our-services:hover h4, .our-services:hover p {
        color: #fff
    }

.cus-bg-change:hover {
    box-shadow: 0 0 25px 0 rgba(20,27,201,.05);
    cursor: pointer;
    background-color: rgba(0,0,0,0.9);
    /*background-image:linear-gradient(#828282, #C9C9C9);*/
}

.btn-xs {
    padding: 0.5rem 0.25rem 0.5rem 0.25rem !important;
    font-size: 0.55rem !important;
    line-height: 1 !important;
    border-radius: 0.5rem !important;
}

.custom-card {
    margin-bottom: 2px; /* ����d�����������Z */
}

.custom-card-title {
    font-size: 0.8rem; /* ����d�����D���r��j�p */
}

.custom-card-text {
    font-size: 0.8rem; /* ����d������r���r��j�p */
}

.custom-button-info-f {
    position: fixed;
    bottom: 20%;
    right: 15px;
    border-radius: 100px !important;
}

.custom-card-body h6 {
    padding: 1px;
    margin: 0;
}

    .custom-card-body h6:hover {
        background-color: #f1f1f1; /* �A�i�H�ھڻݭn�վ��C�� */
        cursor: pointer;
    }

.custom-card-body-gpm {
    background-color: rgba(192, 192, 192, 0.3);
    /*color: white;*/ /* �A�i�H�ھڻݭn����C�� */
    border-radius: 3px;
    line-height: 1;
    padding: 15px 1px 1px 1px !important;
}

.custom-modal-title {
    background-color: rgba(0,0,0,0.8); /* �A�i�H�ھڻݭn����C�� */
    color: white; /* �A�i�H�ھڻݭn����C�� */
    padding: 10px; /* �i��G�W�[����Z */
    /*border-radius: 5px;*/ /* �i��G�W�[�ꨤ */
}

.container {
    flex: 1;
}

.footer {
    background-color: #f8f9fa;
    text-align: left;
    padding: 1rem 0;
}

.footer-sec {
    text-align: left;
    padding: 1rem 0;
}

.footerbg {
    background-color: rgba(220,220,220, 0.3);
    width: 100%;
}

.custom-card-nav {
    width: 90%;
    margin: 0 auto; /* �m�� */
    border-radius: 10px;
    box-shadow: 0 0 25px 0 rgba(20,27,202,.17);
}

.no-wrap {
    display: flex !important;
    align-items: center;
}

    .no-wrap .counter {
        margin-left: 5px; /* �ھڻݭn�վ㶡�Z */
    }

.cus-counter {
    font-weight: bold;
    font-size: 1rem;
    background-color: rgba(20,27,202,.17); /* �A�i�H�ھڻݭn����C�� */
    /*color: #000;*/ /* �A�i�H�ھڻݭn����C�� */
    border-radius: 5px;
    padding: 5px 10px;
}

.cus-div-header{
    padding: 15px 0px 10px 0;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    padding: 0 0.5rem;
}

.breadcrumb-item > a {
    color: #0d6efd;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* ���ʤH���p����T�����˦� */
.buyer-contact-carousel {
    position: relative;
    min-height: 3.5rem; /* �W�[�̤p���� */
    overflow: visible; /* �άλ�i���A�קK���� */
    padding: 0.5rem 0; /* �W�[�W�U����Z */
}

.buyer-contact-info {
    position: relative;
    width: 100%;
    min-height: 3rem; /* �T�O�������� */
}

.contact-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
    padding: 0.25rem 0; /* �W�[����Z */
    min-height: 2.5rem; /* �T�O�̤p���� */
    display: flex; /* �ϥ� flexbox */
    align-items: center; /* �����m�� */
}

.buyer-contact-text {
    font-size: 0.85rem;
    line-height: 1.4; /* �W�[�氪 */
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal; /* ���\���� */
    width: 100%;
    padding: 0.2rem 0; /* �W�[�W�U����Z */
}

.contact-item:hover .buyer-contact-text {
    color: #0d6efd !important;
    text-decoration: underline;
}

.copy-tooltip {
    background-color: #666 !important;
    color: white !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    padding: 4px 8px !important;
    position: absolute !important;
    z-index: 1000 !important;
    white-space: nowrap !important;
}

/* �۾A���Ϥ��˦� */
.sys-logo-img {
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* �T�����]�p - �b�p�ù��W�i�@�B����Ϥ��j�p */
@media (max-width: 768px) {
    .sys-logo-img {
        max-width: 80%;
    }
}

@media (max-width: 576px) {
    .sys-logo-img {
        max-width: 90%;
    }
}

/* �T�O�Ϥ��b���P�ù��ؤo�U���ॿ�T��� */
@media (min-width: 1200px) {
    .sys-logo-img {
        max-width: 60%;
    }
}

/* �T�O�b���P�ù��ؤo�U���������Ŷ� */
@media (max-width: 576px) {
    .buyer-contact-carousel {
        min-height: 4.5rem;
    }
    
    .contact-item {
        min-height: 3rem;
    }
}

/* �ưʶi�J�ʵe */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.contact-item.slide-in {
    animation: slideInFromRight 0.5s ease-out;
}

.contact-item.slide-out {
    animation: slideOutToLeft 0.5s ease-in;
}

/* 自訂下拉選單樣式 - 適應性展開 */
.dropdown-menu-adaptive {
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    min-width: 200px;
}

/* 滾動條樣式 */
.dropdown-menu-adaptive::-webkit-scrollbar {
    width: 8px;
}

.dropdown-menu-adaptive::-webkit-scrollbar-track {
    background: #2c3e50;
}

.dropdown-menu-adaptive::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.dropdown-menu-adaptive::-webkit-scrollbar-thumb:hover {
    background: #777;
}

/* Dropend 特定樣式 */
.dropend .dropdown-menu-adaptive {
    top: 0 !important;
    left: 100% !important;
    margin-left: 0.125rem;
}

/* 確保 dropend 在小螢幕上的表現 */
@media (max-width: 991.98px) {
    .dropend .dropdown-menu-adaptive {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}