.elementor-5115 .elementor-element.elementor-element-77752ea{--display:flex;--margin-top:20px;--margin-bottom:1179px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-5115:not(.elementor-motion-effects-element-type-background), body.elementor-page-5115 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#E9EFFA;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-9a32835 */:root {
            --primary: #4361ee;
            --primary-light: #4895ef;
            --primary-dark: #3f37c9;
            --secondary: #e6f2ff;
            --light: #f8f9fa;
            --dark: #1e1e2c;
            --gray: #6c757d;
            --success: #4caf50;
            --danger: #f44336;
            --warning: #ff9800;
            --info: #2196f3;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
            --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: white;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark);
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .app-header {
            text-align: center;
            padding: 0 0 30px 0;
            margin-bottom: 20px;
        }
        
        .app-header h1 {
            color: var(--primary);
            margin-bottom: 12px;
            font-size: 2.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
        }
        
        .app-header p {
            color: var(--gray);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .watermark-container {
            background: white;
            border-radius: 16px;
            box-shadow: var(--shadow);
            overflow: hidden;
            border: none;
            margin-bottom: 25px;
            transition: var(--transition);
            padding: 30px;
            display: none; /* Hidden on startup */
        }
        
        .watermark-container.show {
            display: block; /* Show when PDF is uploaded */
        }
        
        /* Removed hover animations */
        /* .watermark-container:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-5px);
        } */
        
        .upload-area {
            border: 3px dashed #ced4da;
            border-radius: 18px;
            padding: 3rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            background-color: white;
            margin-bottom: 30px;
            position: relative;
            transition: all 0.4s ease;
            background-image: radial-gradient(circle at 10px 10px, rgba(0,102,204,0.05) 1px, transparent 1px);
            background-size: 20px 20px;
            max-width: 850px;
            margin-left: auto;
            margin-right: auto;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            opacity: 0;
            transform: scale(0.8);
            animation: zoomIn 0.8s ease-out forwards;
        }
        
        @keyframes zoomIn {
            0% {
                opacity: 0;
                transform: scale(0.8);
            }
            100% {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .upload-area:hover {
            border-color: var(--primary);
            background-color: #f8fbff;
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0,102,204,0.15);
        }
        
        .upload-area.active {
            border-color: var(--primary);
            background-color: var(--primary-light);
            box-shadow: inset 0 0 15px rgba(0,102,204,0.1);
        }
        
        .section-title {
            color: var(--primary);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--secondary);
        }
        
        .file-input {
            display: none;
        }
        
        .progress-container {
            margin: 15px 0;
            display: none;
        }
        
        .progress {
            height: 14px;
            border-radius: 8px;
            overflow: hidden;
            background-color: #e9ecef;
        }
        
        .progress-bar {
            background: linear-gradient(90deg, var(--primary), #0088ff);
            transition: width 0.5s ease;
        }
        
        .progress-text {
            display: flex;
            justify-content: space-between;
            margin-top: 8px;
            font-size: 0.95rem;
            color: var(--gray);
        }
        
        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 15px 0;
            flex-wrap: wrap;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            display: none;
        }
        
        .action-buttons.visible {
            opacity: 1;
            transform: translateY(0);
            display: flex;
        }
        
        .btn {
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: var(--transition);
            border: 2px solid var(--primary);
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            background: transparent;
            color: var(--primary);
        }
        
        .btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
        }
        
        .btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .btn-primary {
            background: var(--primary);
            color: white;
            border: 2px solid var(--primary);
            margin-bottom: 15px;
            justify-content: center;
            text-align: center;
        }
        
        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
        }
        
        .btn-success {
            background: var(--success);
            color: white;
            border: 2px solid var(--success);
        }
        
        .btn-success:hover {
            background: #3d8b40;
            border-color: #3d8b40;
        }
        
        .btn-info {
            background: var(--info);
            color: white;
            border: 2px solid var(--info);
        }
        
        .btn-info:hover {
            background: #0b7dda;
            border-color: #0b7dda;
        }
        
        .preview-container {
            flex: 1;
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 12px;
            min-height: 550px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #dee2e6;
            overflow: auto;
            width: 100%;
            position: relative;
        }
        
        .preview-placeholder {
            text-align: center;
            color: #888;
        }
        
        .preview-placeholder i {
            font-size: 2.5rem;
            margin-bottom: 12px;
            color: #ccc;
        }
        
        .status {
            margin-top: 12px;
            padding: 8px;
            border-radius: 5px;
            text-align: center;
            font-size: 0.95rem;
        }
        
        .status.success {
            background-color: #d4edda;
            color: #155724;
        }
        
        .status.error {
            background-color: #f8d7da;
            color: #721c24;
        }
        
        .hidden {
            display: none;
        }
        
        .slider-container {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .slider {
            flex: 1;
            -webkit-appearance: none;
            height: 8px;
            border-radius: 4px;
            background: #e0e0e0;
            outline: none;
        }
        
        .slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .slider::-moz-range-thumb {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            border: 2px solid white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        .slider-value {
            width: 50px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--primary);
        }
        
        .pdf-preview {
            max-width: 100%;
            max-height: 100%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            image-rendering: -webkit-optimize-contrast;
            image-rendering: crisp-edges;
            display: block;
            margin: 0 auto;
        }
        
        .page-controls {
            display: flex;
            justify-content: center;
            margin-top: 12px;
            gap: 8px;
        }
        
        .page-btn {
            background: #6c757d;
            color: white;
            border: none;
            padding: 6px 12px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
        }
        
        .page-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        .advanced-options {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-top: 15px;
            border: 1px solid #e9ecef;
        }
        
        .advanced-title {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.95rem;
            margin-bottom: 12px;
        }
        
        .advanced-content {
            display: block;
        }
        
        .option-group {
            margin-bottom: 15px;
        }
        
        .option-label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #555;
            font-size: 0.95rem;
        }
        
        input[type="text"], input[type="number"], input[type="file"], select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 0.95rem;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }
        
        input[type="text"]:focus, input[type="number"]:focus, select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
        }
        
        input[type="color"] {
            width: 50px;
            height: 35px;
            padding: 4px;
            border: 1px solid #ddd;
            border-radius: 5px;
            cursor: pointer;
        }
        
        .color-input {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .color-hex {
            font-family: monospace;
            background: #f5f5f5;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        
        .watermark-type {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .type-option {
            flex: 1;
            text-align: center;
            padding: 12px;
            border: 2px solid #eee;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .type-option.active {
            border-color: var(--primary);
            background-color: var(--secondary);
        }
        
        .type-option i {
            font-size: 1.7rem;
            color: var(--primary);
            margin-bottom: 8px;
        }
        
        .type-option p {
            font-size: 0.95rem;
            margin: 0;
        }
        
        .main-content {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .upload-section, .options-section, .preview-section {
            padding: 15px;
            background: white;
            border-radius: 14px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.04);
            border: 1px solid #e0e0e0;
        }
        
        .upload-section {
            flex: 1;
            min-width: 280px;
        }
        
        .options-section {
            flex: 1;
            min-width: 450px;
            display: none;
        }
        
        .preview-section {
            flex: 1;
            min-width: 450px;
            display: none;
        }
        
        .position-controls {
            display: flex;
            gap: 12px;
        }
        
        .position-control {
            flex: 1;
        }
        
        .options-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .full-width {
            grid-column: 1 / -1;
        }
        
        .options-container {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .options-content {
            flex: 1;
            overflow: visible;
        }
        
        .options-actions {
            margin-top: 15px;
            padding-top: 15px;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @media (max-width: 768px) {
            .app-header h1 {
                font-size: 2rem;
            }
            
            .app-header p {
                font-size: 1rem;
            }
            
            .watermark-container {
                padding: 20px;
            }
            
            .upload-area {
                padding: 2rem;
                max-width: 100%;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .main-content {
                flex-direction: column;
            }
            
            .options-section, .preview-section {
                width: 100%;
                min-width: 100%;
            }
            
            .upload-area i {
                font-size: 3rem;
            }
            
            .upload-area h3 {
                font-size: 1.2rem;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 15px;
            }
            
            .app-header h1 {
                font-size: 1.8rem;
            }
            
            .upload-area {
                padding: 1.5rem;
            }
            
            .upload-area i {
                font-size: 2.5rem;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .options-grid {
                grid-template-columns: 1fr;
            }
        }/* End custom CSS */