/*
 * Copyright (C) 2026  Encelade SRL
 * Copyright (C) 2026  elephantchess.io
 * Copyright (C) 2026  Benoît Vleminckx (benckx)
 *
 * 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/>.
 */

#create-new-game-modal {
    width: 450px;
}

#create-new-game-modal .new-game-main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

#create-new-game-modal .container-with-margin {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
}

#create-new-game-modal .new-game-option-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

#create-new-game-modal .new-game-option-table td,
#create-new-game-modal .option-button-div {
    height: 32px;
}

/*noinspection CssReplaceWithShorthandSafely*/
#create-new-game-modal .new-game-option-table td.button-cells {
    width: 114px;
    padding: 0;
    padding-left: 4px;
    padding-right: 4px;
    height: 45px;
}

#create-new-game-modal .option-button-div {
    border: 2px solid #605f5f;
    border-radius: 10px;
    background-color: #f5eee5;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0 auto;
    cursor: pointer;
}

#create-new-game-modal .option-button-div-selected {
    background-color: #fcfaf8;
    box-shadow: rgba(0, 0, 0, 0.09) 0 3px 3px, rgba(0, 0, 0, 0.12) 0 3px 3px;
    font-weight: bold;
    border-color: #124610;
    border-width: 3px;
}

#create-new-game-modal .option-button-div-disabled {
    background-color: #c6c4c0;
    cursor: not-allowed;
    color: #5e5d5d;
}

#create-new-game-modal #additional-options-box {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-flow: column;
    font-size: 15px;
    margin-top: 18px;
    margin-bottom: 1px;
    padding-left: 25px;
    padding-right: 25px;
    width: 100%;
}

#create-new-game-modal #additional-options-checkboxes {
    display: flex;
    flex-flow: column;
    width: 100%;
}

#create-new-game-modal #additional-options-title {
    font-size: 15px;
    text-align: left;
    width: 100%;
    margin-bottom: 4px;
}

#create-new-game-modal img.time-control-icons {
    width: 28px;
}

#create-new-game-modal img.blitz-time-control-icons {
    width: 20px;
}

#create-new-game-modal .create-game-buttons {
    width: 150px;
    margin-bottom: 0;
}

/*noinspection CssReplaceWithShorthandSafely*/
#create-new-game-modal .small-text-explanation {
    font-size: 14px;
    color: #2a2929;
    text-align: left;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 3px;
    padding-right: 3px;
}

#create-new-game-modal .standard-checkbox .label-span label,
#create-new-game-modal .standard-radio .label-span label {
    font-size: 15px;
}

#create-new-game-modal .always-visible-in-lobby-faq-link {
    margin-left: 6px;
}

#create-new-game-modal .always-visible-in-lobby-faq-link img {
    height: 1em;
    width: 1em;
    vertical-align: middle;
}

@media (max-width: 1000px) {
    #create-new-game-modal {
        width: 94%;
    }

    #create-new-game-modal .container-with-margin {
        width: 90%;
    }

    #create-new-game-modal .option-button-div {
        height: 64px;
    }

    #create-new-game-modal .new-game-option-table td.button-cells {
        width: 200px;
        padding-left: 6px;
        padding-right: 6px;
        height: 78px;
    }

    #create-new-game-modal .new-game-option-table td.icons-cells {
        width: 100px;
    }

    #create-new-game-modal .option-button-div {
        font-size: 36px;
    }

    #create-new-game-modal .small-text-explanation {
        font-size: 34px;
    }

    #create-new-game-modal #additional-options-box {
        font-size: 32px;
    }

    #create-new-game-modal img.time-control-icons {
        width: 50px;
    }

    #create-new-game-modal img.blitz-time-control-icons {
        width: 35px;
    }

    #create-new-game-modal input[type=button].create-game-buttons {
        width: 300px;
        height: 70px;
    }

    #create-new-game-modal #additional-options-title {
        font-size: 34px;
        margin-bottom: 8px;
    }

    #create-new-game-modal .standard-checkbox .label-span label,
    #create-new-game-modal .standard-radio .label-span label {
        font-size: 34px;
    }
}
