:root{
  --bg:#0b1220;
  --card:#111f3a;
  --muted:#9fb0d0;
  --text:#eaf0ff;
  --accent:#4ea2ff;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #dfeecf;
  background-image: linear-gradient(120deg, rgba(118,169,90,0.28), rgba(246,210,110,0.30)), url('/static/images/LoginBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* CENTER WRAP */
.center-wrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
}

/* CARD */
.simple-card{
  background: rgba(17, 37, 58, 0.85);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:24px;
  width:100%;
  max-width:420px;
}

/* TITLE */
.simple-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
}

.logo{
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:contain;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding:4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.simple-title h2{
  margin:0;
  font-size:18px;
}

.simple-title p{
  margin:2px 0 0;
  font-size:12px;
  color:var(--muted);
}

/* FORM */
.form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.field.full{
  width:100%;
}

label{
  font-size:12px;
  color:var(--muted);
}

input, select{
  background: rgba(255,255,255,0.06);
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  color:var(--text);
  outline:none;
}

input:focus, select:focus{
  border-color: var(--accent);
}

/* BUTTONS */
.btn{
  border:none;
  background: rgba(10, 54, 2, 0.22);
  color:var(--text);
  border:1px solid rgba(78,162,255,0.35);
  padding:10px;
  border-radius:12px;
  cursor:pointer;
  transition:0.2s ease;
  font-weight:600;
}

.btn:hover{
  transform:translateY(-1px);
}

.btn.secondary{
  background: rgba(255,255,255,0.06);
  border-color: var(--border);
}

/* LINKS */
.small-link{
  color: var(--accent);
  text-decoration:none;
  font-size:12px;
}

.small-link:hover{
  text-decoration:underline;
}

/* FOOTER */
footer{
  border-top:1px solid var(--border);
  padding:14px 20px;
  font-size:12px;
  color:var(--muted);
}

.footer-wrap{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}
