:root {
  --primary: #378ADD;
  --primary-dark: #185FA5;
  --bg: #f8f9fa;
  --text: #1a1a1a;
  --text-muted: #555;
  --text-light: #777;
  --border: #ddd;
  --secondary-bg: #e9ecef;
  --secondary-hover: #dee2e6;
  --avatar-bg: #E6F1FB;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 420px;
  width: 100%;
  padding: 2rem;
}

h1 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.input-group {
  display: flex;
  gap: 8px;
}

input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

input[type="text"]:focus {
  border-color: var(--primary);
}

button {
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

button:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

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

.btn-secondary {
  background: var(--secondary-bg);
  color: var(--text-muted);
  margin-top: 1.5rem;
}

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

.greeting-view {
  text-align: center;
  padding: 1rem 0;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--avatar-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 auto 1rem;
}

.greeting-text {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.sub-text {
  font-size: 0.95rem;
  color: var(--text-light);
}

.loading {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-light);
}