﻿/* ------------------------------ ИГРИЩА, экран игрока ------------- */
#app-game-player {
    /*height: 100vh;*/
}

.games-player {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#playerHeader {
    /*height: 100px;
    min-height: 100px;
    max-height: 200px;*/
    flex-shrink: 0;
    /*margin: 1% 5%;*/
    border-bottom: 1px solid #000000;
}

/* --- АРТЕФАКТЫ ИГРОКА ------------------------------------------------------------------------ */
.player-artifacts-container {
    border: 1px #cccccc solid;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    text-align: right;
}

.player-artifacts-voting-cookies i {
    color: #f59e0b;
    font-size: 1.5rem;
}

/* --- СТАВКИ ---------------------------------------------------------------------------------- */
.bid-amount-selection {
    /*display: flex;*/
    /*gap: 10px;*/
}

.bid-amount-title {
    /*display: block;*/
    font-size: 1rem;
    padding-right: 1rem;
}



.bid-amount-selection label {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.2s;
    color: #f59e0b;
}

/* --- ОПЦИИ ОТВЕТОВ НА ВОПРОС ----------------------------------------------------------------- */
.quiz-answer-option-button, .quiz-answer-option-button-disabled {
    background-color: #ffffff;
    padding: 12px;
    display: block;
    width: 100%;
    text-align: left;
    position: relative;
    min-height: 52px;
    border: 2px solid #7f7f7f;
    border-radius: 8px;
    margin-bottom: 16px;
}

.quiz-answer-option-button::before {
    z-index: -1;
}

.quiz-answer-option-button-disabled {
    background-color: #cfcfcf;
}

.quiz-answer-option-correct {
    background-color: #c4dd9b !important;
}
.quiz-answer-option-incorrect {
    background-color: #ffddbc !important;
}

/* --- НАВИГАЦИЯ ПО ВОПРОСАМ ------------------------------------------------------------------- */
.questionsNavigation-container {
    display: flex;
    width: 100%;
    height: 2rem;
    margin: 0.5rem 0;
    flex-grow: 1;
    cursor: pointer;
    gap: 4px;
}
.questionsNavigation-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 4px solid #f8f8f8;
    /*border-radius: 4px;
    border: 1px solid #3498db;*/
}
.questionsNavigation-item-current {
    background-color: #f5f5f5;
    border-bottom: 4px solid orange;
}
.questionsNavigation-item-disabled {
    background-color: #bfbfbf;
    cursor: default;
}

/* --- игра в СЛОВЕЧКИ, клиентский UI ---------------------------------------------------------- */
.wordie-container {
}

.wordie-letters-container {
    display: flex;
    /*gap: 8px;*/
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.wordie-letter-box {
    max-width: 60px;
    height: 40px;
    border: 2px solid #3498db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s;
    flex: 1 0 auto;
}

.wordie-input-field {
    padding: 8px;
    font-size: 16px;
    width: 100%;
    margin: 1rem 0;
}

.wordie-disabled-submit-button {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.6;
}

ul.wordie-composed-word {
    column-count: 5;
    column-gap: 1rem;
    list-style-type: none;
    padding: 0;
}

li.wordie-composed-word {
    break-inside: avoid;
}

@media (max-width: 1279px) {
    ul.wordie-composed-word {
        column-count: 4;
    }
}

@media (max-width: 1023px) {
    ul.wordie-composed-word {
        column-count: 3;
    }
}

@media (max-width: 767px) {
    ul.wordie-composed-word {
        column-count: 2;
    }
}
    