/* Import a premium modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

/* Sleek Dark Mode Background */
body {
  background-color: #0d1117;
  background-image: radial-gradient(circle at top right, #1f2937, #0d1117);
  color: #c9d1d9;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* The Main Dashboard Card */
.container {
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle glowing accent line at the top */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #58a6ff, #a371f7);
}

h1, h2 {
  color: #ffffff;
  margin-bottom: 25px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Beautiful Inputs */
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
  outline: none;
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

/* Turns the ugly file input into a modern Dropzone */
input[type="file"] {
  width: 100%;
  padding: 20px;
  border: 2px dashed #30363d;
  border-radius: 12px;
  background-color: rgba(13, 17, 23, 0.5);
  color: #8b949e;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 25px;
}

input[type="file"]:hover {
  border-color: #58a6ff;
  background-color: rgba(88, 166, 255, 0.05);
}

/* Magically styles the gray "Choose File" button */
input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #238636, #2ea043);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-right: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

input[type="file"]::file-selector-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.4);
}

/* Primary Action Buttons */
button {
  width: 100%;
  background: linear-gradient(135deg, #58a6ff, #3182ce);
  color: white;
  padding: 16px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(88, 166, 255, 0.25);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}

/* Uploaded Files Links (Makes them look like premium clickable cards) */
a, .uploaded-file-item {
  display: block;
  background: #1f2937;
  border: 1px solid #30363d;
  padding: 16px;
  border-radius: 10px;
  margin-top: 15px;
  color: #58a6ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

a:hover, .uploaded-file-item:hover {
  border-color: #58a6ff;
  background: rgba(88, 166, 255, 0.1);
  transform: translateX(8px); /* Cool slide-in animation on hover */
}

/* Status Messages */
p {
  color: #8b949e;
  margin-top: 15px;
  font-size: 14px;
}