/* AI Image */
.ai-image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.ai-image-processing,
.ai-image-pending {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* height: 100%; */
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ai-image-processing > h4,
.ai-image-pending > h4 {
    margin-top: 10px;
    font-size: 18px;
}

.ai-image-processing > p,
.ai-image-pending > p {
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* Modal */
.modal-ai-image-wrap {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    max-height: 80vh; /* Adjust as needed */
}

/* Reference Image */
.select-reference-image-link {
    text-decoration: none;
    color: inherit;
}

.select-reference-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 1px dashed #ccc;
    padding: 20px;
    cursor: pointer;

    aspect-ratio: 1 / 1;
}

.select-reference-image-content {
    text-align: center;
    margin-bottom: 10px;
}

.select-reference-image-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

/* Reference Image Modal */
.selectedReferenceImage {
    border: 3px solid #007bff;
}

/* Model Selection Modal */
.select-model-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* height: 500px; */
    border: 1px solid #ccc;

    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Matches the width percentage */
}

.select-model-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.selectedModel {
    border: 3px solid #007bff;
}

/* Video */
.ai-video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
}

.ai-video-processing,
.ai-video-pending {
    width: 100%;
    aspect-ratio: 9 / 16;
    /* height: 100%; */
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.ai-video-processing > h4,
.ai-video-pending > h4 {
    margin-top: 10px;
    font-size: 18px;
}

.ai-video-processing > p,
.ai-video-pending > p {
    font-size: 14px;
    color: #555;
    text-align: center;
}

/* 4. Define the keyframes if not already loaded by Font Awesome */
@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Show Video Modal */
.modal-video-wrap {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    max-height: 80vh; /* Adjust as needed */
}

.modal-video-container {
    width: 33%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}

.modal-video-details {
    width: 66%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    padding: 20px;
}

/* Frontend CSS */

/* Model/Character */
/* Show model Modal */
.modal-image-wrap {
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: row;
    max-height: 80vh; /* Adjust as needed */
}

.modal-image-container {
    width: 33%;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}

.modal-image-details {
    width: 66%;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    padding: 20px;
}

/* Model Generation */
.model-image-pending,
.model-image-processing,
.model-image-active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px; /* Adjust as needed */
}

.model-image-pending,
.model-image-processing {
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* AI Images */

