/* Your Global Styles */
:root .lpx-brand-logo {
    --lpx-logo: url('/images/logo/leptonxlite/logo-light.png');
    --lpx-logo-icon: url('/images/logo/leptonxlite/logo-light-thumbnail.png');
}

/* Global Styles */

/* Dropzone and image preview styles */
.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: #f8f9fa;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.dropzone:hover {
    background: #e9ecef;
}

.dropzone.dragover {
    background: #e3f2fd;
    border-color: #2196F3;
}

.dropzone-message {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.dropzone-icon {
    font-size: 2rem;
    color: #0087F7;
    margin-bottom: 1rem;
}

.image-preview-container {
    gap: 10px;
}

.image-preview-item {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px;
    background: white;
    position: relative;
}

.image-preview {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 3px;
}

.image-preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 4px;
}

.image-preview-loader {
    color: #0087F7;
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

.image-preview-error {
    color: #dc3545;
    font-size: 2rem;
}

.image-preview-overlay.clickable {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.image-preview-overlay.clickable:hover {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-preview-info {
    padding: 5px 0;
    font-size: 0.8rem;
    color: #495057;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.image-preview-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.image-action-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.image-action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.upload-progress-container {
    margin-top: 1rem;
}

.upload-progress {
    height: 5px;
    margin-bottom: 0.5rem;
}

.upload-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}
