/* Alapbeállítások */
body {
    margin: 0;
    padding: 0;
    background-image: url("round-icons-1A1cQqgYoP4-unsplash.svg");
    background-repeat: repeat;
    background-size: 100px; /* SVG → nem pixelesedik */
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* Fejléc */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.icon {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Logó */
.logo {
  margin-top: 10px;
  height: 75px;
}

/* Tartalom – választó dobozok */
.valasztas {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 10px;
    justify-content: center;
}

.csoport {
    height: 150px;
    width: 150px;
    background-color: #FACEE9;
    align-content: center;
    border-radius: 30px;
    border: #C71585 solid 5px;
    cursor: pointer;
}

.csoport:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(199, 21, 133, 0.4);
}

.kep {
    width: 100px;
    height: 100px;
    margin: 13px auto 0 auto;
    display: block;
    border-radius: 15px;
}

.leiras {
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
    color: #000;
}

/* Linkek */
a {
    color: black;
    text-decoration: none;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    color: #000;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: sans-serif;
    z-index: 1000;
}

.cookie-banner a {
    color: #C71585;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #C71585;
    color: #FFFFFF;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

/* Overlay – alapból rejtve */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
  display: none;
}

.overlay.active {
  display: block;
}

/* Középre igazított panelek (login, regisztráció, jelszó reset, stb.) */
.center-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  width: 100%;
  max-width: 300px;
  display: none;
}

.center-panel.active {
  display: block;
}

/* Fiókközpont panel */
.account-panel {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 300px;
  min-height: 300px;
  padding: 30px;
  background: white;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}

.account-panel.active {
  display: block;
}

/* Oldalsó menü */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 80%;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-header {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.sidebar-content {
    padding: 16px;
}

.sidebar-open #sidebar {
    transform: translateX(0);
}

.sidebar-open #overlay {
    display: block;
    opacity: 1;
    pointer-events: auto;
    background: rgba(0,0,0,0.4);
}

/* Menü gombok */
.menu-login-btn {
  width: 100%;
  padding: 12px;
  margin-top: 20px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: bold;
}

.menu-login-btn:hover {
  background: #333;
}

/* Formák */
form {
  background: #fff;
  padding: 30px 30px 0 30px;
  border-radius: 16px;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: fadeIn 0.6s ease-out;
}

h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 600;
  text-align: center;
}

label {
  font-size: 15px;
  font-weight: 500;
  color: #444;
}

input,
select {
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus {
  border-color: #4a8cff;
  box-shadow: 0 0 0 3px rgba(74, 140, 255, 0.25);
  outline: none;
}

button {
  padding: 8px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #fff;
  color: #000;
}

#message {
  text-align: center;
  font-size: 15px;
  min-height: 24px;
}