/**
 * Vesak Vibe - Main CSS
 */

/* Container for lanterns */
#vesak-vibe-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none; /* Don't interfere with page interaction */
    z-index: 9999; /* Ensure lanterns are on top of other content */
}

/* Lantern styling */
.vesak-vibe-lantern {
    position: absolute;
    pointer-events: none;
    will-change: transform; /* Performance optimization for animations */
    transition: transform 0.1s linear; /* Smooth movement */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2)); /* Subtle shadow for depth */
    object-fit: contain; /* Preserve aspect ratio but stay within dimensions */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

/* Admin panel styles */
.lantern-image-container {
    margin-bottom: 10px;
}

.lantern-image-preview {
    margin-bottom: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    display: inline-block;
}

.vesak-vibe-reset-btn {
    margin-left: 10px !important;
}

/* Range input styling */
input[type=range] {
    vertical-align: middle;
}

input[type=range] + output {
    margin-left: 5px;
    vertical-align: middle;
}

/* Mobile responsiveness */
@media screen and (max-width: 782px) {
    .date-range-container label {
        display: block;
        margin-bottom: 5px;
    }
    
    .date-range-container label[for="vesak_vibe_end_date"] {
        margin-top: 10px;
        margin-left: 0 !important;
    }
}