/* ==========================================================================
   RIIS-DATA – design system on top of Bootstrap 5.3.8
   Colours taken from the logo: red #FF0027, ink #040000, white.
   ========================================================================== */
:root {
  --brand: #ff0027;
  --brand-600: #e00022;
  --brand-700: #b8001c;
  --brand-50: #fff0f2;
  --brand-100: #ffd6dc;
  --ink: #0b0b0c;
  --ink-2: #1b1b1f;
  --muted: #6b6b76;
  --line: #ececf0;
  --soft: #f6f6f8;
  --radius: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(10, 10, 12, .04), 0 2px 8px rgba(10, 10, 12, .04);
  --shadow: 0 10px 30px -12px rgba(10, 10, 12, .18);

  --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-primary: var(--brand);
  --bs-primary-rgb: 255, 0, 39;
  --bs-link-color: var(--brand-600);
  --bs-link-color-rgb: 224, 0, 34;
  --bs-link-hover-color: var(--brand-700);
  --bs-link-hover-color-rgb: 184, 0, 28;
  --bs-border-color: var(--line);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
  --bs-focus-ring-color: rgba(255, 0, 39, .25);
}

body { background: #fff; -webkit-font-smoothing: antialiased; word-spacing: .06em; }
h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4, .display-5 { font-weight: 800; letter-spacing: -.025em; }
.lead { color: var(--muted); font-weight: 400; }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; color: #fff; }
.bg-soft { background: var(--soft) !important; }
.text-muted, .text-body-secondary { color: var(--muted) !important; }
::selection { background: var(--brand); color: #fff; }
.py-6 { padding-top: 5.5rem; padding-bottom: 5.5rem; }
@media (max-width: 767.98px) { .py-6 { padding-top: 3.5rem; padding-bottom: 3.5rem; } }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); }
.eyebrow::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); }

/* Buttons – pill shape echoes the round logo dots */
.btn { border-radius: 999px; font-weight: 600; padding: .6rem 1.25rem; }
.btn-sm { padding: .35rem .85rem; }
.btn-lg { padding: .85rem 1.75rem; }
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600);
  --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700); --bs-btn-active-color: #fff;
  --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);
  box-shadow: 0 8px 20px -8px rgba(255, 0, 39, .55); }
.btn-ink { --bs-btn-color: #fff; --bs-btn-bg: var(--ink); --bs-btn-border-color: var(--ink);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; --bs-btn-active-bg: #000; --bs-btn-active-color: #fff; }
.btn-outline-ink { --bs-btn-color: var(--ink); --bs-btn-border-color: #d7d7de; --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ink); --bs-btn-hover-border-color: var(--ink); --bs-btn-active-bg: var(--ink); --bs-btn-active-color: #fff; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700); --bs-btn-disabled-bg: var(--brand); --bs-btn-disabled-border-color: var(--brand);}
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); --bs-btn-active-bg: var(--brand); --bs-btn-active-border-color: var(--brand); }
.text-bg-primary { background-color: var(--brand) !important; }
.form-control, .form-select { border-radius: .75rem; padding: .65rem .9rem; border-color: #e2e2e8; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(255, 0, 39, .12); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-check-input:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(255, 0, 39, .15); }
.form-range::-webkit-slider-thumb { background: var(--brand); }
.form-range::-moz-range-thumb { background: var(--brand); }
.form-label { font-weight: 600; font-size: .9rem; }
.nav-pills .nav-link.active { background: var(--ink); }
.nav-pills .nav-link { color: var(--ink); border-radius: 999px; }
.pagination { --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-color: var(--ink); }
.progress { --bs-progress-bar-bg: var(--brand); border-radius: 999px; background: #efeff3; }
.badge-status { font-weight: 600; letter-spacing: .01em; }

/* Navbar */
.site-nav { backdrop-filter: saturate(180%) blur(14px); background: rgba(255, 255, 255, .85); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-nav .nav-link { font-weight: 600; color: var(--ink); padding: .5rem .9rem !important; border-radius: 999px; }
.site-nav .nav-link:hover { color: var(--brand); }
.site-nav .nav-link.active { color: var(--brand); }
.brand-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brand-logo img { width: 38px; height: 38px; }
.brand-logo .dash { color: var(--brand); }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: -4px; right: -6px; font-size: .65rem; min-width: 1.15rem; height: 1.15rem; line-height: 1.15rem; padding: 0 .25rem; border-radius: 999px; background: var(--brand); color: #fff; text-align: center; font-weight: 700; }
.lang-switch .dropdown-item.active { background: var(--brand); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 6rem 0 5rem; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(10, 10, 12, .09) 1.5px, transparent 1.6px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); pointer-events: none; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; }
.hero-visual .glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 39, .22), transparent 65%); filter: blur(20px); }
.hero-visual img.logo-big { position: relative; width: 78%; margin: 11%; animation: float 7s ease-in-out infinite; }
.hero-chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .5rem; animation: float 6s ease-in-out infinite; }
.hero-chip i { color: var(--brand); }
.hero-chip.c1 { top: 8%; left: -4%; animation-delay: -1s; }
.hero-chip.c2 { top: 46%; right: -6%; animation-delay: -3s; }
.hero-chip.c3 { bottom: 6%; left: 6%; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-visual img.logo-big, .hero-chip { animation: none; } }
@media (max-width: 575.98px) { .hero-chip.c1 { left: 0; } .hero-chip.c2 { right: 0; } }

.stat { text-align: center; }
.stat .num { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.stat .num span { color: var(--brand); }

/* Cards */
.card { border-color: var(--line); border-radius: var(--radius); }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; height: 100%; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-soft:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.icon-dot { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); font-size: 1.35rem; flex-shrink: 0; }
.icon-dot.dark { background: var(--ink); color: #fff; }

/* Process: numbered dots connected like the logo */
.process { position: relative; }
.process-step { position: relative; text-align: center; padding: 0 .5rem; }
.process-step .dot { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.25rem; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.process-step:first-child .dot { background: var(--brand); }
@media (min-width: 768px) {
  .process-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 32px); width: calc(100% - 64px); height: 6px; margin-top: -3px; border-radius: 3px; background: linear-gradient(90deg, var(--ink), #bbb); }
  .process-step:first-child::after { background: linear-gradient(90deg, var(--brand), var(--ink)); }
}

/* Dark section */
.section-dark { background: var(--ink); color: #f2f2f4; position: relative; overflow: hidden; }
.section-dark .lead, .section-dark .text-muted { color: #a9a9b3 !important; }
.section-dark::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 0, 39, .28), transparent 70%); pointer-events: none; }
.section-dark .card-soft { background: var(--ink-2); border-color: #2a2a30; color: #e9e9ee; }
.section-dark .card-soft:hover { border-color: #3a3a42; }
.section-dark .icon-dot { background: rgba(255, 0, 39, .15); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .35rem 0 .35rem 2rem; position: relative; }
.check-list li::before { content: "\F26E"; font-family: bootstrap-icons; position: absolute; left: 0; top: .3rem; color: var(--brand); font-size: 1.1rem; }

.code-card { background: #111114; border: 1px solid #2a2a30; border-radius: var(--radius); overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.code-card .bar { display: flex; gap: .4rem; padding: .8rem 1rem; border-bottom: 1px solid #2a2a30; }
.code-card .bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a42; }
.code-card .bar span:first-child { background: var(--brand); }
.code-card pre { margin: 0; padding: 1.25rem; color: #d6d6de; white-space: pre; overflow-x: auto; }
.code-card .c { color: #6f6f7c; } .code-card .k { color: #ff5c77; } .code-card .s { color: #9fe0a8; } .code-card .f { color: #8cc3ff; }

/* Products */
.product-card { display: flex; flex-direction: column; }
.product-card .price { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.product-card .price small { font-size: .8rem; font-weight: 500; color: var(--muted); }
.product-card.featured { border: 2px solid var(--ink); }
.product-type { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 1rem 0; font-size: .92rem; }
.feature-list li { padding: .25rem 0 .25rem 1.6rem; position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .65rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--brand); }

/* References */
.ref-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; height: 100%; transition: transform .2s, box-shadow .2s; }
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref-card .thumb { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.ref-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ref-card:hover .thumb img { transform: scale(1.04); }
.ref-card .body { padding: 1.25rem 1.4rem; }
.tech-tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--soft); margin: 0 .25rem .25rem 0; }
.filter-pills .btn { margin: 0 .25rem .5rem 0; }

/* Team */
.team-card { text-align: center; }
.avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 2rem; margin-bottom: 1rem; position: relative; }
.avatar-wrap { position: relative; display: inline-block; }
.avatar-wrap::after { content: ""; position: absolute; right: 4px; bottom: 18px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; }
.avatar-sm { width: 36px; height: 36px; font-size: .8rem; margin: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-weight: 700; }

/* CTA */
.cta-box { background: var(--brand); color: #fff; border-radius: 2rem; padding: 3.5rem; position: relative; overflow: hidden; }
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(0, 0, 0, .12); }
.cta-box::before { width: 260px; height: 260px; right: -60px; top: -80px; }
.cta-box::after { width: 160px; height: 160px; right: 140px; bottom: -90px; background: rgba(255, 255, 255, .12); }
.cta-box .lead { color: rgba(255, 255, 255, .85); }
.cta-box > * { position: relative; z-index: 1; }
@media (max-width: 575.98px) { .cta-box { padding: 2rem 1.5rem; } }

.page-head { padding: 4.5rem 0 2.5rem; position: relative; }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(10, 10, 12, .08) 1.5px, transparent 1.6px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent); pointer-events: none; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }

/* Footer */
.site-footer { background: var(--ink); color: #b9b9c2; padding: 4.5rem 0 2rem; }
.site-footer a { color: #d9d9e0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer .brand-logo { color: #fff; }
.site-footer .form-control { background: #1b1b1f; border-color: #2e2e35; color: #fff; }
.site-footer .form-control::placeholder { color: #7a7a86; }
.pay-logos span { display: inline-flex; align-items: center; gap: .35rem; background: #1b1b1f; border: 1px solid #2e2e35; border-radius: .6rem; padding: .35rem .7rem; font-size: .8rem; font-weight: 700; color: #e9e9ee; margin: 0 .35rem .35rem 0; }

/* Cookie consent */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1080; max-width: 560px; background: #fff; border-radius: 1.25rem; box-shadow: 0 20px 60px -10px rgba(0, 0, 0, .35); border: 1px solid var(--line); padding: 1.5rem; display: none; }
.cookie-banner.show { display: block; animation: slideUp .35s ease-out; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Checkout payment options */
.pay-option { border: 2px solid var(--line); border-radius: 1rem; padding: 1rem 1.25rem; cursor: pointer; display: flex; align-items: center; gap: 1rem; transition: border-color .15s, background .15s; margin-bottom: .75rem; }
.pay-option:hover { border-color: #cfcfd8; }
.pay-option input { accent-color: var(--brand); width: 1.1rem; height: 1.1rem; }
.pay-option:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.pay-badge { font-weight: 800; font-size: .85rem; padding: .3rem .65rem; border-radius: .5rem; color: #fff; min-width: 72px; text-align: center; }
.pay-badge.vipps { background: #ff5b24; }
.pay-badge.stripe { background: #635bff; }
.pay-badge.paypal { background: #003087; }
.pay-badge.invoice { background: var(--ink); }
.summary-card { position: sticky; top: 96px; }

/* ==========================================================================
   Portal (customer + admin)
   ========================================================================== */
.portal { background: var(--soft); min-height: 100vh; }
.portal-sidebar { width: 264px; background: var(--ink); color: #c9c9d2; position: fixed; inset: 0 auto 0 0; z-index: 1030; display: flex; flex-direction: column; padding: 1.25rem .9rem; overflow-y: auto; }
.portal-sidebar .brand-logo { color: #fff; padding: .25rem .6rem 1.25rem; }
.portal-sidebar .nav-section { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #6f6f7c; padding: 1rem .75rem .4rem; font-weight: 700; }
.portal-sidebar .nav-link { color: #c9c9d2; border-radius: .75rem; padding: .55rem .75rem; display: flex; align-items: center; gap: .75rem; font-weight: 500; font-size: .93rem; }
.portal-sidebar .nav-link i { font-size: 1.05rem; width: 1.2rem; text-align: center; }
.portal-sidebar .nav-link:hover { background: #1b1b1f; color: #fff; }
.portal-sidebar .nav-link.active { background: var(--brand); color: #fff; }
.portal-sidebar .nav-link .badge { margin-left: auto; }
.portal-main { margin-left: 264px; min-height: 100vh; display: flex; flex-direction: column; }
.portal-topbar { background: #fff; border-bottom: 1px solid var(--line); padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 1020; }
.portal-content { padding: 1.75rem 1.5rem 3rem; flex: 1; }
@media (max-width: 991.98px) {
  .portal-sidebar { transform: translateX(-100%); transition: transform .25s; }
  .portal-sidebar.open { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, .4); }
  .portal-main { margin-left: 0; }
  .portal-content { padding: 1.25rem 1rem 3rem; }
}
.portal .card { border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.portal .card-header { background: #fff; border-bottom: 1px solid var(--line); font-weight: 700; padding: 1rem 1.25rem; border-top-left-radius: var(--radius) !important; border-top-right-radius: var(--radius) !important; }
.kpi { padding: 1.25rem; display: flex; gap: 1rem; align-items: center; }
.kpi .val { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.kpi .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; }
.table { --bs-table-hover-bg: #fafafb; }
.table > :not(caption) > * > * { padding: .8rem .9rem; }
.table thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: #fafafb; }
.table-card { overflow: hidden; }
.table-card .table { margin: 0; }

/* Project status stepper */
.stepper { display: flex; justify-content: space-between; position: relative; margin: 1rem 0 .5rem; }
.stepper::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 4px; background: #e6e6ec; border-radius: 2px; }
.stepper .fill { position: absolute; top: 15px; left: 16px; height: 4px; background: var(--brand); border-radius: 2px; transition: width .6s; }
.stepper .s { position: relative; z-index: 1; text-align: center; flex: 1; }
.stepper .s:first-of-type { text-align: left; } .stepper .s:last-of-type { text-align: right; }
.stepper .s .d { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 4px solid #e6e6ec; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: #fff; }
.stepper .s.done .d { background: var(--ink); border-color: var(--ink); }
.stepper .s.current .d { background: var(--brand); border-color: var(--brand-100); box-shadow: 0 0 0 4px rgba(255, 0, 39, .12); }
.stepper .s .l { display: block; font-size: .75rem; font-weight: 600; margin-top: .4rem; color: var(--muted); }
.stepper .s.current .l, .stepper .s.done .l { color: var(--ink); }
@media (max-width: 575.98px) { .stepper .s .l { display: none; } }

.progress-ring { --p: 0; width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--p) * 1%), #ececf0 0); display: grid; place-items: center; }
.progress-ring::before { content: attr(data-label); width: 92px; height: 92px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.25rem 3rem; }
.timeline li .tl-dot { position: absolute; left: 0; top: 0; }
.timeline .bubble { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: .85rem 1rem; }
.timeline .bubble.internal { background: #fff8e6; border-color: #ffe3a1; }
.timeline .bubble.mine { background: var(--brand-50); border-color: var(--brand-100); }

.milestone { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.milestone:last-child { border-bottom: 0; }
.milestone .mdot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d4d4dc; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; color: #fff; }
.milestone.done .mdot { background: var(--brand); border-color: var(--brand); }
.milestone.done .mt { text-decoration: line-through; color: var(--muted); }

.bar-chart { display: flex; align-items: flex-end; gap: .6rem; height: 180px; padding-top: 1rem; }
.bar-chart .b { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.bar-chart .b .bar-col { width: 100%; max-width: 44px; background: var(--ink); border-radius: .5rem .5rem .2rem .2rem; min-height: 3px; transition: height .6s; }
.bar-chart .b:last-child .bar-col { background: var(--brand); }
.bar-chart .b small { font-size: .7rem; color: var(--muted); margin-top: .35rem; }

.line-items td { vertical-align: middle; }
.line-items input { min-width: 70px; }

.auth-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; padding: 3rem 0; }
.auth-card { max-width: 460px; margin: 0 auto; width: 100%; }

/* Invoice (screen + print) */
.invoice-sheet { background: #fff; max-width: 860px; margin: 0 auto; padding: 3rem; border-radius: 1rem; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.invoice-sheet .inv-title { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; }
.invoice-sheet table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.giro { border-top: 3px solid var(--brand); margin-top: 2rem; padding-top: 1rem; }
@media print {
  body, .portal { background: #fff !important; }
  .no-print, .portal-sidebar, .portal-topbar, .site-nav, .site-footer, .cookie-banner { display: none !important; }
  .portal-main { margin: 0 !important; }
  .portal-content { padding: 0 !important; }
  .invoice-sheet { box-shadow: none; border: 0; padding: 0; max-width: none; }
  .badge { border: 1px solid #000; color: #000 !important; background: none !important; }
}
.mt-6 { margin-top: 4.5rem; }
