/* ═══════════════════════════════════════════
   BELTORION DIMOP – SHARED PRINT STYLES
   Közös stíluslap árajánlatokhoz és részletes csomagajánlatokhoz
   ═══════════════════════════════════════════ */

@page { size: A4; margin: 0; }

:root {
  --navy:   #0E0227;
  --lime:   #ECFF5C;
  --purple: #772EFF;
  --white:  #ffffff;
  --off:    #F5F5FA;
  --bdr:    #DDDDE8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--white);
  color: var(--navy);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.wrap { width: 210mm; margin: 0 auto; }

@media print {
  body { background: white; }
  .wrap { width: 100%; margin: 0; }
  .pg { page-break-before: always; }
}

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

/* ════════════════════════════════
   FEDOLAP (COVER)
════════════════════════════════ */
.cover {
  background: var(--navy);
  width: 100%;
  height: 297mm;
  padding: 48px 56px 44px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.cv1 { position: absolute; top: -80px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: var(--purple); opacity: 0.2; pointer-events: none; }
.cv2 { position: absolute; bottom: 60px; left: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--lime); opacity: 0.06; pointer-events: none; }
.cv3 { position: absolute; top: 45%; right: -30px; width: 160px; height: 160px; border-radius: 50%; border: 2px solid rgba(236,255,92,0.15); pointer-events: none; }

.cvi { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }

.c-top { display: flex; align-items: flex-start; justify-content: space-between; }
.bn { font-size: 32px; font-weight: 900; color: var(--white); letter-spacing: -1px; line-height: 1; }
.bn span { color: var(--lime); }
.bo { font-size: 16px; font-weight: 500; color: var(--white); margin-top: 6px; }
.cbg { background: var(--purple); color: var(--white); font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 16px; border-radius: 4px; white-space: nowrap; }

.c-mid { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.c-subject-label { font-size: 11px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.c-subject { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 44px; }

.c-recipient-label { font-size: 11px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.c-recipient { font-size: 54px; font-weight: 900; color: var(--white); letter-spacing: -2px; line-height: 0.98; margin-bottom: 8px; }
.c-company { font-size: 21px; font-weight: 600; color: var(--white); line-height: 1.35; }
.cdiv { width: 60px; height: 4px; background: var(--lime); border-radius: 2px; margin: 22px 0 22px; }

.c-meta { display: flex; gap: 28px; margin-bottom: 32px; }
.cmeta-item { display: flex; flex-direction: column; gap: 3px; }
.cmeta-label { font-size: 10px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1.5px; }
.cmeta-val { font-size: 15px; font-weight: 700; color: var(--white); }

.ci { background: rgba(255,255,255,0.07); border: 1px solid rgba(236,255,92,0.25); border-radius: 12px; padding: 20px 26px; }
.ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.ci-row { display: flex; flex-direction: column; gap: 2px; }
.ci-lbl { font-size: 10px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 1.2px; }
.ci-val { font-size: 14px; font-weight: 600; color: var(--white); }

.contact-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(236,255,92,0.18); border-radius: 10px; padding: 16px 24px; margin-top: 18px; }
.contact-items { display: flex; gap: 28px; flex-wrap: wrap; }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--white); }

.c-bot { display: flex; align-items: center; justify-content: space-between; }
.curl { font-size: 13px; font-weight: 500; color: var(--white); }
.ccta { background: var(--lime); color: var(--navy); font-size: 13px; font-weight: 800; padding: 9px 20px; border-radius: 6px; }

/* ════════════════════════════════
   CONTENT OLDALAK
════════════════════════════════ */
.pg-wrap {
  height: 297mm;
  display: flex;
  flex-direction: column;
  background: var(--white);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.pg-content { flex: 1; padding: 32px 48px 0; overflow: hidden; }

.chtitle { font-size: 11px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 1.5px; border-bottom: 3px solid var(--lime); padding-bottom: 8px; margin-bottom: 22px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Service card */
.svc-card { border: 1px solid var(--bdr); border-radius: 12px; overflow: hidden; margin-bottom: 20px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sh { background: var(--navy); padding: 14px 22px; display: flex; align-items: center; gap: 14px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.snum { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 15px; font-weight: 700; flex-shrink: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.stitle { font-size: 17px; font-weight: 800; color: var(--white); line-height: 1.2; }
.ssub { font-size: 12px; font-weight: 400; color: var(--white); margin-top: 2px; }
.sh-price { margin-left: auto; text-align: right; flex-shrink: 0; }
.sh-price-num { font-size: 19px; font-weight: 900; color: var(--lime); line-height: 1; white-space: nowrap; }
.sh-price-sub { font-size: 11px; font-weight: 500; color: var(--white); margin-top: 2px; white-space: nowrap; }

.sb { padding: 16px 22px; background: var(--white); }
.sdesc { font-size: 15px; font-weight: 400; color: var(--navy); line-height: 1.7; margin-bottom: 13px; padding-bottom: 11px; border-bottom: 1px solid var(--bdr); }

.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.threecol { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.ctitle { font-size: 10px; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 2px solid var(--lime); -webkit-print-color-adjust: exact; print-color-adjust: exact; }

ul.fl { list-style: none; }
ul.fl li { font-size: 14px; font-weight: 400; color: var(--navy); line-height: 1.6; padding: 3px 0 3px 15px; position: relative; }
ul.fl li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--purple); -webkit-print-color-adjust: exact; print-color-adjust: exact; }

.note { border-radius: 8px; padding: 11px 15px; margin-top: 12px; font-size: 13px; font-weight: 400; color: var(--navy); line-height: 1.6; }
.note.info { background: #EDE8FF; border-left: 3px solid var(--purple); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.note.warn { background: #FFF8F0; border-left: 3px solid #F59E0B; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.note.ok   { background: #EFFFDB; border-left: 3px solid #7BB800; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.note strong { font-weight: 700; }

/* Usecase kartyak */
.uc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.uc { background: var(--off); border-radius: 9px; padding: 16px; border-top: 3px solid var(--purple); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.uc-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.uc-text { font-size: 14px; font-weight: 400; color: var(--navy); line-height: 1.55; }

/* Specs grid */
.specs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 9px; margin-bottom: 13px; }
.spec-item { background: var(--off); border-radius: 7px; padding: 9px 13px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.spec-lbl { font-size: 9px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.spec-val { font-size: 13px; font-weight: 700; color: var(--navy); }

/* Platform kartyak */
.pf-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.pf-card { border-radius: 9px; border: 2px solid var(--bdr); padding: 16px; }
.pf-card.feat { border-color: var(--navy); background: #F0EEFF; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.pf-name { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.pf-desc { font-size: 15px; font-weight: 400; color: var(--navy); line-height: 1.6; }
.pf-badge { display: inline-block; margin-top: 8px; background: var(--navy); color: var(--white); font-size: 9px; font-weight: 700; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* CRM */
.crm-hero { background: var(--navy); border-radius: 12px; padding: 22px 26px; margin-bottom: 18px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.crm-hero h3 { font-size: 20px; font-weight: 900; color: var(--lime); margin-bottom: 8px; }
.crm-hero p { font-size: 16px; font-weight: 400; color: var(--white); line-height: 1.7; margin-bottom: 16px; }
.crm-stats { display: flex; gap: 10px; }
.crm-stat { background: rgba(255,255,255,0.1); border-radius: 7px; padding: 10px 12px; text-align: center; flex: 1; }
.crm-stat-num { font-size: 20px; font-weight: 900; color: var(--lime); line-height: 1; }
.crm-stat-lbl { font-size: 9px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px; }
.crm-mods { display: grid; grid-template-columns: repeat(5,1fr); gap: 9px; margin: 18px 0; }
.crm-mod { background: var(--off); border-radius: 8px; padding: 12px 8px; text-align: center; border-top: 3px solid var(--purple); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.crm-mod-icon { font-size: 18px; margin-bottom: 5px; }
.crm-mod-name { font-size: 11px; font-weight: 700; color: var(--navy); line-height: 1.3; }

/* MI dobozok */
.mi-box { background: var(--off); border-radius: 9px; padding: 16px; border-top: 3px solid var(--purple); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.mi-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.mi-desc { font-size: 15px; font-weight: 400; color: var(--navy); line-height: 1.55; }

/* Hardver tabla */
.hw-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hw-table th { background: var(--navy); color: var(--white); padding: 11px 16px; text-align: left; font-size: 13px; font-weight: 700; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.hw-table th:first-child { border-radius: 7px 0 0 0; }
.hw-table th:last-child { border-radius: 0 7px 0 0; }
.hw-table td { padding: 10px 16px; border-bottom: 1px solid var(--bdr); font-size: 15px; color: var(--navy); vertical-align: top; }
.hw-table tr:nth-child(even) td { background: var(--off); -webkit-print-color-adjust: exact; print-color-adjust: exact; }

/* Artablazat */
.price-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; }
.price-table thead tr { background: var(--navy); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.price-table thead th { padding: 10px 11px; color: var(--white); font-size: 9.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; text-align: left; overflow: hidden; }
.price-table thead th:not(:first-child) { text-align: right; }
.price-table colgroup col:nth-child(1) { width: 44%; }
.price-table colgroup col:nth-child(2) { width: 9%; }
.price-table colgroup col:nth-child(3) { width: 9%; }
.price-table colgroup col:nth-child(4) { width: 19%; }
.price-table colgroup col:nth-child(5) { width: 19%; }
.price-table tbody tr { border-bottom: 1px solid var(--bdr); }
.price-table tbody tr:nth-child(even) td { background: var(--off); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.price-table tbody td { padding: 8px 11px; color: var(--navy); vertical-align: middle; }
.price-table tbody td:not(:first-child) { text-align: right; white-space: nowrap; }
.price-table tbody td:first-child { font-weight: 600; }
.price-table tfoot tr { background: var(--navy); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.price-table tfoot td { padding: 11px 11px; color: var(--white); font-weight: 700; font-size: 12px; }
.price-table tfoot td.tf-label { color: var(--white); font-weight: 500; font-size: 11px; }
.price-table tfoot td.tf-net { text-align: right; color: var(--white); white-space: nowrap; }
.price-table tfoot td.tf-total { text-align: right; color: var(--lime); font-size: 17px; font-weight: 900; white-space: nowrap; }
.ptag { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; padding: 2px 5px; border-radius: 3px; margin-right: 4px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ptag.hw { background: #EDE8FF; color: var(--purple); }
.ptag.sw { background: #E0F2FE; color: #0369A1; }
.ptag.svc { background: #EFFFDB; color: #4B6E00; }

/* Koszontes */
.intro-body { font-size: 15px; font-weight: 400; color: var(--navy); line-height: 1.8; margin-bottom: 14px; }
.intro-body strong { font-weight: 700; }

/* Elkoszono box */
.sign-box { background: var(--navy); border-radius: 12px; padding: 26px 30px; margin-top: 24px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.sign-name { font-size: 28px; font-weight: 900; color: var(--white); letter-spacing: -0.5px; line-height: 1; }
.sign-name span { color: var(--lime); }
.sign-role { font-size: 13px; font-weight: 500; color: var(--white); margin-top: 4px; margin-bottom: 18px; }
.sign-contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.sign-ci { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--white); }

/* Lablec */
.doc-footer { background: var(--navy); padding: 13px 48px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.footer-logo { font-size: 16px; font-weight: 900; color: var(--white); }
.footer-logo span { color: var(--lime); }
.footer-mid { font-size: 11px; font-weight: 400; color: var(--white); }
.footer-contacts { display: flex; align-items: center; gap: 7px; }
.cc-item { display: flex; align-items: center; gap: 4px; font-size: 10px; color: var(--white); font-weight: 500; }
.cc-dot { font-size: 11px; color: var(--lime); font-weight: 700; }
