
/* Popup Preview & Popup */
#popupPreview {
    max-height: var(--max-popup-height);
    max-width: var(--max-popup-width);
}

#popup {
    padding-top: var(--padding-large);
    text-align: center;
    color: var(--font-color);
    background-color: var(--popup-bg-color);
    border-radius: var(--popup-radius);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--popup-width-large);
    height: var(--popup-height-large);
}
h4
{
    font-size: 1em;
}
/* Image Styling */
.image {
    width: 100%;
    height: auto; 
    object-fit: cover; 
    border-radius: 10px;
    display: block;
    margin-bottom: 10px; 
}

/* Menus & Containers */
.menus {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.imagesContainer {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 15px; 
    padding: 10px; 
    margin-bottom: 200px;
}

.loopContainer {
    padding: 10px;
    border-radius: 5px; 
    box-sizing: border-box;
}

/* Image Info */
.imageInfo {
    display: flex;
    flex-direction: column;
    font-family: var(--livvic);
    gap: var(--gap-medium);
    align-items: center;
    text-align: center;
}

.imageInfo > p {
    font-size: var(--font-size-medium);
    flex: 1;
    margin: 0;
    width: calc(100% - 60px);
    font: var(--livvic);
}

.imageInfo > button {
    width: 50px;
    height: 50px;
    margin: 0;
    align-self: center;
}

/* Author Box & Description */
.authorBox {
    font-size: 1.2em;
    color: var(--popup-bg-color);
}

.description {
    word-wrap: break-word;
    color: var(--font-color);
}


/* Popup Headings */
#popup h1,
#popup h3,
#popup h4 {
    font-family: var(--livvic) !important;
    margin: 6px;
}
.beastName
{
    color: rgb(193, 193, 193);
}
/* NSFW Tick Box */
.nsfwTickBox {
    max-width: fit-content;
    margin: auto;
    padding: var(--padding-small);
    font-family: var(--livvic);
    color: var(--font-color);
    text-align: center;
    font-weight: bold;
    font-size: var(--font-size-medium);
}


#lightbox {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
}


/* Media Queries */
@media (max-width: 600px) {
    #popup {
        width: 90%;
        height: auto;
        padding: var(--padding-small);
    }

    .image {
        width: 100%;
        height: auto;
    }
    
    .imageInfo > p {
        font-size: 1.5em;
    }
    
    .imageInfo > button {
        width: 40px;
        height: 40px;
    }
    
    .menus {
        flex-direction: column;
    }
    
    .imagesContainer {
        grid-template-columns: 1fr; /* Single column for images on mobile */
    }
    
    
    .masturbationCount {
        font-size: 8px;
    }
    
    .nsfwTickBox {
        font-size: 1.2em;
    }
    
}

@media (max-width: 400px) {
    .button {
        padding: 10px;
    }
}

.completed
{
    color:rgb(61, 255, 61);
}
.reserved
{
    color:rgb(255, 175, 25);
}
.todo
{
    color:rgb(107, 107, 255);
}
.image
{
    color:rgb(158, 167, 175);
}
.thumbnail {
    max-height: 150px;
    max-width: 150px;
    margin-bottom: 5px;
    border-radius: 15px;
    transition: filter 0.3s ease;
}
 .thumbnail {
    filter: blur(5px);
    cursor: pointer;
}

:hover .thumbnail:hover {
    filter: none;
}
.imageContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; /* also centers text */
}
ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    list-style-type: disc;
    font-size: 1rem;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark backgrounds (adjust as needed) */
  }
  
  li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 0.5rem;
  }
  
  li::marker {
    color: #ff69b4; /* Hot pink bullets for style */
  }
  