:root {
  --bg: #ffffff;
  --fg: #1f2937;
  --text-secondary: #6b7280;
  --primary: #0a95ff;
  --primary-hover: #0788f0;
  --border: #e5e7eb;
  --input-bg: #ffffff;
  --btn-radius: 999px; /* Pill shape */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  height: 100vh;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 40px 20px;
  text-align: center;
}

.title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 32px;
}

.btn {
  width: 100%;
  padding: 12px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn--google {
  background: white;
  border: 1px solid var(--border);
  color: #374151;
  font-weight: 500;
  margin-bottom: 24px;
}

.btn--google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.separator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  color: #9ca3af;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input {
  width: 100%;
  padding: 12px 16px 12px 50px;
  border: 1px solid var(--border);
  border-radius: 12px; /* Inputs slightly less rounded than buttons per image 1? Or pill? Image 1 looks slightly rounded but maybe not full pill. Let's stick to 12px or match btn. Image 1 inputs look like rounded rects, not full pills. */
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  background: var(--input-bg);
  color: var(--fg);
}

.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10, 149, 255, 0.1);
}

.input::placeholder {
  color: #9ca3af;
}

/* Disabled input state (for Login phase identifier) */
.input:disabled {
  background-color: #ffffff;
  color: #1f2937;
  cursor: default;
  opacity: 1;
}

.btn--primary {
  background: var(--primary);
  color: white;
  margin-top: 8px;
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  margin: 4px 0 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
}

.checkbox-label input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

.forgot-password {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}

.forgot-password:hover {
  text-decoration: underline;
}

.msg {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  background: #fee2e2;
  color: #dc2626;
  display: none;
}

.msg.success {
  background: #dcfce7;
  color: #16a34a;
}

.hidden {
  display: none !important;
}
