﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


@font-face {
    font-family: 'KoHo';
    src: url('/fonts/KoHo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KoHo';
    src: url('/fonts/KoHo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    margin-bottom: 60px;
    font-family: 'KoHo', sans-serif;
   
}

/* 1. Định nghĩa kiểu dáng ban đầu: chữ đen, không gạch chân */
.link-custom {
    color: black;
    text-decoration: none;
}

/* 2. Định nghĩa kiểu dáng khi rê chuột (hover): chữ màu đỏ */
    .link-custom:hover {
        color: #CA161C;
        /* Thêm hiệu ứng gạch chân khi hover để người dùng dễ nhận biết (tùy chọn) */
       
        text-decoration: none;
    }




* {
    scroll-behavior: smooth;
}


* {
    font-family: unset;
}

@media only screen and (max-width: 768px) {
    .footer2 {
        margin-top: 100px !important;
        background-image: none !important;
        /* background-color: #f8f8f8; /* hoặc màu nền mong muốn */
        background-color: linear-gradient(to right, #FFD700, #FFA500);
    }
}

    .image-caption {
        margin-top: 10px;
        font-size: 14px;
        color: #333;
    }


    .footer2-title {
        color: #003366;
        font-weight: 600;
        margin-bottom: 12px;
        font-size: 18px;
    }

    .footer2-menu {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

        .footer2-menu li {
            margin-bottom: 1px;
            color: #003366;
        }

            .footer2-menu li a {
                color: #003366;
                text-decoration: none;
                font-size: 16px;
            }

                .footer2-menu li a:hover {
                    color: red; /*#003366;*/
                    /*text-decoration: underline;*/
                }

    footer2 img {
        max-width: 100%;
        height: auto;
        display: none;
    }


.d-flex.gap-2 {
    gap: 8px;
}

.footer2-hotline_Number {
    color: red;
    font-weight: bold;
    font-size: 20px;
}
.footer2-hotline_Word {
    color: #003366;
    font-weight: bold;
    font-size: 20px;
}


@media (max-width: 768px) {
    footer {
        margin-top: 50px !important; /* Giảm khoảng cách để tránh khoảng trắng dư */
        padding-bottom: 140px; /* Tăng padding để tránh bị che bởi hình ảnh góc */
        background-size: cover;
        background-position: center;
    }

        footer2 img[alt="VJ Corner"] {
            position: static !important; /* Tránh che nội dung trên mobile */
            display: block;
            margin: 20px auto 0;
            max-width: 80px;
        }

    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-menu li a {
        font-size: 14px;
    }

    .footer-hotline_Word,
    .footer-hotline_Number {
        font-size: 14px;
    }
}




/*.vietjet-menu {*/
    /*background-color: rgba(255, 255, 255, 0.95);*/
    /*background-image:linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.095) 100%);*/
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    /*position: absolute;
    top: 0;
    width: 100%;
    z-index: 1300;
}*/

.vietjet-menu {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.095) 100%);
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1300;
   
}

.vietjet-menu2 {
    background-color: #CA161C;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    background-image: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1300;
}
.vietjet-menu3 {
    background: linear-gradient(to right, #FFD700, #FFA500);
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1);*/
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1300;
}
.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: -20px auto;
    padding: 0 0px;
    
}

.logo img {
    height: 120px;
    width:auto;
    transition: height 0.3s ease;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

    .hamburger.open {
        color: #ffcccc;
    }

.menu-items {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px 10px;
}

    .menu-items li {
        position: relative;
        margin: 0 10px;
    }

    .menu-items a {
        text-decoration: none;
        color: white !important;
        display: -webkit-box;
        font-size: 16px;
        font-weight:580;
        padding: 5px 10px;
        border-radius: 5px;
        text-transform: uppercase;
        transition: all .35s;
        text-overflow: ellipsis;
        -webkit-line-clamp:1;
    }

        .menu-items a:hover {
            background-color: white;
            color: #e60000  !important;
        }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
   
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 250px;
    z-index: 1001;
}

    .dropdown-menu li {
        padding: 5px 5px;
    }

    .dropdown-menu a {
        /*color: #d91a21 !important;*/
        color: #000000FF !important;
        font-size: 15px;
        display: block;
        transition: color 0.3s ease;
    }

        .dropdown-menu a:hover {
            color: #e60000;
            background-image: linear-gradient(60.29deg, #F9A51A -4.93%, #FBB612 18.27%, #FFDD00 71.59%);
        }

.dropdown:hover .dropdown-menu {
    display: block;
}



.mobile-header {
    /*padding: 0.5rem 1rem;*/
}
    .mobile-header .form-select2 {
        display: block;
        width: 100%;
        padding: 0.375rem 2.25rem 0.375rem 0.75rem;
        -moz-padding-start: calc(0.75rem - 3px);
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5;
        /*color: #212529;*/
        color: #fff;
        background: transparent;
        /*background-color: #fff;*/


        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 16px 12px;
        border: 1px solid #ced4da;
        border-radius: 0.25rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }


        .mobile-header  .form-select2:hover {
            border-color: 0 0.2rem rgba(255, 193, 7, 0.25) !important; /* vàng nhạt */
        }

.menu-magin-bottom {
    margin-bottom:100px;
}



.gradient-title {
    font-size: 28px;
    font-weight: bold;
    color: #E12126;
  
    margin-bottom: 20px;
}
.agent-table thead {
    background: linear-gradient(to right, #FFD700, #FFA500);
    color: black;
}

.agent-table {
    background-color: white;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

    .agent-table th {
        
        color: black;
        font-weight: bold;
        text-align: center;
    }

    .agent-table td {
        vertical-align: middle;
    }

    .agent-table tr:hover {
        background-color: #fff3cd;
        transition: background-color 0.3s ease;
    }

@media screen and (max-width: 768px) {
    .agent-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

        .agent-table thead {
            display: none;
        }

        .agent-table tr {
            display: block;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            padding: 10px;
        }

        .agent-table td {
            display: block;
            text-align: right;
            padding-left: 50%;
            position: relative;
        }

            .agent-table td::before {
                content: attr(data-label);
                position: absolute;
                left: 10px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
                text-align: left;
                font-weight: bold;
            }
}




@media (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

 /*   .hamburger {
        display: block;
        align-self: flex-end;
        position: absolute;
        top: 0px;
        right: 10px;
        z-index: 1001;
        height:20px;
    }
*/
    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        overflow: hidden;
        transition: max-height 0.5s ease;
        color: white;
       
    }

        .menu-items.show {
            display: flex;
            background: linear-gradient(to top, #d91a21, #6f0000);
            border-radius: 8px;
            overflow: hidden;
            color: white;
            max-height: 80vh;
            overflow-y: auto;
        }

        .menu-items li {
            margin: 2px 20px;
            color: white;
            border-bottom: 0.5px solid rgba(255, 255, 255, 0.2);
        }
            .menu-items li:last-child {
                border-bottom: none;
            }

        .menu-items a {
            color: white;
            font-size: 18px;
            padding: 10px;
            display: block;
            width: 100%;
            color: white;
        }
           
       .menu-items a:hover {
                color: #ffcccc !important;
                background: none;
            }


    .dropdown-menu {
        //position: static;
        //box-shadow: none;
        /*background-color: transparent;*/
        padding-left: 20px;
        /*background: linear-gradient(to top, #d91a21, #6f0000);*/
        max-height: 60vh; /* hoặc 70vh tùy độ dài menu */
        overflow-y: auto;
        overscroll-behavior: contain; /* tránh cuộn cả trang */
        scrollbar-width: thin; /* Firefox */
        background: #fff;
        color:#000000FF;
      
    }

        /* Tùy chọn: làm đẹp thanh cuộn trên WebKit (Chrome, Safari) */
        .dropdown-menu::-webkit-scrollbar {
            width: 6px;
        }

        .dropdown-menu::-webkit-scrollbar-thumb {
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 3px;
        }


        .dropdown-menu a {
            color: #000000FF !important;
        }

            .dropdown-menu a:hover {
                color: #000 !important;
                background-image: linear-gradient(60.29deg, #F9A51A -4.93%, #FBB612 18.27%, #FFDD00 71.59%);
            }
    .logo img {
        margin-top: 0px;
        height: 62px;
    
        /*max-width: 100px;*/
    }





    .mobile-header {
        width: 100%;
        /*padding: 10px;*/
        
        
    }

    .right-controls {
        display: flex;
        justify-content: flex-end;
        align-items: center;
     /*   gap: 10px;*/
    }

    .form-select2 {
        max-width: 130px;
        
        position: absolute;
        top: 5px;
        right: 60px;
    }

    .hamburger {
        display: block;     
        position: absolute;
        top: -10px;
        right: 10px;
        z-index: 1001;
        
    }



    .tab-overlays {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 200px;
        width: 100%;
    }


}
