/* Temporary layout overrides for the assessment login-gate modal (Blueprint teaser). */

.blueprint-teaser-modal .modal-header.blueprint-teaser-header {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: var(--bg-secondary);
}

[data-theme="dark"] .blueprint-teaser-modal .modal-header.blueprint-teaser-header {
  background: var(--bg-primary);
}

.blueprint-teaser-header-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.blueprint-teaser-header-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
}

.blueprint-teaser-header-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  color: #ffffff;
}

.blueprint-teaser-header-content h2,
.blueprint-teaser-header-content p {
  color: #ffffff !important;
}

.blueprint-teaser-header-content .blueprint-emoji {
  font-size: 3.5rem;
  margin-bottom: 0.75rem;
}

.blueprint-teaser-header-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.blueprint-teaser-header-content p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

.blueprint-teaser-perk-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 1rem 0;
  text-align: center;
}

.blueprint-teaser-perk-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: var(--bg-secondary);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  text-align: center;
}

.blueprint-teaser-perk-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.blueprint-teaser-perk-title .perk-emoji {
  font-size: 14px;
  line-height: 1;
}

.blueprint-teaser-perk-subtitle {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  white-space: normal;
}

html[data-theme="dark"][data-color-theme="spectrum"] .blueprint-teaser-perk-card,
body[data-theme="dark"][data-color-theme="spectrum"] .blueprint-teaser-perk-card {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #0f172a;
}

.blueprint-teaser-grid {
  align-items: stretch;
}

.blueprint-teaser-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.blueprint-teaser-video {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-height: 240px;
  display: flex;
}

.blueprint-dimensions-preview {
  margin-bottom: 0;
}

.login-prompt.blueprint-teaser-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.login-prompt ul {
  margin: 0;
}
