/* =====================================================
   PORTAL PESERTA — Kurban Al-Ikhlas 1448 H
   Stylesheet untuk halaman login & dashboard peserta
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Amiri:wght@400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;

  --gold-300: #fcd34d;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;

  --surface: #ffffff;
  --surface-alt: #f8faf9;
  --surface-card: rgba(255, 255, 255, 0.85);
  --border: #e5e7eb;
  --border-light: #f3f4f6;

  --text-primary: #1a1a2e;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

  --gradient-hero: linear-gradient(135deg, #166534 0%, #14532d 50%, #1a3a2a 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(248,250,249,0.95) 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--surface-alt);
  line-height: 1.6;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  touch-action: pan-y;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   LOGIN PAGE
   ===================================================== */

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 12%, rgba(245, 211, 101, 0.14), transparent 28%),
    linear-gradient(135deg, #082f21 0%, #0f5c37 54%, #063522 100%);
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.login-page::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(34, 197, 94, 0.06) 0%, transparent 50%);
  animation: bgShift 20s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-5%, 3%); }
}

/* Decorative mosque silhouette */
.login-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
  pointer-events: none;
}

.login-card {
  background: rgba(247, 251, 248, 0.94);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.52);
  border-radius: 18px;
  padding: 42px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(22, 101, 52, 0.15);
  position: relative;
  z-index: 2;
  animation: cardSlideUp 0.6s ease-out;
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #f2d982, #c99a2e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin: 0 auto 16px;
  box-shadow: 0 18px 42px rgba(7, 94, 69, 0.24);
}

.login-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-900);
  margin-bottom: 4px;
}

.login-header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.login-form .form-group {
  margin-bottom: 20px;
}

.login-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--surface);
  transition: all 0.25s ease;
  outline: none;
}

.login-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.1);
}

.login-form input::placeholder {
  color: var(--text-muted);
}

.wa-input-wrapper {
  position: relative;
}

.wa-input-wrapper .wa-prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--green-600);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.wa-input-wrapper input {
  padding-left: 46px;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 101, 52, 0.3);
}

.login-btn:active {
  transform: translateY(0);
}

.login-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-btn .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.login-btn.loading .btn-text { display: none; }
.login-btn.loading .spinner { display: inline-block; }
.login-btn.loading::before { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 16px;
  display: none;
  border-left: 4px solid #dc2626;
  animation: shakeError 0.4s ease;
}

.login-error.show {
  display: block;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.login-footer a {
  color: var(--green-600);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.login-footer a:hover {
  color: var(--green-800);
}

.login-help {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================================================
   DASHBOARD LAYOUT
   ===================================================== */

.dashboard-page {
  display: none;
  min-height: 100vh;
  background: var(--surface-alt);
}

.dashboard-page.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ── Dashboard Header ── */
.dash-header {
  background: var(--gradient-hero);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-header-avatar {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  font-weight: 700;
}

.dash-header-info h2 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.dash-header-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.dash-logout-btn {
  padding: 8px 16px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-logout-btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Dashboard Content ── */
.dash-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ── Welcome Banner ── */
.welcome-banner {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: 28px 28px 24px;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.welcome-banner h1 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
}

.welcome-banner p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  position: relative;
}

/* ── Progress Card ── */
.family-switcher {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 14px 16px;
  margin: -8px 0 20px;
}

.family-switcher-label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.family-switcher strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.family-switcher select {
  min-width: 280px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-primary);
  font: inherit;
  font-weight: 600;
}

.progress-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.progress-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.progress-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.progress-badge {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.progress-badge.excellent {
  background: var(--green-100);
  color: var(--green-700);
}

.progress-badge.good {
  background: #dbeafe;
  color: #1d4ed8;
}

.progress-badge.needs-attention {
  background: #fef3c7;
  color: #b45309;
}

.big-progress {
  margin-bottom: 20px;
}

.big-progress-bar {
  height: 14px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.big-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 0%;
}

.big-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmerBar 2s infinite;
}

@keyframes shimmerBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.big-progress-info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.progress-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.progress-stat {
  text-align: center;
  padding: 16px 12px;
  background: var(--surface-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.progress-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-700);
  line-height: 1.2;
}

.progress-stat-value.gold { color: var(--gold-600); }
.progress-stat-value.red { color: #dc2626; }

.progress-stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ── Info Card ── */
.info-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
  border: 1px solid var(--border-light);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.info-card-header .icon {
  font-size: 1.3rem;
}

.info-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-item {
  padding: 12px 0;
}

.info-item-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.info-item-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Setoran Table ── */
.setoran-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

.setoran-table thead th {
  background: var(--green-50);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green-800);
  border-bottom: 2px solid var(--green-200);
}

.setoran-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.setoran-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.setoran-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.setoran-table tbody tr:last-child td {
  border-bottom: none;
}

.setoran-table tbody tr {
  transition: background 0.15s;
}

.setoran-table tbody tr:hover {
  background: var(--green-50);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.status-badge.lunas {
  background: var(--green-100);
  color: var(--green-700);
}

.status-badge.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.belum {
  background: var(--border-light);
  color: var(--text-muted);
}

/* ── Kelompok Card ── */
.member-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
}

.member-item.is-self {
  background: var(--green-50);
  border-color: var(--green-200);
}

.member-item:hover {
  border-color: var(--green-300);
}

.member-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.member-item.is-self .member-avatar {
  background: var(--green-600);
  color: #fff;
}

.member-info {
  flex: 1;
  min-width: 0;
}

.member-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.member-item.is-self .member-name::after {
  content: ' (Anda)';
  color: var(--green-600);
  font-weight: 700;
  font-size: 0.75rem;
}

.member-progress {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── WA Contact Button ── */
.wa-contact-card {
  background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(7, 94, 84, 0.2);
}

.wa-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(7, 94, 84, 0.35);
}

.wa-contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.wa-contact-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.wa-contact-text p {
  font-size: 0.8125rem;
  opacity: 0.8;
}

/* ── Footer ── */
.dash-footer {
  text-align: center;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.dash-footer a {
  color: var(--green-600);
  text-decoration: none;
  font-weight: 500;
}

/* ── Overflow on table ── */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* =========================================
   NEW FEATURES CSS
   ========================================= */

.pengumuman-banner {
  background: var(--gold-500);
  color: #854d0e;
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pengumuman-content {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.pengumuman-icon {
  margin-right: 10px;
  font-size: 1.1rem;
}

.tagihan-info {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.tagihan-header {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.tagihan-nominal {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.konfirmasi-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.konfirmasi-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.konfirmasi-form label {
  font-weight: 600;
  font-size: 0.875rem;
}

.konfirmasi-form select,
.konfirmasi-form input,
.konfirmasi-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: inherit;
}

.konfirmasi-form textarea {
  resize: vertical;
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--border-light);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 640px) {
  .login-card {
    padding: 28px 24px;
    border-radius: var(--radius-lg);
  }

  .login-logo {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .login-header h1 { font-size: 1.25rem; }

  .dash-content { padding: 16px 12px 40px; }

  .progress-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .progress-stat { padding: 12px 8px; }
  .progress-stat-value { font-size: 1.25rem; }

  .info-grid { grid-template-columns: 1fr; gap: 8px; }

  .info-card, .progress-card {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .welcome-banner {
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  .welcome-banner h1 { font-size: 1.1rem; }

  .family-switcher {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .family-switcher select {
    width: 100%;
    min-width: 0;
  }

  .setoran-table { font-size: 0.8125rem; }
  .setoran-table thead th,
  .setoran-table tbody td { padding: 10px 12px; }

  .wa-contact-card {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
  }
}

/* =====================================================
   MODERN ICON REFRESH
   ===================================================== */
:root {
  --icon-mosque: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V10l7-5 7 5v11'/%3E%3Cpath d='M9 21v-6a3 3 0 0 1 6 0v6'/%3E%3Cpath d='M12 5V2'/%3E%3Cpath d='M10 3h4'/%3E%3C/svg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='14' height='20' x='5' y='2' rx='2'/%3E%3Cpath d='M12 18h.01'/%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --icon-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m17 8-5-5-5 5'/%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3C/svg%3E");
  --icon-coins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='8' cy='6' rx='5' ry='3'/%3E%3Cpath d='M3 6v6c0 1.7 2.2 3 5 3s5-1.3 5-3V6'/%3E%3Cpath d='M16 9c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-.7 0-1.3-.1-1.9-.2'/%3E%3Cpath d='M16 15c2.9.2 5 1.4 5 3 0 1.7-2.2 3-5 3-2.2 0-4.1-.8-4.8-2'/%3E%3C/svg%3E");
  --icon-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
  --icon-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8Z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5'/%3E%3C/svg%3E");
  --icon-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.4 8.4 0 0 1-3.8-.9L3 21l1.9-5.7A8.4 8.4 0 0 1 4 11.5a8.5 8.5 0 0 1 17 0Z'/%3E%3C/svg%3E");
  --icon-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 21a2 2 0 0 0 3.4 0'/%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9'/%3E%3C/svg%3E");
}

.ui-icon,
.login-logo::before,
.login-btn::before,
.wa-contact-icon::before {
  content: '';
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  background: transparent var(--icon) center / contain no-repeat;
  flex: 0 0 auto;
}

.login-logo {
  font-size: 0 !important;
}

.login-logo::before {
  --icon: var(--icon-mosque);
  width: 2rem;
  height: 2rem;
  filter: brightness(0) saturate(100%) invert(15%) sepia(47%) saturate(1236%) hue-rotate(121deg) brightness(95%) contrast(98%);
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-btn::before {
  --icon: var(--icon-search);
  filter: brightness(0) invert(1);
}

.icon-phone { --icon: var(--icon-phone); }
.icon-upload { --icon: var(--icon-upload); }
.icon-coins { --icon: var(--icon-coins); }
.icon-user { --icon: var(--icon-user); }
.icon-tag { --icon: var(--icon-tag); }
.icon-bell { --icon: var(--icon-bell); }

.wa-prefix.ui-icon {
  width: 1.1rem;
  height: 1.1rem;
  filter: brightness(0) saturate(100%) invert(31%) sepia(43%) saturate(711%) hue-rotate(101deg) brightness(91%) contrast(89%);
}

.info-card-header .ui-icon {
  width: 1.3rem;
  height: 1.3rem;
  filter: brightness(0) saturate(100%) invert(27%) sepia(36%) saturate(1152%) hue-rotate(103deg) brightness(91%) contrast(90%);
}

.wa-contact-icon {
  font-size: 0 !important;
}

.wa-contact-icon::before {
  --icon: var(--icon-message);
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

.dash-logout-btn::before,
.login-footer a::before {
  content: '';
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 0.45rem;
  background: currentColor;
  vertical-align: -0.15em;
}

.dash-logout-btn::before {
  clip-path: polygon(15% 12%, 70% 12%, 70% 30%, 55% 30%, 55% 25%, 28% 25%, 28% 75%, 55% 75%, 55% 70%, 70% 70%, 70% 88%, 15% 88%);
}

.login-footer a::before {
  clip-path: polygon(40% 20%, 48% 28%, 32% 44%, 85% 44%, 85% 56%, 32% 56%, 48% 72%, 40% 80%, 10% 50%);
}
