/* Big2Tally Custom Styles */

body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.header-image {
    max-width: 90%;
    width: 600px;
    height: auto;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .header-image {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header-image {
        width: 80%;
        max-width: 320px;
    }
}

.button-container {
    min-height: 60vh;
}

.button-container .text-center {
    width: 300px;
}

.btn {
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#loadGameBtn {
    min-width: 250px;
}

#newGameBtn {
    min-width: 250px;
}

/* Game Screen Styles */
#gameScreen {
    padding: 20px;
}

#gameNameDisplay {
    color: #333;
    margin-bottom: 20px;
    font-weight: bold;
}

.card {
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: #333;
    margin-bottom: 15px;
}

/* Players List Styles */
#playersList {
    max-height: 300px;
    overflow-y: auto;
}

#playersList .list-group-item {
    padding: 10px 15px;
}

/* Score Table Styles */
.table th {
    background-color: #007bff;
    color: white;
    text-align: center;
    vertical-align: middle;
    padding: 12px;
}

.table td {
    vertical-align: middle;
    padding: 12px;
}

.table td:first-child {
    width: 40%;
    text-align: left;
}

.table td:nth-child(2) {
    width: 35%;
}

.table td:nth-child(3) {
    width: 25%;
    text-align: center;
    font-size: 1.2em;
}

.score-input {
    width: 100%;
    text-align: center;
}

#currentHandNumber {
    color: #007bff;
}

/* Responsive table */
.table-responsive {
    overflow-x: auto;
}

/* Input Group Styles */
.input-group {
    max-width: 600px;
}

#playerNameInput {
    border-right: none;
}

#addPlayerBtn {
    border-left: none;
}

/* Button Spacing */
#closeGameBtn {
    margin-bottom: 10px;
}

#addRoundBtn {
    margin-top: 10px;
}

/* Modal Styles */
.modal-body input {
    margin-bottom: 10px;
}

/* Load Games Modal */
#savedGamesList .list-group-item {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

#savedGamesList .list-group-item:hover {
    background-color: #f8f9fa;
}

#savedGamesList .fw-bold {
    font-size: 1.1em;
    margin-bottom: 5px;
}

#noGamesMessage {
    font-size: 1.2em;
}
