/* GLOBAL STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: #181a1b;
  /* Dark body background */
  color: #f0f0f0;
  /* Light text color */
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.page {
    margin: 0 auto; 
  width: 100%;
  max-width: 650px;
  background: #242526;
  /* Slightly lighter than body for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
}
/* The top menu that spans the full width */
.top-menu {
  width: 100%; /* Full width of the page */
  background-color: #242526;
  margin-bottom: 30px;
}

/* Inner container to limit or center the content if you want a max width */
.menu-content {
    max-width: 650px;
  margin: 0 auto; /* centers the content horizontally */
  padding: 1rem;
  display: flex;
}

/* List styling */
.menu-content ul {
  list-style: none;
  display: flex;
  gap: 2rem; /* space between items */
  margin: 0;
  padding: 0;
}

/* Menu links */
.menu-content a {
  color: #fff; /* white text */
  text-decoration: none; /* remove underline */
  font-weight: 500;
  transition: color 0.2s ease;
}

.menu-content a:hover {
  color: #bbb; /* hover color */
}

/* CONTAINER (the "card") */
.container {
  width: 100%;
  max-width: 650px;
  background: #242526;
  /* Slightly lighter than body for contrast */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin: 1rem;
}

/* HEADER */
h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #fff;
  /* Slightly brighter text for headings */
}

/* FORM GROUPS */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #cfcfcf;
  /* Lighter text for labels */
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"] {
  padding: 0.6rem;
  border: 1px solid #444;
  /* Dark border */
  border-radius: 4px;
  font-size: 0.95rem;
  background: #2c2c2c;
  /* Dark input background */
  color: #f0f0f0;
  /* Light text */
}

.form-group input[type="text"]::placeholder,
.form-group input[type="number"]::placeholder {
  color: #999;
  /* Placeholder color */
}

/* BUTTON */
#convert-btn {
  display: inline-block;
  background: #4d8af0;
  /* Primary dark-mode accent (blue) */
  color: #fff;
  padding: 0.7rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

#convert-btn:hover {
  background: #3677e0;
  /* Hover color */
}

/* DOWNLOAD LINK */
#download-link {
  display: none;
  /* hidden by default */
  margin-top: 1.5rem;
  font-size: 0.95rem;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  background: #28a745;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s ease;
}

#download-link:hover {
  background: #218838;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }
}
