@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  background: #fff;
}

:root {
  --bg-main-blue: linear-gradient(90deg,
      rgba(93, 224, 230, 1) 0%,
      rgba(0, 74, 173, 1) 100%);
  --color-main: #d6587f;
  --color-base-1: #d39a5c;
  --color-base-2: #592acc;
  --color-base-3:#263A77;
  --color-bg-1: linear-gradient(to right, #fa709a 0%, #fee140 100%);
  --color-bg-2: linear-gradient(to right, #6a11cb 0%, #2575fc 100%);
}

.scroll-block {
  overflow-y: scroll;
  height: 50vh;
}

.color-main {
  color: var(--color-main);
}

.sh-mainpanel {
  /* background-image: var(--color-bg-1); */
  background: #f3f6f8;
}

.sh-headpanel-right {
  font-size: 12px;
}

section h2.text-white,
section .h4.text-white a,
section h3.text-white,
section h4.text-white,
section h5.text-white {
  color: orange !important;
}

.banner img {
  max-height: 500px;
}

a#link {
  display: none;
}

ul#tabs-nav {
  list-style: none;
  margin: 0;
  padding: 5px;
  overflow: auto;
}

ul#tabs-nav li {
  font-weight: bold;
  margin-right: 2px;
  padding: 8px 10px;
  border-radius: 5px 5px 5px 5px;
  cursor: pointer;
}

ul#tabs-nav li.active {
  background-color: var(--color-main);
}

ul#tabs-nav li.active:hover a {
  color: #fff;
}

ul#tabs-nav li:hover a {
  color: var(--color-main);
}

#tabs-nav li a {
  color: #000;
}

#tabs-nav li.active a {
  color: #fff;
}
.video-popup video{
  width: 100%;
  aspect-ratio: 1 / 1;
}
.btn-fix a {
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.sh-sideleft-menu .nav>.nav-item>.nav-link img {
  background-color: #fff;
  box-shadow: -1px 3px 10px rgba(0, 0, 0, 0.3);
}

.btn-fix img {
  max-width: 60px;
}

.btn-fix {
  position: fixed;
  bottom: 30px;
  right: 15px;
  z-index: 99;
}

.btn-fix.btn-study {
  bottom: 100px;
}

.btn-fix.btn-loan {
  bottom: 170px;
}

.btn-fix.btn-noxau {
  bottom: 240px;
}

.btn-fix.btn-support {
  bottom: 30px;
}

.dropdown-toggle::after {
  display: none !important;
}

.tab-content {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 4px 24px 0 rgba(24, 41, 47, 0.1);
  overflow: hidden;
}

#tabs-content .tab-content .card {
  border: 0px;
}

.block-settings {
  padding: 20px;
  margin: 0 20px 40px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
}

.sec-slider .item {
  border-radius: 10px;
  overflow: hidden;
}

.card-customer {
  padding: 15px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  background: #fff;
  width: 100%;
  /* box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2); */
  transition: all 0.3s linear;
}

.card-customer:hover {
  box-shadow: 0 0 10px 0px var(--color-base-2);
  cursor: pointer;
  background-color: #b71c1c;
  color: #fff;
}

.pagination .active .page-link,
.pagination .active .page-link:hover,
.pagination .active .page-link:focus {
  background-color: var(--color-main);
}

.card-customer .author .avatar img {
  max-width: 50px;
  border-radius: 50%;
}

.card-customer .author .author-detail {
  display: flex;
  align-items: center;
  gap: 15px;
}

.card-customer .author .author-detail .desc {
  flex: 1;
}

.card-customer .author .author-detail .desc p {
  margin: 0px;
}

.card-customer .author .author-detail .desc .name {
  font-size: 17px;
  color: #000;
  text-transform: capitalize;
}

.card-customer .card-top .status {
  display: inline-block;
  padding: 5px 15px;
  background-color: orange;
  color: #fff;
  border-radius: 30px;
  font-size: 10px;
}

.card-customer .card-top .status.active {
  background-color: green;
}

.card-customer .status.accept {
  background-color: blue;
}

.card-customer button.pending {
  background-color: orange !important;
  border-color: orange !important;
}

.g-hhql {
  display: flex;
  align-items: center;
}

a.btn-pdf {
  color: #fff;
  background-color: #d11d2c;
  text-align: center;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 5px;
}

a.btn-pdf:hover {
  background-color: var(--color-main);
}

.g-hhql .tit-hhql {
  color: #d11d2c;
  font-size: 12px;
  font-weight: bold;
}

.card-customer .card-top {
  margin-bottom: 15px;
}

.card-customer .author .author-stars i:before {
  font-size: 20px;
}

.card-customer .author .author-stars {
  margin: 10px 0;
}

.card-customer .l-information {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

ul.l-information li a {
  color: #fff;
  padding: 5px 10px;
  background-color: var(--color-main);
  border-radius: 5px;
  font-size: 12px;
}

ul.l-information li a:hover {
  opacity: 0.8;
}

.card-customer .l-information dl {
  display: flex;
  gap: 5px;
  margin-bottom: 0px;
}

.card-customer .l-information dl dt {
  font-weight: normal;
}

.card-customer .l-information dl dd {
  color: #000;
  font-weight: 500;
}

.card-customer .card-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 10px;
}

.card-customer .card-bottom button {
  border-radius: 30px;
  background-color: var(--color-main);
  border: 1px solid var(--color-main);
}

.card-customer .card-bottom .left button {
  font-size: 13px;
  padding: 7px 20px;
}

.card-customer .card-bottom .right {
  display: flex;
  justify-content: end;
  gap: 7px;
}

.card-customer .card-bottom .right button.waiting {
  background-color: #ad1457 !important;
}

.card-customer .card-bottom .right button {
  width: 35px;
  height: 35px;
}

.card-customer .card-bottom button:hover {
  background-color: transparent;
  color: var(--color-main);
}

.sh-sideleft-menu .nav>.nav-item>.nav-link.active {
  background-color: var(--color-main) !important;
}

.sh-sideleft-menu .nav>.nav-item>.nav-link:focus {
  background-color: #1E335E !important;
}


.sh-sideleft-menu .nav>.nav-item>.nav-link:hover {
  background-color: #1E335E;
}

.sh-sideleft-menu .nav>.nav-item>.nav-link {
  font-size: 14px;
}

.sh-sideleft-menu span {
  color: #fff !important;
}

.nav-sub .nav-item .nav-link:visited {
  background-color: #29457f !important;
}

.nav-sub .nav-item .nav-link:link {
  background-color: #29457f !important;
}

.nav-sub .nav-item .nav-link:active {
  background-color: #051e51 !important;
}

.nav-sub .nav-item .nav-link {
  color: #fff !important;
  font-size: 14px;
}

th {
  background-color: #253975;
  color: #fff !important;
}

thead td {
  background-color: #253975 !important;
  color: #fff !important;
}

thead tr td .fix {
  background-color: #253975 !important;
}



#modalReview .modal-footer,
#listReview,
#modalMessage .modal-footer,
#listMessage {
  background-color: rgb(255 228 237 / 41%);
}

#modalReview .modal-footer a,
#modalMessage .modal-footer a {
  border-radius: 30px;
}

#modalReview .modal-footer a:first-child,
#modalMessage .modal-footer a:first-child {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

#modalReview .modal-header,
#modalMessage .modal-header {
  background: #e53935;
  color: #fff;
  padding: 20px 0;
}

#listReview .card {
  margin-bottom: 10px;
  border-radius: 10px;
}

#listReview .card .row {
  border-bottom: none;
}

#modalMessage .modal-content {
  height: 90vh;
}

.chat-care .chat-body strong {
  color: var(--color-main);
}

.sec-ranking .l-ranking {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sec-ranking .l-ranking .item {
  overflow: hidden;
}

.sec-ranking .l-ranking .item img {
  height: 299px;
}

.sec-blog .owl-carousel .card {
  background-color: transparent;
  border: none;
}

.sec-blog .owl-carousel .owl-item a {
  border-radius: 15px;
  overflow: hidden;
}

.sec-blog .owl-carousel .owl-item img {
  height: 100%;
}

.sec-dashboard .card {
  border-radius: 10px;
  overflow: hidden;
}

.sec-dashboard .card .card-header {
  font-size: 18px;
  background-color: var(--color-main) !important;
}

.sec-dashboard button {
  border-radius: 30px !important;
  background-color: var(--color-main) !important;
  border-color: var(--color-main) !important;
}

.tm-list-dxv .tm-table .swiper-wrapper {
  flex-direction: column;
}

.tm-list-dxv .tm-table__row {
  display: flex;
  height: 73px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border-top: 1px solid #e4e4e4;
  box-sizing: border-box;
}

.text-primary {
  color: #ed522e !important;
}

.tm-list-dxv .tm-table__row .tm-table__col:not(:last-child) {
  border-right: 1px solid #e4e4e4;
}

.tm-list-dxv .tm-table__col,
.tm-list-dxv .tm-table__para {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  text-transform: capitalize;
}

.tm-list-dxv .tm-table__col {
  flex-grow: 1;
  width: 16%;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.tm-list-dxv .tm-table__col:not(:first-child) {
  text-align: center;
}

.tm-list-dxv .tm-table__col:first-child {
  padding-left: 0 !important;
}

.tm-list-dxv .tm-table__col:last-child .tm-table__para {
  color: #000;
  font-weight: 600;
}

.tm-list-dxv .tm-table__col:last-child {
  padding-right: 0 !important;
}

.tm-list-dxv .tm-table__col--1 {
  width: 15%;
}

.tm-list-dxv .tm-table__col--4 {
  width: 10%;
}

.tm-list-dxv .tm-table .fw-5 {
  font-weight: 700 !important;
}

.tm-list-dxv .swiper-wrapper {
  height: 495px;
  min-width: 690px;
  margin-top: -1px;
}

.tm-list-dxv .tm-table .text-gray-light {
  color: #acacac !important;
}

.tm-list-dxv .tm-table--no-ellipsis .tm-table__para {
  overflow: visible;
  white-space: normal;
  text-overflow: clip;
}

.swiper-container {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tm-list-dxv .tm-table--2 {
  min-width: 0;
  height: 290px;
}

.card-gradient-1 {
  background-image: var(--color-bg-2);
  color: #fff;
}

.modal-header,
.modal-footer {
  background-image: var(--color-bg-1);
  color: #fff;
}

.box-campaign {
  margin-bottom: 30px;
}

.card-campaign {
  border: none;
  box-shadow: 0 4px 24px 0 rgba(24, 41, 47, 0.1);
  border-radius: 10px;
  height: 100%;
}

.campaign-star {
  position: absolute;
  font-size: 20px;
  top: 5px;
  color: gold;
  text-shadow: 0 0 5px gold;
}

.card-campaign .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card-campaign .l-information li {
  margin-bottom: 10px;
  display: table;
}

.card-campaign .l-information {
  padding: 0px;
  margin-bottom: 20px;
  list-style-type: none;
  font-size: 15px;
}

#MyMenu .dropdown-menu {
  min-width: 250px !important;
}

.card-campaign .l-information li i {
  font-size: 16px;
  color: var(--color-main);
  display: table-cell;
  width: 30px;
  text-align: center;
}

.card-campaign .card-img {
  max-width: 156px;
  margin: 0 auto;
}

.card-campaign .card-img img {
  max-width: 200px;
  height: 70px;
  object-fit: contain;
}

.card-campaign button {
  border-color: var(--color-main);
  color: var(--color-main);
}

.card-campaign button:hover {
  color: #fff;
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.campaign-link .input-group {
  position: relative;
  border-radius: 5px;
  border: 1px solid var(--color-main);
}

.campaign-link .input-group {
  position: relative;
}

.campaign-link .input-group-addon {
  border: none;
}

.campaign-link .linkname {
  display: none;
}

.campaign-link #copyButton,
.campaign-link .input-group-addon {
  cursor: pointer;
  background: var(--color-main);
  color: #fff;
}

.campaign-link #copyTarget,
.campaign-link .copy-input {
  border-left: none;
}

.campaign-link .copied {
  opacity: 1;
  position: absolute;
  left: 55px;
}

#ranking .sec-bxh {
  width: 90%;
  height: 43rem;
  background-color: #ffffff;
  -webkit-box-shadow: 0px 5px 15px 8px #e4e7fb;
  box-shadow: 0px 5px 15px 8px #e4e7fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  margin: 0 auto;
}

#ranking #header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.5rem 2rem;
}

#ranking .share {
  width: 4.5rem;
  height: 3rem;
  background-color: #f55e77;
  border: 0;
  border-bottom: 0.2rem solid #c0506a;
  border-radius: 2rem;
  cursor: pointer;
}

#ranking .share:active {
  border-bottom: 0;
}

#ranking .share i {
  color: #fff;
  font-size: 2rem;
}

#ranking h1 {
  font-size: 1.7rem;
  color: #141a39;
  text-transform: uppercase;
  cursor: default;
}

#ranking #leaderboard {
  width: 100%;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
}

#ranking #leaderboard::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

#ranking #leaderboard::-webkit-scrollbar:hover {
  width: 5px;
  height: 5px;
}

ul.list-note {
  padding-left: 15px;
}

.dcma {
  position: fixed;
  bottom: 0px;
  visibility: hidden;
}

/* Track */
#ranking #leaderboard::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--color-main);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--color-base-1);
  transform: all 1s ease;
}

#ranking table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #141a39;
  cursor: default;
}

#ranking tr {
  transition: all 0.2s ease-in-out;
  border-radius: 0.2rem;
}

#ranking tr:not(:first-child):hover {
  background-color: #fff;
  transform: scale(1.1);
  -webkit-box-shadow: 0px 5px 15px 8px #e4e7fb;
  box-shadow: 0px 5px 15px 8px #e4e7fb;
}

#ranking tr:nth-child(odd) {
  background-color: #f9f9f9;
}

#ranking tr:nth-child(1) {
  color: #fff;
}

#ranking td {
  height: 5rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.4rem;
  padding: 1rem 2rem;
  position: relative;
  border: none;
}

#ranking .number {
  width: 1rem !important;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: left;
}

#ranking .name {
  text-align: left;
  font-size: 1.2rem;
}

#ranking .points {
  font-weight: bold;
  font-size: 1.3rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border: none;
}

#ranking .points:first-child {
  width: 10rem;
}

#ranking .gold-medal {
  height: 3rem;
  margin-left: 1.5rem;
}

#ranking .ribbon {
  width: 107%;
  height: 5.5rem;
  top: -0.5rem;
  background-color: #5c5be5;
  position: absolute;
  left: -1rem;
  -webkit-box-shadow: 0px 15px 11px -6px #7a7a7d;
  box-shadow: 0px 15px 11px -6px #7a7a7d;
}

#ranking .ribbon::before {
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  bottom: -0.8rem;
  left: 0.35rem;
  transform: rotate(45deg);
  background-color: #5c5be5;
  position: absolute;
  z-index: -1;
}

#ranking .ribbon::after {
  content: "";
  height: 1.5rem;
  width: 1.5rem;
  bottom: -0.8rem;
  right: 0.35rem;
  transform: rotate(45deg);
  background-color: #5c5be5;
  position: absolute;
  z-index: -1;
}

#ranking #buttons {
  width: 100%;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

#ranking .exit {
  width: 11rem;
  height: 3rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: #7e7f86;
  border: 0;
  background-color: #fff;
  border-radius: 2rem;
  cursor: pointer;
}

#ranking .exit:hover {
  border: 0.1rem solid #5c5be5;
}

#ranking .continue {
  width: 11rem;
  height: 3rem;
  font-family: "Rubik", sans-serif;
  font-size: 1.3rem;
  color: #fff;
  text-transform: uppercase;
  background-color: #5c5be5;
  border: 0;
  border-bottom: 0.2rem solid #3838b8;
  border-radius: 2rem;
  cursor: pointer;
}

#ranking .continue:active {
  border-bottom: 0;
}

.sh-sideleft-menu .nav>.nav-item>.nav-link img.icon-sm {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.block-intro {
  padding: 30px;
  margin: -30px -30px 30px;
  position: relative;
  background: rgba(255, 255, 255, 0.45);
}

.block-intro .page-title-wrapper {
  display: flex;
  align-items: center;
}

.block-intro .page-title-wrapper .page-title-heading {
  font-size: 1.25rem;
  font-weight: 400;
  display: flex;
  align-content: center;
  align-items: center;
  color: #000;
}

.block-intro .page-title-wrapper .page-title-heading .page-title-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center;
  padding: 0.83333rem;
  margin: 0 30px 0 0;
  background: #fff;
  box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03),
    0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03),
    0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05),
    0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
  border-radius: 0.25rem;
  width: 60px;
  height: 60px;
}

.block-intro .page-title-wrapper .page-title-heading .page-title-subheading {
  padding: 3px 0 0;
  font-size: 0.88rem;
  opacity: 0.6;
}

#filter-campaign {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  text-align: center;
  gap: 20px;
}

#filter-campaign li a {
  display: block;
  color: #fff;
  border-radius: 5px;
  font-size: 21px;
  font-weight: bold;
  padding: 25px 15px;
  place-content: center;
  min-height: 180px;
  box-shadow: 0 0.46875rem 2.1875rem rgba(4, 9, 20, 0.03),
    0 0.9375rem 1.40625rem rgba(4, 9, 20, 0.03),
    0 0.25rem 0.53125rem rgba(4, 9, 20, 0.05),
    0 0.125rem 0.1875rem rgba(4, 9, 20, 0.03);
  border-width: 0;
  transition: all 0.2s;
  background-size: auto 100%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
  background-size: cover;
}

#filter-campaign li a span {
  position: relative;
  z-index: 2;
}

#filter-campaign li a::after {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  left: 0px;
  top: 0px;
}

#filter-campaign li a:hover,
#filter-campaign li a.active {
  box-shadow: 0 0 30px rgba(255, 255, 0, 0.5);
}

.bg-gradient-1 {
  background: url(../../assets/images/campaign/the-tin-dung-pc.png) center no-repeat;
}

.bg-gradient-2 {
  background: url(../../assets/images/campaign/vi-tra-sau-pc.png) center no-repeat;
}

.bg-gradient-3 {
  background: url(../../assets/images/campaign/vay-ngan-hang-pc.png) center no-repeat;
}

.bg-gradient-4 {
  background: url(../../assets/images/campaign/vay-online-pc.jpg) center no-repeat;
}

.bg-gradient-5 {
  background: url(../../assets/images/campaign/mo-tknh-pc.png) center no-repeat;
}

.bg-gradient-6 {
  background: url(../../assets/images/campaign/vay-the-chap-pc.png) center no-repeat;
}

.bg-gradient-7 {
  background: url(../../assets/images/campaign/mo-tktk-pc.png) center no-repeat;
}

.bg-gradient-8 {
  background: url(../../assets/images/campaign/tmdt-pc.png) center no-repeat;
}

.bg-gradient-9 {
  background: url(../../assets/images/campaign/voucher-pc.png) center no-repeat;
}

.bg-gradient-10 {
  background: url(../../assets/images/campaign/dich-vu-pc.png) center no-repeat;
}

.bg-gradient-11 {
  background: url(../../assets/images/campaign/bao-hiem-pc.png) center no-repeat;
}

.bg-gradient-12 {
  background: url(../../assets/images/campaign/ca-vet-xe-pc.png) center no-repeat;
}

.row-pc {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

#ai-toggle {
  display: none;
}

#banner-gm img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
a#linkzalo{
  display: none;
}
#banner-gm {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

#banner-gm {
  max-width: 1120px;
  margin: 0 auto;
}

.empty-image-placeholder {
  display: none;
}

[class*="col-"] {
  position: relative;
  width: 100%;
  magrin-right: 15px;
  magrin-left: 15px;
}

.container-pc {
  padding: 20px;
}

.box-statistical {
  padding: 30px 20px;
}

.col-md-3-pc {
  -ms-flex: 0 0 25%;
  flex: 1;
  max-width: 25%;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-8-pc {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-right: 15px;
  padding-left: 15px;
}

.title-balance {
  display: flex;
  justify-content: space-between;
  padding: 12px 12px;
  align-items: center;
}

.title-balance h2 {
  font-size: 30px;
}

.table-w-sm.table-responsive table tbody tr td span {
  min-width: 100px;
}

.title-balance div a {
  padding: 12px 24px;
  border-radius: 220px;
  border-color: #5b6bf5;
}

.wallet {
  background: linear-gradient(90deg, #5de0e6, #004aad);
  height: 220px;
  width: 100%;
  border-radius: 10px;
  position: relative;
}

.wallet:after {
  content: "";
  position: absolute;
  width: 120px;
  padding: 13px;
  height: 65px;
  background: linear-gradient(90deg, #5de0e6, #004aad);
  border: 15px solid #fff;
  border-radius: 100px;
  right: 35px;
  transform: translate(50%, 115%);
}

.wallet:before {
  content: "";
  position: absolute;
  right: 40px;
  width: 20px;
  height: 21px;
  border-radius: 100%;
  background: #fff;
  transform: translate(-40%, 455%);
  z-index: 99;
}

.title-wallet {
  position: absolute;
  top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  left: 20px;
}

.wallet-withdraw a {
  position: absolute;
  bottom: 20px;
  background: rgba(242, 244, 246, 0.4);
  color: #fff;
  padding: 6px 26px;
  left: 20px;
  border-radius: 4px;
}

.bg-white {
  background: #fff;
}

.m-0-10 {
  margin: 0 0 0 10px;
}

.box-statistical:nth-child(1) {
  background: radial-gradient(circle at 0% 0%,
      #48ecf4,
      #96d5e6,
      #e5e7eb,
      #e1e4e8,
      #3878cf);
}

.box-statistical:nth-child(2) {
  background: radial-gradient(circle at 0% 0%,
      #78cbdd,
      #a2b7e6,
      #f4eeea,
      #eefff8,
      #addcc8,
      #b9eeff);
}

.box-statistical:nth-child(3) {
  background: radial-gradient(circle at 0% 0%,
      #d4d4d4,
      #9dddf1,
      #99cdef,
      #f4eeea,
      #b6bcdd);
}

.box-statistical:nth-child(4) {
  background: radial-gradient(circle at 0% 0%,
      #87f8fd,
      #51c2db,
      #f3f8ff,
      #efc7ff,
      #8db7ff);
}

[data-tooltip] {
  --arrow-size: 5px;
  z-index: 10;
}

[data-tooltip]:before,
[data-tooltip]:after {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  bottom: calc(100% + var(--arrow-size));
  pointer-events: none;
  transition: 0.2s;
  will-change: transform;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  padding: 10px 18px;
  min-width: 50px;
  max-width: 300px;
  width: max-content;
  width: -moz-max-content;
  border-radius: 6px;
  font-size: 14px;
  background-color: rgb(214 88 127);

  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-align: center;
  white-space: pre-wrap;
  transform: translate(-50%, calc(0px - var(--arrow-size))) scale(0.5);
}

[data-tooltip]:after {
  content: "";
  border-style: solid;
  border-width: var(--arrow-size) var(--arrow-size) 0px var(--arrow-size);
  border-color: rgba(55, 64, 70, 0.9) transparent transparent transparent;
  transition-duration: 0s;
  transform-origin: top;
  transform: translateX(-50%) scaleY(0);
}

[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  opacity: 1;
}

[data-tooltip]:hover:before {
  transition-delay: 0.3s;
  transform: translate(-50%, calc(0px - var(--arrow-size))) scale(1);
}

[data-tooltip]:hover:after {
  transition-delay: 0.4s;
  transition-duration: 0.2s;
  transform: translateX(-50%) scaleY(1);
}

[data-tooltip-location="left"]:before,
[data-tooltip-location="left"]:after {
  left: auto;
  right: calc(100% + var(--arrow-size));
  bottom: 50%;
}

/* Tooltip */
[data-tooltip-location="left"]:before {
  transform: translate(calc(0px - var(--arrow-size)), 50%) scale(0.5);
}

[data-tooltip-location="left"]:hover:before {
  transform: translate(calc(0px - var(--arrow-size)), 50%) scale(1);
}

/* Arrow */
[data-tooltip-location="left"]:after {
  border-width: var(--arrow-size) 0px var(--arrow-size) var(--arrow-size);
  border-color: transparent transparent transparent rgb(214 88 127);
  transform-origin: left;
  transform: translateY(50%) scaleX(0);
}

[data-tooltip-location="left"]:hover:after {
  transform: translateY(50%) scaleX(1);
}

.flipbook-cover .page-content {
  overflow-y: scroll;
}

.flipbook-cover img {
  width: 100%;
  height: 100%;
}

.item-link .copy-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
}

.item-link .copy-btn:hover {
  color: var(--color-main);
}

.l-item-link .item-link span {
  font-weight: bold;
}

.l-item-link .item-link {
  padding: 10px;
  background-color: #f2f2f2;
  border-radius: 5px;
  color: #494949;
  font-weight: normal;
  font-size: 12px;
  max-width: 300px;
  margin-bottom: 10px;
  position: relative;
}

.l-item-link .item-link .btn i {
  color: #ef6820;
}

.l-item-link .item-link a {
  pointer-events: none;
}

@media only screen and (max-width: 767px) {
  .sh-pagebody {
    padding: 0px;
  }

  .sec-ranking .l-ranking .item img {
    height: auto;
  }

  .btn-fix {
    bottom: 65px;
  }

  .btn-fix.btn-study {
    bottom: 110px;
  }

  .btn-fix img {
    max-width: 45px;
  }

  .block-settings {
    padding: 10px;
    margin: 0 15px 40px;
  }

  .bg-gradient-1 {
    background: url(../../assets/images/campaign/the-tin-dung-sp.png);
  }

  .bg-gradient-2 {
    background: url(../../assets/images/campaign/vi-tra-sau-sp.png);
  }

  .bg-gradient-3 {
    background: url(../../assets/images/campaign/vay-ngan-hang-sp.png);
  }

  .bg-gradient-4 {
    background: url(../../assets/images/campaign/vay-online-sp.png);
  }
  .bg-gradient-5 {
    background: url(../../assets/images/campaign/mo-tknh-sp.png);
  }

  .bg-gradient-6 {
    background: url(../../assets/images/campaign/tktk-sp.png);
  }

  .bg-gradient-7 {
    background: url(../../assets/images/campaign/tmdt-sp.png);
  }
  .bg-gradient-8 {
    background: url(../../assets/images/campaign/voucher-sp.png);
  }
  .bg-gradient-9 {
    background: url(../../assets/images/campaign/voucher-sp.png);
  }
  .bg-gradient-10 {
    background: url(../../assets/images/campaign/dv-sp.png);
  }
  .bg-gradient-11 {
    background: url(../../assets/images/campaign/bao-hiem-sp.png);
  }
  .bg-gradient-12 {
    background: url(../../assets/images/campaign/ca-vet-xe-sp.png);
  }

  .block-intro {
    margin: 0px;
  }

  .sec-ranking .l-ranking {
    gap: 10px;
  }

  #modalReview .modal-content,
  #modalMessage .modal-content {
    width: 90% !important;
    margin: 0 auto;
    min-width: auto;
  }

  .tm-list-dxv .swiper-container {
    overflow-x: auto;
  }

  .tm-list-dxv .tm-table__col--1 {
    width: 25%;
  }

  .tm-list-dxv .tm-table__col:last-child {
    width: 20%;
  }

  .sec-blog .owl-nav {
    display: none;
  }

  .revenue i,
  .point i {
    font-size: 20px !important;
  }

  #filter-campaign {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px;
  }

  #filter-campaign li a {
    min-height: 140px;
    font-size: 16px;
    background-size: cover;
  }

  .sec-blog #listdata,
  .finance-section #listdata,
  .finance-section h2 {
    display: none;
  }

  .sec-blog #listdata.active,
  .finance-section #listdata.active {
    display: block;
  }

  #tabs-content .card-body {
    height: 100vh;
    overflow-y: scroll;
  }

  #catalog-campaign #tabs-content .card-body {
    height: 100%;
    display: inline;
  }

  #modalVideo.modal .modal-content {
    min-width: auto;
    max-width: 90%;
    margin: 0 auto;
  }

  [data-tooltip]:before {
    font-size: 11px;
    padding: 7px 10px;
  }

  .btn-fix.btn-loan {
    bottom: 155px;
  }

  .btn-fix.btn-honor {
    bottom: 200px !important;
  }

  .btn-fix.btn-noxau {
    bottom: 150px;
  }

  #MyMenu .dropdown-menu {
    max-width: 250px;
  }

  #tbl-history td,
  div#tbl-history th {
    padding: 5px;
  }

  #tbl-history {
    font-size: 12px;
  }

  #banner-gm {
    grid-template-columns: repeat(1, 1fr);
  }

  .l-item-link .item-link {
    padding: 10px 20px;
  }
}

/* end 767px */

/* Styles for Training Popup */
#modalTraining .modal-dialog {
  max-width: 90%;
  width: 90%;
  margin: 20px auto;
}

#modalTraining .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#modalTraining .modal-body {
  flex: 1;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.flipbook-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#training-flipbook {
  margin: 0 auto;
  font-size: 16px;
  position: relative;
}

.quiz-check .quiz-content {
  height: 70vh;
  overflow-y: scroll;
}

#training-flipbook .page {
  background-color: white;
}

#training-flipbook .page-content {
  overflow-y: scroll;
  height: 100%;
}

#training-flipbook .hard {
  background: #fff;
  color: #333;
  -webkit-box-shadow: inset 0 0 5px #666;
  -moz-box-shadow: inset 0 0 5px #666;
  -o-box-shadow: inset 0 0 5px #666;
  -ms-box-shadow: inset 0 0 5px #666;
  box-shadow: inset 0 0 5px #666;
  font-weight: bold;
}

#training-flipbook .quiz-page {
  background: #fff;
}

#training-flipbook .quiz-page .page-content {
  padding: 30px;
  overflow-y: auto;
}

.flipbook-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 100;
  padding: 10px;
}

.flipbook-nav button {
  padding: 10px 20px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.flipbook-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Mobile styles */
@media (max-width: 768px) {
  #modalTraining .modal-dialog {
    max-width: 100%;
    width: 100%;
    margin: 0;
    height: 100vh;
  }

  #modalTraining .modal-content {
    height: 100vh;
    border-radius: 0;
  }

  #modalTraining .modal-body {
    padding: 0;
  }

  .flipbook-container {
    width: 100%;
    height: calc(100vh - 120px);
    min-height: auto;
    align-items: baseline;
  }

  #training-flipbook {
    width: 100% !important;
    height: 100% !important;
  }

  .flipbook-nav {
    bottom: 10px;
    padding: 5px;
    bottom: 0px !important;
  }

  .flipbook-nav button {
    padding: 8px 15px;
    font-size: 14px;
  }

  .welcome-screen {
    min-height: 500px !important;
    padding: 20px !important;
  }

  .welcome-content {
    padding: 15px;
  }

  .welcome-logo {
    max-width: 150px;
  }

  .quiz-container {
    padding: 10px;
  }

  .quiz-content {
    padding: 15px;
  }

  .question-card {
    padding: 15px;
    margin-bottom: 15px;
  }

  .answer-option {
    padding: 10px;
    font-size: 14px;
  }

  .quiz-result {
    padding: 15px;
  }

  #quiz-success {
    margin: 15px 0;
  }

  .certificate-container {
    height: calc(100vh - 60px);
    padding: 10px;
  }
}

/* Training Popup Styles */
.welcome-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 30px;
  text-align: center;
}

.welcome-content {
  max-width: 600px;
  margin: 0 auto;
}

.welcome-logo {
  max-width: 200px;
  margin-bottom: 30px;
}

.welcome-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

.welcome-content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.welcome-content .btn {
  padding: 12px 40px;
  font-size: 18px;
  border-radius: 30px;
}

#training-flipbook {
  margin: 0 auto;
  font-size: 16px;
  position: relative;
  width: 100% !important;
}

#training-flipbook .page {
  background-color: white;
}

#training-flipbook .hard {
  background: #fff;
  color: #333;
  -webkit-box-shadow: inset 0 0 5px #666;
  -moz-box-shadow: inset 0 0 5px #666;
  -o-box-shadow: inset 0 0 5px #666;
  -ms-box-shadow: inset 0 0 5px #666;
  box-shadow: inset 0 0 5px #666;
  font-weight: bold;
}

.final-page {
  text-align: center;
  padding: 40px !important;
}

.final-page h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

.final-page p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.final-page .btn {
  padding: 12px 40px;
  font-size: 18px;
  border-radius: 30px;
}

/* Quiz Container */
.quiz-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
}

.quiz-content {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.question-card {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
}

.question-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.answer-option {
  padding: 15px;
  margin-bottom: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.answer-option:hover {
  background-color: #f8f9fa;
}

.answer-option.selected {
  background-color: #f8f9fa;
  border-color: #2196f3;
}

.answer-option.correct {
  color: #28a745;
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.1);
}

.answer-option.incorrect {
  color: #dc3545;
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.1);
}

.answer-option.selected-answer {
  color: #6c757d;
  border-color: #6c757d;
  background-color: rgba(108, 117, 125, 0.1);
  font-weight: bold;
}

.answer-option[style*="pointer-events: none"] {
  cursor: not-allowed;
  opacity: 0.8;
}

.answer-option[style*="pointer-events: none"]:hover {
  background-color: inherit;
}

.quiz-submit-btn {
  padding: 12px 40px;
  font-size: 18px;
  border-radius: 30px;
}

/* Review Knowledge Button */
.review-knowledge-btn-container {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

#reviewKnowledge {
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid #6c757d;
  color: #6c757d;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#reviewKnowledge:hover {
  background-color: #6c757d;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#reviewKnowledge i {
  margin-right: 5px;
}

/* Quiz Result */
.quiz-result {
  text-align: center;
  padding: 30px;
}

.quiz-result h4 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

#quiz-success {
  margin: 30px 0;
}

#quiz-success h3 {
  margin-bottom: 20px;
}

#quiz-success img {
  max-width: 150px;
  margin: 20px auto;
}

/* Navigation Buttons */
.flipbook-nav {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 100;
}

.flipbook-nav button {
  padding: 10px 30px;
  border-radius: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.flipbook-nav button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .welcome-content h2 {
    font-size: 24px;
  }

  .welcome-content p {
    font-size: 16px;
  }

  .final-page h2 {
    font-size: 24px;
  }

  .final-page p {
    font-size: 16px;
  }

  .quiz-container {
    padding: 15px;
  }

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

  .answer-option {
    padding: 12px;
    font-size: 14px;
    border-width: 1px;
  }

  .answer-option.correct,
  .answer-option.incorrect {
    border-width: 1px;
  }

  .flipbook-nav button {
    padding: 5px 10px;
    font-size: 10px;
  }

  .certificate-frame {
    padding: 0px;
  }

  .certificate-header {
    margin-bottom: 0px !important;
  }

  .certificate-body {
    margin: 0px 0px 5px 0px !important;
  }

  #quiz-success img {
    max-width: 60px;
    margin: 0px auto;
  }

  #quiz-success h3 {
    margin-bottom: 0px;
    font-size: 18px;
  }

  .certificate-header h3 {
    font-style: 20px;
  }

  .certificate-name {
    font-size: 21px;
    margin-bottom: 5px;
    margin-top: 0px;
  }

  .certificate-frame {
    background-size: 100% 80% !important;
  }

  .quiz-result h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .certificate-header h1 {
    font-size: 16px !important;
  }

  .course-name,
  .certificate-body .date-text {
    margin: 0px !important;
  }

  .award-text,
  .completion-text {
    margin: 5px 0px !important;
  }

  /* Review Knowledge Button Mobile */
  .review-knowledge-btn-container {
    top: 5px;
    left: 5px;
  }

  #reviewKnowledge {
    padding: 6px 12px;
    font-size: 12px;
  }

  #reviewKnowledge i {
    margin-right: 3px;
  }
}

.btn-fix img {
  max-width: 40px;
  height: 40px;
  object-fit: cover;
}

.btn-fix.btn-honor {
  bottom: 310px;
}

/* Certificate Styles */
.certificate-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  max-height: 80vh;
  overflow-y: scroll;
}

.certificate-frame {
  position: relative;
  background: #fff url("../../assets/images/frame.png") no-repeat;
  background-size: 100% 100%;
  border-radius: 0;
  padding: 30px;
}

/* Remove the border and pseudo-element since we're using the frame image */
.certificate-frame::before {
  display: none;
}

.certificate-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  text-align: center;
}

.certificate-header {
  margin-bottom: 20px;
}

.certificate-logo {
  max-width: 80px;
  margin-bottom: 10px;
}

.certificate-header h1 {
  font-size: 24px;
  color: #000;
  margin: 5px 0;
}

.certificate-header h2 {
  font-size: 32px;
  color: #000;
  margin: 10px 0;
  font-weight: bold;
}

.certificate-header h3 {
  font-size: 24px;
  color: #000;
  font-style: italic;
  margin: 5px 0;
}

.certificate-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px 0 60px 0px;
}

.award-text,
.completion-text {
  font-size: 18px;
  color: #000;
  margin: 10px 0;
}

.sub-text {
  font-style: italic;
  font-size: 16px;
  color: #000;
}

.certificate-name {
  font-size: 28px;
  color: #000;
  margin: 20px 0;
  font-weight: bold;
  text-transform: uppercase;
}

.course-name {
  font-size: 18px;
  color: #000;
  margin: 15px 0;
  font-weight: bold;
}

.organizer {
  font-size: 18px;
  color: #000;
  margin: 15px 0;
  font-weight: bold;
}

.date-text {
  font-size: 16px;
  color: #000;
  margin: 15px 0;
}

.certificate-footer {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 150px;
  padding: 0 50px;
  position: relative;
}

.cert-number {
  text-align: left;
  font-size: 14px;
  color: #000;
  line-height: 1.5;
}

.signature-section {
  text-align: center;
  margin-left: auto;
  width: 200px;
  position: absolute;
  bottom: -145px;
  right: -50px;
}

.signature-stamp {
  width: 300px;
  height: 300px;
  background-image: url("../../assets/images/dau-moc.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  right: 0px;
  bottom: 0px;
  opacity: 0.8;
  transform: rotate(-15deg);
}

.signature-line {
  width: 150px;
  height: 2px;
  background: #000;
  margin: 60px auto 5px;
}

.signature-name {
  font-size: 16px;
  color: #000;
  margin: 5px 0 0;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.signature-title {
  font-size: 14px;
  color: #000;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Responsive styles */
@media (max-width: 768px) {
  .certificate-content {
    padding: 10px 30px;
  }

  .certificate-header h2 {
    font-size: 21px;
  }

  .certificate-container {
    max-width: 100%;
    padding: 0px;
  }

  .certificate-name {
    font-size: 17px;
  }

  .certificate-footer {
    padding: 0px 15px;
    margin-top: 5px;
  }

  .cert-number {
    font-size: 10px;
  }

  .award-text,
  .completion-text,
  .course-name,
  .organizer {
    font-size: 11px;
    margin: 5px 0px;
  }

  .sub-text {
    font-size: 12px;
  }

  .signature-stamp {
    width: 135px;
    height: 124px;
    right: 30px;
    bottom: 60px;
  }

  .quiz-result {
    padding: 0px;
  }

  .signature-line {
    width: 120px;
    margin: 50px auto 5px;
  }
}

/* Username validation styles */
#usernameRegister {
  letter-spacing: 1px;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: 14px;
}

/* Form validation states */
.form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.checking {
  border-color: #17a2b8;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

.form-control.is-valid:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.checking:focus {
  border-color: #17a2b8;
  box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.25);
}

/* Text color for validation messages */
.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-info {
  color: #17a2b8 !important;
}

/* CCCD field specific styles */
#cccd {
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 14px;
}

/* Phone field specific styles */
#phoneRegister {
  font-family: "Courier New", monospace;
  font-weight: bold;
  letter-spacing: 0.5px;
  font-size: 14px;
}

/* Email field specific styles */
#emailRegister {
  font-size: 14px;
}

/* Enhanced form control styles */
.signup .form-control {
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 10px 12px;
}

.signup .form-control:focus {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Small text styling */
.form-group small {
  font-size: 12px;
  margin-top: 5px;
  display: block;
  transition: color 0.3s ease;
}

/* Loading animation for checking state */
.form-control.checking {
  position: relative;
}

.form-control.checking::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #17a2b8;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {

  #usernameRegister,
  #cccd,
  #phoneRegister {
    letter-spacing: 0.5px;
    font-size: 13px;
  }

  .form-group small {
    font-size: 11px;
  }
}

/* Checkbox validation styles */
.form-check-input.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input.is-invalid+label {
  color: #dc3545;
}

.invalid-feedback {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #dc3545;
}

.invalid-feedback:not(.d-none) {
  display: block;
}

/* Enhanced form check styling */
.form-check {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-top: 0.3rem;
  margin-left: -1.5rem;
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
  color: #495057;
  transition: color 0.15s ease-in-out;
}

.form-check-input:checked+.form-check-label {
  color: #28a745;
  font-weight: 500;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}