* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-main {
    flex: 1;
}

.header-main h1 {
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header-main p {
    color: #718096;
    font-size: 1.1rem;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-details {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
    font-weight: 500;
    padding: 8px 12px;
    background: #edf2f7;
    border-radius: 8px;
}

.user-details i {
    color: #718096;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

section {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.upload-section {
    grid-column: 1 / -1;
}

/* Upload Area */
.upload-card h2 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.upload-area {
    border: 3px dashed #cbd5e0;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.upload-area.dragover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3rem;
    color: #a0aec0;
    margin-bottom: 15px;
}

.upload-area p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(72, 187, 120, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: #dd6b20;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(237, 137, 54, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 153, 225, 0.3);
}

/* Progress Bar */
.upload-progress {
    margin-top: 20px;
}

.progress-bar {
    background: #e2e8f0;
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

#progressText {
    color: #4a5568;
    font-weight: 600;
}

/* Navigation */
.nav-header, .selection-header, .results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.nav-controls, .selection-controls, .results-controls {
    display: flex;
    gap: 10px;
}

.file-tree {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
}

.folder {
    margin-bottom: 10px;
}

.folder-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.folder-header:hover {
    background: #f7fafc;
}

.folder-header.selected {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.folder-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.folder-actions {
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.folder-header:hover .folder-actions {
    opacity: 1;
}

.folder-icon {
    margin-right: 8px;
    color: #f6ad55;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 25px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: #f7fafc;
}

.file-item.selected {
    background: rgba(72, 187, 120, 0.1);
    color: #48bb78;
}

.file-info {
    display: flex;
    align-items: center;
    flex: 1;
}

.file-actions {
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.file-item:hover .file-actions {
    opacity: 1;
}

.action-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: #718096;
}

.action-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.delete-btn:hover {
    background: #fed7d7;
    color: #e53e3e;
}

.file-icon {
    margin-right: 8px;
    color: #4299e1;
}

/* Selected Files */
.selected-files {
    max-height: 300px;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 20px;
}

.selected-item {
    background: #f7fafc;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-btn {
    background: #fed7d7;
    color: #e53e3e;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8rem;
}

.remove-btn:hover {
    background: #feb2b2;
}

/* Analysis Section */
.results-section {
    grid-column: 1 / -1;
    margin-top: 30px;
}

.results-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 20px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1rem;
    color: #4a5568;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background: #f7fafc;
    color: #667eea;
}

.tab-button.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: #f7fafc;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* File Cards */
.file-card {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.file-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.file-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #718096;
}

.file-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Duplicate Groups */
.duplicate-group {
    border: 2px solid #fed7d7;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    background: white;
}

.duplicate-header {
    background: linear-gradient(135deg, #fed7d7, #fc8181);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.duplicate-info {
    color: #742a2a;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.duplicate-actions {
    display: flex;
    gap: 10px;
}

.duplicate-group {
    background: #fed7d7;
    border-left: 4px solid #e53e3e;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.duplicate-header {
    font-weight: 600;
    color: #e53e3e;
    margin-bottom: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 600px;
    max-width: 90%;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 20px;
    color: #2d3748;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 1rem;
}

.modal-content input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Delete Modal Specific Styles */
.delete-modal {
    border-top: 4px solid #e53e3e;
}

.delete-icon {
    font-size: 3rem;
    color: #e53e3e;
    margin-bottom: 15px;
}

.delete-modal p {
    color: #4a5568;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Share Modal Specific Styles */
.share-link-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.share-link-input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f7fafc;
}

.share-link-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.share-info {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.share-info p {
    margin-bottom: 10px;
}

.share-info code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.share-note {
    color: #718096;
    font-size: 0.9em;
    margin-top: 15px !important;
}

.share-note i {
    color: #667eea;
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-header, .selection-header, .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nav-controls, .selection-controls, .results-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .results-controls .btn {
        flex: 1;
        min-width: 120px;
    }
    
    /* Mostrar botões de ação sempre em mobile */
    .folder-actions, .file-actions {
        opacity: 1 !important;
    }
    
    .action-btn {
        padding: 6px 8px;
        font-size: 0.9rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .results-stats {
        flex-direction: column;
    }
    
    .tabs {
        overflow-x: auto;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px rgba(102, 126, 234, 0.5); }
    100% { transform: scale(1); }
}

/* Similar items styles */
.similar-group {
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    background: white;
}

.similar-group-header {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.similar-group-info {
    color: #2d3436;
    font-weight: 600;
}

.similarity-score {
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.9em;
}

.similar-items-list {
    padding: 15px;
}

.similar-item {
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.similar-item:hover {
    background: #e9ecef;
    transform: translateX(2px);
}

.similar-item.selected {
    border-color: #74b9ff;
    background: #e3f2fd;
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.3);
}

.similar-item.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #74b9ff;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.similar-item h5 {
    margin: 0 0 5px 0;
    color: #2d3436;
    font-size: 1em;
    line-height: 1.3;
}

.similar-item p {
    margin: 2px 0;
    color: #636e72;
    font-size: 0.9em;
}

.similar-controls {
    padding: 15px;
    border-top: 1px solid #dee2e6;
    background: #f8f9fa;
    display: flex;
    gap: 10px;
    align-items: center;
}

.select-all-checkbox {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto;
    color: #636e72;
    font-size: 0.9em;
}

.similar-actions {
    display: flex;
    gap: 10px;
}

.btn-similar {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.btn-similar.primary {
    background: #74b9ff;
    color: white;
}

.btn-similar.primary:hover {
    background: #0984e3;
}

.btn-similar.secondary {
    background: #ddd;
    color: #333;
}

.btn-similar.secondary:hover {
    background: #bbb;
}

.tab-badge {
    background: #ddd;
    color: #333;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8em;
    margin-left: 5px;
}

.tab-button.active .tab-badge {
    background: #74b9ff;
    color: white;
}

/* Enhanced Duplicate Groups */
.duplicates-header {
    margin-bottom: 20px;
    text-align: center;
}

.duplicate-group.selected-for-merge {
    border-color: #38b2ac !important;
    box-shadow: 0 4px 12px rgba(56, 178, 172, 0.3);
}

.duplicate-group.selected-for-merge .duplicate-header {
    background: linear-gradient(135deg, #81e6d9, #38b2ac) !important;
}

.duplicate-group.selected-for-merge .duplicate-info {
    color: #234e52 !important;
}

.duplicate-items {
    padding: 15px;
}

.duplicate-item {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #f8f9fa;
}

.item-selector {
    background: #e6fffa;
    padding: 10px 15px;
    border-bottom: 1px solid #81e6d9;
}

.duplicate-item:last-child {
    margin-bottom: 0;
}

/* Checkbox and Radio Styles */
.checkbox-container {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    display: flex;
    align-items: center;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #cbd5e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #e6fffa;
    border-color: #38b2ac;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #38b2ac;
    border-color: #38b2ac;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio-container {
    position: relative;
    padding-left: 25px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: #fff;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.radio-container:hover input ~ .radio-checkmark {
    background-color: #e6f3ff;
    border-color: #3182ce;
}

.radio-container input:checked ~ .radio-checkmark {
    background-color: #3182ce;
    border-color: #3182ce;
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .radio-checkmark:after {
    display: block;
}

.radio-container .radio-checkmark:after {
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-label {
    color: #2d3748;
    font-weight: 500;
}

/* === REVIEW SECTION === */
.review-header {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
}

/* Review Controls */
.review-controls {
    margin-bottom: 20px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.review-controls-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.bulk-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-controls {
    flex: 1;
}

.keyword-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 250px;
}

.filter-input {
    flex: 1;
    min-width: 180px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-input::placeholder {
    color: #a0aec0;
    font-style: italic;
}

/* Toggle AND/OR */
.filter-logic-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.filter-logic-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    white-space: nowrap;
}

.toggle-group {
    display: flex;
    gap: 8px;
    background: white;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.toggle-btn {
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: #718096;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.toggle-btn:hover {
    background: #f7fafc;
    color: #4a5568;
}

.toggle-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.toggle-btn i {
    font-size: 0.9rem;
}

/* Container de Tags */
.keyword-tags-container {
    width: 100%;
}

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 20px;
}

.keyword-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
    animation: tagFadeIn 0.3s ease-out;
}

.keyword-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(102, 126, 234, 0.3);
}

.keyword-tag-text {
    font-weight: 500;
}

.keyword-tag-remove {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 2px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    transition: all 0.2s ease;
    margin-left: 2px;
}

.keyword-tag-remove:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1);
}

.keywords-empty-state {
    color: #a0aec0;
    font-style: italic;
    font-size: 0.85rem;
    text-align: center;
    padding: 10px;
}

@keyframes tagFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.filter-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    white-space: nowrap;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-input {
    flex: 1;
    min-width: 200px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-input::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.review-controls-info {
    padding: 10px 15px;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.filter-info {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-info i {
    color: #667eea;
}

/* Responsividade para controles */
@media (max-width: 768px) {
    .review-controls-top {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bulk-actions {
        justify-content: center;
    }
    
    .filter-controls {
        max-width: none;
        min-width: auto;
    }
    
    .keyword-filter {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 10px;
    }
    
    .filter-logic-toggle {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .toggle-group {
        width: 100%;
        justify-content: center;
    }
    
    .toggle-btn {
        flex: 1;
        justify-content: center;
    }
    
    .filter-input-group {
        min-width: auto;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-input {
        min-width: auto;
        width: 100%;
    }
    
    .filter-label {
        text-align: center;
    }
    
    .keyword-tags {
        justify-content: center;
    }
}

/* === TOAST NOTIFICATIONS === */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: toastSlideIn 0.3s ease-out;
    transform: translateX(0);
    transition: transform 0.3s ease-out;
}

.toast-notification.toast-success {
    background: #48bb78;
    color: white;
    border: 1px solid #38a169;
}

.toast-notification.toast-info {
    background: #4299e1;
    color: white;
    border: 1px solid #3182ce;
}

.toast-notification.toast-warning {
    background: #ed8936;
    color: white;
    border: 1px solid #dd6b20;
}

.toast-notification.toast-error {
    background: #e53e3e;
    color: white;
    border: 1px solid #c53030;
}

.toast-close {
    background: none;
    border: none;
    color: currentColor;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes toastSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade do toast */
@media (max-width: 768px) {
    .toast-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.85rem;
    }
}

.review-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.stat-item i {
    color: #4299e1;
}

.review-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.review-item.included {
    border-left: 4px solid #48bb78;
    background: #f0fff4;
}

.review-item.excluded {
    border-left: 4px solid #f56565;
    background: #fffaf0;
    opacity: 0.7;
}

.review-item-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-item-title {
    flex: 1;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.4;
    margin-right: 15px;
    cursor: pointer;
}

.review-item-title:hover {
    color: #4299e1;
}

.review-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 80px;
    justify-content: center;
}

.review-status.pending {
    background: #fed7d7;
    color: #c53030;
}

.review-status.included {
    background: #c6f6d5;
    color: #22543d;
}

.review-status.excluded {
    background: #fed7d7;
    color: #c53030;
}

.review-item-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #718096;
    flex-wrap: wrap;
}

.review-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.review-actions-inline {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.review-btn-small {
    padding: 4px 12px;
    font-size: 0.8rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.review-btn-include {
    background: #48bb78;
    color: white;
}

.review-btn-include:hover {
    background: #38a169;
}

.review-btn-exclude {
    background: #f56565;
    color: white;
}

.review-btn-exclude:hover {
    background: #e53e3e;
}

.review-btn-view {
    background: #4299e1;
    color: white;
}

.review-btn-view:hover {
    background: #3182ce;
}

/* === ABSTRACT MODAL === */
.abstract-modal {
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.abstract-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.abstract-header h3 {
    color: #2d3748;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
    flex: 1;
    margin-right: 15px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: #f7fafc;
    color: #4a5568;
}

.abstract-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f7fafc;
    border-radius: 8px;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 600;
    color: #4a5568;
    width: 80px;
    flex-shrink: 0;
}

.info-value {
    color: #2d3748;
    flex: 1;
}

.abstract-content {
    margin-bottom: 25px;
}

.abstract-content h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#abstractText {
    line-height: 1.6;
    color: #4a5568;
    text-align: justify;
    padding: 15px;
    background: #fefefe;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    max-height: 300px;
    overflow-y: auto;
}

.no-abstract {
    text-align: center;
    color: #a0aec0;
    font-style: italic;
    padding: 40px 20px;
}

.no-abstract i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

.review-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.review-include-btn,
.review-exclude-btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    justify-content: center;
}

.review-include-btn {
    background: #48bb78;
    color: white;
}

.review-include-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.review-exclude-btn {
    background: #f56565;
    color: white;
}

.review-exclude-btn:hover {
    background: #e53e3e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 101, 101, 0.3);
}

.export-divider {
    width: 1px;
    height: 30px;
    background: #e2e8f0;
    margin: 0 10px;
}

/* === ESTILOS PARA REVISÕES === */

.review-manager {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.review-info h2 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.current-review {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-label {
    color: #718096;
    font-weight: 500;
}

.review-name {
    color: #2d3748;
    font-weight: 600;
    padding: 4px 12px;
    background: #edf2f7;
    border-radius: 6px;
}

.review-stats {
    color: #718096;
    font-size: 0.9rem;
}

.review-actions {
    display: flex;
    gap: 10px;
}

/* Modal de Gerenciamento de Revisões */
.review-manager-modal .modal-content {
    max-width: 800px;
    max-height: 80vh;
}

.reviews-list {
    display: grid;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.review-item {
    background: #fafafa;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.review-item.current {
    border-color: #4299e1;
    background: #ebf8ff;
}

.review-item:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.review-item-info h4 {
    color: #2d3748;
    margin-bottom: 4px;
}

.review-item-info .review-dates {
    color: #718096;
    font-size: 0.85rem;
}

.review-item-actions {
    display: flex;
    gap: 8px;
}

.review-item-actions .btn {
    padding: 6px 12px;
    font-size: 0.85rem;
}

.review-item-description {
    color: #4a5568;
    margin-bottom: 12px;
    font-style: italic;
}

.review-item-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 6px;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
}

.review-current-badge {
    background: #4299e1;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Modal de Formulário de Revisão */
.review-form-modal .modal-content {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2d3748;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Responsividade para Revisões */
@media (max-width: 768px) {
    .review-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .review-actions {
        justify-content: center;
    }
    
    .current-review {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .review-item-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .review-item-actions {
        justify-content: flex-end;
    }
}

/* === ESTADO VAZIO === */

.empty-state {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

/* === DRAG AND DROP STYLES === */

/* Estilos para elementos arrastáveis */
[draggable="true"] {
    cursor: grab;
    transition: all 0.3s ease;
}

[draggable="true"]:active {
    cursor: grabbing;
}

/* Elemento sendo arrastado */
.file-item.dragging {
    opacity: 0.6;
    transform: scale(0.95);
    background: rgba(102, 126, 234, 0.2);
    border: 2px dashed #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Elemento sobre o qual está sendo arrastado */
.folder-header.drag-over {
    background: rgba(72, 187, 120, 0.1) !important;
    border: 2px dashed #48bb78 !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
}

.file-tree.drag-over {
    background: rgba(72, 187, 120, 0.05);
    border-color: #48bb78 !important;
}

/* Indicador visual de área de drop */
.drop-indicator {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    position: absolute;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    pointer-events: none;
}

.drop-indicator.show {
    display: block;
    animation: fadeInBounce 0.3s ease-out;
}

.drop-indicator i {
    margin-right: 6px;
}

/* Modal para mover arquivo */
.move-modal .modal-content {
    max-width: 400px;
}

.move-modal h3 {
    color: #2d3748;
    margin-bottom: 20px;
    text-align: center;
}

.move-file-info {
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.move-file-info .file-icon {
    font-size: 2rem;
    color: #4299e1;
    margin-bottom: 8px;
}

.move-file-info .file-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.move-file-info .file-path {
    color: #718096;
    font-size: 0.9rem;
}

.folder-select {
    margin-bottom: 20px;
}

.folder-select label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}

.folder-dropdown {
    width: 100%;
    padding: 10px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.folder-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.folder-option {
    padding: 8px 12px;
    color: #2d3748;
}

.folder-option:hover {
    background: #f7fafc;
}

.folder-option.disabled {
    color: #a0aec0;
    background: #f9f9f9;
    cursor: not-allowed;
}

/* Ícones para diferentes tipos de movimento */
.move-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.move-icon {
    font-size: 3rem;
    color: #4299e1;
    animation: moveAnimation 2s ease-in-out infinite;
}

@keyframes moveAnimation {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

/* Estados de feedback visual durante drag */
.file-item.drag-source {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.folder-header.valid-drop-target {
    background: rgba(72, 187, 120, 0.05);
    border-color: #48bb78;
}

.folder-header.invalid-drop-target {
    background: rgba(245, 101, 101, 0.05);
    border-color: #f56565;
    cursor: not-allowed;
}

/* Animações para feedback visual */
@keyframes fadeInBounce {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: translateY(0) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dragPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

/* Estilo para botões de mover em dispositivos móveis */
.move-btn {
    background: #4299e1;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.move-btn:hover {
    background: #3182ce;
    transform: scale(1.05);
}

.move-btn i {
    font-size: 0.9rem;
}

/* Indicador de loading durante a movimentação */
.move-loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.move-loading.show {
    display: block;
}

.loading-spinner {
    border: 3px solid #e2e8f0;
    border-top: 3px solid #4299e1;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Responsividade para drag and drop */
@media (max-width: 768px) {
    /* Em dispositivos móveis, mostrar sempre os botões de mover */
    .move-btn {
        display: inline-block !important;
        opacity: 1 !important;
    }
    
    /* Desabilitar drag and drop em dispositivos móveis */
    [draggable="true"] {
        cursor: default;
    }
    
    .file-item[draggable="true"],
    .folder-header[draggable="true"] {
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none;
    }
    
    .move-modal .modal-content {
        max-width: 95%;
        margin: 10% auto;
    }
}

/* Botão Voltar ao Topo da Seção */
.scroll-to-top-btn {
    position: fixed !important; /* Force fixed positioning */
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 9999 !important; /* Highest z-index */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    border: 2px solid rgba(255, 255, 255, 0.2); /* Debug border */
    margin: 0 !important; /* Remove any margin */
    padding: 0 !important; /* Remove any padding that might interfere */
    top: auto !important; /* Ensure top is not set */
    left: auto !important; /* Ensure left is not set */
}

.scroll-to-top-btn.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.scroll-to-top-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* Animação do ícone */
.scroll-to-top-btn i {
    transition: transform 0.3s ease;
}

.scroll-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 768px) {
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
.drag-tooltip {
    position: absolute;
    background: rgba(45, 55, 72, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.drag-tooltip.show {
    opacity: 1;
}

.drag-tooltip:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: rgba(45, 55, 72, 0.9);
}

.empty-state-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-state p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.empty-state-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 15px 25px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Estado oculto para conteúdo principal */
.main-content.hidden {
    display: none !important;
}

/* Estilo para quando não há arquivos */
.no-files {
    text-align: center;
    padding: 40px 20px;
    color: #a0aec0;
    font-style: italic;
    background: #fafafa;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    margin: 20px 0;
}

/* Responsividade para estado vazio */
@media (max-width: 768px) {
    .empty-state {
        padding: 40px 20px;
    }
    
    .empty-state-icon {
        font-size: 3rem;
    }
    
    .empty-state h3 {
        font-size: 1.5rem;
    }
    
    .empty-state p {
        font-size: 1rem;
    }
    
    .empty-state-actions {
        flex-direction: column;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* === EXPORT RANGE MODAL STYLES === */
.export-range-modal .modal-content {
    max-width: 500px;
    width: 95%;
}

.export-options {
    margin: 20px 0;
}

.option-group {
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.option-group:hover {
    border-color: #cbd5e0;
    background-color: #f7fafc;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #667eea;
    transform: scale(0);
    transition: transform 0.2s ease;
}

input[type="radio"]:checked + .radio-custom {
    border-color: #667eea;
}

input[type="radio"]:checked + .radio-custom::after {
    transform: scale(1);
}

input[type="radio"] {
    display: none;
}

.option-text {
    flex: 1;
}

.option-text strong {
    display: block;
    color: #2d3748;
    margin-bottom: 4px;
    font-size: 1.1rem;
}

.option-text small {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.4;
}

.range-inputs {
    transition: all 0.3s ease;
}

.range-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.input-group {
    flex: 1;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus:not(:disabled) {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.input-group input:disabled {
    background-color: #f7fafc;
    border-color: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

.range-info {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f0f4f8;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.range-info small {
    color: #4a5568;
    font-weight: 500;
}

#totalIncluded {
    font-weight: 700;
    color: #667eea;
}

/* Responsive adjustments for export range modal */
@media (max-width: 768px) {
    .range-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .export-range-modal .modal-content {
        width: 98%;
        margin: 10px;
    }
}