.image-cropper-field .image-cropper-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-cropper-field .image-cropper-actions .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.image-cropper-field .image-cropper-filename {
  font-size: 0.8rem;
  color: #6c757d;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.image-cropper-no-photo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 90px;
  height: 90px;
  min-width: 90px;
  min-height: 90px;
  box-sizing: border-box;
  border: 2px dashed #adb5bd;
  border-radius: 6px;
  background-color: #f8f9fa;
  cursor: pointer;
  color: #6c757d;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.image-cropper-no-photo i {
  font-size: 1.4rem;
}

.image-cropper-no-photo span {
  font-size: 0.65rem;
  text-align: center;
  line-height: 1.2;
}

.image-cropper-no-photo:hover {
  border-color: #0d6efd;
  background-color: #e8f0fe;
  color: #0d6efd;
}

.image-cropper-preview .image-cropper-photo {
  position: relative;
  display: inline-block;
  width: 90px;
  height: 90px;
  vertical-align: top;
}

.image-cropper-pdf {
  display: inline-flex;
  width: 90px;
  height: 90px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid #e4caca;
  border-radius: 6px;
  background: #fff7f7;
  color: #b42318;
  font-size: 11px;
  font-weight: 700;
}

.image-cropper-pdf i {
  font-size: 30px;
}

.image-cropper-preview .image-cropper-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #dc3545;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  font-size: 10px;
  box-shadow: none;
}

.image-cropper-preview .image-cropper-remove i {
  font-size: 10px;
  line-height: 1;
}

.image-cropper-preview .image-cropper-remove:hover {
  background: #bd2130;
}

.cropper-modal-container {
  background-color: #1a1e24;
  max-height: calc(100vh - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}

.cropper-modal-container img {
  max-width: 100%;
  display: block;
}

.image-cropper-modal {
  overflow: hidden !important;
}

.image-cropper-modal .modal-dialog {
  max-height: calc(100vh - 1rem);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.image-cropper-modal .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.image-cropper-modal .modal-body {
  overflow: hidden;
  max-height: calc(100vh - 10rem);
}
