
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

h1 {
    color: #333;
    margin-bottom: 1.5rem;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #f0f2f5;
}

body.dark-mode .container {
    background-color: #2c2c2c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

body.dark-mode h1 {
    color: #f0f2f5;
}

body.dark-mode #generator-btn {
    background-color: #0056b3;
}

body.dark-mode #generator-btn:hover {
    background-color: #003d80;
}

/* Buttons */
#generator-btn, #dark-mode-toggle {
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 1.5rem;
}

#generator-btn {
    background-color: #007bff;
}

#generator-btn:hover {
    background-color: #0056b3;
}

#dark-mode-toggle {
    background-color: #555;
    margin-right: 10px; /* Add some space between buttons */
}

#dark-mode-toggle:hover {
    background-color: #333;
}


#lotto-tickets-container {
    margin-top: 1.5rem;
}

/* Individual ticket styling could go here if needed */
.lotto-ticket {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

body.dark-mode .lotto-ticket {
    background-color: #3a3a3a;
    border-color: #555;
}

.lotto-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #e9ecef;
}

body.dark-mode .lotto-number {
    color: #f0f2f5;
    background-color: #4a4a4a;
}
