:root {
    --bg-color: #f0f2f5;
    --container-bg: #fff;
    --text-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme='dark'] {
    --bg-color: #1a1a1a;
    --container-bg: #2d2d2d;
    --text-color: #f0f2f5;
    --shadow-color: rgba(0, 0, 0, 0.5);
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Changed from height to min-height */
    margin: 0;
    padding: 20px 0; /* Add padding for content growth */
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    position: relative;
    text-align: center;
    background-color: var(--container-bg);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px var(--shadow-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    max-width: 600px; /* Limit width for better layout */
}

...

#submit-btn:hover {
    background-color: #218838;
}

.comments-section {
    margin-top: 40px;
    text-align: left;
}

#theme-toggle {
    position: absolute;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

#generate-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

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

.contact-section {
    margin-top: 40px;
    text-align: left;
}

hr {
    border: 0;
    border-top: 1px solid var(--shadow-color);
    margin: 30px 0;
}

h3 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--shadow-color);
    border-radius: 4px;
    background-color: var(--container-bg);
    color: var(--text-color);
    box-sizing: border-box; /* Ensure padding doesn't affect width */
}

#submit-btn {
    width: 100%;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submit-btn:hover {
    background-color: #218838;
}

#theme-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    line-height: 1;
}
