body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.container {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(44,204,113,0.1);
  max-width: 350px;
  width: 100%;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo {
  display: block;
  max-width: 240px;
  width: 100%;
  margin: 0 auto 2rem auto;
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #222;
  text-align: center;
}
.file-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}
.file-input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.custom-file-btn {
  background: #3498db;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.custom-file-btn:hover {
  background: #217dbb;
}
.file-name {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #555;
  text-align: center;
  min-height: 1.2em;
}
button[type="submit"] {
  background: #2ecc71;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 1rem;
  width: 100%;
}
button[type="submit"]:hover {
  background: #27ae60;
}
.img-preview {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(44,204,113,0.1);
  margin-top: 0.5rem;
  display: block;
}
.status {
  min-height: 1.2em;
  color: #555;
  text-align: center;
  margin-bottom: 0.5rem;
}
@media (max-width: 500px) {
  .container {
    padding: 1rem 0.5rem;
    max-width: 98vw;
  }
  h1 {
    font-size: 1.1rem;
  }
}
