.scheda-protetta {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 1100px;
  margin: 20px auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  position: relative;
  transition: filter 0.2s ease;
}

.scheda-protetta.oscurata {
  filter: blur(18px);
  pointer-events: none;
}

@media print {
  .scheda-protetta {
    display: none !important;
  }
}

.yp-brand-header {
  background: #090d16;
  color: #cbd5e1;
  font-size: 11.5px;
  padding: 8px 22px;
  border-bottom: 1px solid #1e293b;
}

.selettore-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.selettore-gruppo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex: 1 1 320px;
}

.selettore-gruppo label {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.selettore-select {
  padding: 9px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  flex: 1 1 260px;
  cursor: pointer;
}

.btn-ricarica {
  padding: 9px 14px;
  border: none;
  border-radius: 8px;
  background: #0f172a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ricarica:hover {
  background: #1e293b;
}

.yp-stato-caricamento {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}

.galleria-container {
  position: relative;
  background: #111111;
  height: 400px;
  overflow: hidden;
}

.galleria-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.watermark-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -30deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px,
    transparent 90px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.watermark-text {
  color: rgba(255, 255, 255, 0.28);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: rotate(-20deg);
  text-align: center;
  padding: 0 16px;
}

.galleria-controlli {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.galleria-btn {
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
}

.barra-economica {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
  gap: 15px;
}

.prezzo-box .label {
  font-size: 12px;
  text-transform: uppercase;
  opacity: 0.85;
  letter-spacing: 1px;
}

.prezzo-box .valore {
  font-size: 28px;
  font-weight: 800;
}

.commissione-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.commissione-badge i {
  font-size: 20px;
  color: #38bdf8;
}

.comm-label {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.85;
}

.comm-valore {
  font-size: 15px;
  font-weight: 700;
}

.scheda-immobile-riga {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px;
  background-color: #f8fafc;
}

.parametro-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
  min-width: 165px;
  flex: 1 1 200px;
}

.parametro-box i {
  font-size: 18px;
  color: #1d4ed8;
  margin-right: 12px;
  width: 22px;
  text-align: center;
}

.parametro-testo {
  display: flex;
  flex-direction: column;
}

.parametro-label {
  font-size: 10px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.parametro-valore {
  font-size: 13.5px;
  color: #0f172a;
  font-weight: 600;
}

.otp-section {
  padding: 25px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.otp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.otp-header i {
  color: #059669;
  font-size: 22px;
}

.otp-header h3 {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
}

.otp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.otp-input {
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  flex: 1 1 180px;
}

.btn-otp {
  background: #1d4ed8;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-otp:hover {
  background: #1e40af;
}

.btn-conferma {
  background: #059669;
}

.btn-conferma:hover {
  background: #047857;
}

.otp-status {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
