.logo-custom img{
    max-width: 140px;
    height: auto !important;
}
#login-modal-button, #register-course{
    border-color:  #685fdd !important;
    border-width: 2px !important;
    font-weight: 700;
    height: 45px;
    min-height: auto !important;
    line-height: 40px;
    font-size: 1rem;
    border-radius: .25rem;
}
#register-course{
    line-height: normal !important;
}
.hero-bg:before{
    content:"";
    background-image: url('../images/banner_default.jpg');
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}
.hero-bg:after{
    content:"";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: linear-gradient(to right, #0D47A1, #6A1B9A);
    z-index: 2;
}
.hero-bg{
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
}
.hero-desc{
    position: relative;
    z-index: 3;
}
.hero-desc h1{
    color:#fff !important;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: normal;
}
.hero-desc p{
    color: #64FFDA; 
    font-weight: 500;
    line-height: normal;
}
.hero-desc a{
    background: #FFFFFF;
    color: #1A237E;
    font-weight: 500;
}
.level-wrapper h2{
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: normal;
}
.card-hover{
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}
.card-hover:hover img{
    transition: 0.3s;
}
.card-hover:hover img{
    transform: scale(1.1);
}
.bg-overplay-img {
    overflow: hidden;
}
.bg-overplay-img img{
    width: 100%;
    max-height: 200px;
    height: 100%;
    object-fit: cover;
}
.card-hover .card-title{
    font-size: 18px;
    margin-bottom: 0;
    color:#000 !important;
    font-weight: 600 !important;
}
.breadcrumb{
    background-color: transparent !important;
}
.iq-footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

/**/
.question-group-pack {
    padding: 16px 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    box-shadow: 0px 0px 4px #cbc1c1;
    border-radius: 8px;
}

  .question-group-pack .title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
  }

  .question-group-pack .desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
  }

  .question-group-pack .progress {
    position: relative;
    height: 8px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
  }

  .question-group-pack .progress .bar {
    height: 100%;
    background-color: #34c759;
    width: 0%;
    transition: width 0.3s ease;
  }

  .question-group-pack  .count {
    margin-top: 5px;
    text-align: right;
    font-size: 14px;
    color:#06C270;
    font-weight: 600 !important;
  }
.pack-wrap{
    margin: auto;
}

  @media (max-width: 600px) {

    .question-group-pack .title {
      font-size: 16px;
    }

    .question-group-pack.desc {
      font-size: 14px;
    }
}
/**/


.header-test {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #2196f3;
    color: #fff;
    font-weight: bold;
    gap:5px;
}

.tabs {
    display: flex;
    justify-content: start;
    overflow-x: auto;
    background: #f0f0f0;
    padding: 8px 10px;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE, Edge cũ */
    cursor: grab;
}

.tabs::-webkit-scrollbar {
    display: none; /* Chrome */
  }
  
.tabs:active {
    cursor: grabbing;
}

.tabs button {
    margin-right: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    color: #333;
}

.tabs button:hover {
    background: #2196f3;
    color: white;
}

.tabs button.active-tab {
    background: #2196f3 !important;
    color: white;
    font-weight: bold;
}

.mySwiper {
    margin-bottom: 100px;
}

.mySwiper .swiper-slide {
    padding: 16px;
    box-sizing: border-box;
}

.mySwiper .swiper-slide p {
    font-weight: bold;
}

.mySwiper .swiper-slide label {
    display: block;
    font-size: 15px;
    line-height: 24px;
}

.swiper-button-next, .swiper-button-prev {
    color: #2196f3;
}
/* Scroll bar tab */
.tabs::-webkit-scrollbar {
    height: 4px;
}
.tabs::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}
.test-wrapper h2{
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    line-height: normal;
}
.question-p p{
    font-size: 16px;
}
.answer-p-item{
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    padding-top: 10px;
}
.answer-p-item:first-child{
    border-top: 1px solid #ddd;
}
.btn-check-answer{
    border: 1px solid var(--iq-success) !important;
    color: var(--iq-success) !important;
    background-color: #fff;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 20px;
}
.bg-correct label{
    color: var(--iq-success) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
.bg-wrong label{
    color: var(--iq-danger) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}
.question-answered:before{
    content:"";
    background-color: transparent;
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
}
.explain-p{
    margin-top: 20px;
}
.explain-p p{
    font-weight: 500 !important;
}
.mySwiper .custom-control-inline{
    margin-right: 0 !important;
    display: flex;
    padding: 10px 0px 10px 2rem;
    border-radius: 5px;
}
.bg-correct .custom-control-inline{
    background-color: #06C27040 !important;
    position: relative;
}
.bg-correct .custom-control-inline:after{
    content: "\2713";
    color: green;
    right: 0;
    top:0;
    position: absolute;
    right: 15px;
    top: 8px;
}

.bg-wrong .custom-control-inline{
    background-color: rgb(246 179 179) !important;
    position: relative;
}

.bg-wrong .custom-control-inline:after{
    content: "✕";
    color: red;
    right: 0;
    top:0;
    position: absolute;
    right: 15px;
    top: 8px;
}

.question-answered .custom-radio label{
    opacity: 0.5;
}
#result-tab-quiz a{
    font-size: 16px;
    color:#000;
}
#quiz-tab-one i{
    color:#000 !important;
}
#quiz-tab-two i{
    color:rgb(44, 151, 44) !important;
}
#quiz-tab-three i{
    color:rgb(191, 13, 13) !important;
}
#quiz-tab-four i{
    color:orange !important;
}
#result-tab-quiz .nav-item{
    flex: 0 0 25%;
    text-align: center;
}
.b-group{
    display: flex;
    flex-wrap: wrap;
    gap:10px;
}
.b-question-item{
    display: inline-flex;
    flex-direction: column;
    width: 100px;
    height: 100px;
    background-color: #dadada;
    border-radius: 8px;
    border: 0;
    align-items: center;
    justify-content: center;
    color: #000;
}
.b-question-item i{
    font-size: 24px;
}
.bg-correct-i{
    background-color:rgb(142 244 142) !important;
}
.bg-correct-i i{
    color:rgb(44, 151, 44) !important;
}
.bg-empty{
    background-color: #eed9b2 !important;
}
.bg-empty i{
    color:orange !important;
}
.bg-wrong-i{
    background-color:rgb(246 179 179) !important;
}
.bg-wrong-i i{
    color:rgb(191, 13, 13) !important;
}
@media(max-width:480px){
    .b-group{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .b-group button{
        width: 100%;
    }
}
form.dropdown-item button{
    padding: 0;
    border: 0;
    background-color: transparent;
}
.time-finish{
    display: inline-flex;
    gap:5px;
    font-size: 15px;
}
span.head{
    font-size: 15px;
}


#result-tab-quiz a {
    font-size: 16px;
    color: #000;
    display: inline-flex;
    width: 100%;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.bg-tab-wrong{
    background-color:rgb(246 179 179) !important;
}
.bg-tab-correct{
    background-color:#06C27040 !important;
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px !important;
    }
}
.bg-op{
    background: #a4a9f1 !important;
    flex-direction: column;
    color:#141b87!important;
    font-size: 15px;
}
.text-main{
    font-weight: bold;
}
#modal-signin .modal-dialog, #modal-signup .modal-dialog{
    max-width: 400px !important;
}
.form-icon button{
    width: 100% !important;
    padding: 10px 12px;
}
.modal-title{
    font-weight: 600 !important;
}
.form-icon input{
    border: 0 !important;
}
.form-icon .input-group{
    border: 1px solid #d7dbda !important;
    border-radius: 5px;
}
.quesiton-image img{
    max-width: 300px;
}
.quesiton-image, .quesiton-audio{
    margin-bottom: 1rem;
}
.d-none-i{
    display: none !important;
}

@media (max-width: 1299px) {
    body.top-tab-horizontal .iq-top-navbar {
        position: sticky !important;
        width: 100% !important;
    }
}
.breadcrumb li{
    white-space: nowrap;
}
.breadcrumb{
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.breadcrumb::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
  
.breadcrumb::-webkit-scrollbar-track {
    background: #f0f0f0;     /* Màu nền track */
    border-radius: 4px;
}
  
.breadcrumb::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 8px;
    transition: background 0.3s;
}
  
.breadcrumb::-webkit-scrollbar-thumb:hover {
    background: #555;        /* Màu khi hover */
}
.breadcrumb li.active a{
    color:#8d8989;
}

.title-q-box{
    margin-bottom: 0 !important;
    color:#fff;
    font-size: 16px !important;
}
.timer-container {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 5px;
    color: #2b8ce1;
}
#v-pills-tab-profile a{
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}
#v-pills-tab-profile a.active{
    background-color: #6d73f6 !important;
    color:#fff;
}
#user-kh-table th{
    text-transform: none !important;
    font-weight: 600;
}
.fixed-footer-question{
    position: fixed;
    z-index: 1;
    width: 100%;
    bottom: 0;
    left: 0;
    text-align: center;
    padding: 15px;
    background: #2196f3;
}
.choose-question-toggle{
    border: 0;
    background-color: #FF7A29;
    color:#fff;
    padding: 5px 10px;
    border-radius: 10px;
}
.choose-question-toggle:hover{
    background-color: var(--iq-secondary-dark);
}

.question-list {
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #f8f8f8;
    padding: 10px;
    max-height: 300px;
    overflow-y: auto;
    border-top: 1px solid #ccc;
    z-index: 999;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}
.question-list::-webkit-scrollbar {
    display: none;
}
.question-list.show{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.question-list button {
    display: inline-block;
    margin: 5px;
    padding: 10px 14px;
    border: none;
    border-radius: 50%;
    background: #eee;
    cursor: pointer;
    height: 40px;
    width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333;
  }
.question-list button:hover {
    background: #007bff;
    color: #fff;
}