        :root {
            --primary: #00008B;
            --primary-hover: #4338ca;
            --secondary: #f3f4f6;
            --text: #111827;
            --text-light: #6b7280;
            --border: #e5e7eb;
            --bg-light: #f9fafb;
            --error: #ef4444;
            --success: #10b981;
            --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            --page-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
      
     .containert {
                max-width: 90%;
                margin: 0 auto;
                background: white;
                padding: 10px;
                border-radius: 10px;
            }
        
        .headert {
            padding: 0;
            text-align: center;
        }
        
        .headert h1 {
            font-size: 2rem;
            margin-bottom: 12px;
            font-weight: 700;
            color: var(--primary);
           margin:0 auto;
        }
        
        .headert p {
            color: var(--text-light);
            font-size: 1.05rem;
        }
        
        .main-content {
            padding: 32px;
        }
        

        
        #pdf-upload {
            display: none;
        }
        
        /* Options Section */
        .options-section {
            display: none;
            margin-top: 32px;
            background: white;
            padding: 24px;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--border);
        }
        
        .options-title {
            font-size: 1.25rem;
            color: var(--text);
            margin-bottom: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .options-title i {
            color: var(--primary);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--text);
        }
        
        .color-picker {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .color-preview {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            border: 1px solid var(--border);
            cursor: pointer;
        }
        
        #colorInput {
            width: 100px;
            height: 40px;
            opacity: 0;
            position: absolute;
            cursor: pointer;
        }
        
        .range-slider {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .range-slider input[type="range"] {
            flex: 1;
            height: 8px;
            -webkit-appearance: none;
            background: var(--border);
            border-radius: 4px;
            outline: none;
        }
        
        .range-slider input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: var(--primary);
            border-radius: 50%;
            cursor: pointer;
        }
        
        .range-value {
            width: 50px;
            text-align: center;
            font-weight: 600;
            color: var(--text);
        }
        
        /* Action Buttons */
        .action-buttons {
            display: none;
            justify-content: center;
            gap: 20px;
            margin-top: 32px;
            flex-wrap: wrap;
        }
        
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 14px 28px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            outline: none;
            font-size: 1rem;
            gap: 10px;
        }
        
        .btn-primary {
            background-color: var(--primary);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: var(--primary-hover);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            color: var(--text);
        }
        
        .btn-secondary:hover {
            background-color: #e5e7eb;
        }
        
        .btn-success {
            background-color: var(--success);
            color: white;
        }
        
        .btn-success:hover {
            background-color: #0d9f6e;
        }
        
        /* Loading indicator */
        .loading {
            display: none;
            margin: 24px 0;
            text-align: center;
            color: var(--primary);
        }
        
        .loading-spinner {
            animation: spin 1s linear infinite;
            font-size: 2.5rem;
        }
        
        /* Error message */
        .error-message {
            display: none;
            padding: 16px;
            background-color: #fee2e2;
            color: var(--error);
            border-radius: 8px;
            margin-bottom: 24px;
            text-align: center;
            font-weight: 500;
        }
        
        /* Toast notification */
        .toast {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 16px 24px;
            border-radius: 8px;
            background-color: var(--primary);
            color: white;
            font-weight: 500;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .toast.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .toast.error {
            background-color: var(--error);
        }
        
        /* Animations */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        #previewBtn{
            display:none;
        }
