/*
Theme Name:   EduVibe Child
Theme URI:    https://eduvibe.devsvibe.com/main/
Author:       DevsVibe
Author URI:   https://themeforest.net/user/devsvibe/portfolio
Description:  EduVibe Child Theme For LMS and Education Purpose.
Version:      1.0.0
Template:     eduvibe
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:  eduvibe-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
*/

.eduvibe-header-area .main-navigation ul ul.eduvibe-dropdown-menu {
  border-bottom-color: unset !important;
}
.footer-secondary {
  padding: 7.5px 0 !important;
  float: right !important;
}
.payment-icons {
  display: flex !important;
  align-items: center;
  justify-content: right !important;
}
.payment-icons .payment-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  float: left !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  opacity: 0.6;
  -webkit-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  border-radius: 5px;
  padding-bottom: 0;
  padding: 3px 5px 5px;
  margin: 3px 3px 0;
  width: 100% !important;
}
.payment-icons .payment-icon svg {
  fill: white !important;
  vertical-align: middle !important;
  height: 20px !important;
  width: auto !important;
}
.eduvibe-header-sticky .e-flex.e-con.e-child:nth-child(2) img {
  max-height: 70px !important;
  width: auto !important;
}
.eduvibe-header-sticky .e-flex.e-con.e-child:nth-child(1),
.eduvibe-header-sticky .e-flex.e-con.e-child:nth-child(3) {
  display: flex !important;
  align-items: center !important;
}
.eduvibe-header-container
  .eduvibe-header-sticky
  .e-flex.e-con.e-child:nth-child(1) {
  margin-left: 6px !important;
  margin-top: -6px !important;
}
.eduvibe-header-container
  .eduvibe-header-sticky
  .e-flex.e-con.e-child:nth-child(3) {
  margin-right: 6px !important;
  margin-top: -6px !important;
}
.eduvibe-header-sticky .eduvibe-navbar-nav > li > a.nav-link::after {
  margin-top: 7px !important;
}
.eduvibe-header-sticky .eduvibe-dropdown-menu {
  margin-top: 15px !important;
}
.eduvibe-header-container .e-con-full.e-flex.e-con.e-parent {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 !important;
  justify-content: space-between !important;
}
.eduvibe-navbar-nav {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: left !important;
}
.eduvibe-navbar-nav > li {
  height: 45px !important;
}
.eduvibe-navbar-nav > li > a.nav-link::after {
  content: "" !important;
  background-color: #981b2a !important;
  display: none;
  height: 3px !important;
  margin-top: -10px !important;
  border-radius: 0 !important;
}
.eduvibe-navbar-nav > li:hover > a.nav-link::after {
  display: block !important;
}
.eduvibe-navbar-nav a.nav-link:hover {
  color: #981b2a !important;
}
.eduvibe-navbar-nav a.nav-link {
  color: #5e5e5e !important;
  padding-left: 0 !important;
  font-size: 14.4px !important;
  font-weight: 700 !important;
  height: 64px !important;
  line-height: 50px !important;
}
.eduvibe-dropdown-menu > li {
  height: 45px !important;
}
.eduvibe-dropdown-menu > li > a {
  display: flex !important;
  align-items: center !important;
}
.eduvibe-navbar-nav li:not(:has(.eduvibe-dropdown-menu)) > a.nav-link {
  padding-right: 18px !important;
}
.eduvibe-navbar-nav li:has(.eduvibe-dropdown-menu) > a.nav-link {
  padding-right: 18px !important;
  margin-right: 10px !important;
}
.eduvibe-navbar-nav li:last-of-type > a.nav-link {
  margin-right: 0 !important;
}
.eduvibe-dropdown-menu {
  margin-top: -2px !important;
  margin-left: -12px !important;
  width: 320px !important;
  padding: 20px !important;
  padding-right: 40px !important;
  border: 2px solid #585858;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15) !important;
  border-radius: 10px !important;
}
.eduvibe-dropdown-menu li > a.nav-link {
  height: 100% !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  color: rgba(102, 102, 102, 0.85) !important;
  padding-left: 0;
  padding-right: 0;
  margin: 0 10px;
  border-bottom: 1px solid #ececec;
  text-transform: capitalize !important;
}
.eduvibe-dropdown-menu li:last-child > a {
  border-bottom: 0 !important;
}
.eduvibe-header-container .e-flex.e-con.e-child:nth-child(2) {
  width: 409px !important;
  max-height: 130px !important;
  height: auto !important;
  display: flex !important;
  justify-content: center !important;
  padding: 0 !important;
}
.eduvibe-header-container .e-flex.e-con.e-child:nth-child(1) {
  display: flex !important;
  justify-content: left !important;
  padding: 0 !important;
  margin-left: 12px !important;
}
.eduvibe-header-container .e-flex.e-con.e-child:nth-child(3) {
  display: flex !important;
  justify-content: right !important;
  padding: 0 !important;
  margin-right: 12px !important;
}
.eduvibe-header-container
  .e-flex.e-con.e-child:nth-child(3)
  .eduvibe-navbar-nav
  li:last-of-type
  > ul.eduvibe-dropdown-menu {
  left: auto !important;
  right: 0 !important;
}
button.rmp_menu_trigger {
  top: 16px !important;
}
@media (max-width: 1024px) {
  .eduvibe-header-container .e-flex.e-con.e-child:nth-child(1),
  .eduvibe-header-container .e-flex.e-con.e-child:nth-child(3) {
    display: none !important;
  }
  .eduvibe-header-container .e-flex.e-con.e-child:nth-child(1),
  .eduvibe-header-container .e-flex.e-con.e-child:nth-child(2) {
    width: 300px !important;
  }
  .eduvibe-header-container .e-con-full.e-flex.e-con.e-parent {
    justify-content: right !important;
  }
  .rmp_menu_trigger {
    top: -12px !important;
  }
}
/* Hide menu container until JS finishes */
#parent_menu {
  visibility: hidden;
}

#profile-content-settings li.cover-image a[style] {
  color: #903036 !important;
}

#profile-nav ul.lp-profile-nav-tabs li.orders {
  display: none !important;
}

/* Tăng chiều cao cover image */
.lp-user-cover-image_background {
  height: 320px !important;
  background-size: cover !important;
  background-position: center center !important;
}
#learn-press-profile {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.woocommerce-billing-fields__field-wrapper .form-row-middle {
  float: none !important;
  order: 3 !important;
  grid-row: auto !important;
  width: 100% !important;
}

#billing_address_1_field,
#billing_address_2_field {
  width: 100% !important;
  float: none !important;
  clear: both !important;
  display: block !important;
}

#billing_address_1_field .woocommerce-input-wrapper,
#billing_address_2_field .woocommerce-input-wrapper {
  width: 100% !important;
}

.form-field__twitter {
  display: none !important;
}

.form-field__linkedin {
  display: none !important;
}

.form-field__youtube {
  display: none !important;
}

.form-field__profile-social.form-field__facebook {
  display: none !important;
}

.form-field__bio {
  display: none !important;
}

.learn-press-filters a {
  padding: 0 16px !important; /* bỏ padding-bottom phá layout */
  display: flex !important;
  align-items: center !important;
  justify-content: center;
  height: 34px; /* đúng height thực tế đang thấy trong ảnh */
}

.xoo-el-action-btn.xoo-el-login-btn.xoo-el-processing::before {
  content: "Sign in";
  margin-right: 8px;
}

.xoo-el-action-btn.xoo-el-login-btn {
  height: 45px !important; /* hoặc chiều cao bạn muốn */
  line-height: 45px !important;
  min-height: 45px !important;
}

.course-via-product {
  display: none !important;
}

.course-heading {
  width: 80% !important;
}

.author-title .author-by {
  margin-right: 4px;
}

img[src*="4-logo-trang-do-png-co-dao"] {
  height: 100px !important;
  width: auto !important;
  max-height: 120px !important;
  object-fit: contain !important;
}

div[class*="popup"]:empty,
div[class*="modal"]:empty {
  display: none !important;
}

.woocommerce-error li {
  color: #ffffff !important; /* chữ trắng */
}
.lp-fib-content > div {
  display: inline !important;
}
.lp-fib-input {
  display: inline-block !important;
  vertical-align: middle !important;
}
.lp-fib-content p {
  display: inline !important;
}

/* Khi hover */
#profile-nav ul.lp-profile-nav-tabs li:hover a,
#profile-nav ul.lp-profile-nav-tabs li:hover a i,
#profile-nav ul.profile-tab-sections li:hover a,
#profile-nav ul.profile-tab-sections li:hover a i {
  color: #fff !important;
}

/* Khi tab đang active */
#profile-nav ul.lp-profile-nav-tabs li.active a,
#profile-nav ul.lp-profile-nav-tabs li.active a i,
#profile-nav ul.profile-tab-sections li.active a,
#profile-nav ul.profile-tab-sections li.active a i {
  color: #fff !important;
}

a[href*="my-account/orders"] {
  display: none !important;
}

.e-con-inner {
  display: flex;
  align-items: stretch; /* tất cả item đều full chiều cao */
  justify-content: space-between;
  gap: 12px;
}

.e-con-inner .elementor-button-wrapper,
.e-con-inner .elementor-menu-cart__toggle {
  flex: 1; /* nếu muốn 2 nút cùng rộng theo tỉ lệ */
}

.e-con-inner .elementor-button-wrapper a,
.e-con-inner .elementor-menu-cart__toggle a {
  display: flex;
  align-items: center; /* căn giữa icon + text theo chiều dọc */
  justify-content: center;
  height: 100%; /* full height */
  white-space: nowrap; /* tránh chữ xuống dòng */
}

#popup-footer {
  bottom: 10px; /* dịch lên trên 30px (tùy chỉnh) */
  background: transparent; /* nền trong suốt */
}

.course-item__link {
  display: block; /* cho link chiếm trọn khối */
  padding: 0 16px; /* padding 2 bên (trái/phải) */
  box-sizing: border-box; /* để padding không làm nở khối */
}

.lp-button.course-btn-continue {
  display: block; /* biến thành khối */
  width: 100%; /* tràn hết chiều ngang */
  box-sizing: border-box; /* tính luôn padding vào width */
}

.inner {
  height: 550px; /* chiều cao cố định */
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden; /* tránh tràn chữ/ảnh */
  display: flex;
  flex-direction: column;
}

.thumbnail img {
  width: 100%;
  height: 200px; /* cố định chiều cao ảnh */
  object-fit: cover; /* ảnh luôn phủ kín mà không méo */
}

.content {
  flex: 1; /* phần nội dung chiếm khoảng còn lại */
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.thumbnail img {
  width: 100%;
  height: 200px; /* cố định chiều cao ảnh */
  object-fit: cover; /* ảnh luôn phủ kín mà không méo */
}

.content {
  flex: 1; /* phần nội dung chiếm khoảng còn lại */
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.title a {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* giới hạn 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

table td input {
  width: 90%; /* hoặc giá trị bạn muốn */
  max-width: 100%;
  box-sizing: border-box;
}

td .lp-fib-input input {
  width: 90%; /* hoặc size mong muốn */
  margin-left: 5px; /* đẩy vào bên phải 1 chút */
  box-sizing: border-box;
}

input[type="text"] {
  display: inline-block;
  vertical-align: middle; /* căn giữa với chữ */
  margin: 0 4px; /* khoảng cách trái phải */
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.lp-fib-content p[dir="ltr"] {
  width: fit-content !important;
  float: left;
}
.lp-fib-input ~ span {
  font-size: 16px !important;
  color: black;
  font-family: "Calibri", sans-serif !important;
}
p.MsoNormal {
  vertical-align: middle;
}
p.MsoNormal:has(b) {
  width: fit-content !important;
  float: left;
  margin-top: 15px !important;
  margin-right: 10px !important;
}
/* #popup-course .quiz-questions .lp-fib-input {
width: 100% !important;
} */
#TVO_logo img {
  height: 119.75px !important;
  width: auto !important;
}
.quiz-content {
  display: none;
}
.lp-modal-dialog .lp-modal-header {
  background: #971b29 !important;
}
input[type="radio"]:after {
  transform: translate(-20%, -90%) !important;
}
#learn-press-quiz-description {
  margin-bottom: 1em;
}
.site-content-inner.eduvibe-page-container.eduvibe-container
  .eduvibe-main-content-inner.eduvibe-row {
  padding-top: 30px !important;
}
.site-content-inner.eduvibe-page-container.eduvibe-container
  .eduvibe-main-content-inner.eduvibe-row
  .elementor-section.elementor-top-section.elementor-element {
  padding-top: 15px;
}
span.sub-arrow > svg {
  display: none !important;
}
.author-meta,
span.sub-arrow {
  background-image: url(/wp-content/uploads/2024/09/down.png);
  background-repeat: no-repeat;
  background-size: 12px;
  width: 12px;
  height: auto;
  left: 4px;
  top: 4px;
  display: inline-block !important;
  position: relative;
}
li.menu-item > a.elementor-item:hover > span.sub-arrow,
li.menu-item.course > a.elementor-item > span.sub-arrow {
  background-image: url(/wp-content/uploads/2024/09/down-red.png);
}
header {
  background-color: #f9f9f9;
}
.elementor-page.single .eduvibe-main-content-inner,
.eduvibe-section-gap,
.eduvibe-main-content-inner {
  padding-top: 30px !important;
}
.elementor-page .eduvibe-main-content-inner,
.elementor-page.single.single-elementor_library .eduvibe-main-content-inner {
  padding-top: 200px !important;
  padding-bottom: 130px;
}
@media all and (min-width: 1170px) {
  .eduvibe-container {
    max-width: 1170px !important;
  }
}
div#parent_menu {
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}
@media all and (min-width: 783px) {
  div#parent_menu {
    height: 130px;
  }
}
body.post-type-archive-lp_course .eduvibe-page-title-area,
body.single-lp_course .eduvibe-page-title-area,
.eduvibe-page-title-area.eduvibe-default-breadcrumb,
.eduvibe-course-details-sidebar-buttons:has(button.course-btn-continue)
  .eduvibe-course-price-button {
  display: none !important;
}
@media all and (max-width: 782px) {
  .elementor-element.e-child:has(#TVO_logo) {
    height: fit-content;
    z-index: 999;
  }
  #TVO_logo img {
    width: auto !important;
    height: 50px !important;
  }
}
.rmp-menu-wrap {
  margin-top: 10px !important;
}
.rmp-container.rmp-slide-left {
  max-width: 100% !important;
  transform: translateX(100%);
}
.rmp-menu-title,
.rmp-menu-additional-content {
  display: none !important;
}
.eduvibe-header-sticky .elementor-element.e-con-full.e-flex.e-con.e-parent {
  padding: 0 !important;
}
body:has(.eduvibe-header-sticky) .eduvibe-sticky-header-wrapper {
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15) !important;
}
body:has(.eduvibe-header-sticky) div#parent_menu,
.eduvibe-header-sticky
  .eduvibe-header-container
  .e-flex.e-con.e-child:nth-child(2)
  img {
  height: 70px !important;
}
body.eduvibe-page-content
  .elementor-nav-menu--layout-horizontal
  .elementor-nav-menu
  > li:not(:first-child)
  > .scroll-down,
body.eduvibe-page-content
  .elementor-nav-menu--layout-horizontal
  .elementor-nav-menu
  > li:not(:first-child)
  > .scroll-up,
body.eduvibe-page-content
  .elementor-nav-menu--layout-horizontal
  .elementor-nav-menu
  > li:not(:first-child)
  > ul {
  left: -14px !important;
}
.rmp_menu_trigger {
  top: -15px !important;
}
@media all and (max-width: 782.99px) {
  .rmp_menu_trigger {
    top: 10px !important;
  }
  body:has(.eduvibe-header-sticky) .rmp_menu_trigger {
    top: 10px !important;
  }
}
@media all and (min-width: 783px) {
  .rmp_menu_trigger {
    top: 40px !important;
  }
  body:has(.eduvibe-header-sticky) .rmp_menu_trigger {
    top: 10px !important;
  }
}
body:has(.eduvibe-header-sticky) .rmp_menu_trigger {
  top: 0 !important;
}
body:has(.eduvibe-header-sticky)
  .elementor-nav-menu--layout-horizontal
  .elementor-nav-menu
  > li
  ul {
  top: calc(100% + 14px) !important;
}
body:has(.eduvibe-header-sticky) .elementor-item.has-submenu:after {
  bottom: -15px !important;
}
body:not:has(.eduvibe-header-sticky)
  .elementor-element.e-con-full.e-flex.e-con.e-parent:has(#TVO_logo) {
  display: flex;
  justify-content: right;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  height: 130px;
  padding-top: 0;
  padding-bottom: 0;
}
.elementor-element.e-child:has(#TVO_logo) {
  padding-top: 0;
  padding-bottom: 0;
}
.elementor-element.e-child:has(#TVO_logo),
.elementor-element.e-child:has(#left_menu),
.elementor-element.e-child:has(#right_menu) {
  width: fit-content !important;
  display: flex;
  justify-content: center;
}
.e-con-full.e-flex.e-con.e-parent {
  display: flex;
  justify-content: center;
  z-index: 999;
}
ul.elementor-nav-menu--dropdown a,
ul.elementor-nav-menu--dropdown a:focus,
ul.elementor-nav-menu--dropdown a:hover {
  border-inline-start: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media all and (min-width: 1023.9999px) {
  .e-con-full.e-flex.e-con.e-parent:has(#full_menu) {
    display: none;
  }
  .elementor-element.e-child:has(#left_menu),
  .elementor-element.e-child:has(#right_menu) {
    display: flex;
  }
}
@media all and (max-width: 1023px) {
  div#parent_menu.elementor-element {
    width: fit-content !important;
  }
  .e-con-full.e-flex.e-con.e-parent:has(#full_menu) {
    display: flex;
    position: absolute;
    top: 50px;
  }
  body:has(#wpadminbar)
    .eduvibe-header-sticky
    .e-con-full.e-flex.e-con.e-parent:has(#full_menu) {
    top: 18px;
  }
  .elementor-element.e-child:has(#left_menu),
  .elementor-element.e-child:has(#right_menu) {
    display: none;
  }
}
li.menu-item > a:not(.elementor-sub-item) {
  text-transform: uppercase;
}
li.menu-item > a.elementor-item {
  font-size: 14.4px !important;
  font-weight: 700 !important;
  color: #5e5e5e !important;
  padding: 10px 0 !important;
}
li.menu-item > a.elementor-item:hover,
li.menu-item.course > a.elementor-item {
  color: #981b2a !important;
}
li.menu-item > a.elementor-item:hover:after,
li.menu-item.course > a.elementor-item:after {
  background-color: #981b2a !important;
  bottom: 0;
  content: "";
  opacity: 1 !important;
}
li.menu-item.menu-item-type-custom,
li.menu-item.menu-item-object-page {
  margin: 0 9px;
}
li.menu-item:first-child {
  margin-left: 0 !important;
}
ul.sub-menu li.menu-item > a.elementor-item {
  padding: unset !important;
}
#full_menu .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
}
ul.sub-menu > li > a:hover,
#full_menu ul.elementor-nav-menu > li.menu-item > a.elementor-item:hover {
  color: #585858;
}
/* ul.sub-menu li.menu-item.menu-item-type-custom {
margin: unset;
} */
ul.sub-menu li.menu-item:first-child,
#full_menu ul li {
  margin-left: 9px !important;
}
ul.sub-menu {
  min-width: 260px !important;
}
ul.sub-menu,
#full_menu ul.elementor-nav-menu {
  background-color: #ffffff;
  border: 2px solid #585858 !important;
  box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
}
ul.sub-menu > li > a,
#full_menu ul.elementor-nav-menu > li.menu-item > a.elementor-item {
  padding-left: 0;
  padding-right: 0;
  margin: 0 10px;
  border-bottom: 1px solid #ececec;
  background-color: white !important;
  color: rgba(102, 102, 102, 0.85) !important;
}
.quote-icon.quote-user {
  display: none !important;
}
.woocommerce-account form input {
  width: unset !important;
  height: unset !important;
}
.woocommerce form .form-row {
  margin-right: 1em !important;
}
.eduvibe-sticky-header-wrapper {
  background-color: rgb(249, 249, 249) !important;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.08);
}
:root {
  --color-primary: #981b29;
  --color-dark: #5e5e5e;
  --color-light: #f9f9f9;
  --font-primary: "Open Sans", sans-serif;
  --font-secondary: "Open Sans", sans-serif;
  --e-global-typography-primary-font-family: "Open Sans", sans-serif;
  --e-global-typography-secondary-font-family: "Open Sans", sans-serif;
  --e-global-typography-text-font-family: "Open Sans", sans-serif;
  --e-global-typography-accent-font-family: "Open Sans", sans-serif;
  --widgets-spacing: 0;
}
.learn-press-form-login button[type="submit"],
.learn-press-form-register button[type="submit"] {
  background-color: var(--color-primary) !important;
}
.edu-search-popup:: {
  background-color: var(--color-primary) !important;
}
.elementor-heading-title,
.pre-title {
  color: var(--color-primary) !important;
}
.xoo-el-form-container ul.xoo-el-tabs li.xoo-el-active {
  background-color: var(--color-primary) !important;
}
.elementor-shape-circle .elementor-icon.elementor-social-icon {
  padding: 12px !important;
}
.xoo-el-form-container button.btn.button.xoo-el-action-btn {
  background-color: var(--color-primary) !important;
  height: unset !important;
}
.edu-slick-button .slick-dots li button {
  background-color: var(--color-dark);
}
.eduvibe-single-product-inner
  .eduvibe-single-product-thumb-wrapper
  .product-over-info
  ul
  li.add-to-cart
  a::before,
.eduvibe-course-meta-informations li img.eduvibe-course-sidebar-img-icon {
  filter: hue-rotate(150deg) saturate(200%) brightness(70%);
}
body.single-lp_course .wp-block-embed,
.section-toggle:before {
  display: none !important;
}
.learn-press-nav-tabs .course-nav-tab-instructor {
  display: none;
}
.learn-press-nav-tabs .course-nav-tab-announcements {
  display: none;
}
.lp-button.lp-btn-wishlist.learn-press-course-wishlist-button-9437.course-wishlist {
  display: none;
}

.lp-course-buttons .continue-course .lp-button {
  position: relative;
  color: transparent; /* Ẩn văn bản gốc */
}

.lp-course-buttons .continue-course .lp-button::before {
  content: "Start";
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff; /* Màu của chữ mới */
  visibility: visible;
}

/* Khi hover vào button, vẫn giữ nguyên chữ "Start" và ẩn chữ gốc */
.lp-course-buttons .continue-course .lp-button:hover {
  color: transparent; /* Đảm bảo chữ gốc không hiện khi hover */
}

.lp-course-buttons .continue-course .lp-button:hover::before {
  visibility: visible; /* Giữ nguyên chữ "Start" khi hover */
}
.elementor-widget-container a.added_to_cart.wc-forward {
  display: none;
}
.result-require {
  opacity: 0; /* Làm mờ hoàn toàn */
  pointer-events: none; /* Không cho phép tương tác */
}
.result-achieved {
  text-decoration: none !important; /* Xóa gạch chân */
  border-bottom: none !important; /* Xóa viền gạch chân nếu có */
}

.result-achieved {
  font-size: 32px; /* Làm chữ to hơn */
  font-weight: bold; /* Đậm chữ */
  color: #000; /* Tùy chỉnh màu nếu cần */
  position: absolute; /* Đặt vào giữa vòng tròn */
}
.result-time-spend span {
  display: none; /* Ẩn hoàn toàn "Time spent" */
}

.result-time-spend::before {
  content: "Time"; /* Thêm văn bản mới "Time" */
  display: inline; /* Hiển thị như một phần tử inline */
}
th,
td {
  border: 1px solid #981b29; /* Đặt màu và độ dày cho đường biên */
  padding: 8px; /* Thêm khoảng cách bên trong các ô */
  text-align: center; /* Căn giữa văn bản trong ô */
}
.lp-fib-input input {
  text-align: center; /* Căn giữa chữ theo chiều ngang */
  vertical-align: middle; /* Căn giữa theo chiều dọc */
}

.button-purchase-course,
.course-btn-continue {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}

.button-purchase-course:hover,
.course-btn-continue:hover {
  background-color: var(--color-dark) !important; /* Màu tối hơn khi hover */
  border-color: var(--color-dark) !important;
  color: #fff !important;
}

//Additional CSS 1-8-2026
#learn-press-quiz-description
.mejs-container
.mejs-controls
.mejs-time,
#learn-press-quiz-description
.mejs-container
.mejs-controls
.mejs-time span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}
#learn-press-quiz-description,
#learn-press-quiz-description * {
    color: #000 !important;
}
/* Ẩn cột Questions và Passing grade */
.quiz-attempts th.quiz-attempts__questions,
.quiz-attempts td.quiz-attempts__questions,
.quiz-attempts th.quiz-attempts__grade,
.quiz-attempts td.quiz-attempts__grade {
    display: none !important;
}

#learn-press-quiz-app > div {
    display: flex !important;
    flex-direction: column !important;
}

/* Số trang nằm phía trên */
#learn-press-quiz-app > div > .quiz-buttons {
    order: 9998 !important;
}

/* Thanh vàng chứa Finish Quiz nằm dưới số trang */
#learn-press-quiz-app > div > .quiz-status {
    order: 9999 !important;
}
.quiz-result ~ .quiz-questions,
.quiz-result ~ .quiz-buttons {
    /* chỉ để xác định đang ở màn result */
}

.quiz-result {
    margin-top: 0;
}


/* Ẩn các mục không cần */
.result-statistic .result-questions,
.result-statistic .result-questions-correct,
.result-statistic .result-questions-wrong,
.result-statistic .result-questions-skipped,
.result-statistic .result-questions-minus,
.result-statistic .result-questions-correct-answer {
    display: none !important;
}

/* Giữ dòng Incorrect Answers đầu tiên, ẩn các dòng trùng phía sau */
.result-statistic .result-questions-incorrect-answer
~ .result-questions-incorrect-answer {
    display: none !important;
}
.result-statistic-field.result-questions,
.result-statistic-field.result-questions-correct,
.result-statistic-field.result-questions-wrong,
.result-statistic-field.result-questions-skipped,
.result-statistic-field.result-questions-minus,
.result-statistic-field.result-questions-correct-answer {
    display: none !important;
}

.result-questions-minus {
    display: none !important;
}
#lp-modal-buttons {
    display: flex !important;
    flex-direction: row !important; /* giữ thứ tự DOM */
    justify-content: center;
    gap: 20px;
}

#lp-modal-buttons button {
    float: none !important;
}
.answer-options .answer-option input.option-check[type="radio"]::after {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.lp-button-loading{
  position:relative;
  pointer-events:none;
  opacity:0.8;
}

.lp-button-loading:before{
  content:"";
  width:16px;
  height:16px;
  border:2px solid rgba(255,255,255,0.4);
  border-top:2px solid #fff;
  border-radius:50%;
  display:inline-block;
  margin-right:8px;
  vertical-align:middle;
  animation:lp-spin .8s linear infinite;
}

@keyframes lp-spin{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}
/* ===== Wrapper 2 nút ===== */
.tvo-wc-course-actions{
    display:flex;
    gap:12px;
    margin-top:14px;
    width:100%;
}

/* ===== Style chung ===== */
.tvo-wc-course-actions .tvo-btn{
    flex:1;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:6px;
    font-weight:600;
    font-size:15px;
    text-decoration:none !important;
    position:relative;
}

/* ===== Add to cart ===== */
.tvo-btn-addtocart{
    background:#981b29;
    color:#fff !important;
    border:1px solid #981b29;
}

.tvo-btn-addtocart:hover{
    background:#7d1622;
    border-color:#7d1622;
}

/* ===== View cart ===== */
.tvo-btn-cart{
    background:#fff;
    color:#111 !important;
    border:1px solid rgba(0,0,0,.35);
    font-weight:700;
}

.tvo-btn-cart:hover{
    background:#f3f3f3;
}


/* ===== Badge số lượng ===== */
.tvo-cart-badge{
    position:absolute;
    top:-4px;
    right:-6px;
    width:18px;           /* cố định tròn */
    height:18px;
    border-radius:50%;
    background:#e53935;
    color:#fff;
    font-size:11px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1;        /* reset line-height */
    padding:0;            /* bỏ padding */ 
    box-shadow:0 0 0 2px #fff;
}
/* WooCommerce tự chèn link "View cart" sau AJAX add-to-cart */
.tvo-wc-course-actions a.added_to_cart.wc-forward{
  display:none !important;
}

body.tvo-custom-thankyou-page ul.woocommerce-order-overview,
body.tvo-custom-thankyou-page .woocommerce-notice,
body.tvo-custom-thankyou-page .woocommerce-thankyou-order-received,
body.tvo-custom-thankyou-page .woocommerce-order-details,
body.tvo-custom-thankyou-page .woocommerce-customer-details,
body.tvo-custom-thankyou-page .woocommerce-columns--addresses,
body.tvo-custom-thankyou-page .addresses,
body.tvo-custom-thankyou-page address {
	display: none !important;
}

body.tvo-custom-thankyou-page .tvo-thankyou-wrap {
	max-width: 760px;
	margin: 30px auto 60px;
}

body.tvo-custom-thankyou-page .tvo-thankyou-card {
	background: #fff;
	border: 1px solid #e5e5e5;
	padding: 22px;
	margin-bottom: 22px;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

body.tvo-custom-thankyou-page .tvo-thankyou-header {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

body.tvo-custom-thankyou-page .tvo-thankyou-icon {
	width: 42px;
	height: 42px;
	border: 2px solid #3b82f6;
	color: #3b82f6;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex: 0 0 42px;
}

body.tvo-custom-thankyou-page .tvo-thankyou-order-number {
	font-size: 14px;
	color: #666;
	margin-bottom: 4px;
}

body.tvo-custom-thankyou-page .tvo-thankyou-heading h2 {
	margin: 0;
	font-size: 38px;
	line-height: 1.15;
	font-weight: 700;
}

body.tvo-custom-thankyou-page .tvo-thankyou-card h3 {
	margin: 0 0 18px;
	font-size: 30px;
	line-height: 1.2;
}

body.tvo-custom-thankyou-page .tvo-thankyou-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-bottom: 18px;
}

body.tvo-custom-thankyou-page .tvo-label {
	font-weight: 700;
	color: #555;
	margin-bottom: 6px;
}

body.tvo-custom-thankyou-page .tvo-value {
	color: #333;
	line-height: 1.7;
}

body.tvo-custom-thankyou-page .tvo-billing-address {
	margin-top: 8px;
}

body.tvo-custom-thankyou-page .tvo-order-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

body.tvo-custom-thankyou-page .tvo-order-item-left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

body.tvo-custom-thankyou-page .tvo-order-thumb img {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
}

body.tvo-custom-thankyou-page .tvo-order-name {
	font-weight: 500;
}

body.tvo-custom-thankyou-page .tvo-order-qty {
	color: #777;
	font-size: 14px;
}

body.tvo-custom-thankyou-page .tvo-order-item-right {
	font-weight: 600;
	white-space: nowrap;
}

body.tvo-custom-thankyou-page .tvo-order-summary {
	padding-top: 14px;
}

body.tvo-custom-thankyou-page .tvo-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 8px 0;
	color: #444;
}

body.tvo-custom-thankyou-page .tvo-summary-total {
	font-size: 18px;
	font-weight: 700;
}

body.tvo-custom-thankyou-page .tvo-go-course-title {
	font-size: 28px;
	margin-bottom: 16px;
}

body.tvo-custom-thankyou-page .tvo-go-course-btn {
	display: inline-block;
	background: #b21e2b;
	color: #fff !important;
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
}

body.tvo-custom-thankyou-page .tvo-go-course-btn:hover {
	opacity: .92;
}

@media (max-width: 767px) {
	body.tvo-custom-thankyou-page .tvo-thankyou-heading h2 {
		font-size: 28px;
	}

	body.tvo-custom-thankyou-page .tvo-thankyou-card h3,
	body.tvo-custom-thankyou-page .tvo-go-course-title {
		font-size: 22px;
	}

	body.tvo-custom-thankyou-page .tvo-thankyou-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
}
body.tvo-custom-thankyou-page .tvo-go-course-btn {
    display: table;
    margin: 0 auto;
}