body {
  font-family: system-ui, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #000;
}

.topbar {
    margin: 0;
  padding: 5px;
background: #222725;
width: 100%;
}

.topbar-nav {  
text-align: center;
    color: #ffffff;
      text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.topbar a {
  color: #ffffff;
}

.topbar-nav a:hover {
  color: #db2626;
}

.container {
  max-width: 720px;
  margin: 40px auto;
  padding: 24px;
  border-radius: 10px;
}
.container h1 {
  
}

.intro {
  color: #555;
}

.calculator {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

input, select {
  padding: 10px;
  margin-top: 6px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #d1d5db;
}

button {
  padding: 12px;
  background: #A6D1A4;
  color: #000;
  border: none;
  border-radius: 0px;
  cursor: pointer;
    font-size: 15px;
}

button.dark {
  background: #14281D;
    color:#fff;
}

.results {
  text-align: center;
  margin-bottom: 40px;
}

.hidden {
  display: none;
}

/* ===== PREVIEW PNG ===== */

.image-preview-wrapper {
  max-width: 420px;
  margin: 30px auto;
}

#generatedImage {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.render-source {
  position: absolute;
  top: -9999px;
  left: -9999px;

}

/* ===== SZABLON GRAFIKI ===== */

.share-card {
  width: 1080px;
  height: 1350px;
  background: #A6D1A4;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
    
     font-family: 'Teko', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
      text-align: center;
}

.share-header {
      padding-top: 80px;
    padding-left: 80px;
    padding-right: 80px;
  font-size: 70px;
  font-weight: 700;
     font-weight: 700;
  line-height: 0.9;   /* 👈 zmniejsza odstęp między liniami */
  margin-bottom: 20px;
}
.share-header h2 {
    font-size: 100px;
  font-weight: 700;
     font-weight: 700;
  line-height: 0.9;   /* 👈 zmniejsza odstęp między liniami */
  margin-bottom: 0px;
}

.share-content {
padding-left: 80px;
    padding-right: 80px;
font-size: 70px;
font-weight: 500;
  line-height: 0.9;   /* 👈 zmniejsza odstęp między liniami */
  margin-bottom: 5px;
}

.muted {
  font-size: 28px;
  opacity: 0.85;
}

.share-card ul {
  list-style: none;
  padding: 0;
    
}

.share-card li {
  margin-bottom: 30px;
font-size: 60px;
}

.share-footer {
    background-color: #222725;
    color: #fff;
  font-size: 35px;
    text-align: center;
    vertical-align: middle;  
    padding: 8px;
    

}

.footer-inner {
  max-width: 1080px;
  margin: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  align-items: center;
}

.footer-col {
  font-size: 16px;
  color: #ffffff;
  margin: 0px;
}
.footer-left img {
  height: 100px;
  width: auto;
}

.footer-center {
  display: flex;
  justify-content: center;
}

.footer-center img {
  height: 114px;
  width: auto;
}
.footer-right {
  font-size: 27px;
    font-family: 'Amiko', sans-serif;
  font-weight: 400;
text-transform: none;
  color: #ffffff;
  text-align: center;
margin-right:0px;
}
.share-logo {
  margin-top: 12px;
  height: 100px;
}
/* źródła */

.sources {
  font-size: 14px;
  color: #4b5563;
}

.sources table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.sources th, .sources td {
  border-bottom: 1px solid #e5e7eb;
  padding: 6px;
  text-align: left;
}

.sources ul {
  padding-left: 18px;
}

.note {
  font-size: 12px;
}


