/* General body styling */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f4f6f8;
    margin: 0;
    padding: 1rem;
}

/* Headings */
h1,
h2,
h3 {
    color: #004466;
}

h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h3 {
    margin-top: 1rem;
}

/* Links */
a {
    color: #0077aa;
    text-decoration: none;
    transition: 0.2s;
}

a:hover {
    color: #004466;
    text-decoration: underline;
}

/* Collapsible details */
details {
    margin-bottom: 1rem;
    border: 1px solid #004466;
    border-radius: 6px;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

details[open] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

summary {
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    color: #004466;
    outline: none;
}

summary:hover {
    color: #0077aa;
}

/* Nested lists */
details ul {
    margin-left: 1.5rem;
}

/* Utilities table */
table.utilities {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

table.utilities th,
table.utilities td {
    border: 1px solid #004466;
    padding: 0.5rem 0.8rem;
    text-align: left;
}

table.utilities th {
    background-color: #004466;
    color: #fff;
}

table.utilities tr:nth-child(even) {
    background-color: #f0f8ff;
}

table.utilities tr:hover {
    background-color: #d0e7ff;
    transition: 0.2s;
}

/* Mobile responsive table */
@media (max-width: 600px) {

    table.utilities th,
    table.utilities td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    table.utilities tr {
        margin-bottom: 1rem;
        display: block;
        border-bottom: 1px solid #ccc;
    }

    table.utilities thead {
        display: none;
    }
}