body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 700px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

textarea {
    width: calc(100% - 34px); /* Account for padding and border */
    height: 150px;
    margin: 10px auto;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    box-sizing: border-box;
    white-space: pre-wrap; /* Ensure newlines are preserved */
}

textarea:focus {
    border-color: #007bff;
    outline: none;
}

.controls {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.3s;
}

button:hover {
    transform: scale(1.05);
}

#clean-btn {
    background-color: #007bff;
    color: white;
}

#clean-btn:hover {
    background-color: #0056b3;
}

#reset-btn {
    background-color: #ff6b6b;
    color: white;
}

#reset-btn:hover {
    background-color: #d90429;
}

#copy-btn {
    background-color: #28a745;
    color: white;
}

#copy-btn:hover {
    background-color: #218838;
}

label {
    font-size: 14px;
    color: #555;
}

input[type="checkbox"] {
    margin-right: 5px;
}