/* style.css — full updated stylesheet
   Uses Poppins for headline + Inter for UI text (Google Fonts import)
*/

/* --------- Fonts --------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* --------- Theme variables --------- */
:root{
  --bg: #f6fbf9;               /* very light green-ish background */
  --card: #ffffff;
  --accent: #4f9b5f;           /* primary green (matches button) */
  --accent-dark: #3e7b4b;
  --text: #0d1721;             /* nearly black for titles */
  --muted: #64748b;            /* subtitle / form labels */
  --radius: 14px;
  --glass: rgba(255,255,255,0.6);
  --shadow-strong: 0 28px 60px rgba(20,40,30,0.06);
  --shadow-soft: 0 8px 30px rgba(12,23,36,0.06);
  --ui-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --title-font: "Poppins", var(--ui-font);
}

/* --------- Reset & base --------- */
* { box-sizing: border-box; }
html,body{ height:100%; margin:0; background:var(--bg); color:var(--text); font-family:var(--ui-font); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a{ color:inherit; text-decoration:none; }

/* central layout */
.login-root{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:36px 20px;
}

/* card */
.card{
  width:100%;
  max-width:560px;
  background:var(--card);
  border-radius:var(--radius);
  box-shadow: var(--shadow-strong);
  padding:34px 46px 30px;
  position:relative;
}

/* ---- logo, title, subtitle ---- */
.logo-wrap{
  margin: 0 auto 6px;           /* tighten gap below logo */
  width:88px;
  height:88px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(180deg, rgba(255,255,255,0.7), rgba(250,250,250,1));
  box-shadow: 0 8px 20px rgba(16,32,24,0.04);
}

/* product title (using Poppins) */
.product-title{
  margin: 6px 0 2px;
  text-align:center;
  font-family:var(--title-font);
  font-size:30px;
  font-weight:800;
  letter-spacing:0.6px;
  line-height:1;
  text-transform:uppercase;
}

/* LEARNABLE black + ORBIT green splitted via inline spans */
.product-title .brand-black{ color:var(--text); display:inline-block; margin-right:8px; }
.product-title .brand-green{ color:var(--accent); display:inline-block; }

/* subtitle placed directly below title, smaller */
.subtitle{
  margin:8px 0 18px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
  font-weight:500;
  letter-spacing:0.1px;
}

/* --------- form styles --------- */
label{ display:block; font-size:13px; color:var(--muted); margin-top:6px; margin-bottom:6px; }
input[type="email"], input[type="password"], .form-control{
  width:100%;
  padding:14px 16px;
  border-radius:10px;
  border:1px solid #e6eef6;
  background:#fff;
  font-size:15px;
  outline:none;
  transition: box-shadow .15s ease, border-color .12s ease;
  -webkit-appearance:none;
}

input:focus{
  border-color:var(--accent-dark);
  box-shadow: 0 8px 30px rgba(79,155,95,0.08);
}

/* button */
.btn{
  display:inline-block;
  width:100%;
  margin-top:18px;
  padding:14px 18px;
  border-radius:12px;
  border:0;
  background:var(--accent);
  color:white;
  font-weight:700;
  font-size:16px;
  letter-spacing:0.3px;
  cursor:pointer;
  box-shadow: 0 18px 40px rgba(79,155,95,0.12);
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}

.btn:active{ transform: translateY(1px); }
.btn[disabled]{ opacity:.6; cursor:not-allowed; box-shadow:none; }

/* status / feedback */
.status{ margin-top:12px; min-height:22px; font-size:14px; color:var(--muted); }
.status-error{ color:#9b2c2c; }
.status-ok{ color:var(--accent-dark); }

/* powered by footer */
.powered{
  margin-top:18px;
  text-align:center;
  color:var(--muted);
  font-size:13px;
}
.powered strong{ color:var(--accent); font-weight:600; }

/* small helper */
.small{ font-size:12px; color:var(--muted); }

/* --------- layout adjustments for visual balance --------- */
.card { padding-bottom:32px; }
.logo-wrap img, .logo-wrap svg { width:64px; height:64px; object-fit:contain; }

/* slightly increase left alignment of form controls for big cards */
.card label + input{ margin-bottom:8px; }

/* subtle page background vignette/shine */
.login-root::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background: radial-gradient(600px 300px at 50% 12%, rgba(79,155,95,0.02), transparent 20%);
}

/* --------- responsive --------- */
@media (max-width:560px){
  .card{ padding:22px 20px; border-radius:12px; }
  .product-title{ font-size:20px; letter-spacing:0.4px; }
  .subtitle{ font-size:13px; margin-bottom:14px; }
  .logo-wrap{ width:72px; height:72px; margin-bottom:6px; }
  .btn{ padding:12px 14px; font-size:15px; }
}

/* final touch for accessibility focus */
:focus{ outline: 3px solid rgba(79,155,95,0.12); outline-offset:2px; }