body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

*{
  font-size: 16px;
}

[hidden] {
  display: none !important;
}

.customWrapperReader {
  min-height: 100dvh;
  height: 100%;
  overflow-y: auto;
  width: 100%;
}

.pdfPreview canvas{
  display: block;
  user-select: none;
  width: 100% !important;
  height: auto !important;
}

.btn{
 font-size: 20px !important;
}

.btn-primary{
  background-color: #714B67 !important;
  border-color: #583c51 !important;
}

.accordion-button{
  background-color: #714B67 !important;
  border-color: #583c51 !important;
  color: #fff !important;
  font-size: 20px !important;
}
.accordion-body{
  font-weight: bold !important;
  background-color: #eae8e8;
}

.buttonSubmit{
  font-size: 32px !important;
}
.accordion-button::after{
  display: none;
}

/* Barra superiore della pagina rapporto */
.topBar {
  width: 100%;
  background-color: #cecece;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px;
  position: fixed;
  z-index: 1040;
}

/* Area firma (equivalente di react-canvas-draw: 400px di altezza con griglia) */
.signaturePad {
  position: relative;
  width: 100%;
  height: 400px;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(150, 150, 150, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 150, 150, 0.17) 1px, transparent 1px);
  background-size: 25px 25px;
  touch-action: none;
  cursor: crosshair;
}
.signaturePad canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.centerScreen {
  height: 100dvh;
  width: 100%;
  padding: 0;
  display: grid;
  place-items: center;
}
