/* ===== LOGIN PAGE ===== */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: url('../רקע מערכת.png') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* שכבת בהירות על גבי תמונת הרקע */
.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.52);
  pointer-events: none;
  z-index: 0;
}

.login-page::after {
  display: none;
}

/* ===== BRAND ===== */
.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  z-index: 1;
}

.login-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  letter-spacing: -0.3px;
}

/* ===== CARD ===== */
.login-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* ===== HEADER ===== */
.login-header {
  margin-bottom: 28px;
  text-align: center;
}

.login-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--gray-500);
}

/* ===== HELP TEXT ===== */
.login-help {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.login-help svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.login-footer {
  margin-top: 28px;
  z-index: 1;
}

.login-footer p {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .login-card {
    padding: 28px 20px;
  }

  .login-title {
    font-size: 20px;
  }
}
