/* TOKSAVE VIDEO LOADING CARD VISUAL 20260623 */

.toksave-video-loading-card {
  opacity: .98;
}

.toksave-video-loading-preview {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    radial-gradient(circle at center, rgba(255, 45, 93, .18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.015)),
    #050505 !important;
  position: relative;
  overflow: hidden;
}

.toksave-video-loading-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  transform: translateX(-100%);
  animation: toksaveVideoLoadingShimmer 1.25s infinite;
}

.toksave-video-loading-play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 45, 93, .18);
  border: 1px solid rgba(255, 45, 93, .45);
  color: #fff;
  font-size: 26px;
  padding-left: 4px;
  box-shadow: 0 0 30px rgba(255, 45, 93, .24);
  animation: toksaveVideoLoadingPulse 1.1s infinite;
  z-index: 2;
}

.toksave-video-loading-card .toksave-tiktok-video-info h3 {
  color: #fff;
}

.toksave-video-loading-buttons button {
  opacity: .72 !important;
  cursor: wait !important;
}

@keyframes toksaveVideoLoadingShimmer {
  100% {
    transform: translateX(100%);
  }
}

@keyframes toksaveVideoLoadingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: .78;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .toksave-video-loading-play {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .toksave-video-loading-card .toksave-tiktok-video-info h3 {
    font-size: 21px !important;
    line-height: 1.18 !important;
    margin-bottom: 12px !important;
    -webkit-line-clamp: 2 !important;
    max-height: 2.8em !important;
  }
}

/* TOKSAVE DESKTOP VIDEO LOADING CARD 20260623 START */
@media (min-width: 769px) {
  .toksave-video-loading-card-ready {
    width: min(1040px, calc(100vw - 80px)) !important;
    margin: 48px auto 80px auto !important;
  }

  .toksave-video-loading-card {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 360px minmax(0, 1fr) !important;
    min-height: 420px !important;
    border-radius: 28px !important;
    overflow: hidden !important;
    background: rgba(18,18,18,.96) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 24px 70px rgba(0,0,0,.42) !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-preview {
    min-height: 420px !important;
    height: 420px !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-info {
    padding: 46px 52px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-platform {
    font-size: 17px !important;
    margin-bottom: 12px !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-info h3 {
    font-size: 34px !important;
    line-height: 1.16 !important;
    margin: 8px 0 22px 0 !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-meta {
    margin-bottom: 26px !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-buttons {
    width: min(540px, 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }

  .toksave-video-loading-card .toksave-tiktok-video-buttons button {
    width: 100% !important;
    min-height: 72px !important;
    border-radius: 20px !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }

  .toksave-video-loading-play {
    width: 78px !important;
    height: 78px !important;
    font-size: 30px !important;
  }
}
/* TOKSAVE DESKTOP VIDEO LOADING CARD 20260623 END */
