@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");
body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}
.font-serif-elegant {
  font-family: "Playfair Display", serif;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.dark ::-webkit-scrollbar-thumb {
  background: #475569;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.nav-group {
  display: none;
}
.nav-group.active {
  display: block;
}

.hero-pattern {
  background-color: #065f46;
  background-image:
    radial-gradient(
      circle at 100% 100%,
      #047857 0,
      #047857 3px,
      transparent 3px
    ),
    radial-gradient(circle at 0 0, #047857 0, #047857 3px, transparent 3px);
  background-size: 32px 32px;
}

.radio-custom:checked + label {
  background-color: #ecfdf5;
  border-color: #065f46;
}
.dark .radio-custom:checked + label {
  background-color: rgba(6, 95, 70, 0.3);
  border-color: #10b981;
}

.rapor-print {
  font-family: "Times New Roman", Times, serif;
  color: black;
  background: white;
}
.rapor-table th,
.rapor-table td {
  border: 1px solid #000;
  padding: 6px 8px;
}

.syahadah-bg {
  background-image: url("https://www.transparenttextures.com/patterns/cream-paper.png");
  background-color: #fffdf5;
  border: 20px solid transparent;
  border-image: url("https://img.freepik.com/free-vector/islamic-border-frame-with-golden-ornament_1017-31846.jpg")
    30 stretch;
}

.badge-segera {
  font-size: 0.55rem;
  padding: 0.15rem 0.3rem;
  border-radius: 0.25rem;
  background-color: #fef3c7; /* amber-100 */
  color: #b45309; /* amber-700 */
  font-weight: 800;
  margin-left: auto;
  white-space: nowrap;
}
.dark .badge-segera {
  background-color: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
}
