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

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-width: 600px;
}

h1 {
    text-align: center;
    color: #333;
}

textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    min-height: 100px;
}

button {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #0056b3;
}

#result-container {
    margin-top: 2rem;
}

pre {
    background-color: #eee;
    padding: 1rem;
    border-radius: 4px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Add these styles to the end of the file */
#result-container details {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 2rem;
    background-color: #f9f9f9;
}

#result-container summary {
    padding: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    border-bottom: 1px solid #e0e0e0;
}

#result-container details[open] summary {
    border-bottom: 1px solid #e0e0e0;
}

#result-container pre {
    margin-top: 0;
    border-top: none;
    border-radius: 0 0 4px 4px;
}

/* Add these styles to the end of the file */
#summary-container {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #e9f7ff;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    line-height: 1.6;
    display: none; /* Hidden by default */
}