:root {
  --primary-color: #0964b0;
  --secondary-color: #6a0572;
  --background-gradient: linear-gradient(to right, #6a0572, #a908b7);
}

body {
  background: var(--background-gradient);
  min-height: 100vh;
  max-width: 100vw;
  padding: 5vmax;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  color: white;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

div {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 32px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

input[type="file"] {
  padding: 8px;
  border-radius: 5px;
  outline: none;
  background: white;
}

input[type="file"]::file-selector-button {
  background: var(--secondary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
}

input[type="file"]::file-selector-button:hover {
  background: #8d0a9d;
}

/* Button styles */
button {
  background: white;
  color: var(--secondary-color);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  margin: 10px;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
}

button:hover {
  background: var(--secondary-color);
  color: white;
  transform: scale(1.05);
  box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.3);
}

button:active {
  transform: scale(0.95);
  box-shadow: none;
}

.hidden {
    display: none;
}

#download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

#download-button:hover {
    background-color: #218838;
}
