/* ==========================================================================
   MęskiProfil.pl - Signature Obsidian & Bio-Sapphire Design System
   Modern Clinical Wellness & Interactive Phytotherapy Portal 2026
   ========================================================================== */

/* Custom Mesh Gradient & Ambient Light */
.bg-mesh-dark {
  background-color: #090d16;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.12) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(30, 41, 59, 0.6) 0px, transparent 70%);
}

.bg-mesh-light {
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 10% 10%, rgba(224, 242, 254, 0.6) 0px, transparent 40%),
    radial-gradient(at 90% 20%, rgba(209, 250, 229, 0.5) 0px, transparent 40%),
    radial-gradient(at 50% 80%, rgba(241, 245, 249, 0.8) 0px, transparent 60%);
}

/* Glassmorphism Luxury */
.glass-obsidian {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06);
}

/* Interactive Interactive Matrix & Card Glow */
.matrix-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.matrix-card:hover::before {
  left: 100%;
}

.matrix-card.active {
  border-color: #0284c7;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  box-shadow: 0 12px 28px -6px rgba(2, 132, 199, 0.25);
  transform: translateY(-3px);
}

/* Custom Interactive Range Sliders */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
  transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.6);
}

/* Timeline vertical line */
.timeline-stem {
  position: relative;
}
.timeline-stem::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: linear-gradient(to bottom, #0284c7, #10b981, #e2e8f0);
}

/* Pulse animation */
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.pulse-ring {
  animation: ringPulse 3s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Smooth Accordions */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
}

/* Print Optimization for Medical Report */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  header, footer, #cookie-banner, .no-print {
    display: none !important;
  }
}
