/* ═══════════════════════════════════════════════════════════════
   Bhatti Chemicals Industry — VIEW LAB REPORT CTA Button
   ─────────────────────────────────────────────────────────────
   LIGHT THEME — "Jade Mist" variant
   Reusable across all product pages (ZnO, Zinc Ash, Ingot, etc.)
   Include this CSS once per page that uses the lab-report card.

   Brand palette tokens:
     Jade        #007b5e   (primary)
     Jade-Dark   #005a45   (hover / depth)
     Gold        #c8922a   (accent — verified badge dot)
     BG Dark     #0d1f19   (deep background — not used here)
     Jade-Glow   #4ade9e   (light accent)
   ═══════════════════════════════════════════════════════════════ */

/* ── Outer Button Wrapper ────────────────────────────────── */
.btn-console-view-large {
  position: relative;
  width: 100%;
  display: block;
  padding: 2px;
  background: linear-gradient(
    145deg,
    rgba(0, 123, 94, 0.12),
    rgba(0, 123, 94, 0.06),
    rgba(0, 123, 94, 0.10)
  );
  border: 1.5px solid rgba(0, 123, 94, 0.28);
  border-radius: 16px;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 2px 8px rgba(0, 123, 94, 0.06),
    0 8px 24px -6px rgba(0, 123, 94, 0.10);
  overflow: hidden;
  outline: none;
  text-align: left;
}

.btn-console-view-large:focus-visible {
  box-shadow:
    0 0 0 3px rgba(0, 123, 94, 0.25),
    0 8px 24px -4px rgba(0, 123, 94, 0.18);
}

/* ── Inner Shell (Light) ─────────────────────────────────── */
.btn-console-shell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fdfb 50%, #f2f9f6 100%);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 2px 0 rgba(0, 123, 94, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sweep-shine on hover */
.btn-console-shell::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 123, 94, 0.08) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.btn-console-view-large:hover .btn-console-shell::after {
  left: 140%;
}

/* ── Hover & Active States ───────────────────────────────── */
.btn-console-view-large:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 123, 94, 0.50);
  box-shadow:
    0 8px 24px -4px rgba(0, 123, 94, 0.16),
    0 16px 40px -8px rgba(0, 123, 94, 0.10),
    0 0 0 1px rgba(0, 123, 94, 0.08);
}

.btn-console-view-large:hover .btn-console-shell {
  background: linear-gradient(135deg, #f8fdfb 0%, #f0f9f5 50%, #eaf6f1 100%);
}

.btn-console-view-large:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 0 2px 8px rgba(0, 123, 94, 0.12);
}

/* ── Document Icon Wrap (Left) ───────────────────────────── */
.btn-console-icon-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(0, 123, 94, 0.10),
    rgba(0, 123, 94, 0.06)
  );
  border: 1px solid rgba(0, 123, 94, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007b5e;
  flex-shrink: 0;
  box-shadow:
    0 2px 6px rgba(0, 123, 94, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-console-view-large:hover .btn-console-icon-wrap {
  background: linear-gradient(
    135deg,
    rgba(0, 123, 94, 0.16),
    rgba(0, 123, 94, 0.10)
  );
  transform: scale(1.06);
  border-color: rgba(0, 123, 94, 0.35);
  color: #005a45;
  box-shadow: 0 4px 10px rgba(0, 123, 94, 0.14);
}

/* ── Pulse Dot (Top-Right of Icon) ───────────────────────── */
.btn-icon-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #007b5e;
  box-shadow: 0 0 6px rgba(0, 123, 94, 0.50), 0 0 0 2px #ffffff;
  animation: btnPulseGlowJade 2s infinite ease-in-out;
}

@keyframes btnPulseGlowJade {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 123, 94, 0.55), 0 0 0 3px rgba(0, 123, 94, 0.15);
  }
}

/* ── Text Content Stack ──────────────────────────────────── */
.btn-console-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

/* Top Tag — "Verified Batch COA" (Gold Accent) */
.btn-console-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b07d1e;
  line-height: 1;
  margin-bottom: 2px;
}

.btn-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8922a;
  box-shadow: 0 0 5px rgba(200, 146, 42, 0.45);
  display: inline-block;
}

/* Main Title — "VIEW LAB REPORT" */
.btn-console-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0f172a;
  line-height: 1.2;
}

/* Subtitle — "Open Interactive PDF Viewer" */
.btn-console-sub {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.btn-console-view-large:hover .btn-console-sub {
  color: #475569;
}

/* ── Action Circle (Right Arrow) ─────────────────────────── */
.btn-console-action-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #007b5e 0%, #005a45 100%);
  border: 1px solid rgba(0, 123, 94, 0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 2px 8px rgba(0, 123, 94, 0.30),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.btn-console-view-large:hover .btn-console-action-circle {
  background: linear-gradient(135deg, #009673 0%, #007b5e 100%);
  border-color: rgba(0, 123, 94, 0.50);
  transform: translateX(4px) scale(1.08);
  color: #ffffff;
  box-shadow:
    0 4px 14px rgba(0, 123, 94, 0.40),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

/* ── Download Button (Below main CTA) ────────────────────── */
.btn-console-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.btn-console-download:hover {
  background: #f0fdf4;
  border-color: #007b5e;
  color: #007b5e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 123, 94, 0.12);
}

.btn-console-download svg {
  width: 16px;
  height: 16px;
  fill: #007b5e;
  transition: transform 0.2s ease;
}

.btn-console-download:hover svg {
  transform: translateY(1px);
}
