/* === Background animation === */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(-45deg, #000000, #1a1a1a, #ff6600, #cc5200);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  padding: 20px;
  box-sizing: border-box;
}

@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* === Logo === */
.logo {
  text-align: center;
  margin-bottom: 20px;
}
.logo img {
  max-width: 180px;
  width: 50%;
}

/* === Upload/Admin Card === */
.container {
  background: rgba(0, 0, 0, 0.9);
  padding: 30px;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.7);
  width: 100%;
  max-width: 800px;
  text-align: center;
  color: #fff;
  box-sizing: border-box;
}

.container h1 {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 600;
}

/* === Inputs & Dropdowns === */
.container input[type="text"],
.container input[type="time"],
.container select {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border 0.3s;
  box-sizing: border-box;
}
.container input:focus,
.container select:focus {
  border-color: #ff6600;
}

/* === Drop Area === */
#dropArea {
  border: 2px dashed #ff6600;
  border-radius: 15px;
  padding: 40px 20px;
  cursor: pointer;
  margin: 20px 0;
  background: rgba(255,102,0,0.05);
  transition: all 0.3s ease;
  font-size: 14px;
}
#dropArea:hover {
  background: rgba(255,102,0,0.15);
  box-shadow: 0 0 15px rgba(255,102,0,0.4);
}
#dropArea.dragover {
  border-color: #ff8800;
  background: rgba(255,200,100,0.2);
}

/* === Progress Bar === */
progress {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 8px;
  margin: 10px 0;
}
progress::-webkit-progress-bar {
  background: #333;
  border-radius: 8px;
}
progress::-webkit-progress-value {
  background: linear-gradient(90deg, #ff6600, #ffa64d);
  border-radius: 8px;
  box-shadow: 0 0 10px #ff6600;
}

/* === Upload Button === */
button {
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 15px;
  width: 100%;
  transition: background 0.3s;
}
button:hover {
  background: #e65c00;
}

/* === Admin Table === */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
  border-radius: 10px;
  overflow: hidden;
}

table th, table td {
  padding: 12px 15px;
  text-align: center;
}

table th {
  background: #ff6600;
  color: #000;
  font-weight: 600;
}

table tr:nth-child(even) {
  background: #1a1a1a;
}
table tr:nth-child(odd) {
  background: #111;
}

table td {
  color: #fff;
  border-bottom: 1px solid #333;
}

/* Action buttons */
a.download-btn {
  background: #ff6600;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
}
a.download-btn:hover {
  background: #e65c00;
}

a.delete-btn {
  background: #cc0000;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s;
}
a.delete-btn:hover {
  background: #990000;
}

/* === Mobile tweaks === */
@media (max-width: 480px) {
  .container {
    padding: 20px;
    border-radius: 15px;
  }
  .container h1 { font-size: 20px; }
  #dropArea { padding: 30px 10px; font-size: 13px; }
  button { font-size: 15px; padding: 12px; }
  table th, table td { padding: 8px; font-size: 12px; }
}
