body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: url(/DataImage/ThongTinDaiHoi/BackgroudDaiHoi.png) no-repeat center center fixed;

    background-size: cover;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: linear-gradient(to right, #b0dcea, #ffffff);
    background-color: #333;
    /* color: #fff; */
    text-align: right;
    padding: 5px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
 .header-login{
    text-align: right;
    padding: 5px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}
header img {
    /* width: 30px; */
    height: 30px;
    margin-left: 10px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                          supported by Chrome, Edge, Opera and Firefox */
}

.loading-effect {
        position: absolute;
        z-index: 9999;
        height: 100vh;
        background: #6a6a6a6b;
        width: 100%;
    }

    .loading-effect img{
        position: absolute;
        z-index: 9999;
        margin: auto;
        left: 0;
        right: 0;
        text-align: center;
        top: 40%;
    }


.flash{ 
    position:fixed; 
    background-color:#fff;
 }


.left-content {
    color: white;
    text-align:center;
}


.left-content h1 {
    text-transform: uppercase;
    display: block;
    font-size: 2em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.left-content,
.right-content {
    flex: 1;
    /*text-align: center;*/
}

.custom-file-label {
    all: unset;
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
    padding: 0.375rem .75rem;
    font-weight:400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border:1px solid #ced4da;
    border-radius: .25rem;
    /* height: calc(1.5em + .75rem + 2px); */
    margin-top: -25px;
  }


.left-content img {
    width: 234px;
    height: 75px;
    margin-bottom: 10px;
}


.left-content .left-info {

    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
    width: 50%;
    margin: auto;

}

/*.left-content .left-info p {
             background-color: white; 
            text-align: left;
        }*/

.left-content .left-info .left-info-main {
    background-color: white;
    color: black;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left-content .left-info div[class$="-button"] {
    background: #fff;
    color: #000;
}

.right-content .card-form , .right-content .login-form {
    width: 100%;
    max-width: 25vw;
    margin: auto;
}

.login-form {
    background-color: #fff;
    border-radius: 9px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: auto;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.login-form button {
    width: 100%;
    padding: 10px;
    /* background-color: #333; */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.login-form #admin-customer {
    display: none;
}
#idLogin{
    display: flex;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    justify-content: center;
    padding: 10px 0px 10px 0px;
}
#idLogin .countdow{
    display: grid;
} 
#idLogin h4 {
    font-size: 25px;
    color: #007bff;
    font-weight: bold;
}
#idLogin .date{
    color: #007bff;
}
#idLogin .bord{
    border-radius: 5px;
    margin: 5px;
    color:white;
    background-color: #dd7700;
    font-size: 2.2rem;
    width: 80px;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left;
}

.radio-group,
.login-form-user {
    width: 100%;
    /* Đảm bảo form chọn khách hàng và form đăng nhập có cùng kích thước */
    box-sizing: border-box;
}

.radio-option {
    margin-bottom: 10px;
}

.radio-button {
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    width: 100%;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    background: #f7f7f7;
    /* Hiệu ứng shadow mặc định */
}

.radio-button:hover {
    background-color: #e0e0e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Hiệu ứng shadow khi hover */
}

.radio-icon {
    width: 30px;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

/* Style for Normal Customer */
#normal-customer .radio-icon {
    background-color: #4caf50;
    color: #fff;
}

/* Style for VIP Customer */
#vip-customer .radio-icon {
    background-color: #f44336;
    color: #fff;
}

.radio-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.radio-title {
    margin-bottom: 5px;
    /* Khoảng cách giữa icon và tiêu đề */
}

.radio-description {
    font-size: 14px;
    color: #555;
}

/* Style for Login Form */
.login-form-user {
    display: none;
    transform: translateY(-20px);
    transition: opacity 0.3s, transform 0.3s;
}
.login-form-user p {
    padding: 0px 20px 0px 20px;
}
.video-info p{
    
}
.login-form-user .title {
    border-radius:7px 7px 0px 0px;
    text-align: center;
    text-transform:uppercase;
    color:#fff;
    padding:10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.login-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-button,
.back-button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.back-button{
    margin-right: 10px;
}
.login-button {
    background-color: #4caf50;
    color: #fff;
    text-align: center;
}

.back-button {
    background-color: #f44336;
    color: #fff;
    /*margin-top: 10px;*/
}

/* Hiệu ứng chuyển form */
.login-form-user.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.radio-group.hidden {
    display: none;
}

.button-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    /*margin-bottom: 10px;*/
    text-align:center;
}
.button-container-action {
    display: flex;
    flex-direction: column; /* Sắp xếp các phần tử theo cột */
    align-items: center; /* Căn giữa nội dung */
    gap: 10px; /* Khoảng cách giữa các hàng */
    width: 100%;
  }
  .top-buttons-action {
    display: flex;
    gap: 10px; /* Khoảng cách giữa các nút */
    width: 100%;
    justify-content: center;
  }

  .back-buttons-container {
    display: flex;
    gap: 10px; /* Khoảng cách giữa các nút */
    justify-content: center;
    width: 100%;
  }
  
  .back-button-action {
    flex: 1; /* Tự động chia đều khi có 2 nút */
    max-width: 50%; /* Khi có 2 nút, mỗi nút chiếm tối đa 50% */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
  }
  
  .back-buttons-container:has(.back-button-action:nth-child(1):only-child) .back-button-action {
    max-width: 100%; /* Khi chỉ có một nút, nó chiếm hết không gian */
  }

  .login-button-action {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  flex: 1;
  }
  @keyframes blink {
    0% { fill: red; }
    25% { fill: white; }
    50% { fill: red; }
    75% { fill: white; }
    100% { fill: red; }
  }
  
  .blinking-icon path {
    animation: blink 1s infinite;
  }
  #modal-XacNhanThamDu .modal-body{
    padding: 1rem 1rem 0.5rem 1rem !important;
  }
 .wrap-chkConFirm{
    display: flex;
    justify-items: center;
    justify-content: end;
 }
 .wrap-chkConFirm input{
    width: 20px;
    height: 20px;
 }
 .wrap-chkConFirm label{
    margin-right : 10px;
    font-weight: bold;
}
/* Tabs chat */
.tabs {
    margin-top: -7px;
    width: 600px;
    height: auto;
    padding: 10px;
    background: #f9f9f9;
    /* border-radius: 10px; */
    position: relative;
    border-radius:0px 0px 10px 10px

}

/* Nội dung tab */
.tabs .tab-content {
    max-height: 90px;
    overflow-y: auto;
    padding: 5px;
    background: #f9f9f9;
    border-radius: 10px;
}
@media screen and (max-width: 768px) {  
    .live-video{
        margin-top: 15px;
      }
      .tabs {
        max-width:380px ;
        width: 100%; /* Đảm bảo chiếm đúng 100% container */
      }
    iframe {
        width: 100%; /* Chiều rộng tự động theo màn hình */
        height: auto; /* Chiều cao tự động theo tỉ lệ */
        aspect-ratio: 16/9; /* Giữ tỉ lệ khung hình 16:9 */
    }
}

@supports (-webkit-touch-callout: none) {
    .tabs {
        max-width: min(380px, 80vw); /* Không vượt quá 80% màn hình */
        width: 100%;  
        box-sizing: border-box;
        overflow: hidden;
      }
  }
/* Nút chuyển tab (nếu cần) */
.tabs-button {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tab-button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background: #007d68;
    color: white;
    cursor: pointer;
}

.tab-button.active {
    background: #005f50;
}

/* Tin nhắn */
.message-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    max-width: 560px;
}
.wrap-message-container{
    height: auto;
    overflow-y: auto;
}
/* Avatar */
.message-details .user-name .user-avatar {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% ;
    margin: 5px;
    border-radius: 5px;
}

/* Nội dung tin nhắn */
.message-details {
    flex-grow: 1;
    max-width: 560px;
    background-color: #fff;
    border-radius: 5px;
}

/* Tên người dùng */
.message-details .user-name {
    text-align: left;
    font-weight: bold;
    color: #333;
    font-size: 12px;
    margin-bottom: 5px;
}

/* Nội dung tin nhắn */
.message-details .message-text {
    width: fit-content;
    text-align: left;
    padding: 3px 5px;
    border-radius: 10px;
    word-wrap: break-word;
    max-width: 550px;
    font-size: 13px;
    color: #000;
}

/* Thời gian */
.message-details .timestamp {
    font-size: 12px;
    color: #606770;
}
#modal-YKien .modal-footer button {
    flex: 1; /* Chia đều không gian */
    margin: 0 5px; /* Thêm khoảng cách nhỏ giữa hai nút */
}
/* Input chat */
.message-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    background: #fff;
    border-top: 1px solid #ddd;
    border-radius: 0 0 10px 10px;
}

/* Ô nhập tin nhắn */
.message-input input {
    flex-grow: 1;
    padding: 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Nút gửi */
.message-input button {
    padding: 4px 12px;
    background-color: #007d68;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
  iframe {
    padding: 0.5rem;
    background-color: #f9f9f9;
    width: 600px; /* Mặc định trên màn hình lớn */
    height: 300px;
    /* border-radius: 10px;  */
    overflow: hidden; /* Ngăn tràn nội dung */
    max-width: 100%; /* Không vượt quá chiều rộng màn hình */
    border-radius:10px 10px 0px 0px
    }
.live-video{
    justify-self: anchor-center;
}
.send-comment{
    text-align: center;
    width: 100%;
}

/* Khi màn hình nhỏ hơn 768px (Mobile & Tablet) */

@media (min-width: 1200px){
    #modal-YKien .modal-xl{
        max-width: 700px;
    }
    #modal-TaiLieu .modal-xl{
        max-width: 700px;
    }
}

#modal-Ykien .modal-header{
    display: block;
    position: relative;
}
#modal-YKien .modal-header .close{
    padding: 0rem 1rem !important;
    margin: -2.5rem -1rem -1rem auto !important;
    font-size: 2.5rem !important;
}
.custom-button {
    flex-basis: 100%;
    /* Đặt chiều rộng cố định cho custom-button */
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #3498db;
    color: #fff;
}



.language-dropdown {
    width: 8rem;
    /* Đặt chiều dài của dropdown tại đây */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 10px;
}

.language-image {
    max-width: 20px;
    max-height: 20px;
    margin-right: 10px;
    vertical-align: middle;
    /* Đảm bảo hình ảnh được căn giữa theo chiều dọc */
}

.select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    padding: 0px !important
}

/*Modal slide*/
.modal-dialog-slideout {
    max-width: 60%;
    min-height: 100%;
    margin: 0 0 0 auto;
    background: #fff;
}

.modal.fade .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(100%, 0)scale(1);
    transform: translate(100%, 0)scale(1);
}

.modal.fade.show .modal-dialog.modal-dialog-slideout {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    display: flex;
    align-items: stretch;
    -webkit-box-align: stretch;
    height: 100%;
}

.modal.fade.show .modal-dialog.modal-dialog-slideout .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-dialog-slideout .modal-content {
    border: 0;
}

.modal-dialog-slideout .modal-header,
.modal-dialog-slideout .modal-footer {
    height: 4rem;
    display: block;
}

/*Custom checkbox*/

.form-check-input[type="radio"] {
    display: none;
}

.form-check-label {
    cursor: pointer;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 10rem;
    height: 3.6rem;
    font-size: medium;
    line-height: 1.2rem;
    display: inline-block;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-check-input[type="radio"]:checked+.form-check-label {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* style btn bieu quyet to trinh */

.wrapSwitchInput {
    display: flex;
}

.wrap-RdoBQ {
    display: flex;
    justify-content: center;
}

.wrapBauCu {
    display: flex;
    justify-content: space-around;
    margin: 10px
}

#radio-btn-totrinh label {
    border-radius: 3rem;
    border: 1px solid var(--blue);
    overflow: auto;
    width: 150px;
    margin: 10px;
}

#radio-btn-totrinh label span {
    text-align: center;
    /*color: var;*/
    padding: 5px 0px;
    display: block;
}

#radio-btn-totrinh label input {
    position: absolute;
    top: -20px;
    visibility: hidden;
}

#radio-btn-totrinh input:checked+span {
    background-color: var(--blue);
    color: var(--white);
}

#radio-btn-totrinh .bg-radio {
    background-color: var(--white);
    color: var(--blue);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.select2-container .select2-selection__arrow {
    display: none; /* Ẩn mũi tên */
  }

/*end style bieu quyet to trinh*/

/* custom input switch */

.wrapSwitchInput {
    display: flex;
}

.SwitchInputCbx {
    height: 0;
    width: 0;
    visibility: hidden;
}

.labelCbx {
    cursor: pointer;
    text-indent: -9999px;
    width: 2rem;
    height: 1.2rem;
    background: grey;
    display: block;
    border-radius: 100px;
    position: relative;
}

.labelCbx:after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.SwitchInputCbx:checked+.labelCbx {
    background: #0055b0;
}

.SwitchInputCbx:checked+.labelCbx:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

/* end custom input switch  */
.wrapBieuQuyet{
    padding: 0.5rem 0rem 0rem 0rem ;
}

.delegation-list {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
}
.scrollable-content::-webkit-scrollbar {
    width: 5px; /* Đặt chiều rộng của thanh cuộn dọc */
}
element {
    /* Tùy chỉnh chiều rộng của thanh cuộn dọc */
    scrollbar-width: thin; /* Đối với Firefox */
}
element::-webkit-scrollbar-thumb {
    background-color: #888; /* Màu của thanh cuộn */
    border-radius: 10px; /* Bo tròn các góc */
}

element::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* Màu nền của track (kênh cuộn) */
}
.container-img {
        max-width: 400px;
        width: 100%;
        background: #fff;
        padding: 30px;
        border-radius: 30px;
    }

    .img-area {
        position: relative;
        width: 100%;
        height: 240px;
        background: var(--grey);
        /*margin-bottom: 30px;*/
        border-radius: 15px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .img-area .icon {
        font-size: 100px;
    }

    .img-area h3 {
        font-size: 20px;
        font-weight: 500;
        margin-bottom: 6px;
    }

    .img-area p {
        color: #999;
    }

    .img-area p span {
        font-weight: 600;
    }

    .img-area img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        z-index: 100;
    }

    .img-area::before {
        content: attr(data-img);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .5);
        color: #fff;
        font-weight: 500;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
        opacity: 0;
        transition: all .3s ease;
        z-index: 200;
    }

    .img-area.active:hover::before {
        opacity: 1;
    }

    .select-image {
        display: block;
        width: 100%;
        padding: 16px 0;
        border-radius: 15px;
        background: var(--blue);
        color: #fff;
        font-weight: 500;
        font-size: 16px;
        border: none;
        cursor: pointer;
        transition: all .3s ease;
    }

    .select-image:hover {
        background: var(--dark-blue);
    }

footer {
    background-color: #0e0639;
    color: #fff;
    text-align: left;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    /* display: none; */
}

footer a {
    color: white;
}


/*cookie consent*/

#cookieNotice {
    display: none;
}

.cookie-consent{
  position: fixed;
bottom: 8px;
left: 20px;
width: 260px;
padding-top: 7px;
height: 83px;
color: #fff;

line-height: 20px;
padding-left: 10px;
padding-right: 10px;
font-size: 14px;
background: #292929;
z-index: 120;
cursor: pointer;
border-radius: 3px;
}

.allow-button{
      height: 20px;
    width: 104px;
    color: #fff;
    font-size: 12px;
    line-height: 10px;
    border-radius: 3px;
    border: 1px solid green;
    background-color: green;
}

.table-UyQuyen tbody tr td input{
    width: -webkit-fill-available;
    border: none;
    width: 100%
}

.border-UyQuyen{
    border: 1px solid #dee2e6;
    /*padding-top: 10px*/
}

.border-UyQuyen:first-child{
    border-left: none; 
    border-top: none; 
}
.border-UyQuyen:last-child{
    border-right: none; 
    border-top: none; 
}
/*End cookie consent*/

/*@media only screen and (max-width: 600px) {
            main {
                flex-direction: column;
            }

            .left-content,
            .right-content {
                flex: 1;
                width: 100%;
                margin: 0;
            }

            .left-content .left-info {

                padding: 0;
                width: 100%;
                margin: auto;
            }

            .login-form{
                max-width: 100%;
            }
        }*/


/* Trong phần style của bạn */
@media screen and (min-width: 769px) and (max-width: 1366px) {

    main {
        display: block;
        /*margin-top: 10%;*/
    }

    .right-content .card-form, .right-content .login-form{
        width: 100%!important;
        margin-top: 10px;
        max-width: 50%;

    }

    /*main {
                flex-direction: column;
            }

            .left-content,
            .right-content {
                flex: 1;
                width: 100%;
                margin: 0;
            }

            .left-content .left-info {

                padding: 0;
                width: 100%;
                margin: auto;
            }*/



    .modal-dialog-slideout {
        max-width: 100%;
    }

    input[name="spb"] {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .modal-dialog-slideout {
        max-width: 100%;
    }

    main {
        display: block;
    }

    .right-content .card-form, .right-content .login-form{
        width: 100%!important;
        max-width: 100%;
        margin-top: 10px;

    }

    /*.login-form {
        width: 100%!important;
        margin-top: 10px;
    }*/

    .left-content .left-info {
        width: 100%;
        padding: 0;
    }

    .menu-items {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .menu-items button,
    .menu-items span,
    .menu-items select {
        margin: 0 10px;
    }


    header .header-left,
    header .header-right {
        flex-direction:
         column;
        align-items: flex-start;
    }

    header .header-right {
        margin-top: 10px;
    }

    header .header-right button,
    header .header-right span,
    header .header-right select {
        margin-top: 5px;
    }

    nav .header-title {
        font-size: 0.8rem;

    }

    #menu-icon {
        display: block;
    }

    .menu-items {
        display: none;
    }

    .menu-items.show {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .card-body {
        padding: 5px 5px;
    }

    .wrapBauCu {
        font-size: 1rem !important;
        display: flex;
        flex-direction: row;
    }

    .wrapTenVDBauCu {
        flex: 2;
    }

    .wrapCoPhanBauCu {
        flex: 1;
        line-height: 1;
    }

    .card-header {
        padding: 0;
        flex-direction: column;
    }

    .wrapSwitchInput {
        font-size: 0.9rem !important;

    }

    #radio-btn-totrinh label {
        font-size: 0.8rem !important;
        margin: 5px;
    }

    .wrapTenVDBauCu {
        margin-bottom: 5px;
    }

    .form-check-label {
        font-size: 0.9rem !important;
        padding: 5px;
    }

    input[name="spb"] {
        width: 120px;
    }
}