body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: linear-gradient(to right, #eef2f3, #dfe9f3);
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #4a90e2;
  color: white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0;
}

header form {
  display: flex;
  gap: 10px;
}

header form input[type=file] {
  background: white;
  padding: 6px;
  border-radius: 6px;
}

header form button {
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s;
}

header form button:hover {
  background: #e68900;
}

main {
  padding: 30px 40px;
}

#message p {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.progress-container {
  width: 100%;
  background: #ddd;
  border-radius: 10px;
  margin-bottom: 20px;
  height: 20px;
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: #4caf50;
  transition: width 0.3s;
}

.file-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 15px;
}

.file-card {
  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.file-card span {
  font-weight: 600;
}

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.download {
  background: #4caf50;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.download:hover {
  background: #3e8e41;
}

.delete-form {
  display: flex;
  gap: 5px;
}

.delete-form input {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.delete-form button {
  background: #e53935;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.delete-form button:hover {
  background: #c62828;
}
