/* ==========================================================================
   AgoràWasteMap — public site styles.

   Structure and layout come from demo/byebyproduct.html; the palette and
   type are remapped onto the VAIMEE tokens in css/vaimee.css, which this
   file expects to be loaded first.
   ========================================================================== */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button { font-family: inherit; }

/* ── Brand Tokens ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--mist);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Pages ── */
.page { display: none; }
.page.active { display: block; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 500;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: all 200ms ease; border: none;
  text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--navy); color: var(--white); padding: 13px 26px; font-size: 15px; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); padding: 11px 26px; font-size: 15px; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 8px 18px !important; font-size: 13px !important; }

/* ── Nav ── */
nav.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center; padding: 0 40px;
  background: var(--navy);
  transition: box-shadow 300ms ease;
}
nav.main-nav.scrolled { box-shadow: 0 1px 12px rgba(8, 42, 71, 0.28); }
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: #fff; flex-shrink: 0; cursor: pointer;
  text-decoration: none; background: none; border: none;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex: 1; justify-content: center; list-style: none;
}
.nav-links a, .nav-links > li > button {
  text-decoration: none; background: none; border: none;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--muted); cursor: pointer; padding: 0;
  display: flex; align-items: center; gap: 4px;
  transition: color 200ms ease;
}
.nav-links a:hover, .nav-links > li > button:hover,
.nav-links a.active, .nav-links > li > button.active { color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* ── Dropdown ── */
.nav-dd { position: relative; }
.nav-chevron { font-size: 10px; transition: transform 200ms; display: inline-block; }
.nav-dd.open .nav-chevron { transform: rotate(180deg); }
.nav-dd-panel {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 40px rgba(26,77,46,0.10);
  padding: 8px; min-width: 260px; z-index: 200; display: none;
  animation: dd-in 150ms ease;
}
.nav-dd.open .nav-dd-panel { display: block; }
@keyframes dd-in {
  from { opacity:0; transform:translateX(-50%) translateY(-6px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}
.dd-item {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  background: none; border: none; border-radius: 8px; padding: 10px 12px;
  cursor: pointer; text-align: left; transition: background 150ms;
  font-family: var(--font-body);
}
.dd-item:hover { background: var(--mist); }
.dd-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.dd-label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.dd-desc { font-size: 12px; color: var(--subtle); line-height: 1.4; }

/* ── Hamburger / Mobile menu ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu {
  position: fixed; top: 68px; left: 0; right: 0; z-index: 99;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 20px 24px; display: none; flex-direction: column; gap: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button {
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  background: none; border: none; cursor: pointer; text-align: left; padding: 0;
}

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: 68px; overflow: clip; background: var(--white);
}
.hero-content {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  padding: 100px 40px 80px;
  display: grid; grid-template-columns: 55fr 45fr; gap: 60px; align-items: center; width: 100%;
}
.hero-headline {
  font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; line-height: 1.1; color: var(--ink); margin-bottom: 24px;
}
.hero-headline .accent { color: var(--cyan-deep); font-style: italic; }
.hero-headline .soft { color: var(--subtle); }
.hero-body { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-pill {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  border: 1px solid var(--line); padding: 6px 14px; border-radius: var(--radius-sm);
  background: var(--white);
}
.hero-diagram { display: flex; align-items: center; justify-content: center; }

/* ── Sections ── */
.section { padding: 96px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--cyan-deep); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; color: var(--ink); line-height: 1.15; margin-bottom: 20px;
}
.section-body {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  max-width: 600px; margin-bottom: 48px;
}

/* ── How it works ── */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.how-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px;
}
.how-step {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; color: var(--cyan-deep); text-transform: uppercase; margin-bottom: 16px;
}
.how-icon { font-size: 28px; margin-bottom: 12px; }
.how-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.how-desc { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* ── Sectors ── */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.sector-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; transition: box-shadow 200ms, transform 200ms;
}
.sector-card:hover { box-shadow: 0 8px 32px rgba(26,77,46,0.10); transform: translateY(-2px); }
.sector-emoji { font-size: 32px; margin-bottom: 12px; display: block; }
.sector-name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.sector-products { font-size: 13px; color: var(--subtle); font-family: var(--font-mono); }

/* ── Regulatory ── */
.regulatory { background: var(--white); padding: 80px 0; }
.regulatory .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.regulatory .section-label { color: var(--cyan-deep); }
.regulatory .section-title { color: var(--ink); }
.regulatory .section-body { color: var(--muted); margin-bottom: 0; }
.reg-points { display: flex; flex-direction: column; gap: 16px; }
.reg-point {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px;
}
.reg-point-title { font-weight: 600; color: var(--ink); margin-bottom: 4px; font-size: 15px; }
.reg-point-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
}
.testimonial-quote { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-weight: 600; color: var(--ink); font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--subtle); font-family: var(--font-mono); margin-top: 2px; }

/* ── Footer ── */
.footer-policy { display: flex; gap: 16px; }
.footer-policy a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 200ms; }
.footer-policy a:hover { color: rgba(255,255,255,0.7); }

/* ── Inner page layout ── */
.inner-page-wrapper { padding-top: 68px; min-height: 100vh; background: var(--mist); }
.inner-page-header { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 0 14px; }
.inner-page-header-inner { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.inner-page-body { max-width: 900px; margin: 0 auto; padding: 48px 40px 80px; }
.breadcrumb {
  font-family: var(--font-mono); font-size: 12px; color: var(--subtle);
  margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}
.breadcrumb button {
  background: none; border: none; color: var(--cyan-deep); cursor: pointer;
  font-family: inherit; font-size: inherit; padding: 0; transition: color 200ms;
}
.breadcrumb button:hover { color: var(--navy); }
.page-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); color: var(--ink); margin-bottom: 8px; }
.page-subtitle { font-size: 15px; color: var(--muted); }

/* ── WIP ── */
.wip-page {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  min-height: calc(100vh - 120px); padding: 60px 40px;
}
.wip-badge {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--cyan-deep); background: rgba(196,98,45,0.1);
  padding: 6px 14px; border-radius: var(--radius-sm); margin-bottom: 28px;
}
.wip-title {
  font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; color: var(--ink); margin-bottom: 16px;
}
.wip-body {
  font-size: 17px; color: var(--muted);
  max-width: 480px; line-height: 1.7; margin-bottom: 36px;
}

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.blog-card {
  border-radius: 14px; padding: 28px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px; background: var(--white);
  transition: box-shadow 200ms, transform 200ms;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(26,77,46,0.10); transform: translateY(-2px); }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; }
.blog-category {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--cyan-deep); text-transform: uppercase; letter-spacing: 0.06em;
}
.blog-readtime { font-family: var(--font-mono); font-size: 11px; color: var(--subtle); }
.blog-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.blog-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; }
.blog-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.blog-date { font-size: 12px; color: var(--subtle); font-family: var(--font-mono); }
.blog-read-more {
  background: none; border: none; font-size: 13px; font-weight: 600;
  color: var(--cyan-deep); cursor: pointer; padding: 0; transition: color 150ms;
}
.blog-read-more:hover { color: var(--navy); }

/* ── News ── */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item-left { display: flex; flex-direction: column; gap: 6px; }
.news-tag {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan-deep); background: rgba(46,125,79,0.08);
  padding: 3px 8px; border-radius: 4px; width: fit-content;
}
.news-source { font-size: 13px; font-weight: 600; color: var(--ink); }
.news-date { font-size: 12px; color: var(--subtle); font-family: var(--font-mono); }
.news-item-right { display: flex; flex-direction: column; gap: 10px; }
.news-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.news-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Risorse ── */
.resource-category { margin-bottom: 40px; }
.resource-category-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line);
}
.resource-cat-icon { font-size: 22px; }
.resource-cat-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--ink); }
.resource-list { display: flex; flex-direction: column; gap: 2px; }
.resource-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-radius: 10px;
  background: var(--white); border: 1px solid var(--line); transition: box-shadow 150ms;
}
.resource-item:hover { box-shadow: 0 4px 16px rgba(26,77,46,0.08); }
.resource-item-info { display: flex; align-items: center; gap: 12px; }
.resource-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--white); background: var(--navy);
  padding: 3px 7px; border-radius: 4px; flex-shrink: 0;
}
.resource-name { font-size: 14px; color: var(--ink); }
.resource-item-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.resource-size { font-family: var(--font-mono); font-size: 12px; color: var(--subtle); }
.resource-download {
  background: none; border: 1.5px solid var(--cyan-deep); color: var(--cyan-deep);
  font-size: 12px; font-weight: 600; padding: 5px 14px; border-radius: 6px;
  cursor: pointer; transition: all 150ms; font-family: var(--font-body);
}
.resource-download:hover { background: var(--cyan-deep); color: var(--white); }

/* ── Chi siamo ── */
.about-section { margin-bottom: 56px; }
.about-section-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.about-mission-text { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; max-width: 720px; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.about-stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px 20px; text-align: center; }
.about-stat-value { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.about-stat-label { font-size: 13px; color: var(--subtle); }
.about-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-value-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.about-value-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.about-value-title { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.about-value-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
.about-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-team-card { border-radius: 12px; padding: 24px 16px; text-align: center; border: 1px solid var(--line); }
.about-team-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy);
  color: var(--white); font-family: var(--font-display); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.about-team-name { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.about-team-role { font-size: 12px; color: var(--subtle); font-family: var(--font-mono); }
.about-cta { background: var(--navy); border-radius: 16px; padding: 48px 40px; text-align: center; margin-top: 16px; }
.about-cta-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--white); margin-bottom: 12px; }
.about-cta-text { font-size: 15px; color: rgba(255,255,255,0.75); margin-bottom: 24px; }

/* ── Scroll animations ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; padding: 80px 32px 60px; }
  .hero-diagram { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .regulatory .section-inner { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .blog-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-team-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: flex; }
  nav.main-nav { padding: 0 24px; }
  .section-inner { padding: 0 24px; }
  .inner-page-header-inner { padding: 0 24px; }
  .inner-page-body { padding: 32px 24px 60px; }
  .footer-inner { padding: 0 24px; }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .about-team-grid { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Login overlay. The landing is public; this is where a session starts.
   -------------------------------------------------------------------------- */
#login-overlay {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(8, 42, 71, 0.72); backdrop-filter: blur(6px);
}
#login-overlay[hidden] { display: none; }

.login-card {
  position: relative; width: 100%; max-width: 460px;
  background: #fff; border-radius: var(--radius); padding: 40px 36px 30px;
  text-align: center; box-shadow: 0 24px 60px rgba(8, 42, 71, 0.28);
}
.login-card img { margin-inline: auto; }
.login-card h2 {
  margin-top: 16px; font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em; color: var(--navy);
}
.login-sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.login-note {
  margin-top: 14px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle);
}
.login-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--subtle);
}
.login-close:hover { color: var(--ink); }

.login-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0 20px; }
.role-choice {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; text-align: left; font-family: var(--font-body);
  transition: border-color .15s ease, background-color .15s ease;
}
.role-choice:hover { border-color: var(--cyan); background: var(--sky); }
.role-choice.active { border-color: var(--navy); background: var(--cyan-soft); }
.role-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.role-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.login-go { width: 100%; justify-content: center; }

@media (max-width: 460px) {
  .login-roles { grid-template-columns: 1fr; }
}

/* Draft placeholder, same convention as the VAIMEE site: a fact still to be
   supplied. Easy to spot on the page, easy to grep for. */
.ph {
  font-family: var(--font-mono); font-size: 0.82em; font-weight: 500;
  letter-spacing: 0; text-transform: none;
  background: #fff4d6; color: #8a5a00; border-radius: 3px; padding: 0.1em 0.4em;
}

/* --------------------------------------------------------------------------
   Stripped navigation: the bar carries only the logo and Accedi, and the
   footer only the identity. These override the demo rules above, which
   assumed link lists and a hamburger.
   -------------------------------------------------------------------------- */
.nav-actions { margin-left: auto; }

@media (max-width: 960px) {
  /* Nothing hides behind a hamburger any more, so keep Accedi reachable. */
  .nav-actions { display: flex; }
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

/* The bar is navy, so its single action needs the light treatment: a navy
   button on navy would disappear. */
nav.main-nav .btn-primary { background: var(--cyan); color: var(--navy-deep); }
nav.main-nav .btn-primary:hover { background: var(--cyan-hover); color: var(--navy-deep); }
nav.main-nav .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
nav.main-nav .btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* --------------------------------------------------------------------------
   Returning from the identity provider. The landing is the page Zitadel sends
   people back to, but it is not where they are going: the role decides that,
   and the token exchange takes a moment. Without this the landing paints and
   is then replaced, which reads as a flash of the wrong page.
   -------------------------------------------------------------------------- */
#auth-return { display: none; }

html.auth-callback body > *:not(#auth-return) { display: none !important; }
html.auth-callback #auth-return {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--cyan-deep) 100%);
}
.auth-return-inner { text-align: center; }
.auth-return-inner img { margin-inline: auto; }
.auth-return-inner p {
  margin-top: 14px; color: var(--on-navy);
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase;
}

/* Told on the card, where the choice is made. An alert would leave the
   visitor with nowhere to go but the page that refused them. */
.login-message {
  margin: 0 0 14px; padding: 10px 12px; border-radius: var(--radius-sm);
  background: #fff4d6; color: #7a4f00;
  font-size: 13px; line-height: 1.45; text-align: left;
}
.role-choice.unavailable { opacity: .45; }
.role-choice.unavailable .role-title::after {
  content: ' — non disponibile'; font-weight: 400; font-size: 11px; color: var(--muted);
}
.login-switch {
  margin-top: 10px; width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; color: var(--muted);
  text-decoration: underline;
}
.login-switch:hover { color: var(--ink); }
.login-switch[hidden] { display: none; }
