/* =====================================================
   COMMAND LINE
   ===================================================== */

.commandLineOverlay
{
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: flex-start;
    justify-content: center;

    box-sizing: border-box;

    background: rgba(0, 0, 0, 0.55);

    z-index: 100000;
}


/* =====================================================
   WINDOW
   ===================================================== */

.commandLineWindow
{
    position: relative;

    width: calc(100% - 60px);
    height: calc(100% - 70px);

    display: flex;
    flex-direction: column;

    margin-top: 50px;

    box-sizing: border-box;

    background: #808080;

    color: #222;

    border: 2px solid #fff;
}


/* =====================================================
   TITLE
   ===================================================== */

.commandLineTitle
{
    flex: 0 0 50px;

    display: flex;

    align-items: center;
    justify-content: flex-end;

    padding: 0 16px;

    box-sizing: border-box;

    background: #000;

    color: #fff;

    font-size: 24px;
    font-weight: 700;
}


/* =====================================================
   OLD BLACK LINE
   ===================================================== */

.commandLineTitle + .commandLineBlackLine
{
    display: none;
}


/* =====================================================
   INPUT LABEL
   ===================================================== */

.commandLineInputLabel
{
    flex: 0 0 auto;

    margin: 26px 15px 9px 15px;

    font-size: 20px;
    font-weight: 700;
}


/* =====================================================
   INPUT
   ===================================================== */

.commandLineInput
{
    flex: 0 0 100px;

    width: calc(100% - 14px);

    height: 100px;

    min-height: 100px;
    max-height: 100px;

    margin: 0 7px;

    resize: none;

    padding: 8px 20px;

    box-sizing: border-box;

    background: #fff;
    color: #111;

    border: 1px solid #bdbdbd;

    font-size: 18px;
}


/* =====================================================
   REQUEST / KILL
   ===================================================== */

.commandLineRequestRow
{
    flex: 0 0 auto;

    display: flex;

    justify-content: space-between;
    align-items: center;

    width: 100%;

    margin: 10px 0 10px 0;

    padding: 0 7px;

    box-sizing: border-box;
}


.commandLineRequestRow button
{
    height: 49px;

    min-width: 120px;

    padding: 0 20px;

    box-sizing: border-box;

    border-radius: 8px;

    border: 1px solid #555;

    background: #fff;

    color: #111;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
}


.commandLineRequestRow button:active
{
    transform: translateY(1px);
}


/* =====================================================
   WHITE LINE
   ===================================================== */

.commandLineWhiteLine
{
    flex: 0 0 1px;

    width: calc(100% - 14px);
    height: 1px;

    margin: 0 7px;

    background: #fff;
}


/* =====================================================
   OUTPUT HEADER
   ===================================================== */

.commandLineOutputHeader
{
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    margin-top: 15px;
    margin-bottom: 9px;

    padding: 0 22px;

    box-sizing: border-box;

    font-size: 20px;
    font-weight: 700;
}


.commandLineOutputHeader > label:first-child
{
    font-size: 20px;
    font-weight: 700;

    margin-top: 0;
}


/* =====================================================
   USE CIRILLIC
   ===================================================== */

.commandLineCyrillic
{
    display: inline-flex;

    align-items: center;

    gap: 9px;

    font-size: 19px;
    font-weight: 700;

    cursor: pointer;
}


.commandLineCyrillic input
{
    width: 20px;
    height: 20px;

    margin: 0;
}


/* =====================================================
   OUTPUT AREA
   ===================================================== */

.commandLineOutputContainer
{
    position: relative;

    flex: 1 1 auto;

    min-height: 0;

    width: 100%;

    display: flex;

    flex-direction: column;

    padding: 0 7px;

    box-sizing: border-box;
}


/* =====================================================
   OUTPUT
   ===================================================== */

.commandLineOutput
{
    flex: 1 1 auto;

    min-height: 0;

    width: 100%;
    height: 100%;

    resize: none;

    padding: 8px 20px;

    box-sizing: border-box;

    background: #fff;
    color: #111;

    border: 1px solid #bdbdbd;

    overflow: auto;

    font-size: 18px;
}


/* =====================================================
   CLEAR
   ===================================================== */

.commandLineClear
{
    align-self: flex-start;

    margin-top: 10px;
    margin-bottom: 15px;

    height: 49px;

    min-width: 120px;

    padding: 0 20px;

    box-sizing: border-box;

    border-radius: 8px;

    border: 1px solid #555;

    background: #fff;

    color: #111;

    font-size: 18px;
    font-weight: 700;

    cursor: pointer;
}


.commandLineClear:active
{
    transform: translateY(1px);
}


/* =====================================================
   BOTTOM
   ===================================================== */

.commandLineBottom
{
    flex: 0 0 60px;

    width: 100%;

    display: flex;

    justify-content: flex-end;
    align-items: center;

    padding: 0 8px;

    box-sizing: border-box;

    border-top: 2px solid #fff;
}


/*
    Стару чорну лінію всередині Bottom
    більше не показуємо.
*/

.commandLineBottom .commandLineBlackLine
{
    display: none;
}


/* =====================================================
   CANCEL
   ===================================================== */

.commandLineCancel
{
    align-self: auto;

    margin: 0;

    width: 92px;
    height: 50px;

    min-width: 92px;

    padding: 0;

    box-sizing: border-box;

    border-radius: 9px;

    border: 1px solid #fff;

    background: #555;

    color: #fff;

    font-size: 17px;
    font-weight: 700;

    cursor: pointer;
}


.commandLineCancel:active
{
    transform: translateY(1px);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px)
{
    .commandLineTitle
    {
        font-size: 22px;
    }


    .commandLineInputLabel
    {
        font-size: 19px;
    }


    .commandLineOutputHeader
    {
        font-size: 19px;
    }


    .commandLineOutputHeader > label:first-child
    {
        font-size: 19px;
    }


    .commandLineCyrillic
    {
        font-size: 17px;
    }


    .commandLineRequestRow button,
    .commandLineClear
    {
        font-size: 17px;
    }
}