.lg-modal-box {
  max-width: 520px;
}

.lg-modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.lg-modal-body::-webkit-scrollbar {
  width: 4px;
}
.lg-modal-body::-webkit-scrollbar-thumb {
  background: rgba(var(--black-color-rgb), 0.08);
  border-radius: 2px;
}

.lg-upload-area {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px dashed rgba(var(--black-color-rgb), 0.1);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  width: 100%;
}

.lg-upload-area:hover {
  border-color: rgba(var(--primary-color-rgb), 0.55);
  background: rgba(var(--primary-color-rgb), 0.04);
}

.lg-upload-area.has-image {
  border-style: solid;
  border-color: rgba(var(--primary-color-rgb), 0.3);
}

.lg-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 1rem;
  background: rgba(var(--black-color-rgb), 0.015);
  width: 100%;
}

.lg-upload-placeholder .bn-upload-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 0.25rem;
}

.lg-upload-placeholder .bn-upload-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.lg-upload-placeholder .bn-upload-text {
  font-size: var(--st-text-base);
  font-weight: 550;
}

.lg-upload-placeholder .bn-upload-hint {
  font-size: var(--st-text-xs);
}

.lg-final-preview {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
  padding: 0.75rem;
  background: rgba(var(--black-color-rgb), 0.02);
}

.lg-crop-box {
  max-width: 520px;
}

.lg-crop-container {
  border-radius: 12px;
}
