select#font-select,
select#font-select option {
  height: 60px;
  /* Adjust as needed */
  font-size: 30px;
  /* Adjust as needed */
}

.drawing-pad-container {
  text-align: center;
}

#drawing-pad-canvas {
  background: rgba(125, 125, 125, 0.2);
  width: 100%;
  height: 300px;
}

#box-drag-container {
  position: relative;
  margin: 20px 0;
}

.draggable-buttons-box {
  position: relative;
  top: 0;
  padding: 10px;
  width: calc(100% + 4.4rem);
  display: flex;
  gap: 5px;
  z-index: 5;
  margin-left: -2.2rem;
}

.draggable-buttons-box>button {
  z-index: 4;
  background-color: rgba(13, 110, 253, 0.1);
  flex: 1 1 auto;
  min-width: 2.5rem;
  max-width: 4rem;
}


.rotation-handle {
  width: 20px;
  height: 20px;
  border: 2px solid #3498db;
  background-color: rgba(52, 152, 219, 0.1);
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  position: absolute;
  cursor: grab;
  top: -30px;
  left: calc(50% - 10px);
}

.draggable-canvas {
  border: 2px solid #3498db;
  position: absolute;
  touch-action: none;
  user-select: none;
  top: 0px;
  left: 0;
  z-index: 100;
  cursor: grab;
  transition: transform 0.1s ease-out;
  background-color: rgba(52, 152, 219, 0.1);
  /* Light blue background */
}

.draggable-canvas:active {
  cursor: grabbing;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  /* Shadow on active drag */
}

.draggable-canvas:hover {
  border: 2px solid #2980b9;
  /* Darker border on hover */
  background-color: rgba(52, 152, 219, 0.2);
  /* Darken background on hover */
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
  max-height: 400px;
  overflow-y: auto;
}

.signature-list {
  max-height: 400px;
  overflow-y: auto;
}

.signature-list-item {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.signature-list-item:hover {
  background-color: #f8f9fa;
}

.signature-list-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.signature-list-name {
  font-weight: 500;
}

.signature-list-details {
  color: #6c757d;
  font-size: 0.875rem;
}

.signature-list-details small:not(:last-child) {
  margin-right: 1rem;
}

.view-toggle {
  text-align: right;
  padding: 0.5rem 1rem;
}

.input-with-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.input-with-icon .icon {
  position: absolute;
  left: 0.5rem;
  pointer-events: none;
  color: #aaa;
}

.input-with-icon input {
  padding-left: 2.2rem;
}

.small-file-container-saved {
  padding-top: 1px;
  position: relative;
  row-gap: 1px;
  height: 60px;
  width: 60px;
  top: 4px;
}

.small-file-container-saved:hover .drag-icon {
  display: flex;
}
