/* ZiyoAI — rollar, kirish sahifasi va demo rejim uchun qo'shimcha stillar */

/* --- app.css da yo'q bo'lgan yordamchi klasslar --- */
.bg-amber-50 { background-color: #fffbeb; }
.border-amber-200 { border-color: #fde68a; }
.hover\:bg-amber-100:hover { background-color: #fef3c7; }
.text-amber-800 { color: #92400e; }
.text-blue-900 { color: #1e3a8a; }
.gap-5 { gap: 1.25rem; }
.max-w-4xl { max-width: 56rem; }
.mb-0\.5 { margin-bottom: 0.125rem; }
.mt-3 { margin-top: 0.75rem; }
.space-y-10 > :not(:last-child) { margin-bottom: 2.5rem; }
@media (min-width: 40rem) {
  .sm\:items-end { align-items: flex-end; }
  .sm\:items-start { align-items: flex-start; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
}

/* --- Demo banner --- */
.z-demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  color: #78350f;
  font-size: 0.75rem;
  line-height: 1.1rem;
  text-align: center;
}
.z-demo-pill {
  flex-shrink: 0;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: #b45309;
  color: #fff;
  font-weight: 700;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

/* --- Rol belgisi (header) --- */
.z-role-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid transparent;
  white-space: nowrap;
}
.z-role-teacher { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.z-role-psychologist { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.z-role-parent { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.z-role-student { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }

/* --- Kirish sahifasi --- */
.z-landing-hero {
  padding: 2.5rem 0 0.5rem;
  max-width: 48rem;
}
.z-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d4ed8;
}
.z-landing-title {
  margin-top: 0.75rem;
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: clamp(1.75rem, 3.2vw + 1rem, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.z-landing-sub {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  max-width: 42rem;
}

.z-role-card {
  --accent: #1d4ed8;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem 1.25rem 1.125rem;
  text-align: left;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--accent);
  border-radius: 0.875rem;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}
@media (min-width: 64rem) {
  .z-role-card { min-height: 13.5rem; }
}
.z-role-card:hover,
.z-role-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.25);
  border-color: #cbd5e1;
  border-top-color: var(--accent);
  outline: none;
}
.z-role-card-student { --accent: #ea580c; }
.z-role-card-parent { --accent: #059669; }
.z-role-card-teacher { --accent: #1d4ed8; }
.z-role-card-psychologist { --accent: #7c3aed; }
.z-role-card-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}
.z-role-card-desc {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #475569;
}
.z-role-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}
.z-role-card-hint {
  font-size: 0.6875rem;
  color: #64748b;
  font-family: var(--font-mono);
}
.z-role-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

.z-step {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 1rem 1.125rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
}
.z-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* --- Kirish oynasi --- */
.z-demo-hints {
  padding: 0.75rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.5rem;
}
.z-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3125rem 0.625rem;
  font-size: 0.75rem;
  color: #1e3a8a;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  cursor: pointer;
}
.z-chip:hover { background: #dbeafe; }

/* --- Ota-ona kodi va izohlar --- */
.z-code-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.625rem 0.875rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.z-code {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  color: #0f172a;
}
.z-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  resize: vertical;
}
.z-textarea:focus { outline: none; border-color: #1d4ed8; }

.z-message-card {
  padding: 1rem 1.25rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 4px solid #1d4ed8;
  border-radius: 0.75rem;
}
.z-hero-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 70%);
  border: 1px solid #bfdbfe;
  border-radius: 0.875rem;
}
.z-timeline-phase + .z-timeline-phase {
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

@media print {
  .z-demo-banner { display: none !important; }
  .z-message-card, .z-hero-card { break-inside: avoid; }
}
