/* assets/lightbox.css */
/*! Minimal Lightbox - CSS (v1.1.0) */

:root{
--lb-thumb-size: 72px;
}

/* Scroll lock */
body.lb-lock{
overflow: hidden !important;
touch-action: none;
}

/* Overlay */
.lb-overlay{
position: fixed;
inset: 0;
z-index: 999999;
display: none;
background: rgba(0,0,0,0.85);
align-items: center;
justify-content: center;
padding: 18px;
box-sizing: border-box;

--lb-img-maxw: 90vw;
--lb-img-maxh: 70vh;
--lb-anim: 900ms;
}

.lb-overlay.lb-open{
display: flex;
}

/* Stage */
.lb-stage{
position: relative;
width: 100%;
height: 100%;
max-width: 1200px;
max-height: 100%;
outline: none;
display: grid;
align-items: center;
justify-items: center;
}

.lb-img{
max-width: var(--lb-img-maxw);
max-height: var(--lb-img-maxh);
width: auto;
height: auto;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0,0,0,0.45);
transform: translate(0px,0px) scale(1);
user-select: none;
-webkit-user-drag: none;
touch-action: none;
background: rgba(255,255,255,0.04);
}

/* Animations */
@keyframes lbZoomIn {
from { opacity: 0; transform: scale(0.98); }
to   { opacity: 1; transform: scale(1); }
}
@keyframes lbZoomOut {
from { opacity: 1; transform: scale(1); }
to   { opacity: 0; transform: scale(0.98); }
}

.lb-img.lb-zoom-in{
animation: lbZoomIn var(--lb-anim) ease both;
}
.lb-img.lb-zoom-out{
animation: lbZoomOut var(--lb-anim) ease both;
}

.lb-img.lb-grabbing{
cursor: grabbing;
}

/* Toolbar */
.lb-toolbar{
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 8px;
z-index: 2;
}

.lb-btn{
appearance: none;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(0,0,0,0.35);
color: #fff;
padding: 8px 10px;
border-radius: 10px;
font: 600 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
cursor: pointer;
}
.lb-btn:focus{
outline: 2px solid rgba(255,255,255,0.45);
outline-offset: 2px;
}
.lb-btn:hover{
background: rgba(0,0,0,0.5);
}

/* Pager */
.lb-pager{
position: absolute;
left: 12px;
bottom: 12px;
padding: 6px 10px;
border-radius: 10px;
background: rgba(0,0,0,0.35);
color: #fff;
font: 600 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
z-index: 2;
}

/* Caption + Error */
.lb-caption{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 16px;
width: min(980px, calc(100vw - 36px));
color: #fff;
font: 500 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
text-align: center;
z-index: 999999;
pointer-events: none;
text-shadow: 0 2px 10px rgba(0,0,0,0.65);
padding: 0 10px;
box-sizing: border-box;
}

.lb-error{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 60px;
width: min(980px, calc(100vw - 36px));
display: none;
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.22);
color: #fff;
padding: 10px 12px;
border-radius: 12px;
font: 500 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
z-index: 999999;
box-sizing: border-box;
}
.lb-error a{
color: #fff;
text-decoration: underline;
}

/* Thumbs */
.lb-thumbs{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 44px;
width: min(980px, calc(100vw - 36px));
display: flex;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
padding: 10px 6px;
box-sizing: border-box;
z-index: 999999;
scrollbar-width: thin;
}

.lb-thumb{
width: var(--lb-thumb-size);
height: calc(var(--lb-thumb-size) * 0.75);
object-fit: cover;
border-radius: 10px;
border: 2px solid rgba(255,255,255,0.20);
cursor: pointer;
flex: 0 0 auto;
opacity: 0.9;
}
.lb-thumb.lb-active{
border-color: rgba(255,255,255,0.85);
opacity: 1;
}

/* Nav buttons */
.lb-nav{
position: fixed;
z-index: 999999;
width: 40px;
height: 40px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(0,0,0,0.35);
color: #fff;
cursor: pointer;
display: grid;
place-items: center;
transform: translateY(-50%);
}
.lb-nav:hover{
background: rgba(0,0,0,0.5);
}
.lb-nav:focus{
outline: 2px solid rgba(255,255,255,0.45);
outline-offset: 2px;
}
.lb-prev::before{ content: "<"; font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.lb-next::before{ content: ">"; font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Dots */
.lb-dots{
position: absolute;
transform: translate(-50%, 14px);
display: none;
gap: 6px;
align-items: center;
justify-content: center;
z-index: 2;
}
.lb-dot{
width: 26px;
height: 26px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.20);
background: rgba(0,0,0,0.35);
color: #fff;
font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
cursor: pointer;
}
.lb-dot.lb-active{
border-color: rgba(255,255,255,0.85);
}
.lb-dot:hover{
background: rgba(0,0,0,0.5);
}
/* assets/lightbox.css */
/*! Minimal Lightbox - CSS (v1.1.0) */

:root{
--lb-thumb-size: 72px;
}

/* Scroll lock */
body.lb-lock{
overflow: hidden !important;
touch-action: none;
}

/* Overlay */
.lb-overlay{
position: fixed;
inset: 0;
z-index: 999999;
display: none;
background: rgba(0,0,0,0.85);
align-items: center;
justify-content: center;
padding: 18px;
box-sizing: border-box;

--lb-img-maxw: 90vw;
--lb-img-maxh: 70vh;
--lb-anim: 900ms;
}

.lb-overlay.lb-open{
display: flex;
}

/* Stage */
.lb-stage{
position: relative;
width: 100%;
height: 100%;
max-width: 1200px;
max-height: 100%;
outline: none;
display: grid;
align-items: center;
justify-items: center;
}

.lb-img{
max-width: var(--lb-img-maxw);
max-height: var(--lb-img-maxh);
width: auto;
height: auto;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0,0,0,0.45);
transform: translate(0px,0px) scale(1);
user-select: none;
-webkit-user-drag: none;
touch-action: none;
background: rgba(255,255,255,0.04);
}

/* Animations */
@keyframes lbZoomIn {
from { opacity: 0; transform: scale(0.98); }
to   { opacity: 1; transform: scale(1); }
}
@keyframes lbZoomOut {
from { opacity: 1; transform: scale(1); }
to   { opacity: 0; transform: scale(0.98); }
}

.lb-img.lb-zoom-in{
animation: lbZoomIn var(--lb-anim) ease both;
}
.lb-img.lb-zoom-out{
animation: lbZoomOut var(--lb-anim) ease both;
}

.lb-img.lb-grabbing{
cursor: grabbing;
}

/* Toolbar */
.lb-toolbar{
position: absolute;
top: 10px;
right: 10px;
display: flex;
gap: 8px;
z-index: 2;
}

.lb-btn{
appearance: none;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(0,0,0,0.35);
color: #fff;
padding: 8px 10px;
border-radius: 10px;
font: 600 14px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
cursor: pointer;
}
.lb-btn:focus{
outline: 2px solid rgba(255,255,255,0.45);
outline-offset: 2px;
}
.lb-btn:hover{
background: rgba(0,0,0,0.5);
}

/* Pager */
.lb-pager{
position: absolute;
left: 12px;
bottom: 12px;
padding: 6px 10px;
border-radius: 10px;
background: rgba(0,0,0,0.35);
color: #fff;
font: 600 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
z-index: 2;
}

/* Caption + Error */
.lb-caption{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 16px;
width: min(980px, calc(100vw - 36px));
color: #fff;
font: 500 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
text-align: center;
z-index: 999999;
pointer-events: none;
text-shadow: 0 2px 10px rgba(0,0,0,0.65);
padding: 0 10px;
box-sizing: border-box;
}

.lb-error{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 60px;
width: min(980px, calc(100vw - 36px));
display: none;
background: rgba(255,255,255,0.08);
border: 1px solid rgba(255,255,255,0.22);
color: #fff;
padding: 10px 12px;
border-radius: 12px;
font: 500 14px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
z-index: 999999;
box-sizing: border-box;
}
.lb-error a{
color: #fff;
text-decoration: underline;
}

/* Thumbs */
.lb-thumbs{
position: fixed;
left: 50%;
transform: translateX(-50%);
bottom: 44px;
width: min(980px, calc(100vw - 36px));
display: flex;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
padding: 10px 6px;
box-sizing: border-box;
z-index: 999999;
scrollbar-width: thin;
}

.lb-thumb{
width: var(--lb-thumb-size);
height: calc(var(--lb-thumb-size) * 0.75);
object-fit: cover;
border-radius: 10px;
border: 2px solid rgba(255,255,255,0.20);
cursor: pointer;
flex: 0 0 auto;
opacity: 0.9;
}
.lb-thumb.lb-active{
border-color: rgba(255,255,255,0.85);
opacity: 1;
}

/* Nav buttons */
.lb-nav{
position: fixed;
z-index: 999999;
width: 40px;
height: 40px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.25);
background: rgba(0,0,0,0.35);
color: #fff;
cursor: pointer;
display: grid;
place-items: center;
transform: translateY(-50%);
}
.lb-nav:hover{
background: rgba(0,0,0,0.5);
}
.lb-nav:focus{
outline: 2px solid rgba(255,255,255,0.45);
outline-offset: 2px;
}
.lb-prev::before{ content: "<"; font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
.lb-next::before{ content: ">"; font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Dots */
.lb-dots{
position: absolute;
transform: translate(-50%, 14px);
display: none;
gap: 6px;
align-items: center;
justify-content: center;
z-index: 2;
}
.lb-dot{
width: 26px;
height: 26px;
border-radius: 999px;
border: 1px solid rgba(255,255,255,0.20);
background: rgba(0,0,0,0.35);
color: #fff;
font: 600 12px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
cursor: pointer;
}
.lb-dot.lb-active{
border-color: rgba(255,255,255,0.85);
}
.lb-dot:hover{
background: rgba(0,0,0,0.5);
}


/* Close-Icon */
.lb-btn-close::before{
 content: "\00D7"; /* Multiplikationszeichen */
 font: 700 18px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
