body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px;
    background-color: #f9f9f9;
    color: #333;
}
h1, h2, h3 {
    color: #444;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

ul, ol {
    line-height: 2;
}
details {
    margin-top: 15px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}
details summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
}
details[open] summary ~ * {
    animation: sweep .5s ease-in-out;
}
@keyframes sweep {
    from {opacity: 0; margin-left: -20px;}
    to {opacity: 1; margin-left: 0px;}
}
.language-selector {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #eee;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
/* General styling for all list items */
li {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Specific styling for code examples */
li[data-lang^="imapExample"], li[data-lang^="mailboxExample"] {
    background-color: #f5f5f5;
    border-left: 4px solid #007BFF;
    padding: 8px 15px;
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Styling for code portions automatically wrapped by JavaScript */
code {
    font-family: 'Courier New', Courier, monospace;
    color: #d63384;
    background-color: #e9ecef; /* Light grey background */
    padding: 2px 4px; /* Padding around the code text */
    border-radius: 3px; /* Optional: rounded corners for code blocks */
}
