body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    text-align: center;
}

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

.number-display {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

#generate-btn {
    background-color: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#generate-btn:hover {
    background-color: #45a049;
}

.history {
    margin-top: 2rem;
}

#history-list {
    list-style: none;
    padding: 0;
    max-height: 10rem;
    overflow-y: auto;
}

#history-list li {
    background-color: #f9f9f9;
    padding: 0.5rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.contact {
    margin-top: 2rem;
    text-align: left;
}

.contact h2 {
    text-align: center;
}

.contact form {
    display: grid;
    gap: 0.75rem;
}

.contact label {
    display: grid;
    gap: 0.4rem;
    color: #333;
    font-size: 0.95rem;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.4rem;
    font-size: 0.95rem;
    font-family: inherit;
    box-sizing: border-box;
}

.contact textarea {
    resize: vertical;
}

.form-submit {
    background-color: #333;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
}

.form-submit:hover {
    background-color: #222;
}
