/* ================================
   RenAero App Theme (Global)
   ================================ */

:root {
  --bg-dark: #05070f;
  --bg-midnight: #0b1020;
  --panel: #ffffff;
  --primary: #1e40ff;
  --primary-hover: #162fcc;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
  --radius: 22px;
}

/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(
      circle at top,
      #10142b,
      #05070f 70%
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  color: var(--text);
}

/* ================================
   App Shell
   ================================ */

.shell {
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 40px 32px 28px;
  box-shadow: 0 45px 100px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  animation: fadeIn 0.6s ease;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
}

/* ================================
   Branding
   ================================ */

.logo {
  width: 96px;
  margin: 0 auto 22px;
  display: block;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  margin: 0 0 14px;
}

p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 32px;
}

/* ================================
   INPUT — FIXED
   ================================ */

.input {
  width: 100%;
  height: 56px;                 /* 👈 makes it tall */
  padding: 0 18px;              /* 👈 inner spacing */
  font-size: 16px;              /* 👈 readable */
  border-radius: 16px;
  border: 1.5px solid var(--border);
  margin-bottom: 24px;          /* 👈 SPACE before button */
  outline: none;
}

.input:focus {
  border-color: var(--primary);
}

/* ================================
   BUTTON — FIXED
   ================================ */

button {
  width: 100%;
  height: 56px;                 /* 👈 same height as input */
  border-radius: 16px;
  border: none;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease;
}

button:hover {
  background: var(--primary-hover);
}

/* ================================
   LOADING — FIXED
   ================================ */

.loading {
  margin-top: 22px;             /* 👈 NOT glued to button */
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ================================
   FOOTER
   ================================ */

footer {
  margin-top: 36px;             /* 👈 space from content */
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ================================
   Animation
   ================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
