html, body {
  height: 100%;
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
    padding-top: 70px; 
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
}

.fixed-top-bar {
  background-color: rgba(255, 255, 255, 0.55); /* mierne priehľadná biela */
  border-bottom: 1px solid #ddd;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  z-index: 1030;
  backdrop-filter: blur(6px); /* jemné rozmazanie pozadia */
  -webkit-backdrop-filter: blur(6px); /* pre Safari */
}

.cosinor-container {
    max-width: 900px;
    margin: 1.5rem auto;
    background: white;
    padding: 1.5rem;
    padding-top: 2rem; /* navyše ku padding-top v body, ak potrebuješ */
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
textarea {
    resize: vertical;
}
.example-box {
    font-size: 0.9rem;
    color: #6c757d;
}
code {
    color: #e83e8c;
}
.section-header {
    background-color: #f1f3f5;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #0d6efd; /* alebo iná farba podľa témy */
}
.section-title {
      font-size: 1.25rem;
      font-weight: 600;
      border-bottom: 2px solid #dee2e6;
      padding-bottom: 0.25rem;
      margin-bottom: 1rem;
    }

.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.center-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* IBA pre obrázkový modal */
.image-modal-content {
  max-width: 1000px;
  width: 95%;
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* DONATION MODAL — zobrazenie v strede, správna veľkosť */
#donationModal .modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* DONATION TEXT BLOCK (voliteľný blok pod grafmi) */
.donation {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background-color: #eaf2ff;
  border-radius: 8px;
}

/* Obrázok (napr. QR kód) */
.donation img {
  max-width: 250px;
  margin-top: 10px;
}

html, body {
  height: 100%;
}

footer.footer {
  margin-top: auto;
  background-color: #dbdfe3;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

footer.footer h5 {
  font-weight: 600;
  font-size: 1.2rem;
}

footer.footer p {
  margin-bottom: 0.5rem;
  color: #ced9dc;
}

footer.donation {

  background-color: #AEC6CF; /* svetlosivý odtieň veľmi podobný #f9fafb */
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #dee2e6;
}

.footer-donation a {
  color: #0d6efd;
  text-decoration: none;
}
.footer-donation a:hover {
  text-decoration: underline;
}

.footer-donation .vr {
  width: 2x;
  height: 100%;
  /* background-color: #cfd4db; */
  margin: 0 1rem;
  opacity: 0.4;
}

.custom-quote {
  border-left: 4px solid #0d6efd;
  padding-left: 1rem;
  font-style: italic;
  border-radius: 6px;
  background-color: #f8f9fa;
}
.wrap-long-text {
  word-break: break-word;
  white-space: pre-wrap;
}

.support-banner {
    background-color: #fcfcfc;
    border-bottom: 1px solid #eee;
    padding: 8px 20px;
    width: 100%;
}

.support-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
}

.support-text {
    font-family: 'Segoe UI', sans-serif; /* Zhoda so zvyškom webu */
    color: #444; /* Tmavosivá z tvojho bootstrapu */
    font-size: 1.05rem;
    line-height: 1.4;
    max-width: 500px; /* Aby sa text na širokých monitoroch neroztiahol */
}

/* Toto zabezpečí, že skriptom vložené tlačidlo bude správne zarovnané */
.bmc-wrapper {
    display: flex;
    align-items: center;
}

/* Úprava pre menšie obrazovky */
@media (max-width: 768px) {
    .support-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
