body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  /* Background image */
  background: url('/static/images/Slide1.png') no-repeat center center fixed;
  background-size: cover;

  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Upload card */
.upload-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  width: 350px;
  padding: 20px;
  text-align: center;
}

/* Upload area */
.upload-area {
  background: #f0fff0;
  border-radius: 12px;
  padding: 40px 20px;
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background 0.2s;
}

.upload-area:hover {
  background: #e0ffe0;
}

.plus-icon {
  background: #28a745;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.upload-title {
  font-weight: bold;
  margin: 0;
  font-size: 18px;
}

.upload-subtitle {
  font-size: 14px;
  color: #555;
}

/* Detect button */
.detect-btn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
}

.detect-btn:hover {
  background-color: #218838;
}

/* Status box */
#upload-status {
  margin: 10px 0;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 5px;
  color: #333;
}

/* Header */
.header {
  position: absolute;
  top: 65px;               /* Distance from top */
  left: 50%;               /* Move to middle of page */
  transform: translateX(-50%);  /* Pull back half width → perfectly centered */
}

.logo {
  height: 60px;
  background: rgba(255, 255, 255, 0.7); /* soft white for contrast */
  border-radius: 8px;
  padding: 5px;
}

/* Footer */
.footer {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  color: #f5f5f5;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.footer a {
  color: #ffd700; /* golden email link */
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
