body {
  font-family: "Kanit", sans-serif;
  background-color: #fafafa;
  -webkit-tap-highlight-color: transparent;
}

.insta-card {
  background: white;
  border: 1px solid #dbdbdb;
  border-radius: 16px;
}

.status-pass {
  background-color: #0095f6;
  color: white;
}

.status-fail {
  background-color: #ed4956;
  color: white;
}

.custom-scroll {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #0095f6;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

.chart-container {
  position: relative;
  height: 250px;
  width: 100%;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0095f6;
}

.animate-fade-in {
  animation: fade-in 0.25s ease-out;
}

#pdpa-cookie-banner {
  display: none;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(420px, calc(100vw - 32px));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.16);
  padding: 20px;
  backdrop-filter: blur(10px);
  animation: pdpa-slide-up 0.35s ease-out;
}

.pdpa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #1e293b;
}

.pdpa-header svg {
  color: #0056b3;
  flex: 0 0 auto;
}

.pdpa-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
}

.pdpa-content {
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.pdpa-org {
  margin: 0 0 14px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.pdpa-org strong {
  color: #0f172a;
  display: block;
  margin-bottom: 4px;
}

.pdpa-link {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.pdpa-link:hover {
  border-bottom-color: #0056b3;
}

.pdpa-buttons {
  display: flex;
  gap: 10px;
}

.btn-pdpa-accept {
  flex: 2;
  background: #0056b3;
  color: #ffffff;
  border: none;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.btn-pdpa-accept:hover {
  background: #004494;
}

.btn-pdpa-close {
  flex: 1;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
}

.btn-pdpa-close:hover {
  background: #eef2f7;
}

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

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

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pdpa-slide-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  #pdpa-cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 16px;
  }
}
