.App {
  text-align: center;
  margin: 1rem;
  padding: 2rem;
  background-color: #f5f7fa;
  min-height: calc(100vh - 2rem);
  border-radius: 8px;
}

.container {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  > p {
    font-size: 1rem;
  }

  > em {
    font-size: .8rem;
  }
}

.dropzone {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border-width: 2px;
  border-radius: 8px;
  border-color: #e0e7ff;
  border-style: dashed;
  background-color: #f8faff;
  color: #6b7280;
  outline: none;
  transition: all 0.2s ease-in-out;

  &:focus {
    border-color: #2196f3;
    background-color: #f0f7ff;
  }

  &.disabled {
    opacity: 0.6;
  }
}

.thumbs_container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 16px;
  gap: 1rem;
}

.thumb {
  display: inline-flex;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  width: 100px;
  height: 100px;
  padding: 4px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

  > .loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .MuiCircularProgress-svg {
      background-color: white;
      border-radius: 50%;
      padding: 4px;
    }
  }

  > div {
    display: flex;
    minWidth: 0;
    overflow: hidden;

    > img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.success_check.success_check {
  background-color: #4caf50;
  border: 2px solid white;

  svg {
    color: white;
  }
}

// MUI Overrides
.MuiAccordion-root {
  .MuiAccordionDetails-root {
    padding: 24px;
  }

  .MuiTextField-root {
    .MuiOutlinedInput-root {
      .MuiOutlinedInput-input {
        padding: 12px 14px;
        border:none;

        &:focus {
          border:none;
          box-shadow: none;
        }


      }

      fieldset {
        top: 0;
      }
    }

    .MuiInputLabel-root {
      &.MuiInputLabel-shrink {
        transform: translate(14px, -9px) scale(0.75);
      }
    }

    .MuiFormHelperText-root {
      margin-top: 8px;
    }
  }

  .MuiSlider-root {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .MuiBox-root {
    &:last-child {
      margin-top: 2rem;
    }
  }
}