.left-nav-link {
  width: 85%;
  display: block;
  padding: 8px 14px;
  text-align: left;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 500;
  border-radius: 8px;
  text-decoration: none;
  background: none;
  margin-bottom: 2px;
  transition: background 0.18s, color 0.18s;
  box-shadow: none;
  margin-left: 4px;
}
.left-nav-link:hover,
.left-nav-link.selected {
  background: #111;
  color: #fff;
}
.form-group label[for='signup-email'] {
  margin-top: 0;
}
:root {
  --mauve: #3a2a3d;
  --gradient-start: #2a1e2f;
  --gradient-end: #18181b;
  --tab-active: #ff9900;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #111
    url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="40" height="40" fill="%23111111"/><rect x="20" width="1" height="40" fill="%23181818"/><rect y="20" width="40" height="1" fill="%23181818"/></svg>')
    repeat;
  color: #fff;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
}

body {
  padding-top: 56px;
  background: #a8bba3;
}

body {
  padding-top: 56px;
}

#grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(85, 119, 85, 0.1) 0px,
      rgba(105, 150, 105, 0.1) 1px,
      transparent 1px,
      transparent 32px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(108, 148, 108, 0.1) 0px,
      rgba(80, 110, 80, 0.1) 1px,
      transparent 1px,
      transparent 32px
    ),
    url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR4nGNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=');
  mix-blend-mode: multiply;
}

.top-navbar.pill-navbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
  margin-bottom: 0;
  position: fixed;
  top: 24px;
  left: 0;
  z-index: 90;
}

.pill-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #23422a;
  border-radius: 18px;
  box-shadow: none;
  padding: 0 32px;
  min-height: 56px;
  max-width: 850px;
  width: 100%;
  gap: 32px;
}

.pill-navbar-logo {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  margin-right: 24px;
}

.pill-navbar-logo a {
  color: #fff;
  text-decoration: none;
}

.pill-navbar-logo a:visited {
  color: #fff;
}

.pill-navbar-logo a:hover {
  color: #e4e4e7;
}

.pill-navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1 1 auto;
  justify-content: center;
}

.pill-navbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 12px;
}

.pill-navbar .nav-link {
  color: #e4e4e7;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.pill-navbar .nav-link:hover {
  background: #232329;
  color: #fff;
}

.login-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 700;
  padding: 4px 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s;
}

.login-btn:hover {
  background: #e5e5e5;
  color: #000;
}

.login-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.login-card {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 4px 16px 0 rgba(31, 38, 135, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  padding: 28px 22px 22px 22px;
  max-width: 420px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: #f3f3f3;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.2s, background 0.2s;
  margin-bottom: 60px;
  min-height: 420px;
  box-sizing: border-box;
}

.login-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  width: 100%;
}
.tab-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.tab-btn.active {
  background: #23422a;
  color: #fff;
}

.login-form-wrapper {
  position: relative;
  min-height: 260px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
  width: 100%;
  transition: none;
  transform: none;
  will-change: auto;
  align-items: center;
}

.login-form.signup-form {
  transform: none;
}

.login-form.active {
  transform: translateX(0);
}

.show-signup .login-form.login-form {
  transform: translateX(-100%);
}
.show-signup .login-form.signup-form {
  transform: translateX(0);
}

.title-box {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(4px);
  color: #fff;
}

.login-title {
  display: none;
}

.login-subtitle {
  font-size: 1em;
  color: #e4e4e7;
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  width: 100%;
  align-items: flex-start;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #23422a;
}

.form-group label[for='login-password'],
.form-group label[for='signup-password'] {
  margin-top: 8px;
}

#signup-email {
  margin-top: 0;
}

.form-group input {
  padding: 7px 16px;
  border-radius: 7px;
  border: 1.2px solid #fff;
  font-size: 0.98em;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input[type='email'] {
  margin-bottom: 0;
}

.login-form .login-btn {
  margin-top: 16px;
}

.form-group input:focus {
  border-color: var(--tab-active);
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.login-btn[type='submit'] {
  background: #23422a;
  color: #fff;
  border: none;
  padding: 12px 0;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.login-btn[type='submit']:hover {
  background: #1a311a;
  color: #fff;
}

.signup-link {
  text-align: center;
  font-size: 0.9em;
  color: #fff;
}

.signup-link a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.signup-link a:hover {
  color: #2a1e2f;
}

.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-note {
  width: 100%;
  background: #23422a;
  color: #aaa;
  text-align: center;
  font-size: 0.92em;
  padding: 32px 0;
  letter-spacing: 0.04em;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

#app {
  flex: 1;
}

.login-container {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .login-container {
    margin-top: 80px;
  }
}

@media (max-width: 600px) {
  .login-card {
    padding: 40px 20px 20px;
  }
}
