:root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #111827;
    background: #f3f4f6;
}

body {
    margin: 0;
    padding: 0;
}

.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem;
}

/* Logo Header */
.header-inline {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.header-inline-logo {
    height: 150px; /* Adjust to your preference ie 60px */
    width: auto;
    flex-shrink: 0;
}

.header-inline-text h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.header-inline-text .subtitle {
    margin: 0.25rem 0 0;
    color: #374151;
    font-size: 1rem;
    max-width: 700px;
    text-align: justify;
}

.section {
    background-color: #ffffff; 
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .section h2 {
        margin-top: 0;
    }

.image-container {
    text-align: center;
    margin: 20px 0;
}

.float-left {
    float: left;
    margin: 0 20px 20px 0; /* Adds space between the image and the text */
}

.float-right {
    float: right;
    margin: 0 20px 20px 40px; /* Adds space between the image and the text */
    filter: drop-shadow(10px 10px 5px gray);
}

/* Mobile layout: logo above text */
@media (max-width: 600px) {
    .header-inline {
        flex-direction: column;
        text-align: center;
    }

    .header-inline-logo {
        height: 70px;
    }
}



/* Details / summary component */

details {
    background: #f8faff;
    border: 1px solid #d0dff7;
    border-radius: 6px;
    padding: 0.8rem 1rem;
}

details[open] {
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

details summary::-webkit-details-marker {
    display: none;
}

.details-card {
    background: #f8faff;
    border: 1px solid #d0dff7;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
}

.details-card[open] {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.details-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #004aad;
}

.details-summary::-webkit-details-marker {
    display: none;
}

.details-body {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.details-collapse {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid #93c5fd; /* Medium blue border */
    background: #dbeafe; /* Light blue background */
    font-size: 0.82rem;
    font-weight: 600; /* Make text more legible */
    color: #1e40af; /* Darker blue text */
    cursor: pointer;
}

.details-collapse:hover {
    background: #bfdbfe; /* Slightly darker on hover */
    border-color: #60a5fa;
}




/* Typography & card layout */

h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin: 0.3rem 0;
}

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.card small {
    color: #6b7280;
}

/* Form + basic inputs */

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

input[type="number"],
select {
    width: 100%;
    padding: 0.35rem 0.4rem;
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    box-sizing: border-box;
}

button {
    padding: 0.55rem 0.9rem;
    border-radius: 0.5rem;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
}

button:hover {
    background: #1d4ed8;
}

/* Indented inner sub-lists in Assumptions */

.sublist {
    padding-left: 1rem;
    margin-top: 0.25rem;
}

.sublist li {
    margin-bottom: 0.15rem;
}

/* Generic pills & badges */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.muted {
    color: #6b7280;
    font-size: 0.85rem;
    text-align: justify;
}

.badge-good {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.badge-warn {
    color: #92400e;
    background: #ffedd5;
    border-color: #fed7aa;
}

.badge-neutral {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}

/* Basic list styling (global) */

ul {
    padding-left: 1.1rem;
    margin: 0.35rem 0 0.55rem;
}

ul li {
    margin-bottom: 0.18rem;
    font-size: 0.9rem;
}

/* Responsive global layout */

@media (max-width: 600px) {
    .page {
        padding: 1rem;
    }
}
