.pdf-tool-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .pdf-tool-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .pdf-tool-header h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .pdf-tool-header p {
            color: #7f8c8d;
            font-size: 1.1rem;
        }

        .pdf-upload-box {
            border: 3px dashed #e5332d;
            border-radius: 12px;
            padding: 60px 20px;
            text-align: center;
            background-color: #fff;
            transition: all 0.3s ease;
            cursor: pointer;
            margin-bottom: 30px;
        }

        .pdf-upload-box:hover {
            border-color: #c42a25;
            background-color: #fff5f5;
        }

        .pdf-upload-box.dragover {
            border-color: #c42a25;
            background-color: #ffebeb;
            transform: scale(1.02);
        }

        .pdf-upload-icon {
            font-size: 4rem;
            color: #e5332d;
            margin-bottom: 20px;
        }

        .pdf-upload-text {
            font-size: 1.3rem;
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .pdf-upload-subtext {
            color: #7f8c8d;
            font-size: 0.95rem;
        }

        .pdf-btn-primary {
            background-color: #e5332d;
            border: none;
            color: white;
            padding: 12px 40px;
            font-size: 1.1rem;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .pdf-btn-primary:hover {
            background-color: #c42a25;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(229, 51, 45, 0.3);
        }

        .pdf-options-card {
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
        }

        .pdf-option-item {
            background-color: white;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .pdf-option-item:hover {
            border-color: #e5332d;
        }

        .pdf-option-item.active {
            border-color: #e5332d;
            background-color: #fff5f5;
        }

        .pdf-option-radio {
            width: 20px;
            height: 20px;
            accent-color: #e5332d;
        }

        .pdf-file-list {
            margin-top: 20px;
        }

        .pdf-file-item {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .pdf-file-info {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .pdf-file-icon {
            font-size: 2rem;
            color: #e5332d;
        }

        .pdf-file-name {
            font-weight: 600;
            color: #2c3e50;
        }

        .pdf-file-size {
            color: #7f8c8d;
            font-size: 0.9rem;
        }

        .pdf-remove-btn {
            color: #dc3545;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .pdf-remove-btn:hover {
            color: #c82333;
            transform: scale(1.2);
        }

        .pdf-progress-bar {
            height: 30px;
            border-radius: 8px;
            background-color: #e9ecef;
            margin-top: 20px;
        }

        .pdf-progress-fill {
            height: 100%;
            background-color: #e5332d;
            border-radius: 8px;
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
        }

        .pdf-result-images {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .pdf-result-item {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
        }

        .pdf-result-item img {
            max-width: 100%;
            height: auto;
            border-radius: 4px;
            margin-bottom: 10px;
        }

        .pdf-download-btn {
            background-color: #e5332d;
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 6px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .pdf-download-btn:hover {
            background-color: #c42a25;
        }

        .pdf-how-to-use {
            background-color: #f8f9fa;
            border-radius: 12px;
            padding: 40px;
            margin-top: 50px;
        }

        .pdf-how-to-use h2 {
            color: #2c3e50;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 30px;
        }

        .pdf-how-to-use h3 {
            color: #e5332d;
            font-size: 1.3rem;
            font-weight: 600;
            margin-top: 25px;
            margin-bottom: 15px;
        }

        .pdf-how-to-use p {
            color: #555;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .pdf-how-to-use ul {
            color: #555;
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .pdf-quality-option {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .pdf-quality-btn {
            flex: 1;
            padding: 12px;
            border: 2px solid #dee2e6;
            border-radius: 8px;
            background-color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .pdf-quality-btn:hover {
            border-color: #e5332d;
        }

        .pdf-quality-btn.active {
            border-color: #e5332d;
            background-color: #fff5f5;
        }

        .pdf-quality-label {
            font-weight: 600;
            color: #2c3e50;
            display: block;
            margin-bottom: 5px;
        }

        .pdf-quality-desc {
            font-size: 0.85rem;
            color: #7f8c8d;
        }

        .pdf-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            align-items: center;
            justify-content: center;
        }

        .pdf-modal.show {
            display: flex;
        }

        .pdf-modal-content {
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            max-width: 500px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            animation: modalSlideIn 0.3s ease;
        }

        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .pdf-modal-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .pdf-modal-icon {
            font-size: 2.5rem;
        }

        .pdf-modal-icon.success {
            color: #28a745;
        }

        .pdf-modal-icon.error {
            color: #dc3545;
        }

        .pdf-modal-icon.info {
            color: #17a2b8;
        }

        .pdf-modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c3e50;
            margin: 0;
        }

        .pdf-modal-body {
            color: #555;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .pdf-modal-footer {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }

        .pdf-modal-btn {
            padding: 10px 25px;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .pdf-modal-btn-primary {
            background-color: #e5332d;
            color: white;
        }

        .pdf-modal-btn-primary:hover {
            background-color: #c42a25;
        }

        .pdf-modal-btn-secondary {
            background-color: #6c757d;
            color: white;
        }

        .pdf-modal-btn-secondary:hover {
            background-color: #5a6268;
        }

        .pdf-hidden {
            display: none;
        }