/* PDF Tools Specific Styles */

.pdf-tools-hero {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.pdf-tools-hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.pdf-tools-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: -40px;
}

.pdf-tool-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.pdf-tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(229, 62, 62, 0.15);
    border-color: var(--primary-color);
}

.pdf-tool-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pdf-tool-card:hover .pdf-tool-icon {
    transform: scale(1.1);
}

.pdf-tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pdf-tool-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Tool Workspace Styles */
.tool-workspace {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.upload-area {
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    padding: 60px 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: #f0f7ff;
}

.upload-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.upload-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.file-list {
    margin-top: 30px;
    text-align: left;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 10px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 20px 0;
    display: none;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Colors for Tool Icons */
.icon-merge {
    color: #e53e3e;
    background: #fff5f5;
}

.icon-split {
    color: #3182ce;
    background: #ebf8ff;
}

.icon-compress {
    color: #38a169;
    background: #f0fff4;
}

.icon-topdf {
    color: #d69e2e;
    background: #fffaf0;
}

.icon-frompdf {
    color: #805ad5;
    background: #faf5ff;
}

.icon-security {
    color: #4a5568;
    background: #f7fafc;
}

.icon-edit {
    color: #dd6b20;
    background: #fffaf0;
}