/*
 * JNIStringEncryptor
 * Copyright (C) 2025 denis0001-dev
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org/licenses/>.
 */

body, #main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #242424;
    color: white;
}

#main {
    width: 50%;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 5px 0 5px 0;

    input.inp {
        border: 1px solid #606060;
        background-color: transparent;
        border-radius: 20px;
        padding: 10px;
        caret-color: white;
        color: white;
        font-family: monospace;
        font-size: 12px;
    }
    input.inp:focus, input.inp:focus-visible, input.inp:focus-within {
        border: 1px solid white;
        outline: none;
    }
}

button {
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 15px;
    background-color: #00a613;
    color: white;
}

.sep {
    width: 100%;
    height: 1px;
    background-color: #606060;
    margin: 10px;
}

#result {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

pre {
    text-align: start;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 10px 0;
    overflow: auto;

    code::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: transparent;
    }

    code::-webkit-scrollbar {
        height: 10px;
        background-color: transparent;
    }

    code::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #555;
    }
}

pre:not(:has(code)) {
    background-color: #0d1117;
    padding: 10px;
}

.textstart {
    text-align: start;
    width: 100%;
}

.hidden {
    display: none !important;
}