@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

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

:root {
  --accent: #2fd675;
  --bg-card: #10130f;
  --surface: #171b16;
  --border: rgba(255, 255, 255, 0.08);
  --text-primary: #f2f5f3;
  --text-secondary: #9ca6a1;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #05140c;
  font-family: "Inter", sans-serif;
}

.phone {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}

.auth-sheet {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  padding: 40px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sheet-title {
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.field-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.field-input {
  width: 100%;
  height: 56px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0 18px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  outline: none;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}

.field-input:focus {
  border-color: var(--accent);
}

.password-wrap {
  position: relative;
  margin-bottom: 20px;
}

.password-wrap .field-input {
  margin-bottom: 0;
  padding-right: 52px;
}

.toggle-eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  padding: 0;
}

.toggle-eye svg {
  width: 20px;
  height: 20px;
}

.login-btn {
  width: 100%;
  height: 56px;
  background: var(--accent);
  border: none;
  border-radius: 14px;
  color: #05140c;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 12px;
  transition: opacity 0.2s;
}

.login-btn:hover {
  opacity: 0.88;
}

.signup-text {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 22px;
}

.signup-text a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
