#runts-rinnovo-root {
  max-width: 640px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #222;
  line-height: 1.5;
  padding: 8px 4px 40px;
}
#runts-rinnovo-root * { box-sizing: border-box; }

#runts-rinnovo-root h2 {
  font-size: 20px;
  color: #1F3864;
  margin: 10px 0 14px;
  border-bottom: 2px solid #E4DFCF;
  padding-bottom: 10px;
}

#runts-rinnovo-root .rif-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  margin-bottom: 10px;
}

#runts-rinnovo-root .rif-note {
  font-size: 13px;
  color: #666;
  margin-bottom: 16px;
}

#runts-rinnovo-root .rif-errore {
  color: #A23E3E;
  font-size: 13px;
  margin-top: 10px;
}

#runts-rinnovo-root .rif-pin-wrap,
#runts-rinnovo-root .rif-wrap {
  background: #fff;
  border: 1px solid #E4DFCF;
  border-radius: 8px;
  padding: 24px 22px;
}

#runts-rinnovo-root input[type="text"],
#runts-rinnovo-root input[type="password"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

#runts-rinnovo-root #rin-pin-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
#runts-rinnovo-root #rin-pin-input {
  flex: 1;
  padding: 10px 12px;
  font-size: 15px;
}

#runts-rinnovo-root .rin-atleta-row:hover {
  background: #F0F3F8;
  border-color: #1F3864;
}

#runts-rinnovo-root .rif-consenso {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #444;
  margin: 14px 0;
  cursor: pointer;
}
#runts-rinnovo-root .rif-consenso input {
  margin-top: 3px;
  flex-shrink: 0;
}

#runts-rinnovo-root #rin-canvas {
  border: 1px dashed #999;
  border-radius: 6px;
  width: 100%;
  max-width: 500px;
  height: 160px;
  touch-action: none;
  background: #fff;
  display: block;
  margin-top: 8px;
}

#runts-rinnovo-root .rif-canvas-actions {
  margin-top: 8px;
}

#runts-rinnovo-root .rif-btn-primary,
#runts-rinnovo-root .rif-btn-secondary {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 6px;
  cursor: pointer;
  border: none;
}
#runts-rinnovo-root .rif-btn-primary {
  background: #1F3864;
  color: #fff;
}
#runts-rinnovo-root .rif-btn-primary:disabled {
  background: #a9b4c6;
  cursor: not-allowed;
}
#runts-rinnovo-root .rif-btn-secondary {
  background: #EDEAE0;
  color: #333;
}
