.rotate-pdf-container {
            max-width: 1100px;
            margin: 40px auto;
            padding: 0 15px;
        }
        
        .rotate-pdf-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .rotate-pdf-header h1 {
            color: #333;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .rotate-pdf-header p {
            color: #666;
            font-size: 1.1rem;
        }
        
        .rotate-upload-area {
            border: 3px dashed #e5332d;
            border-radius: 10px;
            padding: 60px 20px;
            text-align: center;
            background-color: #fff;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .rotate-upload-area:hover {
            background-color: #fff5f5;
            border-color: #c72d27;
        }
        
        .rotate-upload-area.dragover {
            background-color: #ffe6e6;
            border-color: #c72d27;
        }
        
        .rotate-upload-icon {
            font-size: 4rem;
            color: #e5332d;
            margin-bottom: 20px;
        }
        
        .rotate-btn-primary {
            background-color: #e5332d;
            border: none;
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 5px;
            transition: all 0.3s ease;
            color: white;
        }
        
        .rotate-btn-primary:hover {
            background-color: #c72d27;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(229, 51, 45, 0.3);
        }
        
        .rotate-preview-section {
            margin-top: 40px;
            display: none;
        }
        
        .rotate-controls-bar {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .rotate-filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .rotate-filter-label {
            font-weight: 600;
            color: #333;
            margin-right: 5px;
        }
        
        .rotate-filter-btn {
            padding: 8px 16px;
            background: #f8f9fa;
            border: 2px solid #e0e0e0;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
        
        .rotate-filter-btn.active {
            background: #e5332d;
            color: white;
            border-color: #e5332d;
        }
        
        .rotate-filter-btn:hover:not(.active) {
            background: #e9ecef;
        }
        
        .rotate-action-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .rotate-reset-btn {
            padding: 8px 20px;
            background: #fff;
            border: 2px solid #e5332d;
            color: #e5332d;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .rotate-reset-btn:hover {
            background: #e5332d;
            color: white;
        }
        
        .rotate-direction-btn {
            padding: 10px 20px;
            background: #fff;
            border: 2px solid #e5332d;
            color: #e5332d;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .rotate-direction-btn:hover {
            background: #e5332d;
            color: white;
        }
        
        .rotate-pages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 25px;
            margin-bottom: 30px;
        }
        
        .rotate-page-card {
            background: #fff;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            cursor: pointer;
        }
        
        .rotate-page-card:hover {
            border-color: #e5332d;
            box-shadow: 0 4px 12px rgba(229, 51, 45, 0.15);
        }
        
        .rotate-page-card.selected {
            border-color: #e5332d;
            background: #fff5f5;
        }
        
        .rotate-page-checkbox {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 20px;
            height: 20px;
            cursor: pointer;
            accent-color: #e5332d;
        }
        
        .rotate-page-preview {
            width: 100%;
            height: 250px;
            background: #f8f9fa;
            border-radius: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            overflow: hidden;
            position: relative;
        }
        
        .rotate-page-canvas {
            max-width: 100%;
            max-height: 100%;
            transition: transform 0.3s ease;
        }
        
        .rotate-page-number {
            font-weight: 600;
            color: #333;
            margin-bottom: 12px;
        }
        
        .rotate-page-controls {
            display: flex;
            justify-content: center;
            gap: 10px;
        }
        
        .rotate-icon-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid #e5332d;
            background: #fff;
            color: #e5332d;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
        }
        
        .rotate-icon-btn:hover {
            background: #e5332d;
            color: white;
            transform: scale(1.1);
        }
        
        .rotate-process-btn {
            background-color: #e5332d;
            color: white;
            border: none;
            padding: 15px 40px;
            font-size: 1.2rem;
            font-weight: 700;
            border-radius: 5px;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
            display: block;
            transition: all 0.3s ease;
        }
        
        .rotate-process-btn:hover:not(:disabled) {
            background-color: #c72d27;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(229, 51, 45, 0.3);
        }
        
        .rotate-process-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .rotate-guide-section {
            background: #f8f9fa;
            padding: 40px 20px;
            margin-top: 60px;
        }
        
        .rotate-guide-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .rotate-guide-content h2 {
            color: #333;
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 30px;
            text-align: center;
        }
        
        .rotate-guide-content h3 {
            color: #e5332d;
            font-size: 1.5rem;
            font-weight: 600;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        
        .rotate-guide-content p {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }
        
        .rotate-guide-content ul, .rotate-guide-content ol {
            color: #555;
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .rotate-guide-content li {
            margin-bottom: 10px;
        }
        
        .rotate-orientation-badge {
            display: inline-block;
            padding: 4px 10px;
            background: #f8f9fa;
            border-radius: 4px;
            font-size: 0.85rem;
            color: #666;
            margin-top: 5px;
        }