/* ========================================
   VTM Table Styles – Mobile First
   ======================================== */

/* Root Variables (assumed defined elsewhere) */
/* :root {
    --vtm-header-color: #...;
    --vtm-text-color: #...;
} */

/* ============== GENERAL ============== */
.vtm-header {
    background-color: var(--vtm-header-color);
    color: var(--vtm-text-color);
    padding: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    border: 1px solid #000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.vtm-data-row {
    border: 1px solid #000000;
    border-top: none;
    padding: 0;
    text-align: center;
}

.vtm-location-text {
    color: var(--vtm-text-color);
}

.desktop-view .vtm-location-text {
    padding: 0.5rem;
}

.mobile-view .vtm-location-text {
    padding: 0.8rem;
}

.mobile-view .vtm-status-wrapper {
    margin-top: 5px;
}

.vtm-status-text {
    margin-top: 0.25rem;
    vertical-align: middle;
}

.vtm-status-image-container {
    padding: 0.5rem;
}

.vtm-status-image {
    width: 39px;
    height: 17px;
    display: inline-block;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    margin-right: 0.5rem !important;
    margin-left: 1.8rem !important;
}

/* Prevent content from being hidden under fixed header */
.container-fluid {
    padding-top: 30px;
}

/* ============== MOBILE VIEW (Default) ============== */
.mobile-view .vtm-header {
    padding: 0.4rem 0;
    font-size: 19px !important;
}

.mobile-view .vtm-location-text {
    font-size: 19px !important;
    line-height: 1.1;
}

.mobile-view .vtm-status-image {
    padding: 0;
    height: 13px;
    width: 30px;
    margin: 0 !important;
}

.mobile-view .status-unavailable {
    margin-left: 0;
    font-weight: normal !important;
}

.mobile-view .row.vtm-data-row:nth-child(2) {
    padding-top: 8px;
}

/* --- Language: English (Mobile) --- */
:lang(en) .vtm-header {
    font-weight: 500;
    font-size: 0.625rem;
}

:lang(en) .vtm-location-text {
    font-weight: 400;
    font-size: 0.608rem;
}

:lang(en) .vtm-status-text {
    font-weight: 400;
    font-size: 0.567rem;
}

:lang(en) .mobile-view .vtm-status-text {
    font-size: 19px;
    font-weight: 700;
}

/* --- Language: Traditional Chinese (Mobile) --- */
:lang(zh-hk) .vtm-header {
    font-size: 1.05rem;
    font-weight: 500;
}

:lang(zh-hk) .vtm-location-text {
    font-weight: 400;
    font-size: 0.625rem;
}

:lang(zh-hk) .vtm-status-text {
    font-weight: 400;
    font-size: 0.542rem;
}

:lang(zh-hk) .mobile-view .vtm-status-text {
    font-size: 19px;
    font-weight: 700;
}

:lang(zh-hk) .desktop-view .vtm-status-text.status-unavailable {
    margin-left: 28px;
    font-weight: 400;
}

/* --- Language: Simplified Chinese (Mobile) --- */
:lang(zh-cn) .vtm-header {
    font-weight: 500;
    font-size: 0.65rem;
}

:lang(zh-cn) .vtm-location-text {
    font-weight: 400;
    font-size: 0.625rem;
}

:lang(zh-cn) .vtm-status-text {
    font-weight: 400;
    font-size: 0.542rem;
}

:lang(zh-cn) .mobile-view .vtm-status-text {
    font-size: 19px;
    font-weight: 700;
}

/* ============== DESKTOP VIEW ============== */
.desktop-view .container-fluid {
    padding-top: 40px;
}

.desktop-view .vtm-header {
    padding: 0.5rem;
}

.desktop-view .vtm-data-row {
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #000000;
    border-top: none;
    padding: 0;
}

.desktop-view .vtm-location-text {
    width: 64%;
    border-right: none;
}

.desktop-view .vtm-status-image-container {
    width: 36%;
    text-align: left;
}

.desktop-view .vtm-data-row::after {
    content: '';
    position: absolute;
    left: 64%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #000000;
}
.desktop-view.no-line .vtm-data-row::after {
    content: none;
}

.desktop-view .row.vtm-data-row:nth-child(2) {
    padding-top: 10px;
}

.col-12.col-large {
    height:100px;
    align-content: center;
}


/* --- Language: English (Desktop) --- */
:lang(en) .desktop-view .vtm-header {
    font-weight: 500;
    font-size: 19px;
}

:lang(en) .desktop-view .vtm-location-text, :lang(en) .desktop-view .col-error  {
    font-weight: 400;
    font-size: 19px;
}

:lang(en) .desktop-view .vtm-status-text {
    font-weight: 700;
    font-size: 19px;
}

:lang(en) .desktop-view .vtm-status-text.status-unavailable {
    font-weight: 400;
    margin-left: 28px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@media (min-width: 1111px) {
    :lang(en) .desktop-view .vtm-status-text.status-unavailable {
        font-weight: 400;
      
    }
}

/* --- Language: Traditional Chinese (Desktop) --- */
:lang(zh-hk) .desktop-view .vtm-header {
    font-size: 19px;
    line-height: 2rem;
}

:lang(zh-hk) .desktop-view .vtm-location-text, :lang(zh-hk) .desktop-view .col-error {
    font-weight: 300;
    font-size: 19px;
}

:lang(zh-hk) .desktop-view .vtm-status-text {
    font-weight: 700;
    font-size: 19px;
    line-height: 1.757rem;
}

/* --- Language: Simplified Chinese (Desktop) --- */
:lang(zh-cn) .desktop-view .vtm-header {
    font-weight: 500;
    font-size: 19px;
    line-height: 2rem;
}

:lang(zh-cn) .desktop-view .vtm-location-text, :lang(zh-cn) .desktop-view .col-error {
    font-weight: 300;
    font-size: 19px;
}

:lang(zh-cn) .desktop-view .vtm-status-text {
    font-weight: 700;
    font-size: 19px;
}

:lang(zh-cn) .desktop-view .vtm-status-text.status-unavailable {
    margin-left: 28px;
    font-weight: 400;
}

.vtm-status-text.status-unavailable{
    color:#757575;
}