body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    transition: background-color 0.3s ease;
}

body.dark-mode {
    background-color: #2c2c2c;
    color: #e0e0e0;
}

.container {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .container {
    background-color: #3a3a3a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

h1 {
    color: #333;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

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

#generator-btn, #theme-toggle {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

#generator-btn:hover, #theme-toggle:hover {
    background-color: #45a049;
}

body.dark-mode #generator-btn,
body.dark-mode #theme-toggle {
    background-color: #6a0dad; /* Dark mode button color */
}

body.dark-mode #generator-btn:hover,
body.dark-mode #theme-toggle:hover {
    background-color: #7b29d4;
}

#numbers-display {
    margin-top: 30px;
    font-size: 24px;
    color: #333;
    display: flex;
    gap: 10px;
    justify-content: center;
    transition: color 0.3s ease;
}

body.dark-mode #numbers-display {
    color: #e0e0e0;
}

.number-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

body.dark-mode .number-circle {
    background-color: #555;
    color: #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
