/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  background: linear-gradient(135deg, #ece9e6, #ffffff);
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
  color: #333;
}

/* Container styling */
.converter-container {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.converter-container:hover {
  transform: translateY(-5px);
}

/* Header and subtext */
.converter-container h1 {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  color: #007BFF;
}

.subtext {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Dropdown styling */
.select-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.select-row label {
  font-size: 0.9rem;
  font-weight: 500;
}

.select-row select {
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Drop area styling */
.drop-area {
  border: 2px dashed #007BFF;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1rem;
  background: #f9f9f9;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}

.drop-area:hover {
  background: #f0f8ff;
  border-color: #0056b3;
}

.drop-area p {
  font-size: 1rem;
  color: #666;
}

.drop-area .browse {
  text-decoration: underline;
  color: #007BFF;
  font-weight: bold;
}

/* Button styling */
button {
  padding: 0.8rem 1.5rem;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover:not([disabled]) {
  background: #0056b3;
}

button[disabled] {
  background: #cccccc;
  cursor: not-allowed;
}

/* Add spacing below the Convert & Download button */
#convertBtn {
  margin-bottom: 1rem;
}

/* Privacy note styling with uniform margin */
.privacy-note {
  margin: 1rem 0;
  font-size: 0.85rem;
  color: #777;
  line-height: 1.4;
}

/* Donation button container with matching spacing */
.donation {
  margin: 1rem 0;
  padding: 0;
  display: inline-block;
}

/* Donation button styling */
.donate-button {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #28a745; /* Green background for donation */
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.donate-button:hover {
  background: #218838;
}
