/* podstawy slajdu */
/* podstawy slajdu */
/* podstawy slajdu */
.presentation * {
  font-family: 'Roboto', 'Arial', 'sans-serif';
  overflow-wrap: break-word;
  word-wrap: break-word; /* stary alias dla starszych przeglądarek */
  box-sizing: border-box;
}

.presentation {
  all: initial; /* resetuje dziedziczenie, izoluje od reszty strony */
  font-family: 'Roboto', 'Arial', 'sans-serif';
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0b0f14;
  color: #e6eef6;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 2.5rem 1.25rem; /* 40px 20px */
  overflow-wrap: break-word;
}

.presentation .slide {
  all: unset;
  display: none;   /* wszystkie slajdy od razu ukryte */
  opacity: 0;      /* do fade-in */
  transition: opacity 0.4s ease;
  width: 100%;
  background: black;
  border: 0.0625rem solid rgba(255,255,255,0.05); /* 1px */
  box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.5); /* 4px 20px */
  border-radius: 0.75rem; /* 12px */
  padding: 2.25rem; /* 36px */
  margin-bottom: 1.75rem; /* 28px */
  color: white;
  box-sizing: border-box;
}

.presentation .slide.active {
  display: block;
  opacity: 1;
}

.presentation .hidden {
  display: none;
}

.presentation div{
  text-align: center;
}
/* podstawy slajdu */
/* podstawy slajdu */
/* podstawy slajdu */


/* === TYPOGRAFIA OGÓLNA === */
/* === TYPOGRAFIA OGÓLNA === */
/* === TYPOGRAFIA OGÓLNA === */
.presentation h1 {
  display: block;
  font-size: 3.5rem; /* duży tytuł */
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
}

.presentation h2 {
  display: block;
  font-size: 2.8rem; /* duży tytuł */
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.75rem;
}

.presentation h3 {
  display: block;
  font-size: 2.2rem; /* duży tytuł */
  font-weight: 300;
  text-align: center;
  margin-bottom: 0.5rem;
}

.presentation p {
  display: block;
  font-size: 1.6rem; /* tekst wyśrodkowany */
  text-align: center;
  line-height: 1.5;
}

.presentation strong,
.presentation em,
.presentation del {
  text-shadow: 0 0 0.128rem black, 0 0 0.256rem white;
}


.presentation ul,
.presentation ol {
  padding-left: 2rem;
  text-align: center;
  list-style-position: inside;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.presentation ul { list-style-type: disc; }
.presentation ol { list-style-type: decimal; }

.presentation .ol1 {
  list-style-type: upper-roman;
}

.presentation .ol2 {
  list-style-type: lower-alpha;
}

.presentation .ul1 {
  list-style-type: "💊";
}

.presentation .ul2 {
  list-style-type: "⚕️";
}

.presentation .outer {
  list-style-position: outside;
}

.presentation img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
  margin: 0 auto;
}

.presentation .img-auto {
  width: 100%;
  height: auto;
}

.presentation table {
  display: table;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 1rem;
  transform-origin: top left;
}

.presentation table,
.presentation th,
.presentation td {
  border: 0.128rem solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
}

.presentation a {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit; /* wielkość rodzica */
}

.presentation a:hover {
  color: #00bcd4;
}

.presentation blockquote {
  display: block;
  margin: 1.5rem auto;
  padding: 1rem 2rem;
  font-style: italic;
  background: rgba(255,255,255,0.05);
  border-left: 0.25rem solid #00bcd4;
  max-width: 64rem;
  width: 85%;
  line-height: 1.5;
  font-size: 1.4rem;
}

/* === HR i BR === */
.presentation hr {
  display: block;
  height: 0.125rem; /* 2px */
  background: rgba(255,255,255,0.2);
  border: none;
  margin: 2rem 0;
  width: 100%;
}

.presentation br {
  content: "";
  display: block;
  margin: 0.5rem 0;
}

/* === klasy sterujące === */
.presentation .right{
  text-align: right;
}

.presentation .left{
  text-align: left;
}

.presentation .justify{
  text-align: justify;
}

.presentation .block{
  display: block;
}

.presentation .inl-block{
  display: inline-block;
}

.presentation .inline {
  display: inline;
  margin: 0;
}

.presentation .line-relaxed {
  line-height: 2;
}

.presentation .line-loose {
  line-height: 3;
}

.presentation pre {
  max-width: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}


/* === podkreślenie kolorem === */
.presentation .color-primary { color: #00bcd4; }
.presentation .color-accent { color: #ff4081; }
.presentation .color-warm { color: #e2ff07; }
.presentation .color-cool { color: #af76ff; }
.presentation .color-vivid { color: #dba754; }
.presentation .color-pleasant { color: #5cd462; }
/* === tytuły === */
.presentation .color-muted { color: #c3c3c3; }
.presentation .color-calm { color: #92b2db; }
.presentation .color-positive { color: #8cc3ad; }
/* === tło === */
.presentation .bg-blue {background: #1d365e;}
.presentation .bg-purple {background: #3e2b5f;}
.presentation .bg-green {background: #234e3c;}
.presentation .bg-red {background: #502b2b;}
.presentation .bg-amber {background: #4a3e14;}
/* === TYPOGRAFIA OGÓLNA === */
/* === TYPOGRAFIA OGÓLNA === */
/* === TYPOGRAFIA OGÓLNA === */


/* === stylowanie modułu ćwiczeniowego === */
/* === stylowanie modułu ćwiczeniowego === */
/* === stylowanie modułu ćwiczeniowego === */

.presentation .presentation-block {
  
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 64rem; /* ok. 800px */
  margin: 0 auto;
  color: white;
}

/* ukryte definicje */
.presentation .definitions {
  display: none;
}

/* karta główna */
.presentation .card {
  background: #101722;
  border: 0.0625rem solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.5);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

/* obszar ćwiczenia */
.presentation .playground {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* etykiety */
.presentation .playground label {
  
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #60a5fa;
}

/* treść pytania / przypadku */
.presentation .case {
  background: #0f1720;
  border: 0.0625rem solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: white;
  min-height: 5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* pole odpowiedzi */
.presentation .answer {
  width: 100%;
  min-height: 6rem;
  background: #0f1720;
  border: 0.0625rem solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  color: white;
  font-size: 1rem;
  padding: 0.75rem;
  resize: vertical;
}

.presentation .h{
  min-height: 40vmin;
}

/* przyciski */
.presentation button {
  
  display: inline-block;
  background: linear-gradient(90deg, #60a5fa, #6ee7b7);
  color: #0b0f14;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.presentation button:hover {
  opacity: 0.9;
  transform: translateY(-0.05rem);
}

.presentation button:active {
  opacity: 0.8;
  transform: translateY(0.05rem);
}

/* ocena (feedback od AI) */
.presentation .evaluation {
  background: #0d141c;
  border-left: 0.25rem solid #6ee7b7;
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  color: white;
}
/* === stylowanie modułu ćwiczeniowego === */
/* === stylowanie modułu ćwiczeniowego === */
/* === stylowanie modułu ćwiczeniowego === */


/* widget - używaj w nowej lini*/
/* widget - używaj w nowej lini*/
/* widget - używaj w nowej lini*/
.presentation .widget {
  display: inline-block;
  position: relative;
  width: 100%;
}

.presentation .widget .panel {
  position: relative;
  background: #101722;
  border: 0.0625rem solid rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.5);
  padding: 0.75rem;
  padding-top: 2rem;
  margin: 0 auto;
  color: white;
  width: 60vmin;
  height: 60vmin;
  max-height: 90vh;
  max-width: 75%;
  box-sizing: border-box;
}

.presentation .widget .controls {
  position: absolute;
  z-index: 10;
  top: 0.128rem;
  right: 0.768rem;
  font-size: 2rem;
  user-select: none;
  cursor: pointer;
}

.presentation .widget-body{
  z-index: 5;
  overflow: auto;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

.presentation .anim {
  animation: fadeMove 2s infinite linear;
}

@keyframes fadeMove {
  0% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-0.1rem); }
  100% { opacity: 0.7; transform: translateY(0); }
}
/* widget - używaj w nowej lini*/
/* widget - używaj w nowej lini*/
/* widget - używaj w nowej lini*/

/* karuzela obrazów */
/* karuzela obrazów */
/* karuzela obrazów */
.presentation .carousel {
  position: relative;
  width: 100%;
  height: auto;
  background: #0b0f14;
  border: 0.128rem solid rgba(255,255,255,0.08);
  border-radius: 0.8rem;
  padding: 0.5rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.presentation .carousel-track {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.presentation .carousel-track img {
  width: 100%;
  display: none;
  opacity: 0;
  transition: opacity .3s ease;
}

.presentation .carousel-track img.active {
  display: block;
  opacity: 1;
}

.presentation .carousel-btn {
  all: unset;
  position: absolute;
  cursor: pointer;
  color: #e6eef6;
  background: rgba(255,255,255,0.32);
  border: 1px solid rgba(255,255,255,0.32);
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin: 0 0.625rem;
  user-select: none;
  z-index: 5;
  height: 95%;
}

.presentation .carousel-btn:hover {
  background: rgba(255,255,255,0.18);
}

.presentation .carousel-btn:active {
  transform: scale(0.94);
}
/* karuzela obrazów */
/* karuzela obrazów */
/* karuzela obrazów */

/* tabs */
/* tabs */
/* tabs */
.presentation .tabs {
  background: #0b0f14;
  border: 0.125rem solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem;
  margin: 0.75rem auto;
  box-sizing: border-box;
}

.presentation .tabs-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.presentation .tab-btn {
  all: unset;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;

  background: rgba(255,255,255,0.07);
  border: 0.1rem solid rgba(255,255,255,0.12);

  font-size: 0.95rem;
  color: #e6eef6;
  user-select: none;
  transition: background 0.25s ease, border 0.25s ease;
}

.presentation .tab-btn:hover {
  background: rgba(255,255,255,0.14);
}

.presentation .tab-btn.active {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.3);
}

.presentation .tabs-views {
  background: #0f141a;
  border-radius: 0.5rem;
  padding: 1rem;
  border: 0.1rem solid rgba(255,255,255,0.05);
}

.presentation .tab-view {
  display: none;
  color: #e6eef6;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.presentation .tab-view.active {
  display: block;
  opacity: 1;
}

.presentation .tab-view button {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 0.128rem solid rgba(255,255,255,0.1);
  border-radius: 0.4rem;
  color: #eef;
  cursor: pointer;
  transition: 0.2s ease;
}

.presentation .tab-view button:hover {
  background: rgba(255,255,255,0.12);
}

.presentation .w20{
  max-width: 100%;
  width: 20rem;
}

/* tabs */
/* tabs */
/* tabs */

/* chat */
/* chat */
/* chat */
.chat-history {
background: #0f1720;
border: 0.0625rem solid rgba(255,255,255,0.08);
border-radius: 0.5rem;
padding: 1rem;
color: white;
display: flex;
flex-direction: column;
gap: 0.75rem;
height: 40vmin;
overflow-y: auto;
}

.msg-row {
display: flex;
max-width: 80%;
}
.msg-row.sent {
margin-left: auto;
}
.bubble {
padding: 0.6rem 0.9rem;
border-radius: 0.5rem;
line-height: 1.4;
font-size: 0.95rem;
}
.bubble.received {
background: #1b2533;
border: 0.0625rem solid rgba(255,255,255,0.05);
}
.bubble.sent {
background: linear-gradient(90deg, #60a5fa, #6ee7b7);
color: #0b0f14;
font-weight: 600;
}

.chat-input-wrap {
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 0.5rem;
}

.chat-input-wrap textarea {
width: 100%;
height: 5rem;
resize: vertical;
}
/* chat */
/* chat */
/* chat */

/* fizykalne*/
/* fizykalne*/
/* fizykalne*/
.presentation .image-with-buttons {
  position: relative;
  display: block;
  width: 80vw;    /* kontrola rozmiaru całego bloku */
  max-width: 100%;
  margin: 0 auto;
}

.presentation .base-image {
  display: block;
  width: 100%;    /* dopasowanie do kontenera */
  height: auto;   /* zachowanie proporcji */
  border: none;
}

.presentation .button-overlay {
  position: absolute;
  inset: 0;       /* left:0; top:0; width:100%; height:100% */
}

.presentation .button-overlay svg {
  width: 100%;    /* skalowanie dokładnie jak obraz */
  height: 100%;
  pointer-events: none;
}

.presentation .svg-button-group {
  pointer-events: all;
  cursor: pointer;
}

.presentation .physical-results,
.presentation .observation-results,
.presentation .additional-results {
    border: 0.0625rem solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    padding: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 35vmin;
    overflow-y: auto;
}

.presentation .physical-results {background: #1d365e;}
.presentation .observation-results {background: #3e2b5f;}
.presentation .additional-results {background: #234e3c;}

.presentation .physical-entry {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    font-size: 0.95rem;
    line-height: 1.3;
}


/* fizykalne*/
/* fizykalne*/
/* fizykalne*/

/* diagnostyka */
/* diagnostyka */
/* diagnostyka */
.diagnostic-entry {
    padding: 0.75rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.03);
    margin-bottom: 1rem;
    color: white;
}

.diagnostic-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.diagnostic-info {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.diagnostic-order-btn {
    background: #1e293b;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 0.4rem;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
}

.diagnostic-order-btn:hover {
    background: #334155;
}


.diagnostic-result-entry {
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: white;
}
/* diagnostyka */
/* diagnostyka */
/* diagnostyka */

/*block modifiers*/
/*block modifiers*/
/*block modifiers*/
.presentation .l{
  left: 0rem;
}

.presentation .r{
  right: 0rem;
}
/*block modifiers*/
/*block modifiers*/
/*block modifiers*/