@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;
}
/* =========================================================
   INPUT KONTAK PROFIL
   ========================================================= */

.wa-local-input {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 40px;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.wa-local-input:focus-within {
  border-color: #065f46;
  box-shadow:
    0 0 0 3px
    rgba(6, 95, 70, 0.12);
}

.wa-local-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 3.2rem;
  padding: 0 0.8rem;
  border-right: 1px solid #cbd5e1;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 900;
}

.wa-local-input input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-size: 0.875rem;
}

.wa-local-input input::placeholder {
  color: #94a3b8;
}

.profile-field-note {
  margin-top: 0.35rem;
  color: #64748b;
  font-size: 0.69rem;
  line-height: 1.45;
}

.profile-field-note.is-processing {
  color: #b45309;
  font-weight: 700;
}

.dark .wa-local-input {
  border-color: #475569;
  background: #334155;
}

.dark .wa-local-input:focus-within {
  border-color: #34d399;
  box-shadow:
    0 0 0 3px
    rgba(52, 211, 153, 0.12);
}

.dark .wa-local-prefix {
  border-color: #475569;
  background: #1e293b;
  color: #e2e8f0;
}

.dark .wa-local-input input {
  color: #ffffff;
}

.dark .profile-field-note {
  color: #94a3b8;
}

.dark
.profile-field-note.is-processing {
  color: #fbbf24;
}

/* Identicon geometris MAJU */
.identicon-shell {
  border-radius: 28%;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08), 0 4px 12px rgba(15, 23, 42, .08);
  background: #ecfdf5;
}
.identicon-svg { display: block; width: 100%; height: 100%; }
.dark .identicon-shell { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 12px rgba(0,0,0,.25); }
