@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.container {
  width: 420px;
  padding: 35px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  text-align: center;
  color: #fff;
}

.container h2 {
  margin-bottom: 25px;
  font-weight: 500;
}

input[type="file"] {
  width: 100%;
  padding: 15px;
  border: 2px dashed rgba(255,255,255,0.5);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

input[type="file"]:hover {
  background: rgba(255,255,255,0.1);
}

button {
  margin-top: 20px;
  padding: 12px 20px;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff9966, #ff5e62);
  color: white;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

#status {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 400;
}

.loading {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.4);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

#confirmBox {
  margin-top: 20px;
  animation: fadeIn 0.4s ease-in-out;
}

#confirmBox button {
  width: 48%;
  margin: 5px 1%;
}

#yesBtn {
  background: linear-gradient(135deg, #00c853, #43a047);
}

#noBtn {
  background: linear-gradient(135deg, #d32f2f, #e53935);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}