/* Экран входа recruit.html — синхронизирован с pwa-login.html */
body.recruit-login-page {
  min-height: 100dvh;
  margin: 0;
  box-sizing: border-box;
  background: var(--bg);
  padding: 20px;
}
@media (max-width: 900px) {
  body.recruit-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.recruit-login-shell {
  width: 100%;
  min-height: 100dvh;
}
.recruit-login-brand {
  display: none;
}
@media (min-width: 901px) {
  body.recruit-login-page { padding: 0; display: block; }
  .recruit-login-shell {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 100dvh;
  }
  .recruit-login-brand {
    flex: 0 0 440px;
    max-width: 440px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 48px 40px;
    background: linear-gradient(165deg, var(--brand-deep) 0%, #0a1448 55%, #060d38 100%);
    color: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  .recruit-login-brand::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    width: min(80vw, 380px);
    height: min(58vw, 278px);
    background: url('/brandbook/icon-mark-white.svg') center / contain no-repeat;
    opacity: 0.07;
    pointer-events: none;
  }
  .recruit-login-brand-inner {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: min(560px, calc(100dvh - 96px));
    width: 100%;
    max-width: 340px;
    text-align: left;
  }
  .login-brand-top {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 36px;
  }
  .login-brand-mark {
    margin: 0;
    flex-shrink: 0;
    line-height: 0;
  }
  .login-brand-mark__img {
    display: block;
    width: 54px;
    height: auto;
  }
  .login-brand-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
  }
  .recruit-login-brand-title,
  .login-brand-title {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
  }
  .recruit-login-brand-sub,
  .login-brand-sub {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.48);
    margin: 0;
    letter-spacing: 0.03em;
  }
  .recruit-login-brand-lead {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 900;
    line-height: 1.25;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.96);
  }
  .recruit-login-brand-fine {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
    margin: 0;
  }
}
.recruit-login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  box-sizing: border-box;
  background: var(--bg);
}
.recruit-login-wrap {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.recruit-login-lead {
  text-align: center;
  width: 100%;
}
.recruit-login-lead h1 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  margin: 0 0 8px;
}
.recruit-login-lead p {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}
.recruit-login-methods {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recruit-period-closed {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  font-size: 13px;
  line-height: 1.45;
  color: #5c4a00;
  text-align: center;
}
.recruit-login-methods--disabled {
  opacity: 0.55;
  pointer-events: none;
}
.recruit-login-methods .auth-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 72px;
  padding: 16px 20px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  transition: var(--t-base);
  text-align: left;
  box-sizing: border-box;
}
.recruit-login-methods .auth-btn:hover { transform: translateY(-2px); }
.recruit-login-methods .auth-btn--tg { background: #229ed9; box-shadow: 0 4px 16px rgba(34, 158, 217, 0.35); }
.recruit-login-methods .auth-btn--vk { background: #e64646; box-shadow: 0 4px 16px rgba(230, 70, 70, 0.35); }
.recruit-login-methods .auth-btn--ya { background: #fc3; color: #111; box-shadow: 0 4px 16px rgba(255, 204, 0, 0.4); }
.recruit-login-methods .auth-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.2);
}
.recruit-login-methods .auth-btn--ya .auth-btn-icon { background: rgba(0, 0, 0, 0.08); }
.recruit-login-methods .auth-btn-icon svg { width: 22px; height: 22px; fill: currentColor; }
.recruit-login-methods .auth-btn-info { flex: 1; min-width: 0; }
.recruit-login-methods .auth-btn-label { font-size: 15px; font-weight: 800; }
.recruit-login-methods .auth-btn-hint { font-size: 11px; font-weight: 500; opacity: 0.8; margin-top: 2px; }
.recruit-login-methods .auth-btn-chevron {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.recruit-login-methods .auth-btn-chevron svg { width: 16px; height: 16px; }
.recruit-tg-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
#recruit-tg-primary {
  width: 100%;
  display: flex;
  flex-direction: column;
}
#recruit-tg-primary .auth-btn {
  width: 100%;
  min-height: 72px;
}
.recruit-btn-test {
  width: 100%;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--surface2);
  color: var(--text-sub);
  font-weight: 700;
  cursor: pointer;
}
.recruit-login-footer {
  width: 100%;
  text-align: center;
  font-size: 13px;
}
.recruit-login-footer a.auth-btn--hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--brand-glow);
  transition: var(--t-base);
  box-sizing: border-box;
}
.recruit-login-footer a.auth-btn--hub:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow);
}
#recruit-status {
  font-size: 13px;
  color: var(--text-sub);
  min-height: 1.2em;
  text-align: center;
  width: 100%;
}
#recruit-status.err { color: var(--status-red); }
.recruit-theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  z-index: 100;
}
