.step {
  font-size: 15px;
  color: #353470;
  text-align: center;
}

.page-title h5 {
  color: #8654ff;
}

.page-title span {
  font-size: 13px;
  color: #797979;
}

.contract-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68vh;
  object-fit: contain;
  pointer-events: none;
}

.document-preview {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.document-preview img {
  display: block;
  pointer-events: none;
}

.sig-option {
  border: 2px dashed #c3cec9;
  border-radius: 7px;
  padding: 10px 5px;
  text-align: center;
  cursor: grab;
  background-color: #eafdf4;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.signature-initial {
  font-family: "Times New Roman", Times, serif;
  font-weight: bolder;
}

.sig-option:hover {
  opacity: 0.7;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.sig-option span {
  font-size: 0.8rem;
  color: #495057;
}

.sig-option.dragging {
  opacity: 0.5;
  cursor: grabbing;
  border-style: dashed;
}

.dropped-item {
  position: absolute;
  border: 2px dashed #c3cec9;
  background-color: #eafdf4;
  padding: 10px 5px;
  border-radius: 7px;
  font-size: 0.8rem;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  white-space: normal;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: auto;
  min-width: 80px;
}

@media (max-width: 425px) {
  .row.g-4 > .col-lg-8,
  .row.g-4 > .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  main.flex-grow-1 {
    padding: 1rem;
  }

  .page-title h5 {
    font-size: 17px;
  }

  header {
    width: 100%;
  }

  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .sidebar .menu-item:nth-child(3),
  .sidebar .menu-item:nth-child(4),
  .sidebar .menu-item:nth-child(6) {
    display: none;
  }

  .intercom-button {
    display: none;
  }
}
