/* =========================================================
   PAGES.CSS — page-specific overrides that don't belong in the
   general component library. Currently: the login page's full
   visual treatment, and the screenshots thumbnail grid.
   ========================================================= */

/* =========================================================
   Login page - full-height dark radial-gradient background with
   a centered white card. Bigger visual departure from the rest of
   the (light) dashboard, matching the approved reference design.
   ========================================================= */

.login-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, oklch(0.24 0.03 255), oklch(0.12 0.02 258) 55%, oklch(0.09 0.015 258));
  padding: var(--space-4);
}

.login-box {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-login);
  text-align: center;
  animation: fade-in-up 400ms ease;
}

.login-logo-img {
  height: 88px;
  width: auto;
  margin: 0 auto var(--space-4);
  display: block;
  /* logo.png is a light asset - invert so it reads dark on this white card */
  filter: invert(1) brightness(0.9);
}

.login-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-ink);
  margin-bottom: 2px;
}

.login-subtitle {
  font-size: 13px !important;
  color: var(--color-muted) !important;
  margin-bottom: var(--space-4) !important;
}

.login-box .form-group {
  text-align: left;
}

.login-box button[type="submit"] {
  width: 100%;
  height: 44px;
  margin-top: var(--space-2);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.login-box button[type="submit"]:hover {
  box-shadow: 0 6px 18px oklch(0.47 0.09 255 / 0.35);
}

.login-box input:focus {
  transform: translateY(-1px);
}

.login-helper {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: var(--space-3);
}

.login-copyright {
  text-align: center;
  font-size: 12px;
  color: oklch(0.68 0.015 258);
  margin-top: var(--space-4);
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Screenshots grid (Employee Detail page) - the grid layout itself
   is applied inline via JS (loadScreenshots() in employee_detail.html,
   unchanged), this just styles the thumbnails consistently with the
   rest of the redesign.
   ========================================================= */

#screenshotsGrid img {
  transition: transform var(--transition), box-shadow var(--transition);
}

#screenshotsGrid img:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
