/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Background with dark overlay */
  background: url("../media/MCServerZone_Webpage_Background.png") no-repeat center center fixed;
  background-size: cover; /* makes it scale to fill */
  background-color: #0a0a0a; /* dark fallback */
  color: #e8eef5;
}

.card {
  max-width: 560px;
  width: 90%;
  margin: 2rem;
  background: rgba(16, 24, 38, 0.92); /* translucent to let bg show */
  border: 1px solid #1f2a3a;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.5);
  padding: 32px;
  backdrop-filter: blur(6px);
}

h1, h2 {
  font-weight: 600;
  margin-top: 0;
}

label {
  display: block;
  margin: .75rem 0 .25rem;
  font-size: 0.95rem;
  font-weight: 500;
}

input[type=text] {
  width: 100%;
  padding: .75rem;
  border-radius: 10px;
  border: 1px solid #2a3a50;
  background: #0c131d;
  color: #e8eef5;
  font-size: 1rem;
}

input[type=text]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.35);
}

button {
  display: inline-block;
  margin-top: 1rem;
  padding: .75rem 1.5rem;
  border-radius: 10px;
  border: 0;
  background: #3b82f6;
  color: white;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease;
}

button:hover {
  background: #2563eb;
}

button:active {
  transform: scale(0.97);
}

small {
  color: #9ab;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .75rem;
  font-size: 0.95rem;
}

th, td {
  padding: 6px;
  border-bottom: 1px solid #22324a;
}

th {
  text-align: left;
  font-weight: 600;
}

td:last-child, th:last-child {
  text-align: right;
}