/* HEADER */
.top-bar{
display:flex;
align-items:center;
gap:10px;
padding:10px;
background:#1c3faa;
color:#fff;
}

.logo{
width:35px;
height:35px;
border-radius:50%;
}

/* TITLE */
.gallery-title{
text-align:center;
margin:10px;
}

/* FILTER */
.filters{
display:flex;
justify-content:center;
gap:8px;
margin-bottom:10px;
}

.filters button{
border:none;
padding:6px 12px;
border-radius:20px;
background:#ddd;
font-size:12px;
cursor:pointer;
}

.filters button:hover{
background:#1c3faa;
color:#fff;
}

/* GALLERY */
.gallery-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
gap:8px;
padding:10px;
}

.gallery-container img{
width:100%;
height:110px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
}

/* VIEWER */
.viewer{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
display:none;
justify-content:center;
align-items:center;
flex-direction:column;
z-index:999;
}

.viewer img{
max-width:90%;
max-height:70%;
border-radius:10px;
}

/* CLOSE */
.close-btn{
position:absolute;
top:20px;
right:20px;
font-size:25px;
color:white;
cursor:pointer;
}

/* NAV */
.nav-btn{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:28px;
color:white;
cursor:pointer;
}

.prev{ left:10px; }
.next{ right:10px; }

/* BOTTOM NAV */
.bottom-nav{
position:fixed;
bottom:0;
width:100%;
display:flex;
justify-content:space-around;
background:#fff;
padding:8px 0;
border-top:1px solid #ccc;
}

.bottom-nav a{
text-decoration:none;
color:#333;
font-size:12px;
}

.back-btn{
  position:fixed;
  top:12px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,0.15); /* 🔥 light transparent */
  color:#fff;
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:0 2px 6px rgba(0,0,0,0.2);
  cursor:pointer;
}