:root {
  color-scheme: light;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #111111;
}

body {
  margin: 0;
  background: #ffffff;
  color: inherit;
}

.login {
  min-height: 100dvh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  color: #111111;
  font-family: inherit;
  padding: 2rem;
  box-sizing: border-box;
}

.login__card {
  width: min(90vw, 420px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(17, 17, 17, 0.1), 0 0 0 1px rgba(17, 17, 17, 0.04);
}

.login__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.login__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.login__logo:hover {
  transform: scale(1.05);
}

.login__logo img {
  display: block;
  width: 124px;
  height: 124px;
  filter: saturate(0.95);
}

.login__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #111111;
  line-height: 1.2;
  font-family: 'Courier Prime', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
    'Courier New', monospace;
}

.login__subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #666666;
  font-weight: 400;
}

.login__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.login__form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444444;
  font-weight: 500;
}

.login__form input {
  background: #fafafa;
  border-radius: 12px;
  border: 1.5px solid rgba(17, 17, 17, 0.1);
  padding: 0.875rem 1.125rem;
  color: #111111;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.login__form input::placeholder {
  color: #999999;
}

.login__form input:hover {
  border-color: rgba(17, 17, 17, 0.15);
}

.login__form input:focus {
  outline: none;
  border-color: #111111;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.08);
}

.login__form button {
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.login__form button:hover,
.login__form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.15);
  outline: none;
}

.login__form button:active {
  transform: translateY(0);
}

#feedback {
  padding: 0.875rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  transition: all 0.2s ease;
}

#feedback.error {
  background: #ffecec;
  color: #bb1d1d;
  border: 1px solid rgba(204, 51, 51, 0.2);
}

#feedback.success {
  background: #e8fff1;
  color: #1d8f52;
  border: 1px solid rgba(51, 204, 51, 0.2);
}
