body {
    background-color: #f0f8ff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
    max-width: 600px;
}

.score-display {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.score-number {
    font-size: 5rem;
    font-weight: bold;
    color: #007bff;
}

.over-ball {
    font-size: 2rem;
    color: #6c757d;
}

.action-buttons .btn {
    margin: 5px;
    min-width: 80px;
}

.runboard {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

#scoreboard-btn, #undo-btn {
    font-size: 1.5rem;
}

.modal-content {
    border-radius: 15px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 123, 255, 0.05);
}

.ball-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin: 2px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: bold;
}

.ball-btn-wide {
    background-color: #fba762;
    border-color: #e3c489;
    color: white;
}

.ball-btn-noball {
    background-color: #37e3a1;
    border-color: #2fcd69;
    color: rgb(67, 7, 7);
}

.ball-btn-wicket {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
}

.ball-btn-four {
    background-color: #59a1ff;
    border-color: #59a1ff;
    color: white;
}

.ball-btn-six {
    background-color: #8406df;
    border-color: #8406df;
    color: white;
}

.btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}