
.alb-doc-preview-shell {
  background: #0b1324;
  border: 1px solid #26385e;
  border-radius: 18px;
  padding: 14px;
  overflow-x: auto;
}
.alb-paper {
  width: 794px;
  min-height: 1120px;
  margin: 0 auto;
  background: #ffffff;
  color: #0f172a;
  position: relative;
  padding-bottom: 118px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.45);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  direction: rtl;
  overflow: hidden;
}
.alb-hdr-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  min-height: 118px;
}
.alb-brand-right {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px 8px 12px;
  z-index: 2;
}
.alb-brand-title {
  font-size: 27px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.3px;
}
.alb-left-corner {
  position: relative;
  width: 280px;
  padding: 16px 18px 10px 18px;
  text-align: center;
}
.alb-corner-navy {
  position: absolute;
  top: 0;
  left: 0;
  width: 265px;
  height: 82px;
  background: linear-gradient(135deg, #07236b 0%, #0d3aa9 100%);
  clip-path: polygon(0 0, 100% 0, 74% 100%, 0 100%);
  z-index: 1;
}
.alb-store-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  background: linear-gradient(90deg, #8c151d 0%, #b91c26 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 15px;
  padding: 7px 26px;
  transform: skewX(-22deg);
  border: 1.5px solid #f8fafc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  margin-top: 12px;
}
.alb-store-badge span { display: inline-block; transform: skewX(22deg); }
.alb-domain-box {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  text-align: left;
  padding-left: 8px;
  color: #0f172a;
}
.alb-domain-box .dom {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.4px;
  border-bottom: 2px solid #0a2e82;
  display: inline-block;
  padding-bottom: 2px;
}
.alb-domain-box .cur {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  margin-top: 4px;
}
.alb-ribbon-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 4px 28px 16px 28px;
}
.alb-ribbon-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, #64748b, #0a2e82);
}
.alb-ribbon-line.left {
  background: linear-gradient(90deg, #0a2e82, #64748b, transparent);
}
.alb-doc-ribbon {
  background: linear-gradient(180deg, #0e3ca8 0%, #07236b 100%);
  color: #ffffff;
  padding: 9px 38px;
  transform: skewX(-22deg);
  border-right: 6px solid #a61c24;
  border-left: 6px solid #a61c24;
  box-shadow: 0 6px 16px rgba(7,35,107,0.28);
}
.alb-doc-ribbon h2 {
  transform: skewX(22deg);
  font-size: 20px;
  font-weight: 900;
  margin: 0;
  white-space: nowrap;
}
.alb-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
  margin: 0 24px 16px 24px;
}
.alb-meta-box {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 2px solid #94a3b8;
  box-shadow: inset 0 0 0 2px #ffffff, inset 0 0 0 3.5px #cbd5e1;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}
.alb-meta-row {
  padding: 5px 2px;
  border-bottom: 1px solid #cbd5e1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.alb-meta-row:last-child { border-bottom: none; }
.alb-tbl-wrap { margin: 0 24px 14px 24px; }
.alb-tbl {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.alb-tbl thead th {
  color: #ffffff;
  font-weight: 900;
  padding: 10px 8px;
  text-align: center;
  background: linear-gradient(180deg, #0e3ca8 0%, #082773 100%);
  border-left: 1.5px solid #ffffff;
}
.alb-tbl thead th.col-img {
  background: linear-gradient(180deg, #b91c26 0%, #821219 100%);
  border-top-right-radius: 8px;
  width: 112px;
}
.alb-tbl thead th:last-child {
  border-top-left-radius: 8px;
  border-left: none;
}
.alb-tbl tbody tr:nth-child(odd) td { background: #ffffff; }
.alb-tbl tbody tr:nth-child(even) td { background: #dfeefb; }
.alb-tbl tbody td {
  padding: 8px 10px;
  text-align: center;
  font-weight: 800;
  color: #0f172a;
  border-bottom: 1px solid #cbd5e1;
  vertical-align: middle;
}
.alb-tbl tbody td.col-details {
  border-right: 2px solid #334155;
  border-left: 2px solid #334155;
  font-size: 15px;
  font-weight: 900;
}
.alb-tbl tbody tr:first-child td.col-details { border-top: 2px solid #334155; border-top-left-radius: 6px; border-top-right-radius: 6px; }
.alb-tbl tbody tr:last-child td.col-details { border-bottom: 2px solid #334155; border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; }
.alb-prod-pic {
  width: 72px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 6px;
  background: #ffffff;
  padding: 2px;
}
.alb-tafqeet-bar {
  margin: 0 24px 12px 24px;
  background: #f8fafc;
  border: 2px dashed #0a2e82;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 900;
  color: #07236b;
}
.alb-summary-bar {
  margin: 8px 24px 14px 24px;
  background: linear-gradient(90deg, #07236b 0%, #0e3ca8 100%);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  min-height: 54px;
  box-shadow: 0 6px 16px rgba(7,35,107,0.25);
}
.alb-sum-right {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 900;
}
.alb-sum-final {
  background: linear-gradient(135deg, #8c151d 0%, #b45309 55%, #eab308 100%);
  padding: 12px 26px 12px 22px;
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  border-right: 4px solid #fde047;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  min-width: 255px;
  text-align: center;
}
.alb-sign-card {
  margin: 0 24px 18px 24px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}
.alb-sign-col {
  padding: 4px 14px;
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
}
.alb-sign-col:first-child { border-left: 2px solid #94a3b8; }
.alb-sign-line {
  margin: 26px auto 2px auto;
  width: 78%;
  border-bottom: 1.8px solid #334155;
}
.alb-ftr {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 92px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-top: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.alb-ftr-addr {
  background: linear-gradient(135deg, #07236b 0%, #0e3ca8 100%);
  color: #ffffff;
  height: 100%;
  width: 245px;
  padding: 16px 18px;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}
.alb-ftr-phones {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  color: #0f172a;
  font-weight: 900;
  font-size: 14px;
  padding: 0 12px;
}
.alb-ftr-ornament {
  width: 85px;
  height: 100%;
  background: linear-gradient(135deg, #07236b 0%, #07236b 45%, #d97706 46%, #fbbf24 62%, transparent 63%);
}
@media print {
  @page { size: A4 portrait; margin: 0; }
  body { background: #ffffff !important; margin: 0 !important; padding: 0 !important; }
  body * { visibility: hidden; }
  #printArea, #printArea * {
    visibility: visible !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  #printArea.print-official-doc {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  #printArea.print-official-doc .alb-paper {
    width: 100% !important;
    min-height: 296mm !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
}
