/* Login page — GAP Talent style: centered card, minimal form */

.login-page {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  font-family: "DM Sans", system-ui, sans-serif;
  color: #1e293b;
  padding: 1.5rem;
  box-sizing: border-box;
}

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

.login-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  padding: 2.5rem 2rem;
  margin-bottom: 1.5rem;
}

.login-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: inline-block;
}

.login-app-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
}

.login-welcome {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #334155;
  text-align: center;
}

.login-subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
}

.login-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #1e293b;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.login-google-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.login-google-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.login-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.login-domain-note {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.login-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

.login-field input {
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #1e293b;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.login-field input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.login-field input::placeholder {
  color: #94a3b8;
}

.login-error {
  font-size: 0.875rem;
  color: #dc2626;
  padding: 0.5rem 0;
}

.login-error.hidden,
.login-auth-block.hidden {
  display: none;
}

.login-loading {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  padding: 0.5rem 0;
}

.login-loading.hidden {
  display: none;
}

.login-submit {
  margin-top: 0.25rem;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}

.login-submit:hover {
  background: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.login-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.35);
}

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

.login-version {
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: #94a3b8;
}
.login-footer {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
}
