/* =======================================================
   KSLVNT arculat a fajlmegosztohoz (kslvnt.hu stilusban)
   Sotet navy hatter + izzo kek akcentek + Segoe UI
   ======================================================= */

/* --- Szinpaletta felulirasa (vilagos ES sotet temara is) --- */
:root,
:root.dark {
  --background:       #080d18;
  --surfacePrimary:   #111e35;
  --surfaceSecondary: #16244a;
  --blue:             #2a7fff;
  --dark-blue:        #1a5fff;
  --icon-blue:        #4fc3f7;
  --textPrimary:      rgba(200, 216, 240, 0.78);
  --textSecondary:    #ffffff;
  --borderPrimary:    rgba(79, 195, 247, 0.12);
  --borderSecondary:  rgba(79, 195, 247, 0.20);
  --divider:          rgba(79, 195, 247, 0.12);
  --hover:            rgba(42, 127, 255, 0.12);
  --item-selected:    rgba(42, 127, 255, 0.18);
}

/* --- Betutipus, mint a kslvnt.hu-n --- */
body, input, button, .button, .card .card-title, h1, h2, h3 {
  font-family: 'Segoe UI', system-ui, -apple-system, "Helvetica Neue", sans-serif;
}

body {
  background: #080d18 !important;
  color: var(--textSecondary);
}

/* --- Kartyak (lista-nezet): navy, lekerekitett, kek glow --- */
.card, .card.floating {
  background: var(--surfacePrimary) !important;
  border: 1px solid rgba(79, 195, 247, 0.14);
  border-radius: 14px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 26px rgba(42,127,255,0.10) !important;
}

/* --- Fejlec / felso sav --- */
#search, nav, header, .topbar {
  background: var(--surfacePrimary) !important;
  border-bottom: 1px solid rgba(79, 195, 247, 0.10);
}

/* --- Gombok: kek gradient + glow, mint a "Ajanlatot kerek" gomb --- */
.button, .button--blue {
  background: linear-gradient(135deg, #1a5fff 0%, #2a7fff 55%, #4fc3f7 100%) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(42,127,255,0.35) !important;
  transition: all 0.15s ease;
}
.button:hover, .button--blue:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 30px rgba(42,127,255,0.55) !important;
  transform: translateY(-1px);
}
.button--flat {
  background: transparent !important;
  box-shadow: none !important;
  color: #4fc3f7 !important;
}
.button--flat:hover { background: rgba(42,127,255,0.12) !important; }

/* --- Beviteli mezok --- */
input, input[type="text"], input[type="password"] {
  background: rgba(8,13,24,0.6) !important;
  border: 1px solid rgba(79,195,247,0.18) !important;
  color: #fff !important;
  border-radius: 9px !important;
  transition: all 0.15s ease;
}
input:focus {
  border-color: #4fc3f7 !important;
  box-shadow: 0 0 0 3px rgba(79,195,247,0.15) !important;
  outline: 0;
}

#listing .item:hover { background: rgba(42,127,255,0.10) !important; }

/* =======================================================
   BELEPO OLDAL — a kslvnt.hu hero-ja (cim + vonal + felirat)
   ======================================================= */

/* Melykek hatter izzo glow-okkal (mint a weboldal teteje) */
#login {
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%,  rgba(26,95,255,0.10), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%,  rgba(79,195,247,0.06), transparent 60%),
    #080d18 !important;
}

/* Finom rachalo, a szelek fele elhalvanyulva (hero-grid) */
#login::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42,127,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,127,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 100%);
}

/* A form a rachalo fole kerul, kicsit szelesebb a hero miatt */
#login form {
  z-index: 1;
  max-width: 23em;
  width: 92%;
}

/* A logo helyere kerul a teljes hero (cim + vonal + felirat) */
#login img {
  width: 100% !important;
  height: auto !important;
  max-width: 400px;
  margin: 0 auto 1.8em !important;
  filter: drop-shadow(0 0 22px rgba(42,127,255,0.28));
}

/* A dupla "KSLVNT" cimet elrejtjuk (a hero SVG-ben mar benne van) */
#login h1 { display: none !important; }
