.ie-wrapper {
  font-family: inherit;
  color: #333;
}
.ie-wrapper .image-enhancer-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}
.ie-wrapper #uploadForm {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  margin-top: 5%;
  border-radius: 10px;
}
.ie-wrapper .enhancer-description {
  text-align: center;
  font-weight: 500;
  color: #666;
}
.ie-wrapper .file-input-container {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ie-wrapper .custom-file-label {
  display: inline-block;
  padding: 12px 25px;
  background: white;
  color: black;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-weight: 600;
}
.ie-wrapper .custom-file-label:hover {
  background: #bbbfbe;
  color: black;
}
.ie-wrapper input[type="file"] {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.ie-wrapper .selected-file-name {
  color: #666;
  font-size: 14px;
}
.ie-wrapper .button {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s;
}
.ie-wrapper .enhance-button {
  background: #75ad3d;
  color: white;
}
.ie-wrapper .enhance-button:hover {
  background: #96c96b !important;
  color: white;
}
.ie-wrapper .download-button {
  background: #28a745;
  color: white;
}
.ie-wrapper .download-button:hover {
  background: #218838;
}
.ie-wrapper .message-container {
  padding: 15px;
  margin: 20px 0 10px;
  border-radius: 5px;
  min-height: 20px;
  font-weight: 500;
  text-align: center;
  display: none;
}
.ie-wrapper .message-container:not(:empty) {
  display: block;
}
.ie-wrapper .loading .message-container::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top-color: #399918;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 10px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.ie-wrapper .result-container {
  margin-top: 30px;
  width: 100%;
}
.ie-wrapper .result-container img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
.ie-wrapper .image-label {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  color: #555;
  font-size: 16px;
}
.ie-wrapper .image-comparison {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.ie-wrapper .image-container {
  flex: 1;
  min-width: 300px;
}
.ie-wrapper .download-button:focus,
.ie-wrapper .change-email-btn:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}
.ie-wrapper .loading .message-container {
  background-color: #399918;
  color: white;
}
.ie-wrapper .success .message-container {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}
.ie-wrapper .error .message-container {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  display: block !important;
}
.ie-wrapper .hidden-cf7-form {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
.ie-wrapper .visible-cf7-form {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 5px !important;
  padding: 20px !important;
  background-color: #f8f9fa !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
}
.ie-wrapper .email-info {
  background-color: #e9f0fd;
  border-radius: 6px;
  padding: 12px 15px;
  margin-top: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ie-wrapper .email-text {
  color: #3a7bd5;
  font-weight: 500;
}
.ie-wrapper .change-email-btn {
  background: none;
  border: none;
  color: #6c757d;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
  padding: 5px;
}
.ie-wrapper .change-email-btn:hover {
  color: #495057;
}
.ie-wrapper .stored-email-notice {
  background-color: #f0f9ff;
  border: 1px solid #d0e7ff;
  border-radius: 6px;
  padding: 10px 15px;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ie-wrapper .email-info-text {
  color: #0d6efd;
  font-size: 14px;
}
.ie-wrapper .email-actions {
  display: flex;
  gap: 10px;
}
