/* ================================================
   SHARED — IMAGE + VIDEO CREATE PAGES
   ================================================ */

/* Loading card */
.image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.image-card__loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: #94a3b8;
    max-width: 320px;
}

/* Spinner animation */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Alert fixed position */
.alert-fixed {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 300px;
    max-width: 600px;
}

/* Promo text block */
.promo-text {
    text-align: left;
    max-width: 660px;
    margin: 26px auto;
}

.promo-text__cta {
    display: block;
    margin: auto;
    max-width: max-content;
}

/* Result image */
.result-image {
    cursor: zoom-in;
}

/* Popup image in modal */
.popup-img {
    max-height: 90vh;
    cursor: default;
}

/* Modal image dialog */
.modal-image {
    width: max-content;
}

/* Balance badge */
.header__balance {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Download button on result */
.btn-download-result {
    background: #FEDF36;
    color: black;
}
.btn-download-result:hover {
    background: #f4d03f;
    color: black;
}