* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #1a1d24;
  color: #eef1f6;
  min-height: 100vh;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 60px 20px 40px;
}

.login {
  width: 100%;
  max-width: 380px;
}

.logo {
  display: block;
  width: 140px;
  margin: 0 auto 40px;
}

.welcome {
  margin-bottom: 32px;
}

h1 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 14px;
  color: #94a3b8;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  background: #252a33;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid transparent;
}

.field:focus-within {
  border-color: #ffffff;
}

.field-icon {
  width: 20px;
  height: 20px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.field-icon svg {
  width: 20px;
  height: 20px;
}

.field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-weight: 400;
}

.field input::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.icon-button {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding-left: 8px;
  display: inline-flex;
  align-items: center;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.remember {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 24px;
  color: #94a3b8;
  font-size: 15px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #374151;
  border-radius: 999px;
  transition: 0.2s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  top: 4px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background-color: #008000;
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
  box-shadow: 0 0 8px rgba(0, 128, 0, 0.4);
}

.primary {
  width: 100%;
  background: #000000;
  border: none;
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.recover {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 20px;
}

.recover:hover {
  text-decoration: underline;
}
