/* File: Totolec/reserva/cartelas/style.css */
/* Grid de bolas fixo: 10 colunas x 5 linhas, centralizado */
#ball-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(35px, 1fr));
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
}

.ball-cell {
    width: 35px;
    height: 35px;
    position: relative;
}

.ball-button {
    width: 35px;
    height: 35px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

/* Centraliza o texto no SVG */
.ball-button svg text {
    text-anchor: middle;
    dominant-baseline: middle;
}

/* Área de dezenas selecionadas com 11 slots fixos */
#selected-container {
    margin: 1rem 0;
    /* margin-top: 20px; */
    border-top: 1px dashed #ccc;
    border-bottom: 1px dashed #ccc;
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    min-height: 35px;
    justify-content: center;
}

.selected-slot {
    width: 35px;
    height: 35px;
}

.button-container {
    display: flex;
    justify-content: center; /* Center the buttons horizontally */
    gap: 5px; /* Add spacing between buttons */
    margin-top: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    justify-content: center; /* Center icon and text within the button */
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    margin-right: 5px;
}
