/* Háttér – ugyanaz, mint az NLG DÖK főoldalon */
body {
  margin: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255, 203, 164, 0.25), transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(233, 105, 44, 0.25), transparent 60%),
                radial-gradient(circle at 50% 80%, rgba(242, 133, 0, 0.25), transparent 60%),
              #0a0a0a;
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  color: white;
  padding: 0;
}

/* Blur overlay */
#auth-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

/* Loading animáció helye */
#loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* PIN panel */
#pin-panel {
  display: none; /* alapból nem látszik */
  flex-direction: column;
  gap: 15px;
  width: 300px;
  background: rgba(242, 133, 0, 0.15);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#pin-panel input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  outline: none;
}

#pin-panel button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #f28500;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

#pin-panel button:hover {
  background: #f28500;
}

/* Galéria grid */
/* Galéria grid – minimum 3 oszlop */
#gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  padding: 20px;
}

/* Négyzetes thumb – sokkal kisebb */
.gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1; /* 1:1 négyzet */
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.gallery-thumb:hover {
  opacity: 0.8;
}


#lightbox {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

#lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

#lightbox-image {
    max-width: 90%;
    max-height: 80%;
    margin-bottom: 20px;
    z-index: 10000;
    border-radius: 20px;
}

#lightbox-bottom-bar {
    width: 100%;
    padding: 12px 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    gap: 24px;
}

.lb-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.lb-btn img {
    width: 32px;
    height: 32px;
    filter: invert(100%);
    opacity: 0.9;
    transition: opacity .2s;
}

.lb-btn img:hover {
    opacity: 1;
}

/* EXIF panel */
#exif-panel {
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 10px;
  max-width: 600px;
  display: none;
}

#report-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

#report-box {
    background: #fff;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#report-box textarea {
    width: 100%;
    height: 100px;
    resize: none;
}

#collage-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f28500;
    padding: 10px;
    display: none;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
}

#collage-bar.show {
    display: flex;
}

#collage-bar img {
    height: 60px;
    width: auto;
    border-radius: 6px;
    object-fit: cover;
}

#collage-generate {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#collage-generate img {
    width: 40px;
    height: 40px;
    filter: invert(100%);
}
