* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f6f8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

h1 {
  margin-bottom: 10px;
  font-size: 26px;
  color: #333;
}

p {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

.upload-label {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 20px;
  transition: background 0.3s;
}

.upload-label:hover {
  background: #0056b3;
}

input[type="file"] {
  display: none;
}

.preview img {
  max-width: 100%;
  max-height: 300px;
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: none;
}

button {
  padding: 12px 24px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #218838;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}