body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.game-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.game-btn {
    padding: 10px 15px;
    background-color: #e0e0e0;
    border: none;
    cursor: pointer;
}

.game-btn:first-child {
    border-radius: 4px 0 0 4px;
}

.game-btn:last-child {
    border-radius: 0 4px 4px 0;
}

.game-btn.active {
    background-color: #3498db;
    color: white;
}

.input-container {
    margin-bottom: 20px;
}

.number-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.euro-inputs input {
    background-color: #f9e076;
    border-color: #f5c211;
}

input[type="number"] {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-bottom: 10px;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

button {
    width: 200px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 5px;
}

button:hover {
    background-color: #45a049;
}

#autoDrawButton, #euroAutoDrawButton {
    background-color: #3498db;
}

#autoDrawButton:hover, #euroAutoDrawButton:hover {
    background-color: #2980b9;
}

#stopDrawButton, #euroStopDrawButton {
    background-color: #f44336;
}

#stopDrawButton:hover, #euroStopDrawButton:hover {
    background-color: #d32f2f;
}

#randomNumbersButton, #euroRandomNumbersButton {
    background-color: #9c27b0;
}

#randomNumbersButton:hover, #euroRandomNumbersButton:hover {
    background-color: #7b1fa2;
}

.ball {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f1c40f;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: bold;
    margin: 5px;
}

.match {
    background-color: #2ecc71;
}

.euro-ball {
    background-color: #3498db;
}

.euro-star-ball {
    background-color: #f39c12;
}

.numbers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 15px 0;
}

.result-section {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.result-section:last-child {
    border-bottom: none;
}

.draw-count-box {
    margin-top: 15px;
    padding: 10px;
    background-color: #dff0d8;
    border: 1px solid #3c763d;
    border-radius: 4px;
    color: #3c763d;
    font-weight: bold;
    text-align: center;
}

.summary-wins-box {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #e7f3fe;
    border: 1px solid #2196F3;
    border-radius: 4px;
    color: #0b5394;
    font-weight: bold;
    text-align: center;
}

.jackpot-summary {
    margin-top: 15px;
    padding: 10px;
    background-color: #dff0d8;
    border: 1px solid #3c763d;
    border-radius: 4px;
    color: #3c763d;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #666;
}

.speed-control {
    margin: 20px 0;
    text-align: center;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.speed-control input {
    width: 150px;
}

#results {
    max-height: 500px;
    overflow-y: auto;
    margin-top: 20px;
    border: 1px solid #ddd;
    padding: 10px;
}

.date-display {
    font-style: italic;
    color: #666;
    margin-bottom: 5px;
}

.euro-prize-tiers {
    margin: 15px 0;
    text-align: center;
}

.euro-prize-tiers table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.euro-prize-tiers th, .euro-prize-tiers td {
    padding: 4px;
    text-align: center;
    border: 1px solid #ccc;
}

.euro-prize-tiers th {
    background-color: #e7f3fe;
    font-weight: bold;
}

.euro-prize-tiers tr:nth-child(even) {
    background-color: #f9f9f9;
}

.euro-prize-tiers tr:first-child td {
    background-color: #dff0d8;
    font-weight: bold;
}

#congratulationsDiv a, #stopDrawMessageDiv a {
    display: inline-block;
    color: #0275d8;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    padding: 5px 10px;
    border: 1px solid #0275d8;
    border-radius: 4px;
    transition: all 0.3s;
}

#congratulationsDiv a:hover, #stopDrawMessageDiv a:hover {
    background-color: #0275d8;
    color: white;
}
