.elementor-10514 .elementor-element.elementor-element-a439d17{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-fee6d2c *//* ============================================================
           EXTERNAL CSS - B&W Converter
           ============================================================ */
        
        /* ----- Variables & Base ----- */
        :root {
            --primary: #0066cc;
            --primary-light: #e6f2ff;
            --primary-dark: #0052a3;
            --success: #28a745;
            --success-dark: #1e7e34;
            --warning: #ffc107;
            --warning-dark: #e0a800;
            --light-bg: #f8f9fa;
            --border-light: #e0e0e0;
            --transition: all 0.3s ease;
            --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }
        
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            background-color: #f5f7fa;
            font-family: var(--font-family);
            margin: 0;
            padding: 0;
            min-height: 100vh;
            overflow-x: hidden;
        }
        
        /* ----- App Wrapper ----- */
        .app-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* ----- Separate Zoom Animations ----- */
        
        /* App Header Zoom */
        .app-header {
            text-align: center;
            padding: 20px 15px 10px;
            margin-bottom: 20px;
            animation: zoomInHeader 0.6s cubic-bezier(0.2, 0.9, 0.4, 1) forwards;
            transform-origin: center center;
            opacity: 0;
        }
        
        @keyframes zoomInHeader {
            0% { opacity: 0; transform: scale(0.92); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        .app-header h1 {
            color: var(--primary);
            font-size: 2rem;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin: 0;
        }
        .app-header h1 i {
            font-size: 1.8rem;
        }
        .app-header p {
            color: #666;
            font-size: 0.95rem;
            max-width: 500px;
            margin: 8px auto 0;
            padding: 0 15px;
        }
        
        /* About Button Zoom */
        .about-btn-center {
            text-align: center;
            margin: 0 auto 20px;
            padding: 0 15px;
            animation: zoomInAbout 0.5s cubic-bezier(0.2, 0.9, 0.4, 1) 0.08s forwards;
            transform-origin: center center;
            opacity: 0;
        }
        
        @keyframes zoomInAbout {
            0% { opacity: 0; transform: scale(0.92); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        /* Upload Area Zoom */
        .upload-area {
            border: 3px dashed #ced4da;
            border-radius: 18px;
            padding: 3rem;
            text-align: center;
            cursor: pointer;
            background-color: white;
            margin-bottom: 30px;
            position: relative;
            background-image: radial-gradient(circle at 10px 10px, rgba(0,102,204,0.05) 1px, transparent 1px);
            background-size: 20px 20px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            animation: zoomInUpload 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) 0.15s forwards;
            transform-origin: center center;
            opacity: 0;
        }
        
        @keyframes zoomInUpload {
            0% { opacity: 0; transform: scale(0.90); }
            100% { opacity: 1; transform: scale(1); }
        }

        .upload-area:hover {
            border-color: var(--primary);
            background-color: #f8fbff;
            transform: translateY(-5px);
            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);
        }

        .upload-area.hidden {
            animation: fadeOut 0.2s ease-out forwards;
            pointer-events: none;
        }

        @keyframes fadeOut {
            to { opacity: 0; transform: translateY(-10px); display: none; }
        }

        .upload-area i {
            font-size: 3rem;
            color: #0066cc;
            margin-bottom: 20px;
        }

        .upload-area h3,
        .upload-area h4 {
            color: #0066cc;
            margin: 12px 0;
            font-size: 1.3rem;
        }

        .upload-area p {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 0;
        }

        .upload-area p:last-of-type {
            font-size: 0.85rem;
            margin-top: 10px;
        }

        /* Rezoom animation for Upload New button */
        .upload-area.rezoom {
            animation: zoomInUpload 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) 0.15s forwards;
            opacity: 0;
        }

        @media (max-width: 768px) {
            .upload-area {
                padding: 2rem 1.5rem;
                margin: 30px;
            }
        }
        
        /* ----- About Button ----- */
        .about-tool-btn {
            background: white;
            border: none;
            padding: 8px 22px;
            border-radius: 50px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            color: #0066cc;
            cursor: pointer;
            transition: all 0.3s ease;
            background: linear-gradient(135deg, #fff, #f8faff);
            border: 1px solid rgba(0,102,204,0.25);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        }
        .about-tool-btn:hover {
            transform: translateY(-2px);
            background: white;
            color: #004c99;
            border-color: #0066cc;
            box-shadow: 0 6px 14px rgba(0,102,204,0.15);
        }
        .about-tool-btn i {
            font-size: 1rem;
        }
        
        /* ----- Lightbox (About) - Enhanced from PDF tool ----- */
        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.85);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 9999999 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;
            opacity: 0;
            transition: all 0.3s ease;
            padding: 15px;
        }
        .lightbox-overlay.active {
            visibility: visible;
            opacity: 1;
        }
        
        .lightbox-content {
            background: white;
            width: 100%;
            max-width: 750px;
            max-height: 85vh;
            border-radius: 12px;
            overflow: hidden;
            transform: scale(0.95);
            transition: transform 0.25s ease;
            display: flex;
            flex-direction: column;
            box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        }
        .lightbox-overlay.active .lightbox-content {
            transform: scale(1);
        }
        
        .lightbox-header {
            background: linear-gradient(135deg, #0066cc, #0088ff);
            color: white;
            padding: 12px 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }
        .lightbox-header h3 {
            margin: 0;
            font-weight: 700;
            color: white;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .lightbox-header h3 i {
            font-size: 1.3rem;
        }
        
        .lightbox-close {
            background: rgba(255,255,255,0.15);
            border: 1px solid rgba(255,255,255,0.3);
            font-size: 1.2rem;
            font-weight: 500;
            color: white;
            cursor: pointer;
            width: 32px;
            height: 32px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            flex-shrink: 0;
        }
        .lightbox-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }
        
        .lightbox-body {
            padding: 20px 24px;
            overflow-y: auto;
            font-size: 0.95rem;
            color: #2c3e50;
            line-height: 1.5;
            flex: 1;
        }
        .lightbox-body h4 {
            color: #0066cc;
            margin-top: 20px;
            margin-bottom: 12px;
            font-weight: 700;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            border-left: 3px solid #0066cc;
            padding-left: 12px;
        }
        .lightbox-body h4:first-of-type {
            margin-top: 0;
        }
        .lightbox-body p {
            margin-bottom: 14px;
        }
        .lightbox-body ul, .lightbox-body ol {
            margin-bottom: 16px;
            padding-left: 24px;
        }
        .lightbox-body li {
            margin-bottom: 8px;
        }
        
        .comparison-grid {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 12px 16px;
            margin: 12px 0;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }
        .comparison-grid table {
            width: 100%;
            font-size: 0.85rem;
            border-collapse: collapse;
        }
        .comparison-grid th, .comparison-grid td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid #e0e7ef;
        }
        .comparison-grid th {
            font-weight: 700;
            color: #0066cc;
        }
        
        .target-audience {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 10px 0 15px 0;
        }
        .audience-tag {
            background: #e9ecef;
            padding: 4px 12px;
            border-radius: 30px;
            font-size: 0.75rem;
            font-weight: 500;
            color: #2c3e50;
        }
        .audience-tag i {
            margin-right: 4px;
            font-size: 0.7rem;
            color: #0066cc;
        }
        
        .tip-text {
            background: #f0f7ff;
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 0.85rem;
            margin-top: 12px;
        }
        .text-muted.small {
            font-size: 0.8rem;
            color: #6c757d;
        }
        
        /* ----- Converter Section ----- */
        .converter-section {
            max-width: 1200px;
            margin: 0 auto 25px;
            background: white;
            box-shadow: 0 12px 40px rgba(0,0,0,0.1);
            padding: 15px;
            border: 1px solid var(--border-light);
            border-radius: 12px;
            display: none;
        }
        .converter-section.visible {
            display: block;
            animation: zoomInConverter 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) 0.15s forwards;
            transform-origin: center center;
            opacity: 0;
        }
        .converter-section.hidden {
            display: none;
        }
        
        @keyframes zoomInConverter {
            0% { opacity: 0; transform: scale(0.90); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        .converter-section .row {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .converter-section .row .col-md-4 {
            width: 100%;
            flex: 0 0 100%;
            max-width: 100%;
            padding: 0;
        }
        
        /* ----- Preview Box ----- */
        .preview-box {
            text-align: center;
            padding: 15px;
            background: var(--light-bg);
            border: 1px solid #e9ecef;
            box-shadow: 0 3px 8px rgba(0,0,0,0.05);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 200px;
        }
        .preview-box h3 {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .image-preview {
            max-width: 100%;
            max-height: 200px;
            border: 1px solid #ddd;
            box-shadow: 0 3px 8px rgba(0,0,0,0.1);
            margin: 0 auto;
            display: block;
            border-radius: 6px;
        }
        
        /* Hide B&W preview and info by default */
        #convertedPreview {
            display: none;
        }
        #convertedPreview.visible {
            display: block;
        }
        
        /* ----- Image Info ----- */
        .image-info {
            margin-top: 12px;
            padding: 10px;
            background: white;
            border-radius: 8px;
            font-size: 0.8rem;
            color: #666;
            border: 1px solid #e9ecef;
            min-height: 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .image-info.hidden {
            display: none;
        }
        .image-info p {
            margin: 4px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        .image-info .info-label {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.75rem;
        }
        .image-info .info-value {
            font-family: monospace;
            font-size: 0.8rem;
            word-break: break-all;
        }
        
        /* ----- Custom Dropdown (simplified for B&W) ----- */
        .custom-select-wrapper {
            position: relative;
            width: 100%;
            max-width: 220px;
            margin: 0 auto;
        }
        .custom-select {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
            font-size: 0.9rem;
            min-height: 44px;
            -webkit-tap-highlight-color: transparent;
        }
        .custom-select:hover {
            border-color: var(--primary);
            box-shadow: 0 2px 8px rgba(0,102,204,0.1);
        }
        .custom-select.active {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(0,102,204,0.15);
        }
        .custom-select .selected-value {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .custom-select .dropdown-icon {
            transition: transform 0.3s ease;
            font-size: 0.9rem;
        }
        .custom-select.active .dropdown-icon {
            transform: rotate(180deg);
        }
        
        .custom-options {
            position: absolute;
            top: calc(100% + 6px);
            left: 0;
            right: 0;
            background: white;
            border: 2px solid var(--primary);
            border-radius: 14px;
            overflow: hidden;
            z-index: 1000;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
            display: none;
        }
        .custom-options.show {
            display: block;
        }
        .custom-options.show .custom-option:not(:last-child) {
            border-bottom: 1px solid #adb5bd;
        }
        .custom-option {
            padding: 10px 14px;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            font-weight: 500;
            font-size: 0.9rem;
            -webkit-tap-highlight-color: transparent;
        }
        .custom-option:last-child {
            border-bottom: none !important;
        }
        .custom-option:hover {
            background: var(--light-bg);
        }
        .custom-option.selected {
            background: var(--primary);
            color: white;
        }
        .custom-option:active {
            background: var(--primary-dark);
            color: white;
        }
        
        /* ----- Controls Middle ----- */
        .controls-middle {
            display: flex;
            flex-direction: column;
            gap: 14px;
            align-items: center;
            justify-content: center;
            padding: 10px 5px;
            width: 100%;
        }
        
        .format-select {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f1f5f9;
            padding: 8px 12px;
            border-radius: 40px;
            width: 100%;
            justify-content: center;
            flex-direction: column;
            flex-shrink: 0;
        }
        .format-select label {
            font-weight: 600;
            color: var(--primary);
            font-size: 0.9rem;
        }
        .format-select .custom-select-wrapper {
            max-width: 100%;
            width: 100%;
        }
        
        /* ----- Buttons ----- */
        .controls-middle .btn-primary {
            flex-shrink: 0;
            width: 100%;
            max-width: 280px;
            min-height: 48px;
            font-size: 1rem;
        }
        
        .btn {
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.95rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: var(--transition);
            border: 2px solid transparent;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            background: transparent;
            min-height: 44px;
            -webkit-tap-highlight-color: transparent;
        }
        .btn:active {
            transform: scale(0.97);
        }
        .btn:hover {
            transform: translateY(-2px);
            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-color: var(--primary);
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            border-color: var(--primary-dark);
        }
        
        .btn-success {
            background: var(--success);
            color: white;
            border-color: var(--success);
        }
        .btn-success:hover {
            background: var(--success-dark);
            border-color: var(--success-dark);
        }
        
        .btn-warning {
            background: var(--warning);
            color: #212529;
            border-color: var(--warning);
        }
        .btn-warning:hover {
            background: var(--warning-dark);
            border-color: var(--warning-dark);
        }
        
        /* ----- Action Buttons ----- */
        .action-btn-container {
            margin-top: 12px;
            display: block;
            min-height: 52px;
            width: 100%;
        }
        .action-btn-container .btn {
            width: 100%;
            font-size: 0.9rem;
            min-height: 44px;
            border-radius: 50px; /* Added 50px border radius for Upload New and Download B&W */
        }
        
        .action-btn-container {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.15s ease;
        }
        .action-btn-container.visible {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* ----- Error Message ----- */
        .error {
            color: #dc2626;
            margin: 10px 0 0;
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* ----- Utilities ----- */
        html {
            scroll-behavior: smooth;
        }

        /* ----- FAQ SECTION ----- */
        .faq-section {
            max-width: 900px;
            margin: 30px auto 10px auto;
            animation: zoomInFAQ 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) 0.2s forwards;
            transform-origin: center center;
            opacity: 0;
        }
        
        /* Rezoom animation for FAQ after Upload New */
        .faq-section.rezoom {
            animation: zoomInFAQ 0.55s cubic-bezier(0.2, 0.9, 0.4, 1) 0.2s forwards;
            opacity: 0;
        }
        
        @keyframes zoomInFAQ {
            0% { opacity: 0; transform: scale(0.94); }
            100% { opacity: 1; transform: scale(1); }
        }

        .faq-title {
            text-align: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
        }

        .faq-title i {
            font-size: 2rem;
            color: var(--primary);
        }

        .faq-item {
            background: white;
            border-radius: 12px;
            margin-bottom: 12px;
            border: 1px solid #0066cc;
            overflow: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        }

        .faq-item:hover {
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            border-color: var(--primary);
        }

        .faq-question {
            width: 100%;
            padding: 16px 20px;
            background: #f8faff;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            color: #333;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s ease;
            font-family: inherit;
            text-align: left;
            gap: 15px;
        }

        .faq-question:hover {
            background: #f0f4ff;
            color: var(--primary);
        }

        .faq-question .faq-icon {
            font-size: 1.2rem;
            color: var(--primary);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

        .faq-question .faq-icon.rotated {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
            background: white;
            border-radius: 0 0 12px 12px;
        }

        .faq-answer.open {
            max-height: 500px;
            padding: 0 20px 20px 20px;
        }

        .faq-answer p {
            color: #4a5568;
            line-height: 1.7;
            font-size: 0.95rem;
            margin: 0 0 10px 0;
        }

        .faq-answer p:last-child {
            margin-bottom: 0;
        }

        .faq-answer ul {
            margin: 10px 0 0 20px;
            color: #4a5568;
            line-height: 1.7;
            font-size: 0.95rem;
        }

        .faq-answer ul li {
            margin-bottom: 5px;
        }

        .faq-answer strong {
            color: var(--primary);
        }

        @keyframes zoomInSoft {
            0% { opacity: 0; transform: scale(0.96); }
            100% { opacity: 1; transform: scale(1); }
        }
        
        /* ============================================================
           RESPONSIVE BREAKPOINTS
           ============================================================ */
        
        /* Desktop */
        @media (min-width: 769px) {
            .app-wrapper {
                padding: 0 20px;
            }
            
            .app-header {
                padding: 30px 0 15px;
                margin-bottom: 30px;
            }
            .app-header h1 {
                font-size: 2.5rem;
            }
            .app-header h1 i {
                font-size: 2.2rem;
            }
            .app-header p {
                font-size: 1.1rem;
            }
            
            .converter-section {
                padding: 30px;
                margin: 0 auto 30px;
            }
            .converter-section .row {
                flex-direction: row;
                gap: 0;
            }
            .converter-section .row .col-md-4 {
                width: 33.333%;
                flex: 0 0 33.333%;
                max-width: 33.333%;
                padding: 0 10px;
            }
            .converter-section .row .col-md-4:first-child {
                padding-left: 0;
            }
            .converter-section .row .col-md-4:last-child {
                padding-right: 0;
            }
            
            .preview-box {
                padding: 20px;
                min-height: 300px;
            }
            .preview-box h3 {
                font-size: 1.2rem;
            }
            .image-preview {
                max-height: 250px;
            }
            .image-info {
                font-size: 0.85rem;
                min-height: 80px;
            }
            
            .controls-middle {
                padding: 20px 10px;
                gap: 20px;
                min-height: 420px;
            }
            .format-select {
                flex-direction: column;
                padding: 5px 15px;
            }
            .format-select .custom-select-wrapper {
                max-width: 200px;
            }
            .controls-middle .btn-primary {
                max-width: 200px;
                min-height: 48px;
            }
            
            .action-btn-container .btn {
                font-size: 0.95rem;
                min-height: 48px;
            }
            
            .lightbox-content {
                max-height: 85vh;
            }
            .lightbox-body {
                padding: 20px 24px;
                font-size: 0.95rem;
            }
        }
        
        /* Tablet */
        @media (min-width: 577px) and (max-width: 768px) {
            .converter-section .row {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 15px;
            }
            .converter-section .row .col-md-4 {
                width: calc(50% - 7.5px);
                flex: 0 0 calc(50% - 7.5px);
                max-width: calc(50% - 7.5px);
                padding: 0;
            }
            .converter-section .row .col-md-4:first-child {
                width: 100%;
                flex: 0 0 100%;
                max-width: 100%;
            }
            .controls-middle {
                min-height: 380px;
                padding: 15px 5px;
            }
            .controls-middle .btn-primary {
                max-width: 220px;
            }
        }
        
        /* Mobile */
        @media (max-width: 576px) {
            .app-header h1 {
                font-size: 1.6rem;
            }
            .app-header h1 i {
                font-size: 1.4rem;
            }
            .app-header p {
                font-size: 0.85rem;
            }
            
            .upload-area {
                padding: 1.8rem 1rem;
                margin: 30px;
            }
            
            .converter-section {
                padding: 12px;
                margin: 0 8px 20px;
                border-radius: 10px;
            }
            .converter-section .row {
                gap: 12px;
            }
            
            .preview-box {
                padding: 12px;
                min-height: 160px;
            }
            .preview-box h3 {
                font-size: 0.95rem;
                margin-bottom: 8px;
            }
            .image-preview {
                max-height: 150px;
            }
            .image-info {
                padding: 8px;
                min-height: 50px;
                font-size: 0.75rem;
            }
            .image-info p {
                margin: 3px 0;
                gap: 5px;
            }
            .image-info .info-label {
                font-size: 0.7rem;
            }
            .image-info .info-value {
                font-size: 0.7rem;
            }
            
            .controls-middle {
                padding: 5px 0;
                gap: 12px;
            }
            .format-select {
                padding: 6px 10px;
                border-radius: 30px;
            }
            .format-select label {
                font-size: 0.8rem;
            }
            .custom-select {
                padding: 8px 12px;
                font-size: 0.85rem;
                min-height: 38px;
                border-radius: 40px;
            }
            .custom-option {
                padding: 8px 12px;
                font-size: 0.85rem;
            }
            
            .controls-middle .btn-primary {
                min-height: 40px;
                font-size: 0.9rem;
                max-width: 100%;
                padding: 8px 16px;
                border-radius: 50px; /* Added for Convert to B&W button on mobile */
            }
            
            .action-btn-container {
                min-height: 44px;
                margin-top: 10px;
            }
            .action-btn-container .btn {
                min-height: 38px;
                font-size: 0.85rem;
                padding: 6px 14px;
                border-radius: 50px; /* Added for Upload New and Download B&W on mobile */
            }
            
            .lightbox-content {
                max-height: 95vh;
                border-radius: 10px;
            }
            .lightbox-header {
                padding: 10px 14px;
            }
            .lightbox-header h3 {
                font-size: 0.95rem;
            }
            .lightbox-header h3 i {
                font-size: 1rem;
            }
            .lightbox-close {
                width: 26px;
                height: 26px;
                font-size: 1rem;
            }
            .lightbox-body {
                padding: 12px 14px;
                font-size: 0.82rem;
            }
            .lightbox-body h4 {
                font-size: 0.85rem;
                margin-top: 12px;
                padding-left: 8px;
            }
            .lightbox-body ul, .lightbox-body ol {
                padding-left: 16px;
                margin-bottom: 10px;
            }
            .lightbox-body li {
                margin-bottom: 4px;
            }
            .comparison-grid {
                padding: 6px;
                margin: 8px 0;
            }
            .comparison-grid table {
                font-size: 0.7rem;
                min-width: 250px;
            }
            .comparison-grid th, .comparison-grid td {
                padding: 4px 6px;
            }
            .audience-tag {
                font-size: 0.65rem;
                padding: 2px 8px;
            }
            .tip-text {
                font-size: 0.75rem;
                padding: 6px 10px;
            }
            .text-muted.small {
                font-size: 0.7rem;
            }
            
            .about-tool-btn {
                padding: 6px 16px;
                font-size: 0.8rem;
            }
            .about-tool-btn i {
                font-size: 0.9rem;
            }

            .faq-title {
                font-size: 1.4rem;
            }
            .faq-question {
                font-size: 0.95rem;
                padding: 14px 16px;
            }
            .faq-answer p {
                font-size: 0.9rem;
            }
        }
        
        /* Extra Small Devices */
        @media (max-width: 380px) {
            .app-header h1 {
                font-size: 1.3rem;
            }
            .upload-area {
                padding: 2rem 1.5rem;
                margin: 30px;
            }
            .upload-area i {
                font-size: 2rem;
            }
            .upload-area h3 {
                font-size: 0.9rem;
            }
            .preview-box h3 {
                font-size: 0.85rem;
            }
            .image-preview {
                max-height: 120px;
            }
            .controls-middle .btn-primary {
                font-size: 0.8rem;
                padding: 6px 12px;
                min-height: 36px;
                border-radius: 50px; /* Added for very small screens */
            }
            .faq-title {
                font-size: 1.2rem;
            }
            .faq-question {
                font-size: 0.9rem;
                padding: 12px 14px;
            }
        }
        
        /* ============================================================
           END EXTERNAL CSS
           ============================================================ *//* End custom CSS */