/* General styling for the download box */
.download_box {
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 900px;
  position: relative;
}

.download_box.has_offset {
  margin-top: 40px;
}

/* Styling the fixed container */
.download_box .fixed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Form styling */
.download_box .form {
  width: 100%;
}

.download_box .fields {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}

.download_box .field {
  flex: 1;
}

/* Input styling */
.download_box .field input {
  width: 100%;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px;
  transition: border-color 0.3s ease;
}

.download_box .field input:focus {
  border-color: #007bff;
  outline: none;
}

/* Button styling */
.download_box .button {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(45deg, #6a11cb, #2575fc);
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.download_box .button:hover {
  background: linear-gradient(45deg, #2575fc, #6a11cb);
}

.result{margin:11px auto;
    padding:22px;
    border:2px solid #ddd;
    border-radius:9px;
}
.image{margin:11px auto;
    padding:22px;
    border:2px solid #ddd;
    border-radius:9px;
}
/* Responsiveness */
@media (max-width: 768px) {
  .download_box .fields {
    flex-direction: column;
    gap: 15px;
  }

  .download_box .button {
    width: 100%;
    text-align: center;
  }
}
/* General styling for the progress circle */
.progress-circle-wrapper {
  display: none; /* Initially hidden */
  margin: 20px auto;
  position: relative;
  width: 40px;
  height: 40px;
  text-align:center;
}

.progress-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid transparent;
  border-top-color: #2575fc;
  animation: spin 1s linear infinite;
  text-align:center;
}

/* Keyframes for spinning animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Display progress circle when active */
.progress-circle-wrapper.active {
  display: block;
}
.title{
    margin:11px auto;
}

.buttons, .button{
    margin-right:11px;
    border-radius:5px;
}
