body {
    font-family: sans-serif;
    text-align: center;
    background: #d2d2d2;
    color: #333;
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

    .container h1 {
        display: block;
        color: #11447d;
        font-size: 32px;
        margin-block-start: 0px;
        margin-block-end: 6px;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }

    .container p {
        display: block;
        font-size: 16px;
        margin-block-start: 8px;
        margin-block-end: 8px;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
    }

select {
    width: 100%;
    padding: 8px;
    margin: 0;
    border: 2px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.5s ease;
    outline: none;
}

    select:not(:disabled) {
        border-color: #4caf50;
        cursor: pointer;
    }

    select:not(:disabled):hover {
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }

    select:focus,
    select:focus-visible {
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }

.mode-container {
    display: flex;
    justify-content: space-around;
    margin: 16px 0;
    text-align: left;
}

.separetor {
    display: block;
    width: 20px;
}

.mode-option {
    display: block;
    padding: 10px;
    background: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.5s ease;
    box-sizing: border-box;
    opacity: 0.7;
}

    .mode-option:not(:has(input:disabled)) {
        cursor: pointer;
        opacity: 1;
    }

    .mode-option:not(:has(input:disabled)):hover {
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }

    .mode-option input {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
        margin: 0;
    }

    .mode-option:has(input:checked:not(:disabled)) {
        background: #e0f5e2;
        border-color: #4caf50;
    }

    .mode-option:has(input:checked:disabled) {
        border-color: #555;
    }

    .mode-option:has(input:focus),
    .mode-option:has(input:focus-visible) {
        border-color: #4caf50;
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }

    .mode-option:has(input:checked:not(:disabled)) .mode-text strong {
        color: #2e7d32;
    }

    .mode-option:has(input:checked:disabled) .mode-text strong {
        color: #111;
    }

.mode-text strong {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #555;
    transition: all 0.5s ease;
    margin-bottom: 4px;
}

.mode-text span {
    display: block;
    width: 100%;
    text-align: justify;
    font-size: 14px;
    color: #666;
    line-height: 1.3;
}

.instruction-box {
    background: #fff9e6;
    border-left: 4px solid #ffcc00;
    padding: 5px 12px;
    margin: 15px 0;
    text-align: left;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.4;
}

.instruction-title {
    color: #d39600;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    outline: none;
    user-select: none;
    opacity: 0.8;
    transition: all 0.5s ease;
}

    .instruction-title:hover {
        color: #e28600;
        opacity: 1;
    }

.instruction-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: normal;
    color: #555;
}

.instruction-box summary {
    list-style: none;
}

.instruction-box[open] .instruction-title {
    margin-bottom: 5px;
}

.instruction-box ol {
    margin: 0;
    padding-left: 25px;
}

    .instruction-box ol li strong {
        display: inline;
        color: #000;
    }

#install-btn-box {
    display: none;
}

#install-btn {
    display: inline-block;
    min-width: 50%;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    background-color: #aaa;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    outline: none;
    transition: all 0.5s ease;
}

    #install-btn:not(:disabled) {
        cursor: pointer;
        background-color: #0d9db4;
    }

    #install-btn:not(:disabled):hover {
        background-color: #0dc7e2;
        box-shadow: 0 0 3px 2px rgba(20, 180, 230, 0.5);
    }

    #install-btn:focus,
    #install-btn:focus-visible {
        background-color: #14b7ce;
        box-shadow: 0 0 3px 2px rgba(20, 180, 230, 0.5);
    }

.terminal-box {
    display: block;
    margin-top: 15px;
    width: 100%;
    height: 150px;
}

#terminal {
    display: inline-block;
    width: 100%;
    height: 100%;
    background: #1c3e5f;
    color: #eee;
    font-family: monospace;
    padding: 5px;
    outline: none;
    resize: none;
    white-space: pre-wrap;
    overflow-x: hidden;
    overflow-y: scroll;
    box-sizing: border-box;
    border: 2px solid #1c3e5f;
    border-radius: 4px;
    scrollbar-width: thin;
    scrollbar-color: #4381bb #1c3e5f;
}

    #terminal::placeholder {
        color: #81bcf5;
        opacity: 1;
    }

    #terminal::-webkit-scrollbar {
        width: 3px;
    }

    #terminal::-webkit-scrollbar-track {
        background: #1c3e5f;
    }

    #terminal::-webkit-scrollbar-thumb {
        background: #4381bb;
    }

        #terminal::-webkit-scrollbar-thumb:hover {
            background: #3e9af0;
        }

.loading {
    color: #666;
    font-style: italic;
}

.version-badge {
    color: #000;
    background: #e0e0e0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

.funding-box {
    margin-top: 15px;
    padding-top: 5px;
    border-top: 1px solid #ccc;
    font-size: 14px;
}

.funding-link {
    display: inline-block;
    margin-top: 5px;
    padding: 8px 16px;
    background: #4caf50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    transition: all 0.5s ease;
}

    .funding-link:hover {
        background: #39ce3f;
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }

    .funding-link:focus,
    .funding-link:focus-visible {
        background: #4cbf51;
        box-shadow: 0 0 3px 2px rgba(85, 180, 85, 0.5);
    }
