/* Base & Typography */
body {
  font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Avatar Option Selection Ring */
.avatar-option.active {
  background-color: #1D4D43;
  color: #FFFFFF;
  border-color: #1D4D43;
}

.dark .avatar-option.active {
  background-color: #489B86;
  color: #0A1E1A;
  border-color: #489B86;
}

.font-quran {
  font-family: 'Amiri', serif;
}

/* Custom Scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tab Switching Styling */
.nav-tab.active {
  background-color: #1D4D43;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(29, 77, 67, 0.25);
}

.dark .nav-tab.active {
  background-color: #489B86;
  color: #0A1E1A;
}

/* Smooth Checkbox Button Animation */
.check-pill {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.check-pill:active {
  transform: scale(0.95);
}

/* Ripple Pulse for Sebha */
@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.4;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.sebha-glow {
  animation: pulse-ring 3s infinite ease-in-out;
}

/* Custom Checkbox Toggle */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.375rem;
  border: 2px solid #C7E2D9;
  background-color: transparent;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-checkbox:checked {
  background-color: #1D4D43;
  border-color: #1D4D43;
}

.dark .custom-checkbox:checked {
  background-color: #489B86;
  border-color: #489B86;
}

.custom-checkbox::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em white;
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox:checked::before {
  transform: scale(1);
}