:root {
  color-scheme: light;
  --preview-bg: #09152f;
  --preview-surface: rgba(8, 20, 44, 0.78);
  --preview-border: rgba(255, 255, 255, 0.14);
  --preview-text: #f7f9ff;
  --preview-muted: rgba(247, 249, 255, 0.82);
  --preview-accent: #ef233c;
  --preview-accent-dark: #152a8a;
  --preview-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: "Poppins", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--preview-bg);
}

body {
  min-height: 100vh;
  color: var(--preview-text);
}

.preview-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(9, 21, 47, 0.88), rgba(21, 42, 138, 0.72)),
    url("/assets/img/login_background.jpg") center center / cover no-repeat;
  transform: scale(1.04);
}

.preview-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(239, 35, 60, 0.34), transparent 36%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.12), transparent 32%);
}

.preview-card {
  position: relative;
  width: min(560px, 100%);
  padding: 32px;
  border: 1px solid var(--preview-border);
  border-radius: 28px;
  background: var(--preview-surface);
  box-shadow: var(--preview-shadow);
  backdrop-filter: blur(14px);
}

.preview-logo {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
}

.preview-eyebrow {
  margin: 18px 0 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.preview-card h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.preview-card p {
  margin: 0;
}

.preview-description {
  margin-top: 16px;
  color: var(--preview-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.preview-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--preview-accent), #ff5f6d);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.preview-button-secondary {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.preview-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .preview-shell {
    padding: 18px;
  }

  .preview-card {
    padding: 24px;
    border-radius: 22px;
  }

  .preview-actions {
    align-items: stretch;
  }

  .preview-button,
  .preview-button-secondary {
    width: 100%;
    justify-content: center;
  }
}