.auth-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--omw-space-5);
}

.auth-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--omw-space-3);
}

.auth-logo img {
  width: 84px;
  height: 84px;
}

.auth-wordmark {
  font-family: var(--omw-font-brand);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  color: var(--omw-text);
  text-align: center;
}

.auth-company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: var(--omw-text-secondary);
}

.auth-company__mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--omw-surface-muted);
  color: var(--omw-text);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.auth-title {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--omw-space-1);
}

.auth-title h1 {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  color: var(--omw-text);
}

.auth-title p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--omw-text-secondary);
}

.auth-sso {
  width: 100%;
  height: 52px;
  border: 1.5px solid var(--omw-action);
  border-radius: var(--omw-radius-pill);
  background: transparent;
  color: var(--omw-action);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  font-family: inherit;
}

.auth-sso:hover {
  background: var(--omw-surface-accent);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--omw-text-tertiary);
  font-size: 12px;
  line-height: 1.2;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--omw-border);
}

.auth-error {
  width: 100%;
  margin: 0;
  color: var(--omw-danger);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.auth-card {
  width: 100%;
  background: var(--omw-surface);
  border: 1px solid var(--omw-border);
  border-radius: var(--omw-radius-xl);
  padding: var(--omw-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--omw-space-4);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: var(--omw-space-1);
  width: 100%;
}

.auth-field label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.2;
  color: var(--omw-text-secondary);
}

.auth-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 50px;
  padding: 0 var(--omw-space-4);
  background: var(--omw-surface-muted);
  border: 1px solid var(--omw-border-strong);
  border-radius: var(--omw-radius-md);
}

.auth-input:focus-within {
  border-color: var(--omw-action);
  outline: 2px solid var(--omw-focus-ring);
  outline-offset: 1px;
}

.auth-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--omw-text);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  outline: none;
}

.auth-input input::placeholder {
  color: var(--omw-text-tertiary);
}

.auth-toggle-password {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.auth-toggle-password img {
  width: 20px;
  height: 20px;
}

.auth-forgot {
  align-self: flex-end;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: var(--omw-action);
  text-decoration: none;
}

.auth-forgot:hover {
  text-decoration: underline;
}

.auth-back {
  align-self: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  color: var(--omw-action);
  text-decoration: none;
}

.auth-back:hover {
  text-decoration: underline;
}

.auth-btn--link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

.auth-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--omw-radius-pill);
  background: var(--omw-action);
  color: var(--omw-action-text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
}

.auth-btn:hover {
  background: var(--omw-action-hover);
}

.auth-btn:active {
  transform: scale(0.99);
}

.auth-hint {
  max-width: 320px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: var(--omw-text-secondary);
}

.auth-footer {
  text-align: center;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--omw-text-tertiary);
}
