@charset "UTF-8";
/* ===========================================================
   BASE VARIABLES (nadpisywane w motywach)
=========================================================== */
/* ===========================================================
   MIXINS
=========================================================== */
/* ===========================================================
   ANIMATIONS
=========================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===========================================================
   BASE BLOCK: .statistics
=========================================================== */
.statistics {
  font-family: system-ui, sans-serif;
  padding: 20px;
  border-radius: 20px;
  margin: 20px 0;
  --stat-bg: #fff;
  --stat-bg-secondary: #f7f7f7;
  --stat-border: #ddd;
  --stat-text: #111;
  --stat-green: #0a7a0a;
  --stat-green-rgb: 10, 122, 10;
  background: var(--stat-bg);
  color: var(--stat-text);
  border: 1px solid var(--stat-border);
  /* --- WIDOKI --- */
}
.statistics [data-view-desktop] {
  display: block;
}
.statistics [data-view-mobile] {
  display: none;
}
.statistics {
  /* --- Główne klasy użyte w szablonie --- */
}
.statistics__grid {
  display: grid;
}
.statistics__hidden {
  display: none !important;
}
.statistics__link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
.statistics__link:hover {
  color: var(--stat-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statistics__header {
  text-align: center;
  margin-bottom: 25px;
}
.statistics__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.statistics__subtitle {
  font-size: 1rem;
  opacity: 0.75;
}
.statistics__data-container {
  margin-bottom: 25px;
}
.statistics {
  /* =======================================================
     TABLE STYLES (WIDOK DESKTOPOWY)
  ======================================================= */
}
.statistics__table-wrapper {
  overflow-x: auto;
  margin-bottom: 25px;
  border-radius: 16px;
  padding: 8px;
  background: var(--stat-bg-secondary);
  border: 1px solid var(--stat-border);
  -webkit-overflow-scrolling: touch;
}
.statistics__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  min-width: 600px; /* Minimalna szerokość dla scrollowania */
}
.statistics__table-heading {
  padding: 12px 16px;
  border: 1px solid var(--stat-border);
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 100px;
  font-weight: 600;
  background: var(--stat-bg-secondary);
  text-align: center;
  vertical-align: middle;
}
.statistics__table-heading--sticky {
  position: sticky;
  left: 0;
  z-index: 10;
  background: var(--stat-bg);
  min-width: 160px;
  max-width: 220px;
  white-space: normal;
  word-break: break-word;
  font-weight: 600;
}
.statistics__table-heading--highlight {
  font-weight: 800;
  color: var(--stat-green);
  border: 2px solid white;
}
.statistics__row td:nth-child(2) {
  color: var(--stat-green);
  border: 1px dotted white;
}
.statistics__row:nth-child(even) {
  background: var(--stat-bg-secondary);
}
.statistics__row:hover {
  background: rgba(var(--stat-green-rgb), 0.05);
}
.statistics__row:hover .statistics__cell--sticky {
  background: rgba(var(--stat-green-rgb), 0.05);
}
.statistics__cell {
  padding: 12px 16px;
  border: 1px solid var(--stat-border);
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.statistics__cell--left {
  text-align: left;
}
.statistics__cell--center {
  text-align: center;
}
.statistics__cell--number {
  text-align: center;
  min-width: 70px;
  font-family: "Monaco", "Menlo", "Consolas", monospace;
}
.statistics__cell {
  /* Delta classes */
}
.statistics__cell--delta-positive {
  color: var(--stat-green);
  font-weight: 600;
}
.statistics__cell--delta-negative {
  color: #dc3545;
  font-weight: 600;
}
.statistics__cell--delta-neutral {
  opacity: 0.7;
}
.statistics__cell {
  /* Sticky cells */
}
.statistics__cell--sticky {
  position: sticky;
  left: 0;
  z-index: 9;
  background: var(--stat-bg);
  white-space: normal;
  word-break: break-word;
  min-width: 160px;
  max-width: 220px;
}
.statistics {
  /* =======================================================
     CARD STYLES (WIDOK MOBILNY)
  ======================================================= */
}
.statistics__view-cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.statistics__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 0;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.statistics__card {
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-width: 0;
  overflow: visible;
  animation: fadeIn 0.4s ease-out forwards;
}
.statistics__card:nth-child(1) {
  animation-delay: 0.05s;
}
.statistics__card:nth-child(2) {
  animation-delay: 0.1s;
}
.statistics__card:nth-child(3) {
  animation-delay: 0.15s;
}
.statistics__card:nth-child(4) {
  animation-delay: 0.2s;
}
.statistics__card:nth-child(5) {
  animation-delay: 0.25s;
}
.statistics__card:nth-child(6) {
  animation-delay: 0.3s;
}
.statistics__card:nth-child(7) {
  animation-delay: 0.35s;
}
.statistics__card:nth-child(8) {
  animation-delay: 0.4s;
}
.statistics__card:nth-child(9) {
  animation-delay: 0.45s;
}
.statistics__card:nth-child(10) {
  animation-delay: 0.5s;
}
.statistics__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--stat-green);
}
.statistics__card--summary {
  background: rgba(var(--stat-green-rgb), 0.08);
  border: 2px solid var(--stat-green);
  box-shadow: 0 4px 12px rgba(var(--stat-green-rgb), 0.15);
}
.statistics__card--summary .statistics__card-title {
  color: var(--stat-green);
  font-weight: 700;
}
.statistics__card--summary:hover {
  box-shadow: 0 8px 32px rgba(var(--stat-green-rgb), 0.2);
}
.statistics__card-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--stat-border);
}
.statistics__card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--stat-text);
}
.statistics__card-title a {
  color: inherit;
  text-decoration: none;
}
.statistics__card-title a:hover {
  color: var(--stat-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.statistics__card-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.statistics__card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.statistics__card-row:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.statistics--dark .statistics__card-row:not(:last-child), .statistics--dark-clean .statistics__card-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.statistics__card-label {
  font-size: 0.95rem;
  color: var(--stat-text);
  opacity: 0.8;
  flex: 1;
  padding-right: 12px;
  font-weight: 500;
}
.statistics__card-value {
  font-weight: 600;
  font-size: 1.15rem;
  text-align: right;
  min-width: 70px;
  white-space: nowrap;
}
.statistics__card-value.statistics__cell--delta-positive {
  color: var(--stat-green);
}
.statistics__card-value.statistics__cell--delta-negative {
  color: #dc3545;
}
.statistics__card-value.statistics__cell--delta-neutral {
  opacity: 0.7;
}
.statistics {
  /* =======================================================
     VERSIONS
  ======================================================= */
}
.statistics__versions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 16px;
  font-size: 0.9rem;
  background: var(--stat-bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--stat-border);
}
.statistics__version-item {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--stat-bg);
  border: 1px solid var(--stat-border);
  transition: all 0.2s ease;
}
.statistics__version-item:hover {
  background: rgba(var(--stat-green-rgb), 0.1);
  border-color: var(--stat-green);
  transform: translateY(-2px);
}
.statistics__version-item span {
  font-weight: 600;
  color: var(--stat-green);
}
.statistics .icon--white {
  filter: invert(1) hue-rotate(180deg);
  margin-right: 5px;
}
.statistics {
  /* =======================================================
     THEMES (MODYFIKATORY BLOKU)
  =========================================================== */
}
.statistics--light {
  --stat-bg: #ffffff;
  --stat-bg-secondary: #f8f9fa;
  --stat-border: #e9ecef;
  --stat-text: #212529;
  --stat-green: #0a7a0a;
  --stat-green-rgb: 10, 122, 10;
}
.statistics--dark {
  --stat-bg: #1a1a1f;
  --stat-bg-secondary: #2b2b33;
  --stat-border: #3b3b42;
  --stat-text: #e6e6e6;
  --stat-green: #32d96c;
  --stat-green-rgb: 50, 217, 108;
}
.statistics--dark .statistics__card {
  background: #2b2b33;
  border-color: #3b3b42;
}
.statistics--dark .statistics__card--summary {
  background: rgba(50, 217, 108, 0.15);
  border-color: var(--stat-green);
}
.statistics--dark .statistics__versions {
  background: #2b2b33;
  border-color: #3b3b42;
}
.statistics--dark .statistics__version-item {
  background: #1a1a1f;
  border-color: #3b3b42;
}
.statistics--dark .statistics__version-item:hover {
  background: rgba(50, 217, 108, 0.2);
}
.statistics--dark-clean {
  --stat-bg: transparent;
  --stat-bg-secondary: transparent;
  --stat-border: rgba(255, 255, 255, 0.15);
  --stat-text: white;
  --stat-green: #2fe279;
  --stat-green-rgb: 47, 226, 121;
  backdrop-filter: blur(10px);
}
.statistics--dark-clean .statistics__table-wrapper {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.statistics--dark-clean .statistics__card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}
.statistics--dark-clean .statistics__card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(47, 226, 121, 0.4);
}
.statistics--dark-clean .statistics__card--summary {
  background: rgba(47, 226, 121, 0.18);
  border-color: rgba(47, 226, 121, 0.4);
  backdrop-filter: blur(8px);
}
.statistics--dark-clean .statistics__card--summary:hover {
  background: rgba(47, 226, 121, 0.22);
}
.statistics--dark-clean .statistics__card-header {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}
.statistics--dark-clean .statistics__versions {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}
.statistics--dark-clean .statistics__version-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.statistics--dark-clean .statistics__version-item:hover {
  background: rgba(47, 226, 121, 0.25);
  border-color: rgba(47, 226, 121, 0.4);
}
.statistics {
  /* =======================================================
     RESPONSIVE BREAKPOINTS (ZAGNIEŻDŻONE W BLOKU)
  ======================================================= */
}
@media (max-width: 1024px) {
  .statistics {
    padding: 16px;
  }
  .statistics__table-heading--sticky {
    min-width: 140px;
  }
  .statistics__cell--number {
    min-width: 65px;
  }
}
.statistics {
  /* Przełączanie na cards */
}
@media (max-width: 904px) {
  .statistics [data-view-desktop] {
    display: none;
  }
  .statistics [data-view-mobile] {
    display: block;
  }
  .statistics__cards {
    gap: 14px;
  }
  .statistics__card {
    padding: 18px;
  }
  .statistics__card-title {
    font-size: 1.15rem;
  }
}
@media (max-width: 650px) {
  .statistics {
    padding: 14px;
  }
  .statistics__cards {
    gap: 12px;
  }
  .statistics__card {
    padding: 16px;
  }
  .statistics__card-title {
    font-size: 1.1rem;
  }
  .statistics__card-label {
    font-size: 0.9rem;
  }
  .statistics__card-value {
    font-size: 1.05rem;
  }
  .statistics__versions {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 14px;
  }
}
@media (max-width: 480px) {
  .statistics {
    padding: 12px;
    border-radius: 16px;
  }
  .statistics__cards {
    gap: 10px;
  }
  .statistics__card {
    padding: 14px;
    border-radius: 10px;
  }
  .statistics__card-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .statistics__card-title {
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .statistics__card-content {
    gap: 10px;
  }
  .statistics__card-row {
    padding: 6px 0;
  }
  .statistics__card-label {
    font-size: 0.85rem;
    padding-right: 8px;
  }
  .statistics__card-value {
    font-size: 1rem;
    min-width: 60px;
  }
  .statistics__versions {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }
}
@media (max-width: 275px) {
  .statistics {
    padding: 5px;
  }
  .statistics__card {
    padding: 12px;
  }
  .statistics__card-title {
    font-size: 1rem;
  }
  .statistics__card-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }
  .statistics__card-label, .statistics__card-value {
    width: 100%;
    text-align: left;
  }
  .statistics__card-value {
    padding-left: 8px;
    font-size: 1.1rem;
    min-width: auto;
  }
  .statistics__card--summary .statistics__card-title {
    font-size: 1.1rem;
  }
}

.privacy-policy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
  line-height: 1.7;
}
.privacy-policy--with-statistic {
  position: relative;
}
.privacy-policy__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: left;
}
@media (min-width: 768px) {
  .privacy-policy__title {
    margin-bottom: 2rem;
  }
}
.privacy-policy__content {
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
  font-size: 1rem;
}
.privacy-policy__content p {
  margin: 0 0 1.2rem 0;
}
.privacy-policy__content h2,
.privacy-policy__content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.privacy-policy__content h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}
.privacy-policy__content h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}
.privacy-policy__content ul,
.privacy-policy__content ol {
  margin: 1rem 0 1.5rem 1.2rem;
  padding-left: 1rem;
}
.privacy-policy__content ul li,
.privacy-policy__content ol li {
  margin-bottom: 0.5rem;
}

.theme-light .privacy-policy {
  color: #222;
}
.theme-light .privacy-policy__title {
  color: #222;
}
.theme-light .privacy-policy__content {
  background: #ffffff;
  color: #222;
}

.theme-dark .privacy-policy {
  color: #ffffff;
}
.theme-dark .privacy-policy__title {
  color: #ffffff;
}
.theme-dark .privacy-policy__content {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.theme-dark-clean .privacy-policy {
  color: #ffffff;
}
.theme-dark-clean .privacy-policy__title {
  color: #ffffff;
}
.theme-dark-clean .privacy-policy__content {
  background: none;
  box-shadow: none;
  color: #ffffff;
}