/* MIEFla login styles (dark theme) */
:root {
  --bg: #000;
  --card: #111;
  --muted: #9aa0a6;
  --accent: #ff2d2d;
  --text: #f1f3f4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
}
.container {
  width: min(420px, 90%);
  margin: 48px auto;
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #1f1f1f;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
  text-align: center;
}
.logo {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 8px auto;
}
h1 {
  margin: 8px 0 18px 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: .2px;
}
form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}
input[type="email"], input[type="password"], input[type="text"] {
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  background: #0c0c0c;
  color: #fff;
  font-size: 15px;
  outline: none;
}
input::placeholder {
  color: #6b7280;
}
button {
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  font-size: 15px;
  transition: filter 0.2s ease;
}
button:hover {
  filter: brightness(1.05);
}
.forgot {
  display: block;
  margin: 10px 0 0 0;
  color: var(--muted);
  text-decoration: underline;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  margin: 18px 0;
}
.divider span {
  background: transparent;
  padding: 0 .5rem;
}
.btn-google {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1f1f1f;
  border-radius: 10px;
  padding: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid #e6e6e6;
  margin-top: 10px;
  transition: background 0.2s ease, transform 0.1s ease;
}
.btn-google:hover {
  background: #f1f1f1;
  transform: translateY(-1px);
}
.btn-google img {
  display: block;
}
.fb-btn, .ios-btn {
  display: block;
  margin-top: 10px;
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #bbb;
  border: 1px dashed #333;
}
.disabled {
  pointer-events: none;
  opacity: .65;
}
.notice {
  background: #0f172a;
  color: #d1d5db;
  border: 1px solid #1f2937;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  text-align: left;
}