.line-bcv {
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 20px 0 0 0;
}

.header-main {
    background-image: url(/wp-content/uploads/2026/03/1.png);
    background-position: center center;
    background-repeat: no-repeat;
}

.box-bcv {
    background-color: #fff;
    width: fit-content;
    color: #050865 !important;
    padding: 2px 10px;
    font-weight: 600;
}

/* Style for h1-line to create two bottom lines */
.h1-line {
    position: relative;
    display: inline-block;
    /* Ensure lines only span text width */
    padding-bottom: 20px;
    /* Space for the lines */
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
}

/* First line: Long white line */
.h1-line::before {
    content: "";
    position: absolute;
    bottom: 8px;
    /* Position of the first line */
    left: 0;
    width: 100%;
    /* Full width of the element */
    height: 2px;
    /* Thickness of the line */
    background-color: #fff;
}

/* Second line: Short white line */
.h1-line::after {
    content: "";
    position: absolute;
    bottom: 0px;
    /* Position of the second line */
    left: 0;
    width: 60%;
    /* Shorter width */
    height: 2px;
    /* Thickness of the line */
    background-color: #fff;
}

.btn-custom {
    background: #D10B0B !important;
    border-radius: 16px !important;
}

.btn-custom:hover {
    background: #050865 !important;
    border-radius: 16px !important;
    color: #fff !important;
}


.schedule-table-wrapper {
    width: 100%;
    color: #050865;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    /* PC layout threshold */
}

/* Base Table Borders */
.schedule-table th,
.schedule-table td {
    border: 2px solid #050865;
    padding: 30px;
    vertical-align: top;
    line-height: 1.6;
    font-size: 16px;
    color: #050865 !important;

}

/* Header Cells */
.schedule-table th {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 20px;
}

/* Day Column (Col 1) */
.schedule-table .day-col {
    text-align: center;
    font-size: 24px;
    vertical-align: middle;
    color: #050865;
}

/* List Items with Hanging Indent (Cho hàng có gạch ngang) */
.schedule-table .list-item {
    margin: 0 0 10px 0;
    padding-left: 15px;
    text-indent: -15px;
    /* Thụt dòng tự động khi xuống hàng */
}

.schedule-table .list-item:last-child {
    margin-bottom: 0;
}

/* Section Titles (Thực Hành, Kết luận...) */
.schedule-table .section-title {
    font-weight: 800;
    margin: 20px 0 10px 0;
}

.schedule-table td>.section-title:first-child {
    margin-top: 0;
}

/* Responsive adjustments for Mobile & Tablet */
@media screen and (max-width: 849px) {

    /* Phù hợp breakpoint của Flatsome */
    .schedule-table-wrapper {
        overflow-x: hidden;
    }

    .schedule-table {
        min-width: 100%;
    }

    /* Chuyển table thành dạng khối (Block) cho Mobile */
    .schedule-table,
    .schedule-table thead,
    .schedule-table tbody,
    .schedule-table th,
    .schedule-table td,
    .schedule-table tr {
        display: block;
    }

    /* Ẩn Header ngang đi */
    .schedule-table thead {
        display: none;
    }

    .schedule-table tr {
        margin-bottom: 30px;
        border: 2px solid #050865;
        /* Đóng khung mỗi Ngày trên mobile */
    }

    /* Mỗi cell là 1 dòng riêng trên mobile */
    .schedule-table td {
        border: none;
        border-bottom: 2px solid #050865;
        position: relative;
        padding: 20px 20px 20px 35%;
        /* Tạo khoảng trống bên trái cho Label */
        text-align: left;
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }

    /* Giả lập lại Header cho từng Cell trên Mobile (SÁNG / CHIỀU) */
    .schedule-table td::before {
        content: attr(data-label);
        /* Lấy từ data-label trong HTML ra */
        position: absolute;
        left: 20px;
        top: 20px;
        width: 30%;
        padding-right: 15px;
        font-weight: 800;
        text-transform: uppercase;
        color: #050865;
    }

    /* Ô Ngày tháng trên Mobile ko cần Label ngầm */
    .schedule-table .day-col {
        text-align: center;
        background-color: #f4f6f9;
        /* Phủ mờ nhẹ phân biệt khối ngày */
        padding: 25px 20px;

    }

    .schedule-table .day-col::before {
        display: none;
        /* Tắt Label ngầm */
    }
}

.img-border {
    border: 2px solid #fff;
    border-radius: 20px;
}

.absolute-footer.dark.medium-text-center.small-text-center {
    display: none;
}

.col-nopadding {
    padding-bottom: 0 !important;
    padding-top: 30px !important;
}

/* ==========================================================================
   Language Switcher (Polylang) Toggle Style
   ========================================================================== */
.custom-pll-switcher {
    display: inline-flex;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 8px;
    /* Slightly rounded corners */
    overflow: hidden;
    /* To keep the children inside the box */
    background-color: transparent;
    font-family: Arial, sans-serif;
    margin: 10px 0;
}

.pll-lang-btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    /* Big font size like in the image */
    color: #fff;
    text-decoration: none !important;
    text-align: center;
    transition: all 0.3s ease;
    line-height: 1;
}

/* Active State (Red background like VN in the image) */
.pll-lang-btn.active {
    background-color: #cc0000;
    /* Deep red color */
    color: #fff;
}

/* Inactive State */
.pll-lang-btn:not(.active) {
    background-color: transparent;
    /* Or a slight blue if required, but transparent works with the border */
    color: #fff;
}

/* Hover effect */
.pll-lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.pll-lang-btn.active:hover {
    background-color: #a30000;
}

/* ==========================================================================
   Floating Social Icons Style (Bottom Right)
   ========================================================================== */
.floating-social-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 15px;
    /* Space between icons */
    z-index: 9999;
    /* Ensure it stays on top */
}

.floating-social-icons .social-icon {
    display: block;
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.floating-social-icons .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
}

.floating-social-icons .social-icon:hover {
    transform: translateY(-5px);
    /* Lift up on hover */
    filter: brightness(1.1);
}

/* Adjust for mobile to avoid overlapping with Chat Widgets if any */
@media screen and (max-width: 768px) {
    .floating-social-icons {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .floating-social-icons .social-icon {
        width: 40px;
        height: 40px;
    }
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */
.pricing-wrapper {
    width: 100%;
    margin: 30px auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Cuộn mượt trên iOS */
    padding-bottom: 15px;
    /* Giữ khoảng cách thanh cuộn */
    color: #050865;
    /* Màu chữ brand */
}

/* Custom Scrollbar cho PC & Mobile (Thanh trượt dọc) */
.pricing-wrapper::-webkit-scrollbar {
    height: 6px;
}

.pricing-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.pricing-wrapper::-webkit-scrollbar-thumb {
    background: #050865;
    border-radius: 4px;
}

.pricing-table-container {
    min-width: 800px;
    background-color: #fff;
}

/* Brand Blue Top Header */
.pricing-header-top {
    background-color: #050865;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    padding: 16px;
    border: 2px solid #050865;
    border-bottom: none;
    /* Tránh viền đôi */
    line-height: 1.4;
    text-transform: uppercase;
}

/* Main Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 0;
}

.pricing-table th,
.pricing-table td {
    border: 2px solid #050865;
    /* Đai màu xanh brand thay vì đen */
    padding: 15px 10px;
    vertical-align: middle;
    font-size: 18px;
    color: #050865;
    text-align: center;
}

.pricing-table td:first-child {
    text-align: center;
    font-weight: bold;
    padding: 15px;
}

.pricing-table thead th {
    font-weight: 800;
    font-size: 16px;
    padding: 20px 10px;
    background-color: #f4f6f9;
    /* Phủ mờ nền tiêu đề */
    text-transform: uppercase;
    line-height: 23px;
}

/* Specific text styles */
.text-red {
    color: #D10B0B !important;
    /* Dùng đúng màu đỏ brand */
    font-weight: 800;
}

.text-center {
    text-align: center;
}

/* Make it scrollable on mobile smoothly */
@media screen and (max-width: 768px) {
    .pricing-header-top {
        font-size: 18px;
        padding: 14px;
    }

    .pricing-table th,
    .pricing-table td {
        white-space: nowrap;
        font-size: 16px;
        padding: 12px 10px;
    }

    .pricing-table td.wrap-mobile {
        white-space: normal;
        min-width: 200px;
    }
}