.speculr-upload-image__container {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.speculr-upload-image__container {
  width: 100%;
  height: 100%;
  min-height: 50vh;
  min-width: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow: none;
  border-radius: 0;
  position: relative;
  padding: 1vh;
}

.speculr-upload-image__logo-wrapper {
  margin-bottom: 32px;
}

.speculr-upload-image__logo {
  display: block;
  margin: 0 auto;
  max-width: 180px;
  height: auto;
  margin-top: 24px;
}

.speculr-upload-image__subtitle {
  font-size: 20px;
  color: #222;
  font-style: italic;
  margin-bottom: 24px;
  margin-top: 0;
  text-align: center;
  font-weight: 100;
}

.speculr-upload-image__content {
  margin-bottom: 20px;
}

.speculr-upload-image__navigation {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 380px;
}

.speculr-upload-image__return,
.upload-image-btn {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.speculr-upload-image__return span,
.upload-image-btn span {
  font-size: 20px;
  color: #222;
}

/* Styling for the tips section */
.upload-image-tips {
  margin: 0;
  padding: 0 0 15px 0;
  text-align: center;
  margin-bottom: 45px;
}

.upload-image-tips .tips-title {
  font-size: 12px;
  font-weight: bold;
  color: #222;
  margin-bottom: 0;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-style: italic;
  margin: 0 0 2px 0;
}

.upload-image-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upload-image-tips li {
  font-size: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 100;
  text-align: center;
  font-style: italic;
}

/* End of tips styling */

.upload-image-placeholder {
  width: 420px;
  height: 20vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  /* Stack icon and text */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 5px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
  letter-spacing: 0.01em;
  overflow: hidden;
}

.upload-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 2px;
  /* border thickness */
  background: linear-gradient(to right, #CDFFD8, #94B9FF);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.upload-image-placeholder {
  margin-top: 10px;
  /* Space between icon and text */
  color: #222;
  font-size: 12px;
}

.upload-image-placeholder:hover,
.upload-image-placeholder.drag-over {
  /* Style for hover and drag-over */
  border-color: #94b9ff;
  /* Use a theme color */
}

.upload-image-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  object-fit: contain;
  margin: 10px auto;
  display: none;
}

/* Style for the remove image link */
.remove-image-link {
  display: none;
  /* Ensure it takes its own line */
  text-align: center;
  color: #222;
  font-size: 12px;
  cursor: pointer;
  font-weight: 100;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  text-decoration: none;
}

.remove-image-link:hover {
  color: red;
}

.upload-image-btn:disabled {
  background: transparent;
  cursor: not-allowed;
}

.speculr-upload-image__footer {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #222;
  font-size: 12px;
  font-weight: 100;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.speculr-upload-image__footer:hover {
  color: #94B9FF;
}

@media (max-width: 600px) {
  .speculr-upload-image__container {
    min-height: 70vh;
    height: 100vh;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
    box-sizing: border-box;
    position: relative;
  }

  .speculr-upload-image__footer {
    font-size: 12px;
    bottom: 12px;
  }

  .speculr-upload-image__content {
    margin-bottom: 0;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .speculr-upload-image__navigation {
    gap: 200px;
  }

  .upload-image-placeholder {
    width: 250px
  }

  .upload-image-tips {
    margin-bottom: 0;
    padding: 0;
  }

  .upload-image-preview {
    max-width: 100%;
    max-height: 100px;
  }
}