body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

p {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

h2 {
    color: #34495e;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    margin-top: 40px;
    margin-bottom: 20px;
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

p strong {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
}

select, textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

textarea {
    resize: vertical;
    min-height: 60px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 10px;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #2980b9, #21618c);
}

hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

#result {
    margin-top: 30px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#result h2 {
    color: #e74c3c;
    margin-top: 0;
}

#result pre {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
    white-space: pre-wrap;
    font-family: inherit;
    font-size: 1em;
    color: #333;
}

#result div {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #3498db;
    font-family: inherit;
    font-size: 1em;
    color: #333;
}

#result div p {
    margin: 10px 0;
}

#result div ul {
    margin: 10px 0;
    padding-left: 20px;
}

#result div li {
    margin-bottom: 5px;
}

#result div h3 {
    color: #2c3e50;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}