@charset "UTF-8";
/* =====================================================================
   TABLE — MODERN PREMIUM 2025 (Clean & Responsive)
   ===================================================================== */
article table {
  width: 100%;
  border-collapse: separate; /* Pozwala na border-radius wierszy */
  border-spacing: 0; /* Reset odstępów */
  margin: 1rem 0;
  /*font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;*/
  color: #1a1a1a;
  background: transparent;
}

/* --- HEADERS (Opcjonalne, jeśli używasz) --- */
article thead th {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #737373;
  padding: 0 1.5rem 1rem 1.5rem;
  border-bottom: 2px solid #f0f0f0;
  text-align: left;
}

/* --- ROWS STYLE --- */
article tbody tr {
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  /*background-color: #fff;*/
}

/* Hover Effect - delikatne uniesienie i cień */
article tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.57);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  z-index: 10;
  position: relative;
  border-radius: 12px;
}

/* Jeśli hover jest aktywny, usuń standardowe linie, żeby nie psuły efektu karty */
article tbody tr:hover td {
  border-bottom-color: transparent;
}

/* --- CELLS --- */
article tbody td {
  padding: 0.25rem 1.5rem;
  /*border-bottom: 1px solid #f3f3f3;*/
  vertical-align: middle; /* Wyśrodkowanie pionowe ikony i tekstu */
  border: 1px solid #d1d1d1;
}

/* --- COLUMN 1: ICON --- */
article tbody td:first-child {
  width: 80px; /* Stała szerokość dla kolumny ikony */
  text-align: center;
  padding-right: 0; /* Zmniejsz odstęp do tekstu */
}

/* Stylizacja ikony - dodajemy "tło" żeby wyglądała pro */
article tbody td:first-child img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  padding: 8px;
  background: #f7f9fc; /* Delikatne tło pod ikoną */
  border-radius: 12px; /* Zaokrąglone rogi tła ikony */
  transition: transform 0.3s ease;
}

article tbody tr:hover td:first-child img {
  transform: scale(1.1); /* Lekkie powiększenie ikony przy najechaniu */
  background: #edf2f7;
}

/* --- COLUMN 2: CONTENT --- */
article tbody td:nth-child(2) {
  padding-left: 1.5rem;
}

/* Tytuł */
article tbody td:nth-child(2) strong {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

/* Opis */
article tbody td:nth-child(2) small,
article tbody td:nth-child(2) span {
  display: block;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  font-weight: 400;
}

/* --- MOBILE OPTIMIZATION (2025 Standard) --- */
@media (max-width: 768px) {
  article table {
    display: block; /* Zmieniamy tabelę w bloki */
  }
  article thead {
    display: none; /* Ukrywamy nagłówki na mobile */
  }
  article tbody {
    display: block;
  }
  article tbody tr {
    display: flex; /* Flexbox dla wiersza */
    align-items: flex-start; /* Wyrównanie do góry */
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    flex-wrap: nowrap; /* Zapobiegamy spadaniu kolumn */
  }
  /* Resetujemy style hovera na mobile, żeby nie skakało przy dotyku */
  article tbody tr:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
  }
  article tbody td {
    display: block;
    padding: 0.5rem;
    border: none; /* Usuwamy linie komórek */
  }
  /* Ikona na mobile */
  article tbody td:first-child {
    width: auto;
    flex-shrink: 0; /* Ikona się nie zgniata */
    margin-right: 1rem;
  }
  article tbody td:first-child img {
    width: 42px;
    height: 42px;
  }
  /* Tekst na mobile */
  article tbody td:nth-child(2) {
    padding-left: 0;
    flex-grow: 1; /* Tekst zajmuje resztę miejsca */
  }
  article tbody td:nth-child(2) strong {
    font-size: 1rem;
  }
}
/* =====================================================================
   RWD — MOBILE FIX (Poprawka na 2 ikony)
   ===================================================================== */
@media (max-width: 768px) {
  /* 1. Reset tabeli do bloków */
  article table, article tbody, article tr, article td {
    display: block;
    width: 100%;
    box-sizing: border-box; /* Ważne: padding nie powiększa elementu */
  }
  article thead {
    display: none;
  }
  /* 2. KARTA (Wiersz) */
  article tbody tr {
    display: flex;
    flex-wrap: wrap; /* Pozwala sekcji opisu spaść niżej */
    align-items: center; /* Wyrównanie pionowe ikon i tekstu */
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #ebwfeb; /* Delikatna ramka */
    border-radius: 12px;
    padding: 12px; /* Odstęp wewnątrz karty */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  /* --- KOLUMNA 1: IKONY (Fix dla podwójnych obrazków) --- */
  article tbody td:first-child {
    /* Zamiast sztywnego width, używamy auto */
    width: auto;
    min-width: 60px; /* Minimalna szerokość dla jednej ikony */
    flex: 0 0 auto; /* Nie kurcz się, nie rozciągaj ponad zawartość */
    border: none;
    padding: 0;
    margin-right: 12px; /* Odstęp od tekstu */
    /* Układ ikon wewnątrz */
    display: flex;
    flex-direction: row; /* Ikony obok siebie */
    justify-content: center;
    gap: 6px; /* Odstęp między ikonami (jeśli są dwie) */
  }
  /* Styl obrazka na mobile - nieco mniejszy, żeby 2 się zmieściły */
  article tbody td:first-child img {
    width: 44px; /* Zmniejszone z 56px */
    height: 44px;
    padding: 6px;
    background: #f4f6f8;
    border-radius: 8px;
    display: block;
  }
  /* --- KOLUMNA 2: TEKST (Tytuł i Kod) --- */
  article tbody td:nth-child(2) {
    flex: 1; /* Zajmij całą resztę dostępnego miejsca */
    width: auto; /* Reset */
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Wyrównaj tekst do lewej */
  }
  /* Tytuł */
  article tbody td:nth-child(2) strong {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #111;
  }
  /* Badge z kodem */
  article tbody td:nth-child(2) small,
  article tbody td:nth-child(2) span {
    font-size: 0.75rem;
    color: #555;
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap; /* Kod nie powinien się łamać */
  }
  /* --- KOLUMNA 3: OPIS (Dół karty) --- */
  article tbody td:nth-child(3) {
    flex-basis: 100%; /* Wymuś nową linię na pełną szerokość */
    width: 100%;
    border: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #e5e5e5; /* Kreska oddzielająca */
    font-size: 0.85rem;
    line-height: 1.5;
    color: #444;
  }
}
/* 2. Jeżeli W TEJ komórce jest obrazek → inny padding + centrowanie */
article tbody td:has(img) {
  padding: 0;
  margin: 0;
}

article tbody td:has(img) img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/*# sourceMappingURL=table-default.css.map */
