.pdf-tool-container {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .pdf-tool-header {
            background-color: #e5332d;
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        
        .pdf-tool-header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .pdf-tool-header p {
            font-size: 1.1rem;
            opacity: 0.95;
        }
        
        .pdf-upload-section {
            padding: 50px 0;
        }
        
        .pdf-upload-box {
            border: 3px dashed #e5332d;
            border-radius: 12px;
            padding: 60px 30px;
            text-align: center;
            background-color: #fff;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .pdf-upload-box:hover {
            border-color: #c42a24;
            background-color: #fff5f5;
        }
        
        .pdf-upload-box.dragover {
            border-color: #c42a24;
            background-color: #fff5f5;
            transform: scale(1.02);
        }
        
        .pdf-upload-icon {
            font-size: 4rem;
            color: #e5332d;
            margin-bottom: 20px;
        }
        
        .pdf-btn-primary {
            background-color: #e5332d;
            border: none;
            color: white;
            padding: 12px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .pdf-btn-primary:hover {
            background-color: #c42a24;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(229, 51, 45, 0.3);
        }
        
        .pdf-preview-section {
            display: none;
            padding: 40px 0;
        }
        
        .pdf-preview-header {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
        }
        
        .pdf-page-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .pdf-page-item {
            position: relative;
            border: 3px solid #dee2e6;
            border-radius: 8px;
            padding: 10px;
            background-color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .pdf-page-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .pdf-page-item.selected {
            border-color: #e5332d;
            background-color: #fff5f5;
        }
        
        .pdf-page-item.selected::after {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #e5332d;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }
        
        .pdf-page-canvas {
            width: 100%;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            margin-bottom: 10px;
        }
        
        .pdf-page-number {
            text-align: center;
            font-weight: 600;
            color: #495057;
            font-size: 0.9rem;
        }
        
        .pdf-action-buttons {
            text-align: center;
            padding: 30px 0;
        }
        
        .pdf-stats-badge {
            display: inline-block;
            background-color: #e5332d;
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            margin: 0 10px;
        }
        
        .pdf-loading {
            display: none;
            text-align: center;
            padding: 40px;
        }
        
        .pdf-spinner {
            border: 4px solid #f3f3f3;
            border-top: 4px solid #e5332d;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .pdf-instructions {
            background-color: #f8f9fa;
            padding: 50px 0;
        }
        
        .pdf-instruction-card {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .pdf-instruction-card h3 {
            color: #e5332d;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .pdf-instruction-card h4 {
            color: #333;
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 20px;
            margin-bottom: 10px;
        }
        
        .pdf-instruction-card p, .pdf-instruction-card li {
            color: #555;
            line-height: 1.8;
            font-size: 1rem;
        }
        
        .pdf-instruction-card ul {
            padding-left: 20px;
        }
        
        .pdf-instruction-icon {
            color: #e5332d;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .pdf-btn-secondary {
            background-color: #6c757d;
            border: none;
            color: white;
            padding: 12px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            margin: 0 10px;
        }
        
        .pdf-btn-secondary:hover {
            background-color: #5a6268;
            transform: translateY(-2px);
        }
        
        .pdf-select-mode {
            background-color: #fff3cd;
            border: 1px solid #ffc107;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .pdf-select-mode strong {
            color: #856404;
        }