/* Extras din einpanel.css (fisier unic anterior) -- vezi INSTALL.md / notele proiectului pt. harta completa a fisierelor CSS. */

.login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; gap: 22px; }
.login-card { width: 100%; max-width: 400px; background: var(--panel); border: 1px solid var(--line); padding: 38px 34px; clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo .lg { font-family: 'Bebas Neue'; font-size: 40px; letter-spacing: 2px; }
.login-logo .lg b { color: var(--gold); }
.login-logo .dm { font-size: 12px; color: var(--txt-mute); letter-spacing: 2px; text-transform: uppercase; }
.flash { padding: 11px 14px; margin-bottom: 18px; font-size: 14px; font-weight: 600; background: rgba(239,68,68,.1); border-left: 3px solid var(--red); color: #fca5a5; }
.login-hint { text-align: center; font-size: 12px; color: var(--txt-mute); margin-top: 18px; }

.login-links { text-align: center; margin-top: 16px; }
.login-links a { color: var(--txt-mute); font-size: 13px; text-decoration: none; border-bottom: 1px dashed var(--line); padding-bottom: 2px; }
.login-links a:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- marquee parteneri (sub cardul de login) ---------- */
.login-partners-marquee {
  position: relative; width: 100%; max-width: 720px; margin: 0 auto; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.login-partners-track {
  display: flex; align-items: center; gap: 46px; width: max-content;
  animation: login-partners-scroll 34s linear infinite;
}
.login-partners-marquee.paused .login-partners-track { animation-play-state: paused; }
@keyframes login-partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.login-partner-logo {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  height: 40px; opacity: .55; filter: grayscale(.3); transition: opacity .2s ease, filter .2s ease, transform .2s ease;
}
.login-partner-logo:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
.login-partner-logo img { height: 100%; width: auto; max-width: 130px; object-fit: contain; display: block; }
@media (max-width: 720px) {
  .login-partners-marquee { max-width: 100%; }
  .login-partner-logo { height: 30px; }
  .login-partner-logo img { max-width: 90px; }
}

/* ---------------------------------------------------------------------
   Widget vizitator "DETECTED" (IP / țară / OS) - vezi visitor-widget.js.
   Aceleași culori/clase ca la widget-ul din tema phpMyAdmin (independent,
   fișiere proprii - vezi VisitorTracker.php), ca să arate identic.
--------------------------------------------------------------------- */
.einhost-visitor-card {
  --ev-gold: #de9b35;
  --ev-gold-light: #efb463;
  --ev-surface: #1a1c21;
  --ev-surface-3: #262a32;
  --ev-border: #2b2f38;
  --ev-text: #e9e7e1;
  --ev-muted: #9aa0ab;

  background-color: var(--ev-surface);
  border: 1px solid var(--ev-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
  animation: einhost-fade-in 0.35s ease;
  margin-bottom: 16px;
}

.einhost-visitor-card .einhost-card-header {
  background-color: var(--ev-surface-3);
  color: var(--ev-gold-light);
  font-family: "Teko", "Rajdhani", Arial, sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-bottom: 1px solid var(--ev-border);
  position: relative;
}

.einhost-visitor-card .einhost-card-header::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4caf7d;
  box-shadow: 0 0 6px #4caf7d;
  vertical-align: middle;
  animation: einhost-pulse 1.6s ease-in-out infinite;
}

.einhost-visitor-card .einhost-card-body {
  padding: 10px 14px;
  color: var(--ev-text);
  font-family: "Rajdhani", "Segoe UI", Arial, sans-serif;
}

.einhost-visitor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.6;
}

.einhost-visitor-row--os {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px dashed var(--ev-border);
}

.einhost-flag {
  height: 15px;
  width: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.einhost-os-icon {
  height: 16px;
  width: auto;
  flex-shrink: 0;
}

.einhost-country {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ev-gold-light);
  font-size: 0.95em;
}

.einhost-sep {
  color: var(--ev-muted);
  opacity: 0.6;
}

.einhost-ip {
  font-family: "Consolas", "SFMono-Regular", Menlo, monospace;
  font-size: 0.85em;
  color: var(--ev-muted);
}

.einhost-os {
  font-size: 0.9em;
  color: var(--ev-muted);
}

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

@keyframes einhost-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
