/*
 * Compact print stylesheet for the membership "thanks"/order overview page.
 * Linked with media="print", so every rule below only applies when printing.
 * Test it via the unguessable preview route:
 *   /lidgeld/preview/{MembershipController::PREVIEW_HASH}
 *
 * Goal: no logos/headers, just the "Besteloverzicht" heading followed by a
 * plain list of the order data (label: value). Payment-plan installments are
 * shown via the "Betaalplan" line in that list.
 */

@page {
    margin: 14mm;
}

html,
body {
    background: #fff !important;
    color: #000 !important;
}

body {
    font-size: 11pt;
    line-height: 1.35;
}

/* Hide all page chrome, decorative icons and interactive/intro elements */
header,
footer,
nav[aria-label="Breadcrumb"],
body > section,
.no-print {
    display: none !important;
}

/* Let the content fill the page without the screen layout's spacing */
main {
    flex: none !important;
}

main > div,
main .max-w-4xl {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

main .mt-4,
main .mt-6,
main .mt-8 {
    margin-top: 0 !important;
}

/* "Besteloverzicht" heading: plain, no border or extra spacing */
h3 {
    color: #000 !important;
    font-size: 13pt !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Order data rendered as a simple "Label: value" list */
.order-grid {
    display: block !important;
}

.order-grid > div {
    margin: 0 0 4px !important;
    break-inside: avoid;
    page-break-inside: avoid;
}

.order-grid > div > span,
.order-grid > div .text-xs {
    display: inline !important;
    font-size: 11pt !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: #000 !important;
}

.order-grid > div > span::after,
.order-grid > div .text-xs::after {
    content: ": ";
}

.order-grid > div > div {
    display: inline !important;
    font-size: 11pt !important;
    font-weight: 400 !important;
}

/* Amount line: compact separator, keep it readable */
.border-t {
    border-top: 1px solid #999 !important;
    padding-top: 8px !important;
    margin-top: 10px !important;
    font-size: 12pt !important;
}

a {
    color: #000 !important;
    text-decoration: none !important;
}

.wrap-anywhere {
    overflow-wrap: anywhere;
}
