:root {
  --gh-bg: #f9fafb;
  --gh-panel: #ffffff;
  --gh-ink: #1f2937;
  --gh-ink-muted: #6b7280;
  --gh-brand: #2e7d32;
  --gh-brand-dark: #1b5e20;
  --gh-accent: #1565c0;
  --gh-secondary: #fbc02d;
  --gh-border: #e5e7eb;
  --gh-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

body.gh-body {
  margin: 0;
  font-family: "Poppins", "Noto Sans Devanagari", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at 6% 10%, rgba(46, 125, 50, 0.16), transparent 32%),
    radial-gradient(circle at 96% 4%, rgba(251, 192, 45, 0.18), transparent 22%),
    radial-gradient(circle at 80% 90%, rgba(21, 101, 192, 0.12), transparent 25%),
    linear-gradient(180deg, #f9fafb 0%, var(--gh-bg) 100%);
  color: var(--gh-ink);
}

.gh-font-en {
  font-family: "Montserrat", "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.01em;
}

.gh-font-hi {
  font-family: "Hind", "Noto Sans Devanagari", "Mukta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  word-spacing: 0.06em;
  letter-spacing: 0.005em;
}

.font-display {
  font-family: "Poppins", "Mukta", "Noto Sans Devanagari", sans-serif;
}

.gh-top-strip {
  background: linear-gradient(90deg, var(--gh-brand-dark) 0%, var(--gh-brand) 55%, var(--gh-brand-dark) 100%);
}

.gh-nav-shell {
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.06);
}

.gh-nav-link {
  position: relative;
}

.gh-nav-link-active {
  background: linear-gradient(135deg, var(--gh-brand) 0%, var(--gh-brand-dark) 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.25);
}

.gh-tab-shell {
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  padding: 1rem;
}

.gh-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gh-tab-btn {
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.gh-tab-btn:hover {
  border-color: rgba(46, 125, 50, 0.55);
  color: var(--gh-brand-dark);
}

.gh-tab-btn-active {
  border-color: var(--gh-brand);
  background: linear-gradient(135deg, var(--gh-brand) 0%, var(--gh-brand-dark) 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.28);
}

.gh-hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(130deg, var(--gh-brand-dark) 0%, var(--gh-brand) 42%, #14532d 100%);
}

.gh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(251, 192, 45, 0.22), transparent 30%);
  z-index: 0;
}

.gh-glass-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--gh-shadow);
  backdrop-filter: blur(8px);
}

.gh-brand-panel {
  background:
    linear-gradient(145deg, rgba(46, 125, 50, 0.95) 0%, rgba(27, 94, 32, 0.95) 70%),
    radial-gradient(circle at 85% 20%, rgba(251, 192, 45, 0.28), transparent 28%);
  box-shadow: var(--gh-shadow);
}

.gh-login-shell {
  background:
    linear-gradient(125deg, rgba(6, 95, 70, 0.96) 0%, rgba(15, 23, 42, 0.92) 58%, rgba(255, 255, 255, 0.92) 58%, rgba(255, 255, 255, 0.98) 100%);
  min-height: 680px;
}

.gh-login-blur-circle {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.28);
  filter: blur(8px);
  pointer-events: none;
}

.gh-feature-card {
  background: var(--gh-panel);
  border: 1px solid var(--gh-border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gh-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.gh-tag-chip {
  border: 1px solid rgba(46, 125, 50, 0.25);
  background: #f0fdf4;
  color: var(--gh-brand-dark);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.gh-tag-chip:hover {
  background: var(--gh-brand);
  border-color: var(--gh-brand);
  color: #ffffff;
  transform: translateY(-1px);
}

.gh-step-card {
  border: 1px solid var(--gh-border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1rem;
  padding: 1rem;
}

.gh-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.12);
  color: var(--gh-brand-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.6rem;
}

.gh-input {
  border: 1px solid rgba(229, 231, 235, 0.98);
  background: rgba(255, 255, 255, 0.95);
  color: var(--gh-ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gh-input:focus {
  border-color: var(--gh-brand);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.14);
}

.gh-status-pre {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.gh-photo-strip {
  scroll-snap-type: x mandatory;
}

.gh-photo-strip > a {
  scroll-snap-align: center;
  display: inline-block;
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.gh-disabled {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

.gh-coming-soon-card {
  border: 1px dashed var(--gh-border);
  background: rgba(249, 250, 251, 0.75);
  border-radius: 1rem;
  padding: 1rem;
}

.gh-badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(229, 231, 235, 0.98);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.25rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gh-toast-wrap {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.gh-toast {
  width: min(360px, calc(100vw - 32px));
  border-radius: 14px;
  border: 1px solid var(--gh-border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 12px 12px;
  color: var(--gh-ink);
}

.gh-toast-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.gh-toast-body {
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--gh-ink-muted);
  line-height: 1.5;
}

.gh-toast-success {
  border-left: 5px solid #16a34a;
}

.gh-toast-error {
  border-left: 5px solid #dc2626;
}

.gh-toast-info {
  border-left: 5px solid var(--gh-accent);
}

.animate-rise {
  animation: riseIn 500ms ease both;
}

.animate-rise.delay-1 {
  animation-delay: 70ms;
}

.animate-rise.delay-2 {
  animation-delay: 140ms;
}

.animate-rise.delay-3 {
  animation-delay: 210ms;
}

.animate-rise.delay-4 {
  animation-delay: 280ms;
}

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

@media (max-width: 1024px) {
  .gh-login-shell {
    background:
      linear-gradient(165deg, rgba(6, 95, 70, 0.96) 0%, rgba(15, 23, 42, 0.92) 50%, rgba(255, 255, 255, 0.98) 50%, rgba(255, 255, 255, 0.98) 100%);
    min-height: unset;
  }
}
