﻿

:root {
    --primary-color: #8967f6;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-bg: #f8f9fa;
}
.drop-zone {
    border: 3px dashed var(--primary-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    min-height: 200px;
}

.drop-zone--over {
    border-color: var(--success-color);
    background-color: rgba(40, 167, 69, 0.1);
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.file-list-container {
    margin-top: 2rem;
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.file-item {
    display: inline-block;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

    .file-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    }

.file-icon {
    font-size: 1.5rem;
    color: var(--danger-color);
    margin-right: 1rem;
}

.file-info {
    flex-grow: 1;
}

.file-name {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.file-actions {
    display: flex;
    align-items: center;
}

.preview-btn {
    margin-right: 0.75rem;
}

.preview-container {
    margin-top: 2rem;
    display: none;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.preview-canvas {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.preview-nav {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.action-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-merge {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
}

    .btn-merge:hover {
        background-color: #7a5ce6;
        border-color: #7a5ce6;
    }

.section-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.loading-container {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
}

.download-container {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    margin-top: 2rem;
}

.download-icon {
    font-size: 3rem;
    color: oklch(0.359 0.144 278.697) !important;
    margin-bottom: 1rem;
}

.sortable-ghost {
    opacity: 0.5;
    background: #e9ecef;
}

.sortable-chosen {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

@@media (max-width: 768px) {
    .main-container {
        padding: 1rem;
    }

    .drop-zone {
        padding: 2rem 1rem;
    }

    .action-buttons {
        flex-direction: column;
    }
}
