/* Rich Text Editor Styles */
.rich-text-editor {
    margin-bottom: 1rem;
}

.rich-text-editor .editor-container {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}


/* Image Uploader Styles */
.image-uploader {
    margin-bottom: 1rem;
}

.image-uploader .image-preview {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
}

.image-uploader .image-preview img {
    max-width: 100%;
    max-height: 300px;
    display: block;
    margin: 0 auto;
}

/* Gallery Styles */
.gallery-component {
    margin-bottom: 1rem;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    width: 150px;
    height: 150px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #dc3545;
    z-index: 10;
}

.gallery-add {
    width: 150px;
    height: 150px;
    border: 2px dashed #ced4da;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6c757d;
    font-size: 24px;
    transition: all 0.3s ease;
}

.gallery-add:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}

/* Image with Text Styles */
.image-with-text {
    margin-bottom: 1rem;
}

.image-with-text-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.image-with-text-container.position-top,
.image-with-text-container.position-bottom {
    flex-direction: column;
}

.image-with-text-container.position-left {
    flex-direction: row;
}

.image-with-text-container.position-right {
    flex-direction: row-reverse;
}

.image-with-text-container.position-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.image-with-text-image {
    flex: 0 0 auto;
}

.image-with-text-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-with-text-content {
    flex: 1 1 auto;
}

@media (max-width: 768px) {
    .image-with-text-container.position-left,
    .image-with-text-container.position-right {
        flex-direction: column;
    }
}
EOL < /dev/null
