body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

button {
    padding: 10px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.controls-group {
    display: flex;
    gap: 10px;
}

.control-item {
    flex: 1; /* Equal width for both items */
}

.control-item select, .control-item button {
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.results {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
}

.results.hidden {
    display: none;
}

#result-content {
    margin-bottom: 20px;
}

#result-content p {
    margin: 10px 0;
}

#copy-button {
    width: auto;
    display: inline-block;
}