  /*
Plugin Name: Image Viewer with Google Drive
Description: Styles for Image Viewer plugin
Version: 1.0
*/
   body {
            background-image: url(https://img.freepik.com/free-vector/realistic-background-futuristic-style_23-2149129125.jpg);
            background-size: cover;
            background-repeat: no-repeat;
            color: white;
            font-family: Arial, sans-serif;
            text-align: center;
        }

        h2 {
            margin-bottom: 20px;
        }
.image-viewer-container {
    max-width: 100%;
}
        /* Thumbnail Grid */
        .thumbnail-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: start;
            gap: 15px;
            padding: 20px;
        }
        .page-id-349 .entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained {
    position: relative;
    background-image: url(https://img.freepik.com/free-vector/realistic-background-futuristic-style_23-2149129125.jpg);
    background-repeat: no-repeat;
            background-size: cover;}        .page-id-349 h2{color:white}
        .thumbnail {
            width: 165px;
            height: 165px !important;
            cursor: pointer;
            border-radius: 5px;
            transition: transform 0.3s;
            object-fit: cover;
        }
.entry-content.wp-block-post-content.has-global-padding.is-layout-constrained.wp-block-post-content-is-layout-constrained::before {
    content: "";
    background-color: transparent !important; 
 }
        .thumbnail:hover {
            transform: scale(1.1);
            border: 2px solid #ff9800;
        }

     /* Fullscreen Viewer */
.fullscreen-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

.fullscreen-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    user-select: none;
}

.nav-btn:hover {
    background: rgba(255, 152, 0, 0.8);
}

#prev-img {
    left: 20px;
}

#next-img {
    right: 20px;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}

/* Download Button */
.download-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #ff9800;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    color: white;
}


        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 20px;    align-items: center;
        }

        .pagination button {
            padding: 10px 15px;
            margin: 5px;
            font-size: 16px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            background-color: #ff9800;
            color: white;
        }

        .pagination button:disabled {
            background-color: grey;
            cursor: not-allowed;
        }