body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef1f5;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 20px;
    box-sizing: border-box;
    color: #333;
}

.container {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 750px;
    border: 1px solid #e0e0e0;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2em;
    font-weight: 600;
}

h2 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.4em;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.input-section, .output-section {
    margin-bottom: 30px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.95em;
}

input[type="text"], textarea, select {
    width: calc(100% - 22px); /* Adjust for padding and border */
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    resize: vertical;
    background-color: #fcfcfc;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

textarea[readonly] {
    background-color: #f5f7fa;
    cursor: default;
    border-color: #ddd;
}

select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007bff%22%20d%3D%22M287%2C118.8L146.2%2C26.9L5.4%2C118.8h281.6z%22%2F%3E%3C%2Fsvg%3E'); /* Custom arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px; /* Make space for the arrow */
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    margin-bottom: 0;
}
.checkbox-group label {
    margin-bottom: 0;
    color: #333;
    font-weight: normal;
}


button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05em;
    margin-right: 10px;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button.primary-btn {
    background-color: #28a745;
    width: calc(100% - 20px); /* Make "Copy All" full width */
    margin-top: 25px;
    font-size: 1.1em;
}

button.primary-btn:hover {
    background-color: #218838;
}

button.secondary-btn {
    background-color: #6c757d;
}

button.secondary-btn:hover {
    background-color: #5a6268;
}

/* Specific button styling for generate */
#generateBtn {
    background-color: #17a2b8; /* A nice teal */
}

#generateBtn:hover {
    background-color: #138496;
}