@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
  --bg:          #f0f4ff;
  --card-bg:     #ffffff;
  --card-border: #e2e8f0;
  --text:        #1e293b;
  --text-muted:  #64748b;
  --input-bg:    #f8fafc;
  --input-border:#cbd5e1;
  --primary:     #0064f0;
  --primary-dark:#002878;
  --primary-hover:#0050f0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0f172a;
    --card-bg:     #1e293b;
    --card-border: #334155;
    --text:        #f1f5f9;
    --text-muted:  #94a3b8;
    --input-bg:    #0f172a;
    --input-border:#475569;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 100, 240, 0.08);
  padding: 40px 36px;
  width: 100%;
  max-width: 400px;
}

.form-box img {
  display: block;
  margin: 0 auto 24px;
  width: 120px;
  height: auto;
}

.form-box h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  margin-bottom: 28px;
}

.inputbox {
  margin-bottom: 20px;
}

.inputbox .input-wrapper {
  position: relative;
}

.inputbox input {
  width: 100%;
  height: 48px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  outline: none;
  font-size: 0.95rem;
  padding: 0 40px 0 14px;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.inputbox input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 100, 240, 0.12);
}

.inputbox input::placeholder {
  color: var(--text-muted);
}

.inputbox .bi {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
  pointer-events: none;
  line-height: 1;
}

.inputbox label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

button[type="submit"] {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background: var(--primary);
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  transition: background 0.2s, transform 0.1s;
  margin-top: 8px;
}

button[type="submit"]:hover {
  background: var(--primary-hover);
}

button[type="submit"]:active {
  transform: scale(0.98);
}

.version-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}
