/* buttons */
.btn-start {
    background-color: lightgreen;
    font-weight: bold;
    color:#2b0909
}
.btn-start:hover {
    background-color: #2ecc71;
}
.btn-yellow {
    background-color: #f9cb17;
}
.btn-yellow:hover {
    background-color:darkgoldenrod;
}
.btn-blue {
    background-color: #4a5a61;
    color: white;
    font-weight: bold;
}
.btn-blue:hover {
    background-color: #1e252b;
}
.btn:disabled {
    background-color: grey;
    cursor: not-allowed;
}
#btn_auto_fill {
    font-size: 13px;
}
/* lotto form */
#game > h2 {
    color:darkslategrey;
    margin-bottom: 0;
}
#game > p {
    color:saddlebrown;
}
#game > p.reset-user {
    font-size: 11px;
    color: black;
    margin-top: 0;
}
.lotto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media screen and (min-width: 320px) {
    .lotto-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 370px) {
    .lotto-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media screen and (min-width: 440px) {
    .lotto-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media screen and (min-width: 500px) {
    .lotto-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media screen and (min-width: 550px) {
    .lotto-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media screen and (min-width: 600px) {
    .lotto-grid {
        grid-template-columns: repeat(9, 1fr);
    }
}

.lotto-cell, .strong-cell {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #d8f0d8;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease-in-out;
    min-width: 24px;
    text-align: center;
}
.lotto-cell:hover {
    background-color: #93c293;
}
.strong-cell {
    background-color: #d1e6ec;
}
.strong-cell:hover {
    background-color: #84a8b3;
}
.highlight, .highlight:hover {
    background-color: #269153;
    color: #fff;
}
.highlight-strong, .highlight-strong:hover {
    background-color: #377297;
    color: #fff;
}
#lotto-machine-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}
@media screen and (min-width: 320px) {
    #lotto-machine-results {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 370px) {
    #lotto-machine-results {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media screen and (min-width: 440px) {
    #lotto-machine-results {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media screen and (min-width: 500px) {
    #lotto-machine-results {
        grid-template-columns: repeat(7, 1fr);
    }
}
#lotto-machine-results .result-cell {
    color: #063b06;
    border: 1px solid #aaa;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px;
}
#lotto-machine-results .result-cell-strong {
    color: #2b0909;
    border: 1px solid #383e93;
    border-radius: 10px;
    font-weight: bold;
    padding: 10px;
}
#user-results .user-results-column {
    margin-top: 10px;
    display: flex;
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
#user-results .user-lotto-cell {
    font-size: 16px;
    font-weight: 600;
    color: #accaac;
    padding: 2px;
}
#user-results .user-lotto-strong-cell {
    font-size: 16px;
    font-weight: 600;
    color: #beaaaa;
    padding: 2px;
}
.lotto-cell-sep {
    font-size: 40px;
}
.lotto-cell-vi {
    border: 2px solid green;
    border-radius: 8px;
}
#user-results .user-lotto-cell.lotto-cell-vi {
    color: #3b463b !important;
}
#user-results .user-lotto-strong-cell.lotto-cell-vi {
    color: #332c2c !important;
}
.lotto-cell-x {
    position: relative;
}
.lotto-cell-x::before,
.lotto-cell-x::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    opacity: 0.7;
    background-color: #fc4040;
}
.lotto-cell-x::before {
    transform: rotate(45deg);
}
.lotto-cell-x::after {
    transform: rotate(-45deg);
}
#new_game_btn {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}
.lotto_machine_animated {
    width: 80%;
    max-width: 500px;
    border-radius: 20%;
}
#lotto-machine-animation {
    margin-top: 20px;
}
#final_result {
    font-size: 28px;
    color: purple;
    font-weight: bold;
    font-style: italic;
}
.final_result_icon {
    font-size: 64px;
}
#link_privacy {
    font-size: 12px;
}
#copyrights {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 15px;
    font-size: 12px;
    color: #999;
}
#copyrights a {
    color: rgb(118, 118, 252);
}
