/* login.css – ugyanaz a minta-stílus, mint a hírlevél oldalnál */

:root{
  --bg:#f7f6f3;
  --panel:#ffffff;
  --panel2:#faf9f7;

  --text:#2b2b2b;
  --muted2:#8a8a8a;
  --line:#e6e4df;

  --accent:#c9a24d;
  --danger:#c94a4a;

  --radius:18px;
  --shadow2: 0 10px 26px rgba(0,0,0,0.06);
  --maxw:1600px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  font-weight:500;
  color:var(--text);
  background:#fff;
  line-height:1.6;
  animation: fadeIn 900ms ease forwards;
}
@keyframes fadeIn{ from{opacity:0} to{opacity:1} }

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, select{ font:inherit; }
::selection{ background: rgba(201,162,77,0.25); }

.container{
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}
.section{ padding: 84px 0; }

.section-divider{
  border:none;
  height:1px;
  background:#ccc;
  margin: 5px auto;
  width: 75%;
  opacity:.6;
}

/* NAV */
.nav-wrap{
  position: sticky;
  top:0;
  z-index:50;
  background:#000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.nav-links a{
  font-size:18px;
  color:#fff;
  padding:8px 10px;
  border-radius:2px;
  transition: all 220ms cubic-bezier(.4,0,.2,1);
  border: 1px solid transparent;
}
.nav-links a:hover{
  color:#000;
  background:#fff;
  opacity:.3;
  border-color: rgba(0,0,0,0.06);
}

.nav-cta{ display:flex; align-items:center; gap:10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  background:#fff;
  color:var(--text);
  cursor:pointer;
  transition:180ms ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.06);
}
.btn:hover{ transform: translateY(-1px); background:#faf9f7; }
.btn.primary{
  background: grey;
  color:#fff;
  border-color: transparent;
}
.btn.ghost{ background:#fff; box-shadow:none; }
.active-cta{ outline: 2px solid rgba(201,162,77,0.55); }

.menu-btn{
  display:none;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.drawer{
  display:none;
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.drawer .inner{
  padding:14px 0 18px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.drawer a{
  padding:12px 12px;
  border-radius:14px;
  color:#fff;
  border:1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
}

/* HERO */
.hero{
  padding: 46px 0 10px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:16px;
  align-items:stretch;
}
.hero-copy{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  padding: 28px;
}
.tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(201,162,77,0.35);
  background: rgba(201,162,77,0.12);
  font-size:12px;
}
.hero-copy h1{
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.2vw, 54px);
  letter-spacing: -0.5px;
}
.hero-copy p{ margin:0 0 14px; font-size:18px; color:#000; max-width:65ch; }
.hero-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:8px; }
.hint{ color: var(--muted2); font-size:12px; margin-top:14px; }

.hero-media{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow2);
  min-height:280px;
}
.hero-media img{ width:100%; height:100%; object-fit:cover; }
.hero-media-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.55));
}
.hero-badge{
  position:absolute;
  left:16px; right:16px; bottom:16px;
  color:#fff;
  border-radius:16px;
  padding:14px 16px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
}
.hero-badge b{ display:block; font-size:16px; }
.hero-badge span{ display:block; font-size:12px; opacity:.92; margin-top:3px; }

/* SECTION */
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}
.section-head h2{ margin:0; font-size:35px; }
.section-head p{ margin:0; color:#000; max-width:70ch; font-size:18px; }

.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }

.card{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  padding:18px;
  transition:180ms ease;
}
.card:hover{ border-color: rgba(0,0,0,0.10); transform: translateY(-1px); }
.card h3{ margin: 6px 0 8px; font-size:22px; }
.muted{ color: var(--muted2); margin-top:4px; }
.thin{ border:none; height:1px; background: var(--line); margin:16px 0; }

ul.clean{
  list-style:none;
  padding:0;
  margin: 10px 0 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.check{ display:flex; gap:10px; align-items:flex-start; }
.check svg{ flex:0 0 auto; margin-top:2px; opacity:.85; }

/* FORM */
form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
}
.field{ display:flex; flex-direction:column; gap:7px; }
label{
  font-size:13px;
  color:#5f5f5f;
  font-weight:600;
}
input{
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  padding:12px 12px;
  outline:none;
  transition:160ms ease;
}
input:focus{
  border-color: rgba(201,162,77,0.55);
  box-shadow: 0 0 0 4px rgba(201,162,77,0.15);
}
.full{ grid-column: 1 / -1; }

.pw-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.pw-wrap input{ width:100%; padding-right: 44px; }
.pw-toggle{
  position:absolute;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition: 180ms ease;
}
.pw-toggle:hover{ background: rgba(0,0,0,0.06); transform: translateY(-1px); }

.row-split{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.checkline{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:14px;
  color:#000;
}
.checkline input{ margin-top:2px; }

.link{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.status{ margin-top:10px; font-size:13px; }
.status.ok{ color: rgba(40,150,120,0.95); }
.status.err{ color: var(--danger); }

/* FOOTER */
footer{
  background:#000;
  color:#fff;
  padding:20px 0;
}
.foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
footer a{ opacity:.9; }
footer a:hover{ opacity:1; text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-media{ min-height: 320px; }
}
@media (max-width: 820px){
  .grid-2{ grid-template-columns: 1fr; }
  form{ grid-template-columns: 1fr; }
  .nav-links, .nav-cta{ display:none; }
  .menu-btn{ display:flex; }
  .drawer{ display:block; }
  .drawer[hidden]{ display:none; }
}

/* ===== REGISTER PAGE ONLY ===== */

.register-page{
  padding: 72px 0 100px;
}

.register-page .section-head{
  justify-content: center;
  text-align: center;
  margin-bottom: 28px;
}

.register-page .section-head h2{
  margin: 0 0 8px;
  font-size: clamp(32px, 4vw, 46px);
}

.register-page .section-head p{
  max-width: 760px;
  margin: 0 auto;
  color: #5d6678;
  font-size: 17px;
}

.register-page .form-shell{
  max-width: 860px;
  margin: 0 auto;
}

.register-page .form-card{
  background: #fff;
  border: 1px solid #e7ebf2;
  border-radius: 24px;
  box-shadow:
    0 10px 30px rgba(24, 39, 75, 0.08),
    0 2px 8px rgba(24, 39, 75, 0.04);
  padding: 34px 34px 28px;
}

.register-page .form-card-head{
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #edf1f7;
}

.register-page .eyebrow{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7c8699;
}

.register-page .form-card-head h3{
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.2;
  color: #1f2937;
}

.register-page .muted-form{
  margin: 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.7;
}

.register-page form{
  display: block;
  margin-top: 0;
}

.register-page .section-block{
  padding: 22px 0;
  border-bottom: 1px solid #edf1f7;
}

.register-page .section-block:last-of-type{
  border-bottom: none;
}

.register-page .section-title,
.register-page .section-label{
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: #1f2937;
  opacity: 1;
}

.register-page .field{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.register-page .field:last-child{
  margin-bottom: 0;
}

.register-page .full{
  grid-column: auto;
}

.register-page label{
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #344054;
}

.register-page input,
.register-page select{
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid #d7deea;
  background: #fcfdff;
  color: #1f2937;
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.register-page input::placeholder{
  color: #98a2b3;
}

.register-page input:focus,
.register-page select:focus{
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.12);
  background: #fff;
}

.register-page .reg-type-switch{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}

.register-page .reg-type-switch label{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid #d9dfeb;
  border-radius: 16px;
  background: #fbfcfe;
  cursor: pointer;
  transition: all .18s ease;
}

.register-page .reg-type-switch label:hover{
  border-color: #b7c2d6;
  background: #fff;
  transform: translateY(-1px);
}

.register-page .reg-type-switch input{
  width: auto;
  min-height: auto;
  margin: 0;
  padding: 0;
  accent-color: #8b5cf6;
  transform: scale(1.05);
  box-shadow: none;
}

.register-page .pw-wrap{
  position: relative;
  display: flex;
  align-items: center;
}

.register-page .pw-wrap input{
  padding-right: 52px;
}

.register-page .pw-toggle{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid #dde3ee;
  background: #f8fafc;
  color: #667085;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .18s ease;
}

.register-page .pw-toggle:hover{
  background: #eef2f7;
  color: #344054;
}

.register-page .submit-row{
  padding-top: 24px;
}

.register-page .submit-btn{
  width: 100%;
  min-height: 54px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .01em;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.22);
}

.register-page .submit-btn:hover{
  background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
}

.register-page .status{
  margin-top: 12px;
  font-size: 14px;
}

.register-page .status.ok{
  color: #157f5b;
}

.register-page .status.err{
  color: #c0392b;
}

.register-page .hidden{
  display: none !important;
}

@media (max-width: 720px){
  .register-page .form-card{
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .register-page .reg-type-switch{
    grid-template-columns: 1fr;
  }

  .register-page .form-card-head h3{
    font-size: 25px;
  }

  .register-page .section-title,
  .register-page .section-label{
    font-size: 17px;
  }
}
