/* ============================================================================
   RENEXUS — lap-hatokor: pg-main-login
   ============================================================================
   Szetbontva a `renexus_tokens.css`-bol (refactor/tokens-szetbontas).
   A szabalyok sorrendje az EREDETI — a kaszkad fugg tole.

   BETOLTESI SORREND: tokens.css -> base.css -> EZ -> (ahol van) components.css
   ========================================================================= */

body.pg-main-login {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #faf9f7;
  min-height: 100vh;
  color: #1a1a1a;
  display: flex;
  flex-direction: column;
}

.pg-main-login header {
  background: #ffffff;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 70px;
  border-bottom: 1px solid #e8e5e0;
  box-shadow: 0 2px 0 0 #b4a35b;
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.pg-main-login header .header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pg-main-login header .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.pg-main-login header .header-divider {
  width: 1px;
  height: 32px;
  background: #e8e5e0;
}

.pg-main-login header .header-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pg-main-login header .renexus-logo {
  height: 60px;
  max-width: 80px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.pg-main-login header .header-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.12em;
}

.pg-main-login header .header-email {
  margin-left: auto;
  font-size: 0.75rem;
  color: #999;
}

.pg-main-login .login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.pg-main-login .login-container {
  display: flex;
  gap: 32px;
  max-width: 880px;
  width: 100%;
  align-items: stretch;
}

.pg-main-login .login-card {
  background: #fff;
  border: 1px solid #e8e5e0;
  border-radius: 12px;
  padding: 36px 38px;
  flex: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.pg-main-login .login-card .card-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.pg-main-login .badge-ak {
  background: #1a1a1a;
  color: #4a9;
}

.pg-main-login .badge-at {
  background: #1a1a1a;
  color: #6a9fd8;
}

.pg-main-login .login-card h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.25rem;
  color: #1a1a1a;
  margin-bottom: 6px;
  font-weight: 400;
}

.pg-main-login .login-card .subtitle {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 24px;
  line-height: 1.4;
}

.pg-main-login .form-group {
  margin-bottom: 16px;
}

.pg-main-login .form-group label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #999;
  font-weight: 600;
  margin-bottom: 6px;
}

.pg-main-login .form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #e8e5e0;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.pg-main-login .form-group input:focus {
  border-color: #b4a35b;
}

.pg-main-login .error-msg {
  background: #fdf5f5;
  border: 1px solid #e8c4c4;
  color: #a33;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.84rem;
  margin-bottom: 16px;
}

.pg-main-login .btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.pg-main-login .btn-ak {
  background: #1a1a1a;
  color: #ffffff;
}

.pg-main-login .btn-ak:hover {
  background: #4a9;
  color: #1a1a1a;
}

.pg-main-login .btn-at {
  background: #1a1a1a;
  color: #ffffff;
}

.pg-main-login .btn-at:hover {
  background: #6a9fd8;
  color: #1a1a1a;
}

.pg-main-login .card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f0eeea;
}

.pg-main-login .card-footer p {
  font-size: 0.78rem;
  color: #aaa;
  text-align: center;
  line-height: 1.5;
}

.pg-main-login .divider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 0 4px;
}

.pg-main-login .divider .line {
  width: 1px;
  flex: 1;
  background: #e8e5e0;
}

.pg-main-login .divider .or {
  font-size: 0.72rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .pg-main-login .login-container {
    flex-direction: column;
  }

  .pg-main-login .divider {
    flex-direction: row;
    padding: 8px 0;
  }

  .pg-main-login .divider .line {
    width: auto;
    height: 1px;
    flex: 1;
  }
}
