/* General Styles for Image Ninja Pro Admin */
.image-ninja-pro-wrapper.aligncenter {
    text-align: center !important;
    margin: 0 auto !important;
}

.image-ninja-pro-wrapper img {
    width: 100% !important;
    height: auto !important;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .image-ninja-pro-wrapper {
        max-width: 100% !important;
        margin: 10px auto !important; /* Existing top/bottom margin */
        /* Removed padding here to avoid conflict with inline padding */
    }

    .image-ninja-pro-wrapper.alignleft,
    .image-ninja-pro-wrapper.alignright {
        float: none !important; /* Remove float on mobile */
        margin: 10px auto !important; /* Center with top/bottom margin */
        max-width: 100% !important; /* Ensure full width */
        /* Removed padding here to avoid conflict with inline padding */
    }

    .image-ninja-pro-wrapper img {
        max-width: 100% !important;
        max-height: none !important; /* Allow height to adjust naturally */
    }

    /* Ensure content clears the image */
    .image-ninja-pro-wrapper + * {
        clear: both !important; /* Clear any floated or overlapping content */
        margin-top: 20px !important; /* Increased space above the next element (e.g., heading) to match inline margin-bottom */
    }
}

.image-ninja-pro-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#generated_image_preview img {
    border: 1px solid #ddd;
    padding: 5px;
}

#enhanced_prompts .enhanced-prompt {
    background: #f9f9f9;
    padding: 5px;
    border-radius: 3px;
}

#enhanced_prompts .enhanced-prompt:hover {
    background: #e9e9e9;
}

/* Elite Automation Toggle Switch */
.elite-slider {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    background-color: #ccc;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.elite-slider .slider-knob {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 10px;
    transition: left 0.3s;
}

#elite-automation-switch {
    display: none;
}

#elite-status {
    margin-left: 10px;
    font-size: 14px;
}