/* Container */
#wpitw-form {
  border: 2px dashed #0073aa;
  padding: 20px;
  max-width: 400px;
  margin: 20px auto;
  text-align: center;
  border-radius: 12px;
  background: #fefefe;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

/* File Input */
#wpitw-form input[type="file"] {
  margin-bottom: 15px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 80%;
}

/* Convert Button */
#wpitw-form button {
  background: linear-gradient(90deg, #0073aa, #00aaff);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#wpitw-form button:hover {
  background: linear-gradient(90deg, #005c87, #0088cc);
}

/* Message Box */
#wpitw-message {
  margin-top: 15px;
  font-size: 15px;
  padding: 10px;
  border-radius: 6px;
  animation: fadeIn 0.5s ease-in;
}

/* Loading Style */
#wpitw-message.loading {
  color: #555;
}

/* Success Box */
#wpitw-message.success {
  background: #e6f9ec;
  color: #1b7a32;
  border: 1px solid #1b7a32;
}

/* Error Box */
#wpitw-message.error {
  background: #fdecea;
  color: #a94442;
  border: 1px solid #a94442;
}

/* Download Button */
#wpitw-download-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #28a745;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

#wpitw-download-btn:hover {
  background: #1e7e34;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
