
.form-group.row {
    display: flex;
    align-items: center;
}

.form-group label {
  margin-bottom: 2px;  /* Tightens space below label */
  font-size: 0.85rem;  /* Optional: make labels smaller */
}

.col-form-label {
    text-align: right; /* Ensures label text aligns right within its column */
}

.form-group > label.form-label-block {
    display: block !important;
    margin-bottom: 0.5rem; /* Adjust as necessary */
}

.mdb-select {
    width: 100%;
    padding: 10px;
}

.collapse-section {
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.collapse-section.borderblue {
    border: 3px solid #008;
}

.collapse-section.borderred {
    border: 3px solid red;
}

.collapse-header {
    cursor: pointer;
}
.collapse-toggle {
    position: absolute;
    left: 10px;
    top: 10px;
    cursor: pointer;
}
.fa-plus, .fa-minus {
    font-size: 18px;
}

.djve-button {
    display: inline-block;
}

.del-djve-button {
    padding: 2px 6px;
    font-size: 0.7rem;
}

.error-background {
    background-color: red !important;
}

/* Modal title size */
#confirmModalLabel {
    font-size: 1.5rem;
}

/* Increase list item text size */
#confirmModal .modal-body li {
    font-size: 1.0rem;
    line-height: 1.2;
    padding: 10px;
}

/* Adjust paragraph text size */
#confirmModal .modal-body p {
    font-size: 1.2rem;
}

/* Modal title size */
#dataFailDataModalLabel {
    font-size: 1.5rem;
    color: red !important;
}

/* Adjust paragraph text size */
#dataFailDataModal .modal-body p {
    font-size: 1.2rem;
}

/* Modal title size */
#dataGuardadoOKModalLabel {
    font-size: 1.5rem;
    color: green !important;
}

/* Adjust paragraph text size */
#dataGuardadoOKModal .modal-body p {
    font-size: 1.2rem;
}

@media print {
  body {
    font-size: 12px;
    margin: 0;
    padding: 0;
  }

  .btn, nav, footer, .no-print {
    display: none !important; /* Hide unnecessary elements */
  }

  .container, .row, .col {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Optional: scale the entire page */
  body {
    zoom: 50%; /* Adjust percentage as needed */
  }

  /* Prevent page breaks inside elements */
  .avoid-break {
    page-break-inside: avoid;
  }

  /* Force page break after specific elements */
  .page-break {
    page-break-after: always;
  }
}

@page {
  size: A4 portrait;
  margin: 10mm;
}

#pdf-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.overlay-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.overlay-spinner {
  position: relative;
  z-index: 1060;
  text-align: center;
}