/* login.css — minimal, self-contained styling for login.php / setup_admin.php
   Publicly loadable (no auth) — contains no sensitive info, no JS. */

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background-color: #f2f3f5;
  color: #1a1a1a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.login-card {
  width: 100%;
  max-width: 400px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.login-card h1 {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  color: #1a1a1a;
}

.field { margin-bottom: 18px; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.field input[type="text"],
.field input[type="password"],
.field input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  background-color: #fafafa;
  border: 1px solid #cccccc;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  border-color: #4a90d9;
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
  background-color: #ffffff;
}

.submit-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff;
  background-color: #2f5fa3;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.submit-btn:hover { background-color: #274d85; }
.submit-btn:active { background-color: #203f6c; }
.submit-btn:focus-visible { outline: 3px solid rgba(74, 144, 217, 0.4); outline-offset: 2px; }

.error {
  margin-bottom: 18px;
  padding: 10px 14px;
  font-size: 14px;
  color: #7a1212;
  background-color: #fdecea;
  border: 1px solid #f5c2c0;
  border-left: 4px solid #c0392b;
  border-radius: 4px;
}

table.files {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}
table.files th, table.files td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #e5e5e5;
}
table.files a { color: #2f5fa3; text-decoration: none; }
table.files a:hover { text-decoration: underline; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.topbar a.logout { font-size: 13px; color: #888; text-decoration: none; }
.topbar a.logout:hover { color: #333; text-decoration: underline; }
