@use "../utils" as *;

dl,
ol,
ul {
  margin-top: 0;
  margin-bottom: 0rem;
}

.w-img {
  & img {
    width: 100%;
  }
}

.m-img {
  & img {
    max-width: 100%;
  }
}

img {
  max-width: 100%;
}

.fix {
  overflow: hidden;
}

.clear {
  clear: both;
}

.z-index-1 {
  z-index: 1;
}

.z-index-11 {
  z-index: 11;
}

.overflow-y-visible {
  overflow-x: hidden;
  overflow-y: visible;
}

.overflow-x-visible {
  overflow-x: visible;
  overflow-y: hidden;
}

.p-relative {
  position: relative;
}

.p-absolute {
  position: absolute;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  // background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.td-hr {
  color: #CFCFCF;
}

.section-gap {
  margin-top: 100px;

  @media #{$xl} {
    margin-top: 100px;
  }

  @media #{$lg,$md} {
    margin-top: 70px;
  }

  @media #{$xs} {
    margin-top: 60px;
  }

  &-withHeading {
    margin-top: 85px;

    @media #{$lg,$md} {
      margin-top: 65px;
    }

    @media #{$xs} {
      margin-top: 55px;
    }
  }
}

.truncate-text {
  overflow: hidden;
  position: relative;
  white-space: normal;
  text-overflow: ellipsis;
}

.fa-solid {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.fa-solid {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.fa-regular {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.fa-duotone {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.fa-sharp {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.fa-sharp-duotone {
  font-size: 24px;
  color: var(--td-theme-bg-color);
}

.vertical-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.30) 50%, rgba(255, 255, 255, 0.00) 100%);
  margin: 30px auto;

  @media #{$md} {
    margin: 20px auto;
  }

  @media #{$xs} {
    margin: 20px auto;
  }
}

.booked-success {
  display: flex;
  justify-content: center;
  align-items: center;

  .modal-card {
    box-shadow: unset;
  }

  .blinking-button .inner-circle {
    background-color: var(--td-theme-color-2);
  }

  .booked-success-btn {
    display: flex;
    align-items: center;
    gap: 10px;

    @media #{$xs} {
      width: 100%;
      flex-direction: column;
      a{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      button{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  .list-item {
    padding-left: 50px;

    li {
      color: var(--td-theme-color);

      span {
        color: var(--td-theme-bg-color);
      }
    }
  }

  .td-btn-wrap span i {
    font-size: 15px;
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    margin-inline-start: 5px;
  }

  .modal-card {
    width: 620px;
    background-color: white;
    -webkit-box-shadow: 5px 5px 40px 0px rgba(196, 196, 196, 1);
    -moz-box-shadow: 5px 5px 40px 0px rgba(196, 196, 196, 1);
    box-shadow: 5px 5px 40px 0px rgba(196, 196, 196, 1);

    @media #{$xs} {
      width: 100%;
    }
  }
}

.status {
  background-color: #fff;
  color: #fff;
  padding: 2px 10px;
  border-radius: 20px;

  &-success {
    background-color: green;
    color: #fff !important;
  }

  &-rejected {
    background-color: red;
    color: #fff !important;
  }
}


.tab-content {
  .swiper-wrapper {
    .swiper-slide {
      text-align: unset;
      font-size: unset;
      display: unset;
      justify-content: unset;
      align-items: unset;
    }
  }
}


/*----------------------------
animaion design
------------------------------*/

@keyframes move-left {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-10px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes move-right {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes move-bottom-top {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes rotate-infinite {
  0% {
    transform: rotate(0deg);
  }

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

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

@keyframes ping-pong {
  0% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-5px);
  }

  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
}