*{
margin:0;
padding:0;
box-sizing:border-box;
}

:root{
--bg:#0b0b0f;
--panel:#12121a;
--panel2:#1c1c25;
--accent:#8b5cf6;
--accent2:#a855f7;
--text:#ffffff;
--muted:#cfcfd7;
}

body{
font-family:Segoe UI,Arial,sans-serif;
background:var(--bg);
color:var(--text);
overflow:hidden;
}

#loginScreen{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
position:relative;
overflow:hidden;
}

#loginScreen::before{
content:"";
position:absolute;
inset:0;
background:
linear-gradient(
rgba(5,5,10,.45),
rgba(5,5,10,.70)
),
url("images/lama.png");
background-size:cover;
background-position:center;
background-repeat:no-repeat;
}

.loginBox{
position:relative;
z-index:2;
width:420px;
padding:40px;
border-radius:25px;
background:rgba(15,15,25,.78);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,.08);
box-shadow:0 0 50px rgba(168,85,247,.25);
text-align:center;
}

.logo{
font-size:72px;
font-weight:900;
line-height:.95;
color:var(--accent2);
text-shadow:0 0 25px rgba(168,85,247,.7);
margin-bottom:15px;
}

.subtitle{
font-size:18px;
color:var(--muted);
margin-bottom:25px;
}

.passwordInput{
width:100%;
padding:16px;
border:none;
outline:none;
border-radius:12px;
background:#232330;
color:white;
font-size:18px;
margin-bottom:15px;
}

.loginBtn{
width:100%;
padding:16px;
border:none;
border-radius:12px;
background:var(--accent);
color:white;
font-size:18px;
font-weight:700;
cursor:pointer;
transition:.2s;
}

.loginBtn:hover{
background:var(--accent2);
transform:translateY(-2px);
}

#app{
display:none;
height:100vh;
}

.layout{
display:flex;
height:100vh;
}

.sidebar{
width:240px;
background:var(--panel);
border-right:1px solid rgba(255,255,255,.08);
overflow-y:auto;
}

.sidebarHeader{
padding:20px;
font-size:22px;
font-weight:900;
color:var(--accent2);
}

.searchBox{
padding:12px;
}

.searchInput{
width:100%;
padding:12px;
border:none;
outline:none;
border-radius:10px;
background:#232330;
color:white;
}

.menu{
padding:10px;
}

.category{
margin-bottom:20px;
}

.categoryTitle{
font-size:13px;
font-weight:900;
letter-spacing:1px;
color:var(--accent2);
margin-bottom:10px;
}

.brand{
padding:10px;
background:var(--panel2);
border-radius:10px;
cursor:pointer;
margin-bottom:6px;
font-weight:700;
}

.brand:hover{
background:#262633;
}

.brandModels{
display:none;
padding-left:12px;
}

.model{
padding:8px;
border-radius:8px;
cursor:pointer;
color:#d6d6de;
}

.model:hover{
background:#262633;
color:white;
}

.model.active{
background:var(--accent);
color:white;
}

.content{
flex:1;
padding:25px;
overflow-y:auto;
background:var(--bg);
}

.topbar{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:25px;
}

.breadcrumb{
font-size:28px;
font-weight:800;
}

.logoutBtn{
padding:10px 16px;
border:none;
border-radius:10px;
background:#252535;
color:white;
cursor:pointer;
}

.gallery{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
gap:20px;
}

.photo{
height:320px;
background:var(--panel2);
border-radius:18px;
display:flex;
justify-content:center;
align-items:center;
color:#777;
border:1px dashed #444;
}

.galleryImage{
width:100%;
height:320px;
object-fit:cover;
border-radius:18px;
cursor:pointer;
transition:.2s;
}

.galleryImage:hover{
transform:scale(1.02);
}

.lightbox{
position:fixed;
inset:0;
background:rgba(0,0,0,.92);
display:none;
justify-content:center;
align-items:center;
z-index:9999;
}

.lightbox.active{
display:flex;
}

.lightbox img{
max-width:92vw;
max-height:92vh;
object-fit:contain;
}

.closeBtn{
position:absolute;
top:20px;
right:30px;
font-size:50px;
cursor:pointer;
color:white;
}

.navBtn{
position:absolute;
top:50%;
transform:translateY(-50%);
font-size:60px;
cursor:pointer;
padding:20px;
user-select:none;
color:white;
}

.prevBtn{
left:20px;
}

.nextBtn{
right:20px;
}

@media(max-width:900px){

.sidebar{
width:220px;
}

.breadcrumb{
font-size:22px;
}

.gallery{
grid-template-columns:1fr;
}

.galleryImage{
height:260px;
}

}
