body {
  font-family: 'Tajawal', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

.bg-custom-red { background-color: rgb(254 242 242); }

.glass-card {
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  border: 1px solid #f3f4f6;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
}
.status-pending,
.status-placed { background-color: #fef2f2; color: #991b1b; }
.status-paid { background-color: #f0fdf4; color: #166534; }
.status-shipped,
.status-shipping { background-color: #eff6ff; color: #1e40af; }
.status-delivered { background-color: #ecfeff; color: #155e75; }
.status-canceled { background-color: #f3f4f6; color: #374151; }

.loader { border-top-color: #ef4444; animation: spinner 1.5s linear infinite; }
@keyframes spinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Auth */
.auth-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.05);
  padding: 24px;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  background: #f3f4f6;
  padding: 6px;
  border-radius: 999px;
}
.auth-tab {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  color: #6b7280;
  background: transparent;
}
.auth-tab.is-active {
  color: #ef4444;
  background: #ffffff;
  border: 1px solid #fecaca;
  box-shadow: 0 6px 10px rgb(239 68 68 / 0.08);
}
.auth-panel { display: none; }
.auth-panel.is-active { display: block; }
.auth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (min-width: 900px) {
  .auth-grid { grid-template-columns: 1fr 1fr; }
}
.auth-field label {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}
.auth-input-wrap { position: relative; }
.auth-input {
  width: 100%;
  margin-top: 8px;
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
}
.auth-input:focus {
  border-color: #fecaca;
  box-shadow: 0 0 0 2px #fee2e2;
}
.auth-toggle {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}
.auth-action {
  width: 100%;
  background: #ef4444;
  color: #ffffff;
  border-radius: 14px;
  padding: 12px;
  font-weight: 800;
}
.auth-status {
  font-size: 12px;
  color: #6b7280;
}
.auth-status.is-error { color: #dc2626; }
.auth-status.is-success { color: #16a34a; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
