/* ===============================
   FRONTEND PHOTO GALLERY PRO v3.7
   =============================== */

.fpgv3-widget{
    border:1px solid #ddd;
    padding:12px;
    margin:15px 0;
    background:#fafafa;
    border-radius:6px;
    font-family:inherit;
}

.fpgv3-current-album-label{
    margin-bottom:10px;
    font-size:15px;
}

.fpgv3-controls{
    margin-bottom:12px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.fpgv3-controls select,
.fpgv3-controls input{
    padding:4px 6px;
    font-size:14px;
}

.fpgv3-upload-bar{
    margin-bottom:15px;
}

.fpgv3-upload-bar input[type="file"]{
    margin-right:5px;
}

.fpgv3-upload-btn{
    padding:6px 12px;
    background:#2b7cff;
    border:none;
    color:white;
    border-radius:4px;
    cursor:pointer;
}
.fpgv3-upload-btn:hover{
    background:#1a63d4;
}

/* ===============================
   GALLERIA
   =============================== */
.fpgv3-gallery-inner{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.fpgv3-pos-left .fpgv3-item{text-align:left;}
.fpgv3-pos-center .fpgv3-item{text-align:center;}
.fpgv3-pos-right .fpgv3-item{text-align:right;}

.fpgv3-item{
    background:white;
    border:1px solid #ccc;
    padding:8px;
    border-radius:6px;
    transition:0.2s;
    box-shadow:0 1px 3px rgba(0,0,0,0.08);
}

.fpgv3-item:hover{
    transform:scale(1.03);
    box-shadow:0 3px 6px rgba(0,0,0,0.12);
}

.fpgv3-item img{
    border-radius:4px;
}

/* Buttons below each image */
.fpgv3-buttons{
    margin-top:6px;
    display:flex;
    justify-content:center;
    gap:6px;
}

.fpgv3-buttons button{
    padding:4px 8px;
    font-size:13px;
    border:1px solid #aaa;
    background:#fff;
    border-radius:4px;
    cursor:pointer;
}
.fpgv3-buttons button:hover{
    background:#f0f0f0;
}

/* ===============================
   LIGHTBOX
   =============================== */
.fpgv3-lb{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.85);
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:9999;
    padding:20px;
}

.fpgv3-lb-content{
    position:relative;
    max-width:90vw;
    max-height:90vh;
}

.fpgv3-lb-content img{
    max-width:100%;
    max-height:100%;
    border-radius:6px;
    box-shadow:0 0 18px rgba(0,0,0,0.5);
}

.fpgv3-lb-close{
    position:absolute;
    top:-12px;
    right:-12px;
    background:#000;
    color:#fff;
    font-size:24px;
    width:32px;
    height:32px;
    border-radius:50%;
    text-align:center;
    line-height:30px;
    cursor:pointer;
    box-shadow:0 0 5px #000;
}
.fpgv3-lb-close:hover{
    background:#222;
}
