* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #e6f9f0, #f5fff9);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url('bg.jpg') no-repeat center/cover;
}

.container {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
}

/* Main Card */
.container {
  background: white;
  padding: 30px;
  border-radius: 20px;
  width: 380px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Title */
h1 {
  margin-bottom: 15px;
  color: #2e7d32;
}

/* Upload input */
input[type="file"] {
  margin: 15px 0;
}

/* Drag area */
#drop-area {
  border: 2px dashed #4caf50;
  padding: 25px;
  border-radius: 15px;
  background: #f1fff5;
  cursor: pointer;
  transition: 0.3s;
}

#drop-area:hover {
  background: #e0f7ea;
}

/* Image preview */
img {
  margin-top: 15px;
  border-radius: 15px;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
}

/* Loader */
#loader {
  margin-top: 15px;
  font-weight: bold;
  color: #2e7d32;
}

/* Result */
#label-container {
  margin-top: 15px;
}

#label-container p {
  margin: 5px 0;
  font-weight: 500;
}

/* Buttons */
button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: #4caf50;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: #388e3c;
}

/* Reset button slightly different */
#resetBtn {
  background: #f44336;
}

#resetBtn:hover {
  background: #d32f2f;
}

/* Hidden */
.hidden {
  display: none;
}