:root {
    --bg-color: #f0f0f0;
    --text-color: #333;
    --container-bg: transparent;
    --btn-bg: #4CAF50;
    --btn-text: white;
    --number-border: #ccc;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --btn-bg: #45a049;
    --number-border: #444;
}

body {
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
}

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

.lotto-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--number-border);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    margin: 5px;
    color: #333; /* Keep numbers readable on their colored backgrounds */
}

#generate-btn {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    margin-bottom: 10px;
}

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    cursor: pointer;
    border: 1px solid var(--text-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-color);
    font-size: 14px;
}
