
    :root {
        --bg: #05080f;
        --surface: #0c121d;
        --border: #1e2d42;
        --accent: #00e5a0;
        --text: #e2eaf5;
        --muted: #4a5f7a;
    }

  

    nav {
        height: 65px;
        background: white;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        z-index: 10;
        border: 1px solid rgba(0, 0, 0, 0.2);
    }

    .nav-left {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Format Selector Styling */
    .format-select {
        background: var(--surface);
        color: var(--text);
        border: 1px solid var(--border);
        padding: 8px 12px;
        border-radius: 6px;
        font-family: 'Syne', sans-serif;
        font-weight: 600;
        outline: none;
        cursor: pointer;
    }

    .format-select:focus {
        border-color: var(--accent);
    }

    .file-input-label {
        background: rgba(74, 95, 122, 0.1);
        border: 1px dashed var(--muted);
        padding: 8px 15px;
        border-radius: 6px;
        font-size: 13px;
        cursor: pointer;
        color: #000;
    }

    .btn-export {
        background: var(--primary-color);
        border: none;
        padding: 10px 22px;
        border-radius: 8px;
        color: white;
        font-weight: 700;
        cursor: pointer;
        transition: 0.2s;
    }

    .btn-export:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 229, 160, 0.3);
    }

    main {
        flex: 1;
        display: flex;
        overflow: hidden;
    }

    .editor-wrap {
        height: 500px;
        flex: 1;
        display: flex;
        flex-direction: column;
        border-right: 1px solid var(--border);
    }

    #code-input {
        flex: 1;
        background: #05080f;
        color: #a8c0e0;
        padding: 25px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 14px;
        border: none;
        outline: none;
        resize: none;
        line-height: 1.7;
    }

    .status-panel {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: var(--surface);
    }

    /* RING LOADER */
    .state-loading {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .ring-wrap {
        position: relative;
        width: 100px;
        height: 100px;
    }

    .ring-outer {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 4px solid var(--border);
        border-top-color: var(--accent);
        animation: spin 0.9s linear infinite;
    }

    .ring-inner {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        border: 4px solid var(--border);
        border-bottom-color: #009dff;
        animation: spin 1.4s linear infinite reverse;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

    .progress-bar {
        width: 200px;
        height: 4px;
        background: var(--border);
        border-radius: 10px;
        margin-top: 15px;
        overflow: hidden;
    }

    .progress-fill {
        height: 100%;
        width: 0%;
        background: var(--accent);
        transition: 0.3s;
    }

    #stateSuccess {
        display: none;
        text-align: center;
    }

    .check {
        font-size: 50px;
        color: var(--accent);
        margin-bottom: 10px;
    }
