/* Style the entire form */
.image-upload-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Style for file upload field */
.js-form-item-image {
  margin-bottom: 20px;
}

.js-form-item-image label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.js-form-item-image .form-managed-file {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Style for submit button */
.form-submit {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-submit:hover {
  background-color: #0056b3;
}

/* Style for result */
#image-upload-result {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

#image-upload-result h2 {
  font-size: 24px;
  color: #343a40;
  margin-bottom: 15px;
}

#image-upload-result img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#image-upload-result p {
  margin: 5px 0;
  font-size: 16px;
  color: #495057;
}

#image-upload-result p strong {
  font-weight: bold;
  color: #212529;
}

#image-upload-result .view-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

#image-upload-result .view-more-button:hover {
  background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .image-upload-form {
    padding: 15px;
  }

  #image-upload-result h2 {
    font-size: 1.2em;
  }

  #image-upload-result p {
    font-size: 0.9em;
  }

  #image-upload-result img {
    max-width: 100%;
  }
}
