/* =========================================================
   FOTBOX PRO - GLOBAL
========================================================= */

body.fb-body{
    margin:0;
    padding:24px;
    background:#111;
    color:#fff;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    text-align:center;
}

a{
    color:inherit;
    text-decoration:none;
}


/* =========================================================
   LOGOS
========================================================= */

.fb-logo{
    max-width:240px;
    margin-bottom:30px;
}

.fb-header-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:30px;
    margin-bottom:35px;
}

.fb-header-logos img{
    max-height:80px;
    max-width:100%;
    width:auto;
}


/* =========================================================
   LANDING PAGE CARD
========================================================= */

.fb-card{
    max-width:760px;
    margin:0 auto 30px;
    padding:35px 25px;
    background:#1a1a1a;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.fb-card h1{
    margin-top:0;
    font-size:34px;
}

.fb-card p{
    line-height:1.7;
    color:#ccc;
}


/* =========================================================
   MAIN BUTTONS
========================================================= */

.fb-btn{
    display:inline-flex;
    justify-content:center;
    align-items:center;

    min-height:60px;
    min-width:220px;

    padding:16px 24px;

    border:none;
    border-radius:14px;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:all .2s ease;
}

.fb-btn:hover{
    transform:translateY(-2px);
}

.fb-btn--red{
    background:#e60023;
    color:#fff;
}

.fb-btn--green{
    background:#25D366;
    color:#fff;
}

.fb-btn--white{
    background:#fff;
    color:#000;
}

.fb-disabled{
    opacity:.45;
    pointer-events:none;
}


/* =========================================================
   DOWNLOAD GROUP
========================================================= */

.fb-download-group{
    display:flex;
    justify-content:center;
    align-items:stretch;
    flex-wrap:wrap;
    gap:15px;
    margin-top:30px;
}


/* =========================================================
   STATUS
========================================================= */

.fb-delay{
    margin-top:25px;
    margin-bottom:10px;
    font-size:20px;
    color:#ccc;
}

.fb-status{
    margin-top:20px;
    color:#ffb347;
    font-size:15px;
}


/* =========================================================
   PREVIEW
========================================================= */

.fb-preview{
    margin-top:40px;
}

.fb-preview-media{
    width:100%;
    max-width:1000px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.45);
}


/* =========================================================
   POWERED
========================================================= */

.fb-powered{
    margin-top:40px;
}

.fb-powered-text{
    margin-bottom:10px;
    font-size:13px;
    opacity:.7;
}

.fb-powered img{
    max-height:42px;
}


/* =========================================================
   SPINNER
========================================================= */

.fb-spinner{
    width:70px;
    height:70px;

    margin:30px auto;

    border-radius:50%;

    border:7px solid rgba(255,255,255,.15);
    border-top:7px solid #fff;

    animation:fbSpin 1s linear infinite;
}

@keyframes fbSpin{
    to{
        transform:rotate(360deg);
    }
}


/* =========================================================
   ADMIN
========================================================= */

.fb-admin-body{
    background:#111;
}

.fb-topbar{
    position:sticky;
    top:0;
    z-index:999;

    padding:20px;

    background:#1a1a1a;

    border-bottom:1px solid #333;
}

.fb-topbar h1{
    margin:0;
}

.fb-admin-container{
    padding:25px;
}


/* =========================================================
   BOX CARD
========================================================= */

.fb-box-card{
    margin-bottom:20px;
    overflow:hidden;

    background:#1b1b1b;

    border-radius:18px;
}

.fb-box-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px;

    cursor:pointer;
}

.fb-box-content{
    display:none;
    padding:20px;
    border-top:1px solid #333;
}

.fb-box-content.fb-open{
    display:block;
}

.fb-box-subtitle{
    opacity:.65;
    font-weight:400;
}

.fb-statline{
    margin-top:5px;
    font-size:13px;
    opacity:.8;
}


/* =========================================================
   BOX STATUS
========================================================= */

.fb-status{
    display:flex;
    align-items:center;
    gap:10px;
}

.fb-dot{
    width:14px;
    height:14px;
    border-radius:50%;
}

.fb-green{
    background:#00d26a;
}

.fb-red{
    background:#ff4b4b;
}

.fb-last-seen{
    margin-top:4px;
    font-size:11px;
    opacity:.7;
}


/* =========================================================
   GALLERY
========================================================= */

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

.fb-media-card{
    overflow:hidden;
    background:#222;
    border-radius:14px;
}

.fb-media-card img{
    width:100%;
    display:block;
    cursor:pointer;
}

.fb-media-card img:hover{
    opacity:.92;
}

.fb-media-info{
    padding:10px;
    font-size:12px;
}

.fb-media-date{
    margin-top:5px;
    color:#aaa;
    font-size:11px;
}


/* =========================================================
   SMALL BUTTON ROW
========================================================= */

.btn-row{
    display:flex;
    justify-content:center;
    gap:8px;
    margin-top:10px;
}

.btn{
    display:flex;
    justify-content:center;
    align-items:center;

    min-width:44px;
    height:44px;

    border:none;
    border-radius:10px;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.btn:hover{
    transform:translateY(-2px);
}

.btn-download{
    background:#fff;
    color:#000;
}

.btn-reprint{
    background:#fff;
    color:#000;
}
}

.btn-delete{
    background:#e60023;
    color:#fff;
}


/* =========================================================
   LIGHTBOX
========================================================= */

#fb-lightbox{
    display:none;

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.94);

    z-index:99999;

    flex-direction:column;
    justify-content:center;
    align-items:center;

    padding:25px;
    box-sizing:border-box;
}

.fb-lightbox-inner{
    display:flex;
    justify-content:center;
    align-items:center;

    width:100%;
    flex:1;
}

.fb-lightbox-image{
    max-width:92vw;
    max-height:78vh;

    border-radius:18px;

    box-shadow:0 10px 40px rgba(0,0,0,.5);
}


/* =========================================================
   LIGHTBOX BAR
========================================================= */

.fb-lb-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    width:min(1400px,95vw);

    margin-top:20px;
}

.fb-lb-nav,
.fb-lb-actions{
    display:flex;
    gap:12px;
}

.fb-lb-center{
    flex:1;
    text-align:center;
    overflow:hidden;
}

.fb-lb-filename{
    font-size:15px;
    font-weight:600;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.fb-lb-date{
    margin-top:4px;
    font-size:12px;
    color:#aaa;
}

.fb-lb-btn{
    display:flex;
    justify-content:center;
    align-items:center;

    min-width:90px;
    height:56px;

    padding:0 18px;

    border:none;
    border-radius:14px;

    background:#fff;
    color:#000;

    font-size:18px;
    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.fb-lb-btn:hover{
    transform:translateY(-2px);
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:768px){

    body.fb-body{
        padding:18px;
    }

    .fb-card{
        padding:25px 18px;
    }

    .fb-card h1{
        font-size:28px;
    }

    .fb-btn{
        width:100%;
        min-width:0;
    }

    .fb-download-group{
        flex-direction:column;
    }

    .fb-header-logos{
        gap:18px;
    }

    .fb-header-logos img{
        max-height:60px;
    }

    .fb-gallery{
        grid-template-columns:
        repeat(auto-fill,minmax(140px,1fr));
    }

    .fb-box-header{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

    .fb-lb-bar{
        flex-direction:column;
        align-items:stretch;
    }

    .fb-lb-nav,
    .fb-lb-actions{
        justify-content:center;
        flex-wrap:wrap;
    }

    .fb-lb-center{
        order:-1;
    }

    .fb-lb-btn{
        min-width:72px;
        height:52px;
        font-size:16px;
    }
}

/* =========================================================
   BUTTON FEINTUNING
========================================================= */

/* Counter nicht fett */
.btn small,
.fb-lb-btn small{
    font-weight:400;
    opacity:.85;
}

/* Delete in Lightbox rot */
.fb-lb-delete{
    background:#e60023 !important;
    color:#fff !important;
}