/* Bejelentkezés - liquid glass */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #0b0b0d;
  background-image:
    radial-gradient(800px 550px at 50% -15%, rgba(232, 171, 51, 0.20), transparent 60%),
    radial-gradient(600px 500px at 90% 100%, rgba(232, 171, 51, 0.10), transparent 60%),
    linear-gradient(160deg, #111116 0%, #0b0b0d 100%);
  background-attachment: fixed;
  color: #f0f0f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 48px clamp(16px, 4vw, 48px);
  overflow-x: hidden;
}

a { color: #e8ab33; text-decoration: none; }
a:hover { color: #f2c35c; }

body a[href="index.php"] {
  display: block;
}

#logo {
  height: clamp(64px, 8vw, 96px);
  width: auto;
  max-width: 80vw;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(232, 171, 51, 0.35));
}

#szurke {
  width: min(420px, 92vw);
  margin: 0;
  padding: 40px clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#Loginpanel {
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  transform: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.container .field {
  margin-bottom: 0;
}

.container label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #a7a7af;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.field.input {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  color: #f0f0f3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

input::placeholder { color: #6d6d75; }

input:focus,
select:focus {
  border-color: rgba(232, 171, 51, 0.6);
  background: rgba(255, 255, 255, 0.09);
}

#Bej,
input[type="submit"].Bej {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  color: #151310;
  background: linear-gradient(135deg, #f2c35c, #e8ab33 55%, #c98f1f);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: filter 0.2s;
  box-shadow: 0 8px 24px rgba(232, 171, 51, 0.35);
}

#Bej:hover,
input[type="submit"].Bej:hover {
  filter: brightness(1.08);
}

#username2,
#password2,
#Jegy,
#Szab2,
#Login2 {
  color: #8b8b93;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
}

#Login,
#Szab,
#forgot-password-toggle {
  color: #e8ab33;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s;
}

#Login:hover,
#Szab:hover,
#forgot-password-toggle:hover {
  color: #f2c35c;
}

.links {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 18px;
}

.links p { margin: 0; }

.message {
  text-align: center;
  font-size: 14px;
  padding: 14px 18px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 14px;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  color: #151310;
  background: linear-gradient(135deg, #f2c35c, #e8ab33 55%, #c98f1f);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.2s;
  margin-top: 8px;
  box-shadow: 0 6px 18px rgba(232, 171, 51, 0.3);
}

.btn:hover { filter: brightness(1.08); }

.back-to-portal {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8b8b93;
  font-size: 14px;
}
.back-to-portal:hover { color: #e8ab33; }

/* ---------- Reszponzív ---------- */
@media (max-width: 480px) {
  #szurke {
    padding: 28px 20px;
    border-radius: 22px;
  }
  input[type="text"],
  input[type="email"],
  input[type="password"],
  select {
    padding: 12px 14px;
    font-size: 16px;
  }
  #Bej,
  input[type="submit"].Bej {
    min-height: 48px;
  }
  .btn {
    min-height: 44px;
  }
}
