/* public> css> app.css*/
:root {
  --bg: #050816;
  --bg-soft: #0f172a;
  --accent: #f97316;
  --accent-soft: rgba(249,115,22,0.12);
  --accent-alt: #22c55e;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  --shadow-soft: 0 18px 60px rgba(15,23,42,0.55);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, -system-ui, sans-serif;
  --max-w: 1120px;
  --transition-fast: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(1200px at top, rgba(249,115,22,0.06), transparent), var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 20px 48px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 100px;
  width: auto;
  border-radius: 10px;
  display: block;
}

.logo-text {
  font-weight: 600;
  font-size: 38px;
  letter-spacing: 0.02em;
}

.logo-sub.tagline {
  margin-top: -15px;
  margin-left: 36px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 1.1rem;  /* qui aumenti */
  font-weight: 500;   /* se vuoi un pelo più grosso */
  letter-spacing: 0.04em; /* più “tech” */
}


.nav {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1.4fr);
  gap: 26px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-pre {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-title span {
  color: var(--accent);
}

.hero-sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.tag {
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,253,0.12);
  color: var(--muted);
}

.tag strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.btn {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  background: transparent;
  color: var(--text);
}

.btn-primary {
  background: linear-gradient(to right, var(--accent), #fb923c);
  color: #0f172a;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 70px rgba(249,115,22,0.35);
}

.btn-outline {
  border-color: rgba(148,163,253,0.18);
  background: rgba(9,9,11,0.9);
  color: var(--muted);
}

.btn-outline span.icon {
  font-size: 13px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(15,23,42,0.65);
}

.tooltip {
  position: relative;
}

/* Tooltip bubble */
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  padding: 6px 9px;
  font-size: 9px;
  line-height: 1.4;
  color: var(--text);
  background: rgba(9, 9, 11, 0.98);
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 253, 0.26);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.75);
  white-space: normal;
  max-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 50;
}

/* Freccetta */
.tooltip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: rgba(9, 9, 11, 0.98) transparent transparent transparent;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 49;
}

/* Mostra tooltip su hover/focus */
.tooltip:hover::after,
.tooltip:focus-visible::after,
.tooltip:hover::before,
.tooltip:focus-visible::before {
  opacity: 1;
}

.tooltip:hover::after,
.tooltip:focus-visible::after {
  transform: translateX(-50%) translateY(2px);
}


.hero-note {
  font-size: 10px;
  color: var(--muted);
}

.hero-note a {
  color: var(--accent);
}

.hero-card {
  background: radial-gradient(circle at top, rgba(249,115,22,0.22), transparent), var(--bg-soft);
  border-radius: var(--radius-2xl);
  padding: 16px 14px 14px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(148,163,253,0.12);
}

.hero-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-card p {
  font-size: 11px;
  color: var(--muted);
}

.hero-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 6px;
}

.mini {
  padding: 6px 7px;
  border-radius: 14px;
  background: rgba(9,9,11,0.96);
  border: 1px solid rgba(75,85,99,0.9);
  font-size: 9px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mini span.label {
  font-size: 8px;
  color: var(--accent-alt);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-main {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.metric-sub {
  font-size: 9px;
  color: var(--muted);
  margin-top: 2px;
}


.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 760px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
/* FIX: evita che contenuti lunghi allarghino le colonne */
.grid-2 > .card {
  min-width: 0;
}

/* FIX: spezza stringhe lunghissime (hash, tx, url) invece di sfondare */
.json-output,
.verify-output,
.metadata-status,
.form-msg,
.mono,
code,
a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* FIX: nei box di output metti scroll interno se serve */
.json-output,
.verify-output {
  max-width: 100%;
  overflow: auto;
}

.card {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148,163,253,0.12);
  font-size: 11px;
  color: var(--muted);
}

.card h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text);
}

.card ul {
  list-style: none;
  margin-top: 4px;
}

.card ul li {
  margin-bottom: 3px;
  padding-left: 12px;
  position: relative;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 10px;
}

.highlight-box {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 16px;
  background: var(--accent-soft);
  font-size: 10px;
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.45);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.pill {
  font-size: 9px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(9,9,11,0.96);
  border: 1px solid rgba(75,85,99,0.9);
  color: var(--muted);
}

.roi-label {
  font-size: 9px;
  color: var(--accent-alt);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 2px;
}

.form-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-size: 11px;
}

.form-block {
  margin-top: 8px;
  font-size: 11px;
}

input,
textarea,
select {
  width: 100%;
  padding: 6px 8px;
  margin-top: 2px;
  border-radius: 10px;
  border: 1px solid #374151;
  background: #020817;
  color: #e5e7eb;
  font-family: var(--font-main);
  outline: none;
  font-size: 11px;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  cursor: pointer;
}

#mint-model {
  font-weight: 500;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}


textarea {
  height: 80px;
  resize: vertical;
}

.form-msg {
  font-size: 9px;
  color: #9ca3af;
  margin-top: 6px;
}

.support-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}

.support-text {
  flex: 2 1 210px;
}

.support-note {
  font-size: 10px;
  color: #9ca3af;
  margin-top: 4px;
}

.contract-link {
  margin-top: 6px;
  font-size: 9px;
  color: #9ca3af;
}

.contract-link a {
  color: var(--accent);
}

.support-qr {
  flex: 1 1 140px;
  text-align: center;
  font-size: 10px;
  color: #9ca3af;
}

.qr-box {
  display: inline-block;
  padding: 6px;
  border-radius: 16px;
  background: transparent;
  border: 0px solid #374151;
  box-shadow: 0 10px 30px rgba(15,23,42,0.6);
}

.qr-box img {
  width: 120px;
  height: 120px;
  display: block;
}

.qr-note {
  font-size: 8px;
  color: #6b7280;
  margin-top: 4px;
}

.footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(75,85,99,0.55);
  font-size: 9px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer span strong {
  color: var(--accent);
  font-weight: 500;
}

/* Modale logo */

.logo-modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 18, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 80;
}

.logo-modal.active {
  display: flex;
}

.logo-big {
  width: min(520px, 90vw);
  height: auto;
  object-fit: contain;
  display: block;
}
/* --- MintingDapp: extra specifici --- */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.json-output {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  min-height: 220px;
  resize: vertical;
  white-space: pre;
  overflow: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 0.85em;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.metadata-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.metadata-status {
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}

.metadata-status strong {
  color: var(--accent);
}
.metadata-response-box{
  margin-bottom: 18px;
}

/* status ok/warn/err per notarization */
#notar-file-status.ok,
#notar-text-status.ok {
  color: rgba(52, 211, 153, 0.95);
}

#notar-file-status .btn.link,
#notar-text-status .btn.link {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  text-decoration: none;
  margin-left: 8px;
}

.tokenuri-input {
  width: 100%;
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px dashed #4b5563;
  background: #020617;
  color: #e5e7eb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
}

/* Responsive */

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-card {
    order: -1;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.verify-output {
  min-height: 80px;
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
}

.verify-output code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 10px;
}

.verify-attestation {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 0px;
  background: transparent;
  border: 0px solid rgba(148, 163, 253, 0.3);
}

.verify-attestation-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}

.verify-attestation-row {
  font-size: 10px;
  color: var(--muted);
}

.verify-attestation-row a {
  color: var(--accent);
  text-decoration: none;
}

.verify-attestation-row a:hover {
  text-decoration: underline;
}

#verify-file-btn{
  margin-top: 8px;
}
.tokenuri-compact {
  height: 32px;
  min-height: 32px;
  max-height: 50px;
  resize: vertical; /* o "none" se non vuoi proprio che si possa allargare */
  line-height: 1.4;
}
.mint-login-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: #111827;
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid #1f2937;
}

.login-card h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  color: #f9fafb;
}

.login-card p {
  margin: 0 0 16px;
  color: #9ca3af;
  font-size: 0.95rem;
}

.mint-password-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  margin-bottom: 12px;
}

.mint-password-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6;
}

.login-card .btn {
  width: 100%;
  justify-content: center;
}
.toggleRow{display:flex;align-items:center;gap:10px}
.toggleLabel{font-weight:900;cursor:pointer}
#booking-urgent{width:18px;height:18px}

.timeRow{display:flex;align-items:center;gap:12px}
#booking-time-range{flex:1}
.timePill{
  min-width:68px;
  text-align:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  font-weight:900;
}

.hint2{margin-top:6px;color:var(--muted);font-size:11px}

.bookingPreview .previewTitle{font-weight:950;margin-bottom:6px}
.bookingPreview .previewBox{
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px;
  background:rgba(255,255,255,.03);
  font-size:12px;
  line-height:1.35;
}

.booking-status.ok{color:rgba(52,211,153,.95);font-weight:900}
.booking-status.error{color:rgba(251,113,133,.95);font-weight:900}
.pickBtn{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--txt);
  cursor: pointer;
  font-weight: 700;
}
.pickBtn:active{ transform: translateY(1px); }
/* Booking: Giorno + Orario + Urgenza sulla stessa riga */
.bookingRow3{
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.form-block.compact label{
  margin-bottom: 6px;
}

.compactRow{
  display: flex;
  gap: 8px;
  align-items: center;
}

/* “max 4 cm” ≈ 160px (dipende da schermo, ma è la misura realistica in CSS) */
.form-block.compact input[type="date"],
.form-block.compact input[type="time"]{
  width: 160px;     /* ~4cm */
  max-width: 160px;
  min-width: 140px;
}

/* bottoni icona piccoli */
.pickBtn{
  width: 42px;
  min-width: 42px;
  padding: 10px 0;
  text-align: center;
}

/* Urgenza compatta */
.urgentBox{
  min-width: 140px;
}
.toggleRow{
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Mobile: va a capo in modo pulito */
@media (max-width: 720px){
  .bookingRow3{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-block.compact input[type="date"],
  .form-block.compact input[type="time"]{
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  .pickBtn{
    width: 44px;
    min-width: 44px;
  }
}
/* =========================
   MINT HEADER — MOBILE CENTER
   ========================= */
@media (max-width: 768px){

  header{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
  }

  header .logo-wrap{
    width:100%;
    display:flex;
    justify-content:center;
  }

  header .logo-block{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  header .logo-sub.tagline{
    text-align:center;
  }

  header .nav{
    width:100%;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;      /* se sono tanti tasti, vanno a capo ma restano centrati */
    gap:12px;
  }

  header .nav a{
    text-align:center;
  }
}
/* ===== Modal Tutorial Phantom ===== */
#phantomTutorialModal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 9999;
  background: rgba(0,0,0,.65);
}

#phantomTutorialModal.open{
  display: flex;
}

.phantom-tutorial-card{
  width: min(820px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 16px;
  background: #111;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.phantom-tutorial-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.phantom-tutorial-head h2{
  font-size: 16px;
  margin: 0;
  opacity: .95;
}

.phantom-tutorial-close{
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  cursor: pointer;
}

/* slider */
.phantom-slider{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px;
}

.phantom-sbtn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
}

.phantom-sframe{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.35);

  /* ✅ contenitore identico al "telefono" */
  aspect-ratio: 9 / 16;
  width: min(260px, 82vw);    
  height: auto;
  margin: 0 auto;
}

#phantomSlideImg{
  width: 100%;
  height: 100%;
  display: block;

  /* ✅ foto a filo: riempie sempre tutta la card */
  object-fit: cover;
  object-position: center;
}

.phantom-scounter{
  position:absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}

.phantom-caption{
  padding: 0 14px 14px;
}

.phantom-tag{
  display:inline-block;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  margin-bottom: 8px;
}

.phantom-text{
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255,255,255,.88);
}
/* Mobile: centra SOLO il bottone Mint */
@media (max-width: 900px){
  .tri-actions{
    justify-content: center;   /* centra le righe quando vanno a capo */
  }

  #mint-nft-btn{
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    /* opzionale: larghezza “bella” su mobile */
    width: min(320px, 50%);
  }
}
/* tokenURI pronto al mint: verde */
#mint-tokenuri{
  color: #2ee58f;            /* verde “ready” */
  font-weight: 800;
}

#mint-tokenuri::placeholder{
  color: rgba(255,255,255,.55);  /* placeholder neutro */
  font-weight: 600;
}
.tri-actions-status{
  display:flex;
  justify-content:space-between;
  margin-top:6px;
}

.btn-ok{
  font-size:12px;
  font-weight:800;
  color:#2ee58f; /* verde */
  min-height:16px; /* evita salti layout */
}

.btn-ok.error{
  color:#ff4d4d;
}
.tri-action { display:flex; flex-direction:column; gap:6px; }
.tri-badge { font-size:12px; min-height:16px; opacity:.95; }
.tri-badge.ok { color:#2ee58f; }
.tri-badge.error { color:#ff6b6b; }
.tri-badge.info { color:#fbbf24; }
.grid-2cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 980px){
  .grid-2cols{ grid-template-columns: 1fr; }
}
/* UPDATE: titolo giallo e più grande */
.update-card-title {
  color: #fbbf24;
  font-size: 22px;
  letter-spacing: .4px;
}

/* bottoni gialli solo nell’update */
.btn-upd-yellow {
  border-color: rgba(251,191,36,.55) !important;
  color: #fbbf24 !important;
}
.btn-upd-yellow:hover{
  box-shadow: 0 0 0 3px rgba(251,191,36,.10);
}
/* ===== BURN: titolo rosso ===== */
.burn-card-title{
  color: #ff0000;
  font-weight: 800;
}

/* ===== BURN: bottone burn rosso ===== */
#btn-burn{
  border-color: rgba(255, 0, 0, 0.55) !important;
  color: #ff0000 !important;
}

/* focus/click rosso (no arancio) */
#btn-burn:focus,
#btn-burn:focus-visible,
#btn-burn:active{
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}
/* ===== BURN: titolo rosso ===== */
.burn-card-title{
  color: #ef4444;
  font-weight: 800;
}

/* ===== BURN: bottone burn rosso ===== */
#btn-burn{
  border-color: rgba(239,68,68,.55) !important;
  color: #ef4444 !important;
}
/* =========================================================
   OVERRIDE HOVER/FOCUS: niente arancione, solo giallo/rosso
   (mettere SEMPRE in fondo al CSS)
   ========================================================= */

/* ---- UPDATE: bottoni gialli (i 3 + "Invia" se lo aggiungi) ---- */
#btn-upd-generate-json:hover,
#btn-upd-upload:hover,
#btn-upd-onchain:hover,
#btn-upd-open-token:hover,
.btn-upd-yellow:hover {
  color: #fbbf24 !important;
  border-color: rgba(251,191,36,.55) !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,.10) !important;
}

/* anche focus/active per sicurezza */
#btn-upd-generate-json:focus, #btn-upd-generate-json:active,
#btn-upd-upload:focus,        #btn-upd-upload:active,
#btn-upd-onchain:focus,       #btn-upd-onchain:active,
#btn-upd-open-token:focus,    #btn-upd-open-token:active,
.btn-upd-yellow:focus, .btn-upd-yellow:active {
  color: #fbbf24 !important;
  border-color: rgba(251,191,36,.55) !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,.10) !important;
}

/* ---- UPDATE: bottoni download (neri) -> hover giallo ---- */
#btn-upd-download-json:hover,
#btn-upd-download-cidgate:hover {
  color: #fbbf24 !important;
  border-color: rgba(251,191,36,.55) !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,.10) !important;
}

/* ---- UPDATE: reset (nero) -> hover giallo ---- */
/* UPDATE: bottoni neri -> hover/focus giallo (solo quando ci passi) */
.upd-hover-yellow:hover,
.upd-hover-yellow:focus,
.upd-hover-yellow:active {
  color: #fbbf24 !important;
  border-color: rgba(251,191,36,.55) !important;
  box-shadow: 0 0 0 3px rgba(251,191,36,.10) !important;
}

/* ---- BURN: bottone burn rosso ---- */
#btn-burn:hover,
#btn-burn:focus,
#btn-burn:active {
  color: #ef4444 !important;
  border-color: rgba(239,68,68,.55) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}

/* ---- BURN: bottone "importa" nero -> hover rosso ---- */
#btn-burn-load:hover,
#btn-burn-load:focus,
#btn-burn-load:active {
  color: #ef4444 !important;
  border-color: rgba(239,68,68,.55) !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}
.upd-btn-report{
  font-size: 12px;
  margin-top: 6px;
  opacity: .92;
  min-height: 16px; /* così non balla */
}
.upd-btn-report.ok{ color:#2ee58f; }
.upd-btn-report.warn{ color:#fbbf24; }
.upd-btn-report.err{ color:#ef4444; }

/* UPDATE: bottoni in riga, report sotto ogni bottone */
.upd-actions-row { align-items: flex-start; }

.upd-btn-wrap{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upd-btn-report{
  display: block;
  width: 100%;
  font-size: 12px;
  line-height: 1.25;
  opacity: 0.95;
  min-height: 16px; /* evita “saltelli” layout */
}

.button-row.tri-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:flex-start;
}

.tri-action{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.btn-row{
  display:flex;
  gap:10px;
  align-items:center;
}
.date-pick-btn {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 6px 10px;
  line-height: 1;
  cursor: pointer;
}

.date-pick-btn:hover {
  opacity: 0.85;
}
/* Notarization: link bianchi senza bordo */
.linkWhite{
  background: transparent !important;
  border: none !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.linkWhite:hover{
  opacity: .9;
  text-decoration: underline;
}
/* =========================
   ACCENT PER SEZIONE: UPDATE
   ========================= */
#update-token{
  --accent: #fbbf24;
}
/* =========================
   ACCENT PER SEZIONE: BURN
   ========================= */
#burn-nft{
  --accent: #ef4444;
}