html { color-scheme: light !important; background: #f2f6f3 !important; }
html, body, #root, #root > div, .MuiBox-root {
  background: #f2f6f3 !important;
  background-color: #f2f6f3 !important;
  color: #0b1a12 !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif !important;
}
body[data-theme] { background: #f2f6f3 !important; background-color: #f2f6f3 !important; }
header.MuiAppBar-root, .MuiAppBar-root { display: none !important; }

.MuiContainer-root { max-width: 420px !important; padding-top: 2.5rem !important; }

img[alt="Logo"] {
  height: 36px !important;
  width: auto !important;
  max-width: 200px !important;
  margin: 0 auto 1.25rem !important;
  display: block !important;
}

/* White card — created by fossgo-auth.js */
.fossgo-auth-card {
  background: #ffffff !important;
  border: 1px solid rgba(88, 129, 87, 0.25) !important;
  border-radius: 1.15rem !important;
  box-shadow: 0 12px 40px rgba(4, 6, 9, 0.08) !important;
  padding: 1.75rem 1.5rem 1.35rem !important;
  width: 100%;
  box-sizing: border-box;
}

.MuiTypography-h5, h5.MuiTypography-root {
  color: #0b1a12 !important;
  font-weight: 650 !important;
  font-size: 1.25rem !important;
  letter-spacing: -0.01em !important;
  text-align: center !important;
  margin: 0 0 1.25rem !important;
}
.MuiTypography-root, .MuiFormLabel-root, .MuiInputLabel-root, .MuiFormControlLabel-label {
  color: #0b1a12 !important;
}
.MuiInputLabel-root { font-weight: 550 !important; }
.MuiOutlinedInput-root, .MuiInputBase-root {
  background: #ffffff !important;
  border-radius: 0.75rem !important;
  color: #0b1a12 !important;
}
.MuiOutlinedInput-input, .MuiInputBase-input {
  color: #0b1a12 !important;
  -webkit-text-fill-color: #0b1a12 !important;
}
.MuiOutlinedInput-notchedOutline { border-color: #d4e0d7 !important; }
.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline { border-color: #7eb8e8 !important; }
.MuiCheckbox-root, .MuiCheckbox-root.Mui-checked { color: #588157 !important; }

.MuiButton-root.MuiButton-contained,
.MuiButton-root.MuiButton-containedPrimary,
button.MuiButton-contained,
button[type="submit"].MuiButton-root {
  background: #96c1a2 !important;
  background-color: #96c1a2 !important;
  background-image: none !important;
  color: #040609 !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 999px !important;
  min-height: 2.75rem !important;
  box-shadow: 0 0 26px rgba(150, 193, 162, 0.3) !important;
  width: 100% !important;
}
.MuiButton-root.MuiButton-contained:hover { background: #588157 !important; color: #040609 !important; }
.MuiButton-text, .MuiButton-textPrimary, .MuiLink-root, a {
  color: #588157 !important;
  text-transform: none !important;
}

.fossgo-auth-footer {
  display: block !important;
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.7rem;
  color: #5b6b62;
}
.MuiPaper-root { background: #ffffff !important; color: #0b1a12 !important; }
