/* Export Configuration Styles */ .export-config-page { min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 2rem 0; } /* Header Section */ .export-header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 2rem; margin: 0 auto 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; } .header-content h1 { color: #2d3748; font-size: 2.5rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 1rem; } .header-content h1 i { color: #48bb78; font-size: 2.2rem; } .header-content p { color: #718096; font-size: 1.1rem; margin-bottom: 0; } .header-actions { display: flex; gap: 1rem; align-items: center; } /* Applied Filters Section */ .applied-filters-section { max-width: 1200px; margin: 0 auto 2rem; } .filters-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 1.5rem; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); } .filters-header { display: flex; align-items: center; margin-bottom: 1rem; } .filters-header h3 { color: #2d3748; font-size: 1.4rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 0.75rem; } .filters-header i { color: #4299e1; } .filters-display { display: flex; flex-wrap: wrap; gap: 0.75rem; } .filter-tag { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; padding: 0.5rem 1rem; border-radius: 25px; font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3); } /* Export Configuration Section */ .export-config-section { max-width: 1200px; margin: 0 auto; } .config-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); } .config-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; } .config-header h3 { color: #2d3748; font-size: 1.6rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 0.75rem; } .config-header i { color: #48bb78; } .config-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; } /* Columns Grid */ .columns-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; } .column-item { background: linear-gradient(135deg, #f7fafc, #edf2f7); border: 2px solid #e2e8f0; border-radius: 12px; padding: 1.5rem; transition: all 0.3s ease; } .column-item:hover { border-color: #4299e1; box-shadow: 0 4px 16px rgba(66, 153, 225, 0.15); transform: translateY(-2px); } .column-checkbox { margin-bottom: 1rem; } .column-checkbox input[type="checkbox"] { display: none; } .column-checkbox label { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; font-weight: 600; color: #2d3748; font-size: 1.1rem; padding: 0.75rem; border-radius: 8px; transition: all 0.3s ease; } .column-checkbox label i { width: 20px; height: 20px; border: 2px solid #cbd5e0; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; color: transparent; transition: all 0.3s ease; } .column-checkbox input[type="checkbox"]:checked + label { background: linear-gradient(135deg, #48bb78, #38a169); color: white; } .column-checkbox input[type="checkbox"]:checked + label i { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); color: white; } .column-name-input { transition: all 0.3s ease; } .column-name-input label { display: block; font-weight: 500; color: #4a5568; margin-bottom: 0.5rem; font-size: 0.9rem; } .column-name-input input { width: 100%; padding: 0.75rem; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; background: white; transition: all 0.3s ease; } .column-name-input input:focus { outline: none; border-color: #4299e1; box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1); } /* Preview Section */ .preview-section { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); } .preview-header h3 { color: #2d3748; font-size: 1.6rem; font-weight: 600; margin: 0 0 1.5rem 0; display: flex; align-items: center; gap: 0.75rem; } .preview-header i { color: #ed8936; } .preview-table-container { overflow-x: auto; border-radius: 10px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); } .preview-table { width: 100%; border-collapse: collapse; background: white; font-size: 0.9rem; } .preview-table th { background: linear-gradient(135deg, #4299e1, #3182ce); color: white; padding: 1rem; text-align: left; font-weight: 600; border-bottom: 2px solid #2b6cb0; white-space: nowrap; } .preview-table td { padding: 0.75rem 1rem; border-bottom: 1px solid #e2e8f0; color: #4a5568; } .preview-placeholder { text-align: center; padding: 3rem; color: #a0aec0; font-style: italic; font-size: 1.1rem; } /* Submit Section */ .submit-section { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-radius: 15px; padding: 2rem; text-align: center; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); } .submit-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; } .submit-note { color: #718096; font-size: 0.95rem; margin: 0; display: flex; align-items: center; gap: 0.5rem; } .submit-note i { color: #4299e1; } /* Button Styles */ .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border: none; border-radius: 8px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s ease; font-size: 1rem; } .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); } .btn-success { background: linear-gradient(135deg, #48bb78, #38a169); color: white; } .btn-success:hover { background: linear-gradient(135deg, #38a169, #2f855a); } .btn-secondary { background: linear-gradient(135deg, #a0aec0, #718096); color: white; } .btn-secondary:hover { background: linear-gradient(135deg, #718096, #4a5568); } .btn-outline { background: transparent; color: #4299e1; border: 2px solid #4299e1; } .btn-outline:hover { background: #4299e1; color: white; } .btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; } .btn-lg { padding: 1rem 2rem; font-size: 1.1rem; } /* Responsive Design */ @media (max-width: 768px) { .export-config-page { padding: 1rem; } .export-header { flex-direction: column; text-align: center; } .header-content h1 { font-size: 2rem; } .columns-grid { grid-template-columns: 1fr; gap: 1rem; } .config-header { flex-direction: column; align-items: flex-start; } .config-actions { width: 100%; justify-content: center; } .config-card, .preview-section, .submit-section { padding: 1.5rem; } } @media (max-width: 480px) { .filters-display { flex-direction: column; } .config-actions { flex-direction: column; width: 100%; } .btn { width: 100%; justify-content: center; } .submit-actions { width: 100%; } } /* Instructions Card */ .instructions-card { background: linear-gradient(135deg, #e3f2fd, #f3e5f5); border: 2px solid #4fc3f7; border-radius: 12px; padding: 1.5rem; margin-bottom: 2rem; box-shadow: 0 4px 12px rgba(79, 195, 247, 0.15); } .instructions-content h4 { color: #1565c0; font-size: 1.2rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; } .instructions-content ul { list-style: none; padding: 0; margin: 0; } .instructions-content li { padding: 0.5rem 0; color: #424242; font-size: 0.95rem; display: flex; align-items: flex-start; gap: 0.75rem; } .instructions-content li::before { content: "✓"; color: #4caf50; font-weight: bold; font-size: 1.1rem; margin-top: 0.1rem; } .instructions-content .highlight { background: linear-gradient(135deg, #ffeb3b, #ffc107); padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; color: #f57c00; } /* Columns Section */ .columns-section { margin-bottom: 2rem; } .columns-section h4 { color: #2d3748; font-size: 1.4rem; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; } /* Selected Columns Section */ .selected-columns-section { background: linear-gradient(135deg, #f8f9fa, #e9ecef); border: 2px dashed #6c757d; border-radius: 12px; padding: 2rem; margin-top: 2rem; transition: all 0.3s ease; } .selected-columns-section.has-columns { border-color: #28a745; border-style: solid; background: linear-gradient(135deg, #f8fff8, #e8f5e8); } .selected-columns-section h4 { color: #495057; font-size: 1.3rem; font-weight: 600; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem; } .drag-hint { font-size: 0.85rem; color: #6c757d; font-weight: normal; font-style: italic; } /* Selected Columns List */ .selected-columns-list { display: flex; flex-direction: column; gap: 0.75rem; min-height: 60px; } .selected-column-item { background: white; border: 2px solid #e2e8f0; border-radius: 8px; padding: 1rem; cursor: move; transition: all 0.3s ease; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .selected-column-item:hover { border-color: #4299e1; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(66, 153, 225, 0.15); } .selected-column-item.sortable-drag { opacity: 0.8; transform: rotate(5deg); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); z-index: 1000; } .selected-column-item.sortable-ghost { opacity: 0.4; background: #f1f5f9; } .selected-column-item.sortable-chosen { border-color: #3b82f6; background: #eff6ff; } .selected-column-info { display: flex; align-items: center; gap: 1rem; flex: 1; } .column-drag-handle { color: #9ca3af; font-size: 1.2rem; cursor: grab; padding: 0.5rem; border-radius: 4px; transition: all 0.2s ease; } .column-drag-handle:hover { color: #4b5563; background: #f3f4f6; } .column-drag-handle:active { cursor: grabbing; } .selected-column-details { flex: 1; } .selected-column-name { font-weight: 600; color: #1f2937; font-size: 1rem; margin-bottom: 0.25rem; } .selected-column-export-name { font-size: 0.85rem; color: #6b7280; font-style: italic; } .column-order-number { background: linear-gradient(135deg, #4f46e5, #7c3aed); color: white; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3); } /* Empty state for selected columns */ .selected-columns-empty { text-align: center; padding: 2rem; color: #6b7280; font-style: italic; } .selected-columns-empty i { font-size: 2rem; margin-bottom: 1rem; color: #9ca3af; } /* Enhanced column items in grid */ .column-item.selected { border-color: #10b981; background: linear-gradient(135deg, #f0fdf4, #ecfdf5); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(16, 185, 129, 0.15); } .column-item.selected .column-checkbox label { background: linear-gradient(135deg, #10b981, #059669); color: white; } /* Responsive design for drag & drop */ @media (max-width: 768px) { .selected-columns-section { padding: 1rem; } .selected-column-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; } .selected-column-info { width: 100%; flex-direction: column; align-items: flex-start; } .column-order-number { align-self: flex-end; } .drag-hint { display: none; } } /* Animation for smooth transitions */ .selected-columns-list .selected-column-item { animation: slideInUp 0.3s ease-out; } @keyframes slideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Sortable.js additional styles */ .sortable-fallback { display: none; } /* Enhanced preview table to show column order */ .preview-table thead th { position: relative; } .preview-table thead th::before { content: attr(data-order); position: absolute; top: -8px; right: -8px; background: #4f46e5; color: white; font-size: 0.7rem; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); } /* Collapsible Sections */ .collapsible-content { max-height: 5000px; overflow: hidden; transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out; opacity: 1; } .collapsible-content.collapsed { max-height: 0; opacity: 0; } .toggle-icon { transition: transform 0.3s ease; margin-left: 10px; font-size: 0.9em; color: #6c757d; } .toggle-icon.rotated { transform: rotate(-180deg); } .config-header[onclick], .selected-columns-section h4[onclick] { transition: background-color 0.2s ease; border-radius: 8px; padding: 10px; margin: -10px; user-select: none; } .config-header[onclick]:hover, .selected-columns-section h4[onclick]:hover { background-color: rgba(0, 0, 0, 0.02); } .config-header h3 { display: flex; align-items: center; width: 100%; justify-content: space-between; } .selected-columns-section h4 { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }