 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #08859B;
            --primary-dark: #066d7e;
            --accent: #F8BE2E;
            --danger: #ef4444;
            --dark: #1f2937;
            --light: #f9fafb;
            --gray: #6b7280;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --radius: 1rem;
            --transition: all 0.2s ease;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
            color: var(--dark);
            line-height: 1.5;
            padding: 1.5rem;
            margin: 0;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
        }

        .card {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            padding: 1.5rem;
            color: white;
        }

        .card-header h1 {
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }

        .card-header p {
            opacity: 0.9;
            font-size: 0.95rem;
        }

        .controls {
            padding: 1.5rem;
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            border-bottom: 1px solid #e5e7eb;
            align-items: flex-end;
        }

        .control-group {
            flex: 1;
            min-width: 140px;
        }

        .control-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .control-group input, .control-group select {
            width: 100%;
            padding: 0.6rem 0.8rem;
            border: 2px solid #e5e7eb;
            border-radius: 0.75rem;
            font-size: 1rem;
            transition: var(--transition);
        }

        .control-group input:focus, .control-group select:focus {
            outline: none;
            border-color: var(--primary);
        }

        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .checkbox-group label {
            margin-bottom: 0;
            cursor: pointer;
        }

        textarea {
            width: 100%;
            min-height: 280px;
            padding: 1rem;
            font-size: 1rem;
            font-family: 'Courier New', monospace;
            border: 2px solid #e5e7eb;
            border-radius: 0.75rem;
            resize: vertical;
            transition: var(--transition);
            margin: 1.5rem;
            width: calc(100% - 3rem);
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary);
        }

        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            padding: 0 1.5rem 1.5rem;
            justify-content: center;
        }

        .btn {
            padding: 0.6rem 1.2rem;
            border-radius: 2rem;
            font-weight: 600;
            border: none;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: var(--transition);
            background: white;
            border: 1px solid #e5e7eb;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
            border: none;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-accent {
            background: var(--accent);
            color: #1f2937;
            border: none;
        }

        .btn-accent:hover {
            background: #e6a812;
            transform: translateY(-2px);
        }

        .btn-danger {
            background: var(--danger);
            color: white;
            border: none;
        }

        .btn-danger:hover {
            background: #dc2626;
        }

        .btn-outline {
            border: 1px solid var(--primary);
            color: var(--primary);
            background: white;
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .stats {
            padding: 0 1.5rem 1rem;
            font-size: 0.9rem;
            color: var(--gray);
            text-align: right;
        }

        .toast {
            position: fixed;
            bottom: 1.5rem;
            right: 1.5rem;
            background: var(--dark);
            color: white;
            padding: 0.75rem 1.25rem;
            border-radius: 2rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            opacity: 0;
            transform: translateY(1rem);
            transition: opacity 0.3s, transform 0.3s;
            z-index: 1000;
            pointer-events: none;
        }

        .toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        @media (max-width: 640px) {
            body {
                padding: 1rem;
            }
            .controls {
                flex-direction: column;
                align-items: stretch;
            }
            .control-group {
                width: 100%;
            }
            .action-buttons {
                justify-content: center;
            }
            .btn {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
            .card-header h1 {
                font-size: 1.4rem;
            }
            textarea {
                width: calc(100% - 2rem);
                margin: 1rem;
            }
       