@import "../../../../main/css/tokens.css";

.z-login-shell {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--zootech-font);
}

.z-login-page {
  width: 100%;
  max-width: 420px;
}

.z-login-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--zt-radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.z-login-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 600;
}

.z-login-form {
  display: grid;
  gap: 12px;
}

.z-login-field {
  position: relative;
}

.z-login-field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  display: inline-flex;
}

.z-login-input {
  width: 100%;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--primary-tint);
  color: var(--text);
  padding: 12px 12px 12px 40px;
  font-size: 0.95rem;
}

.z-login-submit {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 14px;
  cursor: pointer;
}

.z-login-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.z-login-meta,
.z-login-msg {
  margin: 0;
  font-size: 0.9rem;
}

.z-login-meta {
  color: var(--muted);
}

.z-login-msg--error {
  color: var(--color-error);
}

.z-login-msg--success {
  color: var(--color-success);
}

.z-login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.z-login-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.z-login-link {
  color: inherit;
}
