/* Paper Reader Specific Styles */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.paper-summary-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 40px;
    text-align: left;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .paper-summary-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.05);
}

.summary-tags .tag {
    background: rgba(147, 51, 234, 0.1);
    /* Light purple */
    color: #9333ea;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

[data-theme="dark"] .summary-tags .tag {
    background: rgba(147, 51, 234, 0.2);
    color: #d8b4fe;
}

.highlight-container {
    background: #f0fdf4;
    /* Light greenish-blue */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #4ade80;
}

[data-theme="dark"] .highlight-container {
    background: rgba(20, 83, 45, 0.2);
    border-left: 4px solid #22c55e;
}

.summary-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.novelty-container {
    background: #fffbeb;
    /* Light yellow */
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 20px;
}

[data-theme="dark"] .novelty-container {
    background: rgba(133, 77, 14, 0.2);
    border-color: rgba(133, 77, 14, 0.5);
}

.novelty-container ul,
.summary-section ul {
    padding-left: 20px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.novelty-container li,
.summary-section li {
    margin-bottom: 8px;
}

.score-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
}

.drop-zone-active {
    border-color: var(--accent-color) !important;
    background: rgba(var(--accent-color-rgb), 0.05) !important;
}
/* Tabs Navigation */
.tabs-nav::-webkit-scrollbar {
    height: 6px;
}

.tabs-nav::-webkit-scrollbar-track {
    background: transparent;
}

.tabs-nav::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 10px;
}

.tab-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.3);
}

/* Tabs Content */
.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-pane.active {
    display: block;
}

/* Staging Area Styles */
.staged-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 10px;
    animation: fadeIn 0.3s ease-out;
}

.staged-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.staged-file-name {
    font-weight: 500;
    color: var(--text-primary);
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.staged-file-size {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.remove-file-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.remove-file-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}
