.foto-component .foto-source-panel {
  display: none;
}

.foto-component .foto-source-panel.is-active {
  display: block;
}

.foto-component .foto-dropzone {
  min-height: 170px;
  border: 2px dashed var(--cor-borda);
  border-radius: var(--bs-border-radius);
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: var(--cor-painel-alt);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.foto-component .foto-dropzone input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.foto-component .foto-dropzone.is-dragging {
  border-color: var(--cor-acento);
  background: var(--cor-painel);
}

.foto-component .foto-dropzone-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cor-acento);
  color: #06251F;
  font-size: 24px;
  line-height: 1;
}

.foto-component video {
  width: 100%;
  min-height: 220px;
  max-height: 420px;
  background: #15191f;
  border-radius: var(--bs-border-radius);
  object-fit: cover;
}

.foto-component .foto-crop-stage-wrap {
  margin-inline: 0;
}

.foto-component .foto-crop-stage {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--cor-borda);
  border-radius: var(--bs-border-radius);
  background: var(--cor-painel-alt);
  overflow: hidden;
}

.foto-component .foto-crop-image {
  display: block;
  max-width: 100%;
}

.foto-preview,
.foto-component .foto-preview {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cor-borda);
  box-shadow: 0 0 0 1px var(--cor-borda), 0 14px 28px rgba(0, 0, 0, 0.35);
  background: var(--cor-painel-alt);
}

.foto-component .foto-preview-free,
.foto-preview.foto-preview-free {
  width: 100%;
  max-width: 240px;
  height: 220px;
  border-radius: var(--bs-border-radius);
}

.foto-component .cropper-point {
  width: var(--foto-cropper-point-size, 12px);
  height: var(--foto-cropper-point-size, 12px);
  background-color: var(--foto-cropper-handle-color, var(--cor-acento));
  opacity: 1;
}

.foto-component .cropper-line {
  background-color: var(--foto-cropper-handle-color, var(--cor-acento));
  opacity: var(--foto-cropper-line-opacity, 0.35);
}

.foto-component .cropper-point.point-ne,
.foto-component .cropper-point.point-nw,
.foto-component .cropper-point.point-se,
.foto-component .cropper-point.point-sw {
  width: var(--foto-cropper-corner-size, 14px);
  height: var(--foto-cropper-corner-size, 14px);
}

.foto-component .foto-toast-container {
  z-index: 1080;
}

.foto-component .foto-toast {
  min-width: min(360px, calc(100vw - 32px));
  border: 1px solid var(--cor-borda);
  border-radius: 8px;
  background-color: var(--cor-painel);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.foto-component .foto-toast .toast-header {
  border-bottom: 0;
  padding: 14px 16px 8px;
  background-color: var(--cor-painel);
  color: var(--cor-texto);
}

.foto-component .foto-toast .toast-body {
  padding: 0 16px 16px 44px;
  color: var(--cor-texto-suave);
}

.foto-component .foto-toast-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 18px;
}

.foto-component .foto-toast.is-success .foto-toast-icon {
  color: var(--bs-success);
}

.foto-component .foto-toast.is-error .foto-toast-icon {
  color: var(--bs-danger);
}

.foto-component .foto-toast.is-success {
  border-left: 5px solid var(--bs-success);
}

.foto-component .foto-toast.is-error {
  border-left: 5px solid var(--bs-danger);
}

@media (max-width: 991.98px) {
  .foto-component .foto-crop-stage {
    min-height: 320px;
  }

  .foto-preview,
  .foto-component .foto-preview {
    width: 150px;
    height: 150px;
  }

  .foto-component .foto-preview-free,
  .foto-preview.foto-preview-free {
    width: 100%;
    max-width: 220px;
    height: 190px;
  }
}

@media (max-width: 575.98px) {
  .foto-component .foto-crop-stage-wrap {
    padding-inline: var(--foto-mobile-crop-side-padding, 20px);
  }
}
