/* PDF Compressor - Single Responsive Styles */
.pdfcomp-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}
.pdfcomp-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.pdfcomp-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: -0.02em;
}
.pdfcomp-heart {
    font-size: 2.8rem;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}
.pdfcomp-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-family: 'Poppins', sans-serif;
}
.pdfcomp-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow);
}

/* Upload Area */
.upload-area {
    border: 3px dashed var(--border);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg);
}
.upload-area:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.upload-icon { font-size: 4.5rem; margin-bottom: 1rem; }
.upload-content h3 { margin: 0.5rem 0; color: var(--text); }
.upload-content p { color: var(--text-light); margin-bottom: 1.5rem; }

.upload-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
}

/* Compression Panel */
.compress-panel .file-list {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 10px;
}
.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.8rem;
}
.file-name { font-weight: 500; color: var(--text); flex: 1; }
.file-size { color: var(--text-light); font-size: 0.95rem; }

/* Quality Buttons */
.compression-options label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text);
}
.quality-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.quality-btn {
    flex: 1;
    min-width: 110px;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}
.quality-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

/* Progress */
.progress-bar-container {
    margin: 2rem 0;
}
.progress-bar {
    height: 10px;
    background: var(--bg);
    border-radius: 9999px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    width: 0%;
    transition: width 0.4s ease;
}
.progress-text {
    display: block;
    text-align: center;
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Actions */
.pdfcomp-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.pdfcomp-action-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.compress-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

/* Tips */
.pdfcomp-tips {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .pdfcomp-title { font-size: 2.4rem; }
    .pdfcomp-card { padding: 1.5rem; }
    .quality-buttons { flex-direction: column; }
}