﻿.nav-custom-text-color .nav-link {
  color: #090658 !important;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .fixed-top-mobile {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
  }

  body {
    padding-top: 50px;
  }
}

.antri-color {
  color: #220e82;
}

.antri-color-1 {
  color: #d5ac53;
}

.antri-bg {
  background-color: #220e82;
}

.antri-bg-1 {
  background-color: #d5ac53;
}

.copyright-bg {
  background-color: #aa865e;
}

.bg-uu-dai {
  background-image: url("../image/bg-uu-dai.png");
}

.bg-khach-hang {
  /* background-image: url('/assets/image/bg-khach-hang.png'); */
  background-color: #d5ac53;
  background-position: left;
  background-repeat: no-repeat;
}

.splide__pagination__page.is-active {
  background: #d5ac53 !important;
}

.splide__arrow svg {
  fill: #d5ac53 !important;
}

.splide__video__play {
  background: #d5ac53;
  width: 64px;
  height: 64px;
  color: #d5ac53;
}

.splide__video__play:after {
  border-color: transparent transparent transparent #fff;
}

.overlap-80px {
  margin-top: -80px;
}

.custom-shadow {
  box-shadow: 0 1rem 3rem #79b3ff1a;
  border: 0px;
}

/** -------CSS youtube--------- */
.transition {
  transition: all 0.3s ease;
}

.video-box:hover img {
  transform: scale(1.05);
}

.video-box:hover .overlay {
  opacity: 1 !important;
}

.video-box:hover .overlay img {
  transform: scale(1.1);
}

/* Animation lắc lư */
.animation {
  display: inline-block;
  animation: icon-luc-lac 0.5s alternate infinite;
}

@keyframes icon-luc-lac {
  0%,
  50%,
  100% {
    transform: rotate(0);
  }

  10%,
  30% {
    transform: rotate(-4deg);
  }

  20%,
  40% {
    transform: rotate(4deg);
  }
}

/* Animation rung */
.shake-button {
  animation: shake 0.8s infinite;
}

@keyframes shake {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(5px, 0) rotate(5deg);
  }

  50% {
    transform: translate(-5px, 0) rotate(-5deg);
  }

  75% {
    transform: translate(5px, 0) rotate(5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* PC: cố định bên phải, canh giữa theo chiều dọc */
.floating-buttons {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 9999;
}

/* Mobile: chuyển ngang, căn giữa đáy */
.diva-bottom-bar {
  display: none;
}

@media (max-width: 767.98px) {
  .floating-buttons {
    display: none !important;
  }

  .diva-bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 2;
    display: block !important;
  }

  .bottom-bar-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    flex-wrap: wrap;
    padding-bottom: 4px;
  }

  .diva-bottom-bar::before {
    content: "";
    width: 100%;
    background-image: url("../image/bottom-bar-bg.png");
    position: absolute;
    bottom: -5px;
    display: block;
    background-size: 100% 100%;
    background-position: center;
    height: 70px;
    background-repeat: no-repeat;
    z-index: -1;
  }

  .bottom-bar-wrapper span {
    font-size: 10px;
    line-height: 1.5;
    color: #d5ac53;
    text-align: center;
    width: 100%;
    font-weight: 700;
  }

  .bottom-bar-wrapper span svg {
    width: 55%;
    height: auto;
    fill: #d5ac53;
    margin: auto;
  }

  .bottom-bar-wrapper span i {
    font-size: 24px;
  }

  .bottom-bar-wrapper a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68px;
    text-decoration: none;
  }

  .tu-van-text {
    font-size: 10px;
    color: #fff;
    background: #d5ac53;
    padding: 3px 5px 2px;
    border-radius: 16px;
    line-height: 1.2;
    font-weight: bold;
  }
}

img.width-auto {
  max-width: unset;
}

.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite both;
  padding: 12px 13px 12px;
  background: #d5ac53;
  border-radius: 50%;
  margin-bottom: 9px;
}

@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }

  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }

  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }

  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }

  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }

  to {
    transform: scale(1);
  }
}

#dang-ky-tu-van .form-control,
.form-select {
  font-size: 20px;
  color: #d5ac53;
  line-height: 2;
  font-weight: 600;
}

#dang-ky-tu-van .form-control::placeholder {
  color: #d5ac53;
  opacity: 1;
}

body.modal-open {
  padding-right: 0 !important;
  overflow: hidden !important;
}

body.modal-open .navbar,
body.modal-open .header,
body.modal-open .fixed-top {
  padding-right: 0 !important;
}

.btn-antri {
  background-color: #d5ac53;
  border-color: #d5ac53;
}

.btn-antri:hover,
.btn-antri:focus,
.btn-antri:active {
  background-color: #bb9446 !important;
  border-color: #bb9446 !important;
  box-shadow: 0 0 0 0.25rem rgba(213, 172, 83, 0.5) !important;
}

.btn-antri:active {
  background-color: #bb9446;
  border-color: #bb9446;
}

#modalDatLichHen .form-control,
#modalDatLichHen .form-select {
  border-color: #d5ac53;
}

#modalDatLichHen .form-control:focus,
#modalDatLichHen .form-select:focus {
  border-color: #d5ac53;
  box-shadow: 0 0 0 0.25rem rgba(213, 172, 83, 0.25);
}

#modalDatLichHen ::placeholder {
  color: #d5ac53;
  opacity: 0.8;
}

#modalDatLichHen label,
#modalDatLichHen input {
  font-size: 20px;
  color: #d5ac53;
  line-height: 2;
  font-weight: 600;
}
#modalDatLichHen .wpcf7-spinner {
    display: block;
    margin: 5px auto;
}