@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&family=Fraunces:wght@500;600&family=Hind+Siliguri:wght@400;500;600&display=swap');

:root {
  --bg: #07090C;
  --surface: #0D1117;
  --surface-2: #12171F;
  --border: #171D26;
  --text: #EDEDEC;
  --text-secondary: #9CA3AF;
  --text-muted: #4B5563;
  --accent: #5DCAA5;
  --accent-dark: #0F6E56;
  --purple: #7F77DD;
  --amber: #EF9F27;
  --radius: 14px;
  --font-body: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Fraunces', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

.app-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 20px 100px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(140deg, #5DCAA5, #378ADD);
  display: flex; align-items: center; justify-content: center;
}

.brand-name {
  font-weight: 500; font-size: 13px; letter-spacing: 1px; color: var(--text);
}

.card {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 12px;
}

.card-flat {
  background: var(--surface-2);
  border: 0.5px solid var(--border);
  border-radius: 13px;
  padding: 14px;
}

h1.display {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 4px;
}

label {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin: 14px 0 6px;
}

input, select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 0.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font-body);
}

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

button.primary {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #07090C;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

button.primary:hover { opacity: 0.9; }

.link-btn {
  background: none; border: none; color: var(--accent);
  font-size: 13px; cursor: pointer; padding: 0;
}

.role-tabs {
  display: flex; gap: 6px; justify-content: center; margin-top: 16px;
}

.role-pill {
  padding: 5px 12px; border-radius: 8px; font-size: 11px;
  border: 0.5px solid var(--border); color: var(--text-secondary);
  cursor: pointer;
}
.role-pill.active { background: var(--accent); color: #07090C; border-color: var(--accent); font-weight: 600; }

.error-msg { color: #F09595; font-size: 12px; margin-top: 10px; }

.progress-bar-track {
  height: 4px; border-radius: 3px; background: var(--border); overflow: hidden;
}
.progress-bar-fill {
  height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.icon-tile {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

.bottom-nav {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 40px); max-width: 440px;
  background: var(--surface); border: 0.5px solid var(--border);
  border-radius: 16px; padding: 3px; display: flex;
}
.bottom-nav a {
  flex: 1; text-align: center; padding: 10px; border-radius: 13px;
  text-decoration: none; color: var(--text-muted); font-size: 9px;
}
.bottom-nav a.active { background: var(--border); color: var(--accent); }
.bottom-nav i { font-size: 17px; display: block; margin-bottom: 4px; }
