:root{
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #d9d9e3;
  --primary: #123b7a;
  --primary2:#0e2f63;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --ring: rgba(18,59,122,.18);
  --radius: 14px;
}

*{ box-sizing:border-box; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1000px 600px at 20% 0%, rgba(18,59,122,.10), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(59,130,246,.10), transparent 55%),
    var(--bg);
  color: var(--text);
}

.container{
  max-width: 900px;
  margin: 26px auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15,23,42,.06);
}

/* Logós fejléc */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  padding-bottom:16px;
  margin-bottom:18px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
.brand__logo{
  max-width: 160px;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  padding:8px;
}
.brand__text h1{
  color: var(--primary);
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.brand__text p{
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Címek */
h1,h2{
  color: var(--primary);
  margin: 0 0 16px;
}
h2{ font-size: 1.25rem; }

/* Űrlap */
label{
  font-weight: 650;
  display:block;
  margin: 12px 0 6px;
  font-size: 0.92rem;
}

input, select{
  width:100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background:#fff;
  color: var(--text);
  transition: box-shadow .15s ease, border-color .15s ease;
}

input:focus, select:focus{
  outline:none;
  border-color: rgba(18,59,122,.35);
  box-shadow: 0 0 0 6px var(--ring);
}

.row{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.col{
  flex: 1 1 260px;
}

.error{
  color:#c62828;
  font-size:0.9rem;
  margin-top: 6px;
}

.muted{
  color: var(--muted);
  font-size: 0.95rem;
}

.btn{
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  color:#fff;
  border:0;
  padding: 12px 18px;
  border-radius: 10px;
  cursor:pointer;
  margin-top: 14px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(18,59,122,.18);
  transition: transform .05s ease, box-shadow .15s ease;
}
.btn:active{ transform: translateY(1px); }
.btn:hover{ box-shadow: 0 14px 26px rgba(18,59,122,.22); }

.btn-secondary{
  background:#64748b;
  box-shadow:none;
}

/* Topbar / nav */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
  gap: 10px;
  flex-wrap: wrap;
}
nav a{ margin-right: 10px; }

/* Táblázatok */
table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 12px;
}
th, td{
  padding: 10px 12px;
  border-bottom:1px solid rgba(15,23,42,.08);
}
th{
  background:#f4f6fb;
  text-align:left;
  font-weight:700;
  color:#0f172a;
}

/* Badge */
.tag{
  background:#eef;
  padding: 2px 10px;
  border-radius:999px;
  font-size:.85rem;
}

/* Grid */
.grid{
  display:grid;
  gap:12px;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
}

/* Success */
.success{
  background:#e8f5e9;
  border:1px solid #a5d6a7;
  color:#1b5e20;
  padding:12px;
  border-radius:10px;
  margin-bottom:12px;
}

.table-responsive{ overflow-x: auto; }

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 40px;
  padding: 20px 0;
  background: #ffffff;
  border-top: 1px solid #e5e8f0;
  font-size: 14px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #444;
}

.footer-right strong {
  color: #123b7a;
}

/* Mobil finomhangolás */
@media (max-width:720px){
  .container{ padding: 18px; margin: 16px auto; }
  th, td{ white-space: nowrap; }
  .brand__text h1{ font-size: 26px; }
  .brand__logo{ width:56px; height:56px; }
}

/* Tablet */
@media (max-width: 900px){
  .brand__logo{
    max-width: 120px;
  }
}

/* Mobil */
@media (max-width: 480px){
  .brand{
    flex-direction: column;
    text-align: center;
  }

  .brand__logo{
    max-width: 90px;
  }

  .brand__text h1{
    font-size: 22px;
  }

  @media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
}
