body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f7fb;
    color: #1f2937;
}

nav {
    background: #ffffff;
    padding: 16px 24px;
    border-bottom: 1px solid #e5e7eb;
}

nav a {
    text-decoration: none;
    color: #111827;
    margin-right: 12px;
    font-weight: 600;
}

nav a:hover {
    color: #2563eb;
}

hr {
    display: none;
}

body > h1,
body > p,
body > form,
body > div {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-size: 42px;
    margin-top: 40px;
    margin-bottom: 24px;
}

p {
    font-size: 16px;
    line-height: 1.6;
}

form {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    margin-top: 24px;
}

input {
    width: 100%;
    max-width: 420px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

button {
    background: #111827;
    color: #ffffff;
    border: none;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
}

button:hover {
    background: #2563eb;
}
.page {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.page.page-wide {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
.guest-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.guest-gallery img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.guest-item {
    position: relative;
    display: inline-block;
}

.delete-button {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 7px;
    font-size: 12px;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1;
}

.delete-button:hover {
    background: #dc2626;
}
#upload-progress {
    width: 100%;
    max-width: 420px;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 12px;
}

#upload-progress-bar {
    width: 0;
    height: 100%;
    background: #2563eb;
    transition: width 0.2s ease;
}
.upload-message {
    margin-top: 16px;
    color: #15803d;
}
#file-list {
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #374151;
}
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#lightbox-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    z-index: 10000;
}

#lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
    display: block;
    cursor: zoom-in;
}

#lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    z-index: 10005;
    pointer-events: auto;
}
#lightbox-prev,
#lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 60px;
    height: 80px;
    cursor: pointer;
    z-index: 10001;
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

#lightbox-prev:hover,
#lightbox-next:hover {
    background: rgba(0,0,0,0.8);
}
#photographer-upload-status {
    margin-top: 12px;
    margin-bottom: 12px;
    color: #15803d;
    font-weight: 600;
}
.page {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =========================
   SNAVIO UI OPTIMIERUNG V2
   Untergalerien deutlich kleiner
   Originalbilder deutlich größer
   ========================= */

.snavio-folder-grid{
    grid-template-columns:repeat(auto-fill,minmax(110px,1fr)) !important;
    gap:10px !important;
}

.snavio-folder-card{
    border-radius:10px !important;
}

.snavio-folder-thumb{
    aspect-ratio:1 / 0.78 !important;
    font-size:24px !important;
}

.snavio-folder-foot{
    padding:8px 10px !important;
    font-size:12px !important;
    gap:8px !important;
}

.snavio-folder-foot strong,
.snavio-folder-foot span,
.snavio-folder-foot div{
    font-size:12px !important;
    line-height:1.2 !important;
}

/* Bildkarten deutlich größer */
.guest-gallery{
    gap:18px !important;
}

.guest-gallery img{
    width:380px !important;
    height:380px !important;
    max-width:none !important;
    border-radius:14px !important;
    object-fit:cover !important;
}

/* Falls Videos/andere Medien enthalten sind */
.guest-gallery video{
    width:380px !important;
    height:380px !important;
    max-width:none !important;
    border-radius:14px !important;
    object-fit:cover !important;
}

@media (min-width: 1400px) {
    .guest-gallery img,
    .guest-gallery video{
        width:420px !important;
        height:420px !important;
    }
}

@media (max-width: 1100px) {
    .guest-gallery img,
    .guest-gallery video{
        width:280px !important;
        height:280px !important;
    }

    .snavio-folder-grid{
        grid-template-columns:repeat(auto-fill,minmax(100px,1fr)) !important;
    }
}

@media (max-width: 768px) {
    .guest-gallery img,
    .guest-gallery video{
        width:220px !important;
        height:220px !important;
    }

    .snavio-folder-grid{
        grid-template-columns:repeat(auto-fill,minmax(90px,1fr)) !important;
    }
}
