body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at center, #006400, #013220 80%);
  color: #fff;
  text-align: center;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 160px);
  padding-top: 50px;
}

header {
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border-bottom: 2px solid #28a745;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 1px 1px 5px #000;
}

.auth-section {
  margin: 20px auto;
  padding: 40px;
  background: rgba(0,0,0,0.85);
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(0,255,100,0.7);
  animation: fadeIn 1s ease-in-out;
  text-align: left;
  transition: all 0.3s ease;
}

.auth-section:hover {
  box-shadow: 0 0 45px rgba(0,255,100,0.9);
  transform: translateY(-5px);
}

.auth-section h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
  color: #00ff80;
  text-shadow: 1px 1px 3px #000;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 10px 8px;
  vertical-align: middle;
}

td:first-child {
  width: 40%;
  text-align: right;
  padding-right: 15px;
}

label {
  display: inline-block;
  font-weight: 600;
  margin: 0;
  vertical-align: middle;
  line-height: 1.2rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #28a745;
  border-radius: 10px;
  background: #0b0b0b;
  color: #fff;
  outline: none;
  font-size: 1rem;
  vertical-align: middle;
  transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #00ff80;
  box-shadow: 0 0 10px #00ff80;
  background: #111;
}

.error-message {
  font-size: 0.85rem;
  color: #ff4444;
  margin-top: 4px;
  min-height: 18px;
  transition: all 0.3s ease;
}

input[type="submit"],
input[type="reset"] {
  padding: 14px 25px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #28a745, #00ff80);
  transition: all 0.3s ease;
  margin-top: 15px;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px #00ff80;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: rgba(0,0,0,0.8);
  font-size: 0.9rem;
  border-top: 2px solid #28a745;
  box-sizing: border-box;
  width: 100%;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 768px) {
  .auth-section {
    width: 90%;
    padding: 25px;
  }

  td:first-child {
    width: 35%;
    text-align: left;
    padding-right: 10px;
  }
}
