/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to right, #1f4037, #99f2c8);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #333;
}

.container {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-size: 2rem;
  color: #1f4037;
  margin-bottom: 10px;
}

p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

input[type="file"] {
  display: block;
  margin: 15px auto;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  max-width: 400px;
  cursor: pointer;
  background: #f9f9f9;
}

button {
  background: #1f4037;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  margin: 10px 5px;
  transition: all 0.3s ease;
}

button:hover {
  background: #99f2c8;
  color: #1f4037;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.file-container {
  margin-top: 20px;
  width: 100%;
  max-width: 600px;
  text-align: left;
}

.file-container .file-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 15px 20px;
  margin: 10px 0;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.file-container .file-row p {
  margin: 0;
  font-size: 1rem;
  color: #333;
  word-break: break-all;
}

.file-container .file-row button {
  background: #1f4037;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.file-container .file-row button:hover {
  background: #99f2c8;
  color: #1f4037;
}

footer {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #666;
}

footer a {
  color: #1f4037;
  text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
  }

  button {
    font-size: 0.9rem;
  }
}
