    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    .app-container {
        font-family: 'Segoe UI', sans-serif;
        background: #f8fafc;
        min-height: 100vh;
        transition: all 0.3s ease;
    }

    .app-container.dark {
        background: #1a202c;
        color: #e2e8f0;
    }

    .top-header {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .logo h1 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
    }

    .logo span {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .header-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
    }

    .theme-btn, .home-btn {
        background: rgba(255, 255, 255, 0.15);
        border: none;
        color: white;
        padding: 10px 16px;
        border-radius: 25px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
    }

    .theme-btn:hover, .home-btn:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-1px);
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .app-container.dark .card {
        background: #2d3748;
        color: #e2e8f0;
    }

    .app-container.dark .section-title {
        color: #e2e8f0;
    }

    .app-container.dark .lang-btn {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }

    .app-container.dark .lang-btn:hover {
        border-color: #10b981;
    }

    .app-container.dark .code-textarea {
        background: #1a202c;
        border-color: #4a5568;
        color: #e2e8f0;
    }

    .app-container.dark .settings-panel {
        background: #1a202c;
    }

    .app-container.dark .input-field {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }

    .app-container.dark .btn-secondary {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }

    .app-container.dark .btn-secondary:hover {
        border-color: #10b981;
        color: #10b981;
    }

    .footer {
        background: white;
        margin-top: 3rem;
        padding: 2rem 0;
        text-align: center;
        border-top: 1px solid #e5e7eb;
        transition: all 0.3s ease;
    }

    .app-container.dark .footer {
        background: #2d3748;
        border-top-color: #4a5568;
        color: #e2e8f0;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer p {
        color: #6b7280;
        font-size: 16px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .app-container.dark .footer p {
        color: #d1d5db;
    }

    .footer a {
        color: #10b981;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.2s;
    }

    .footer a:hover {
        color: #059669;
        text-decoration: underline;
    }

    .logo-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        padding: 4px;
        background-color: white;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .logo-icon img {
        width: 18px;
        height: 18px;
        display: block;
    }

    .header {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        padding: 2rem;
        border-radius: 16px;
        margin-bottom: 2rem;
        text-align: center;
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
    }

    .header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .header p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

    .card {
        background: white;
        border-radius: 16px;
        padding: 2rem;
        margin-bottom: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s ease;
    }

    .card:hover {
        transform: translateY(-2px);
    }

    .section-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .section-title i {
        color: #10b981;
    }

    .language-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }

    .lang-btn {
        background: #f8fafc;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        padding: 16px 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
        font-weight: 500;
        color: #374151;
    }

    .lang-btn:hover {
        border-color: #10b981;
        transform: translateY(-2px);
    }

    .lang-btn.active {
        background: #10b981;
        border-color: #10b981;
        color: white;
    }

    .code-textarea {
        width: 100%;
        height: 400px;
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        padding: 20px;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        line-height: 1.5;
        resize: vertical;
        background: #fafafa;
        color: #374151;
        outline: none;
        transition: all 0.3s ease;
    }

    .code-textarea:focus {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    .action-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin: 2rem 0;
    }

    .btn {
        padding: 14px 28px;
        border: none;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 160px;
        justify-content: center;
    }

    .btn-primary {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }

    .btn-secondary {
        background: #f8fafc;
        color: #374151;
        border: 2px solid #e5e7eb;
    }

    .btn-secondary:hover {
        border-color: #10b981;
        color: #10b981;
    }

    .btn-danger {
        background: #ef4444;
        color: white;
    }

    .btn-danger:hover {
        background: #dc2626;
        transform: translateY(-2px);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .stat-card {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        padding: 1.5rem;
        border-radius: 12px;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .settings-panel {
        background: #f8f9fa;
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .settings-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .setting-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .checkbox-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .checkbox-wrapper input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: #10b981;
    }

    .checkbox-wrapper label {
        font-weight: 500;
        cursor: pointer;
    }

    .input-field {
        padding: 10px 12px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        background: white;
    }

    .toast {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 16px 20px;
        border-radius: 12px;
        color: white;
        font-weight: 500;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .toast.show {
        transform: translateX(0);
    }

    .toast.success {
        background: #10b981;
    }

    .toast.error {
        background: #ef4444;
    }

    .editor-info {
        display: flex;
        gap: 2rem;
        margin-bottom: 1rem;
        font-size: 14px;
        color: #6b7280;
        flex-wrap: wrap;
    }

    .editor-info span {
        display: flex;
        align-items: center;
        gap: 5px;
    }
    code {background: none!important;}
    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }
        
        .header {
            padding: 1.5rem;
        }
        
        .header h1 {
            font-size: 1.8rem;
        }
        
        .header p {
            font-size: 0.95rem;
        }
        
        .header-content {
            flex-direction: column;
            text-align: center;
            gap: 10px;
        }
        
        .logo h1 {
            font-size: 1.2rem;
        }
        
        .logo span {
            font-size: 0.8rem;
        }
        
        .header-actions {
            gap: 8px;
        }
        
        .theme-btn, .home-btn {
            padding: 8px 12px;
            font-size: 13px;
        }
        
        .card {
            padding: 1.5rem;
        }
        
        .section-title {
            font-size: 1.1rem;
        }
        
        .action-buttons {
            flex-direction: column;
        }
        
        .btn {
            min-width: auto;
            padding: 12px 20px;
            font-size: 14px;
        }
        
        .language-grid {
            grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
            gap: 8px;
        }
        
        .lang-btn {
            padding: 12px 8px;
            font-size: 13px;
        }
        
        .settings-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .setting-group .input-field {
            width: 100%;
            min-width: 0;
        }
        
        .setting-group > div[style*="flex"] {
            flex-direction: column !important;
            gap: 12px !important;
        }
        
        .stats-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.8rem;
        }
        
        .stat-card {
            padding: 1rem;
        }
        
        .stat-number {
            font-size: 1.5rem;
        }
        
        .stat-label {
            font-size: 0.8rem;
        }
        
        .editor-info {
            flex-direction: column;
            gap: 0.5rem;
            align-items: flex-start;
        }
        
        .editor-info span {
            font-size: 13px;
        }
        
        .code-textarea {
            height: 300px;
            padding: 15px;
            font-size: 13px;
        }
        
        .toast {
            right: 10px;
            left: 10px;
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }
        
        .toast.show {
            transform: translateY(0);
        }
    }
