body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f0f0f0;
  margin: 0;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 500px;
  width: 100%;
}

.card {
  background: #1e1e1e;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}

input[type="text"],
input[type="number"],
input[type="color"],
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background: #2b2b2b;
  color: #fff;
  border: none;
  border-radius: 8px;
  box-sizing: border-box;
}

input[type="file"] {
  padding: 5px;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #6200ee;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

button:hover {
  background: #3700b3;
  transform: translateY(-3px);
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-wrapper input[type="color"] {
  width: 40px;
  height: 40px;
  border: none;
  padding: 0;
  cursor: pointer;
}

.color-picker-wrapper span {
  font-family: monospace;
  font-size: 14px;
  color: #ccc;
}

.checkbox-wrapper {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hidden {
  display: none;
}

#loading {
  text-align: center;
  margin-top: 15px;
  color: #aaa;
  font-style: italic;
}

/* Smooth fade animations */
.fade-animate {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Smooth transitions for theme + fade between states */
body, .card, .form-control, .text-footer, .form-check-input, .form-check-label,
h1, h2, h3, label, .form-text {
  transition: background-color 0.5s ease, color 0.5s ease, opacity 0.3s ease;
}