@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* Custom class for the active thumbnail in Tag01 gallery - Các viền xung quanh ảnh của trang chi tiết điểm đến */
.uk-active .tc-active-thumb {
  border-color: #0088ff !important;
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.7) !important;
  transform: scale(0.98) !important;
}

/* === Testing Mode Popup Premium Styles === */
.testing-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testing-overlay.active {
  opacity: 1;
  visibility: visible;
}

.testing-modal {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 450px;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(235, 28, 36, 0.1);
}

.testing-overlay.active .testing-modal {
  transform: scale(1) translateY(0);
}

.testing-icon {
  width: 64px;
  height: 64px;
  background: rgba(235, 28, 36, 0.1);
  color: #eb1c24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(235, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0);
  }
}

.testing-title {
  font-size: 20px;
  font-weight: 700;
  color: #161616;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.testing-message {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-testing-close {
  background: #eb1c24;
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(235, 28, 36, 0.3);
}

.btn-testing-close:hover {
  background: #d31920;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 28, 36, 0.4);
}

/* Style for TikTok social share icon in the footer */
.tiktok-footer-icon {
  width: 32px !important;
  height: 32px !important;
}

/* Responsive copyright footer custom styling */
.copyright-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
}

.copyright-separator {
  display: none !important;
}

@media (min-width: 768px) {
  .copyright-container {
    flex-direction: row !important;
    gap: 0 !important;
  }
  .copyright-separator {
    display: inline !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    opacity: 0.5 !important;
  }
}

/* Custom font overrides to support Vietnamese correctly and avoid Georgia letter-spacing bugs on Windows */
.tc-title,
.global-font-title,
.font-playfair,
.font-georgia,
[class*="font-['Playfair_Display']"],
[class*="font-['Georgia']"] {
  font-family: "Playfair Display", "Lora", "Georgia", serif !important;
}

/* Custom breadcrumb interactive links style */
.tc-breadcrumb-link {
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}
.tc-breadcrumb-link:hover {
  color: #222 !important;
}
