/* Ai2Media page */
#data-buttons button {
    margin-right: 10px;
}


/* ai image meta box */
.ai-image-buttons button {
    margin-right: 10px;
    margin-top: 10px;
}

.textarea-metabox {
    resize: horizontal;
    min-width: 600px;
    max-width: 100%;
    height: 65px;
}

#generated-image {
    height: 150px;
    transition: box-shadow 0.2s ease-in-out;
    z-index: 100;
}

#generated-image:hover {
    cursor: zoom-in;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.8);
}

#fullpage {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0,0,0,0.8);
}

#fullpage:hover {
    cursor: zoom-out;
}

/* ui elements and effects */
.loader {
    display: none;
    margin-bottom: 20px;
    margin-left: 20px;
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blinking {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

.api-settings {
    width: 280px;
}
