        .file-info {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #f1f5f9;
            border-radius: 60px;
            padding: 0.5rem 1rem;
            margin-top: 1rem;
        }

        .file-name {
            font-weight: 500;
            word-break: break-all;
            flex: 1;
        }

        .remove-file {
            background: #fee2e2;
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #dc2626;
            transition: 0.2s;
        }

        .remove-file:hover {
            background: #fecaca;
            transform: scale(1.02);
        }

        /* controls grid */
        .controls-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 1.8rem;
            margin: 2rem 0;
        }

        .control-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .control-group label {
            font-weight: 600;
            color: #1e293b;
            font-size: 0.9rem;
        }

        .dpi-row {
            display: flex;
            gap: 1rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .dpi-input {
            flex: 2;
            padding: 0.6rem 1rem;
            border: 1px solid #cbd5e1;
            border-radius: 60px;
            font-size: 0.9rem;
            background: white;
        }

        .range-slider {
            flex: 3;
            width: 100%;
            height: 6px;
            -webkit-appearance: none;
            background: #e2e8f0;
            border-radius: 10px;
            outline: none;
        }

        .range-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: #2563eb;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            border: 2px solid white;
        }

        select, .checkbox-label {
            padding: 0.6rem 1rem;
            border: 1px solid #cbd5e1;
            border-radius: 60px;
            background: white;
            font-size: 0.9rem;
            cursor: pointer;
        }

        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            cursor: pointer;
            background: #f8fafc;
        }

        /* summary cards */
        .summary-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.2rem;
            margin: 2rem 0;
        }

        .summary-card {
            background: #ffffff;
            border-radius: 20px;
            padding: 1.2rem;
            text-align: center;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -2px rgba(0,0,0,0.03);
        }

        .summary-card h4 {
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #64748b;
            margin-bottom: 0.5rem;
        }

        .summary-card p {
            font-size: 1.6rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
        }

        .estimate-highlight {
            color: #2563eb;
        }

        /* action buttons */
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0 1rem;
            align-items: center;
        }

        .btn {
            padding: 0.8rem 1.8rem;
            border-radius: 60px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
            border: 1px solid #cbd5e1;
        }

        .btn-primary {
            background: #2563eb;
            color: white;
            border: none;
            box-shadow: 0 2px 6px rgba(37,99,235,0.3);
        }

        .btn-primary:hover {
            background: #1d4ed8;
            transform: translateY(-1px);
        }

        .btn-secondary:hover {
            background: #f1f5f9;
        }

        .progress-container {
            height: 6px;
            background: #e2e8f0;
            border-radius: 10px;
            overflow: hidden;
            margin: 1rem 0;
        }

        .progress-fill {
            width: 0%;
            height: 100%;
            background: #2563eb;
            transition: width 0.3s ease;
        }

        .results-area {
            margin-top: 1.8rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e2e8f0;
        }

        .download-btn {
            background: #10b981;
            color: white;
            border: none;
            padding: 0.8rem 2rem;
            font-size: 1rem;
        }

        .download-btn:hover {
            background: #059669;
        }

        .status-message {
            font-size: 0.85rem;
            margin-top: 0.5rem;
            color: #475569;
        }

        @media (max-width: 640px) {
            .tool-body {
                padding: 1.2rem;
            }
            .tool-header p {
                max-width: 100%;
            }
            .summary-card p {
                font-size: 1.2rem;
            }
        }
