/* -- Základný obal kalkulačky -- */
.kalkulacka-wrapper {
  background-color: #fff1c8; /* Svetložlté pozadie */
  border-radius: 20px;
  padding: 25px;
  max-width: 500px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  border: 1px solid #f2eada;
}

/* -- Horná časť s názvom emisie -- */
.kalkulacka-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 15px; /* ➝ trochu zväčší vnútorné odsadenie */
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f2eada;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 10px; /* ➝ zaoblené rohy */
}
.header-icon {
  width: 90px;
  height: 90px;
  background-color: #fff;
  border-radius: 5px;
  margin-top: -40px;
  margin-bottom: -40px;
  flex-shrink: 0;
  background-image: url('https://bizpartnergroup.com/hubfs/logo-emisia.png'); /* SEM PRIDAJTE CESTU K FOTKE */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.emisia-podnadpis {
  font-size: 1.1rem;
  font-weight: light;
  color: black;
  margin: 0 0 3px 0;
    font-family: "Arial"; /* ➝ tu môžeš zmeniť font */
}
.emisia-nazov {
  font-weight: bold;
  font-size: 1.4rem;
  color: #222328;
  margin: 0 0 5px 0;
  font: "Palatino"; /* ➝ tu môžeš zmeniť font */
}
.emisia-link {
  font-size: 0.9rem;
  color: #cda341;
  text-decoration: underline;
  margin-right: 15px;
}

/* -- Jednotlivé sekcie kalkulačky (riadky) -- */
.kalkulacka-section {
  background-color: #fff1c8;
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0.2px solid grey;
}
.kalkulacka-section-vynos {
  background-color: #e8d8b4; /* ➝ zatmavená verzia #fff1c8 */
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0px solid grey;
}
.invest-section { /* Špecifické pre sekciu s posuvníkom */
  flex-wrap: wrap;
  padding-bottom: 25px;
}
.section-top-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 15px;
}
.kalkulacka-section,
.kalkulacka-section-vynos {
  padding: 25px 20px;      /* viac miesta vo vnútri sekcie */
  margin-bottom: 25px;     /* väčší rozostup medzi sekciami */
}
.section-label {
  font-size: 1.1rem;
  color: #030106;
}
.section-value {
  font-size: 1.5rem;
  font-weight: light;
  color: #030106;
}

/* -- Tlačidlo na záver -- */
.kalkulacka-button {
  width: 100%; 
  background-color: black;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  padding: 12px;
  font-size: 1rem;
  font-weight: light;
  cursor: pointer;
  transition: opacity 0.2s ease;

  display: flex;              /* ➝ použijeme flexbox */
  justify-content: center;    /* ➝ vycentruje text horizontálne */
  align-items: center;        /* ➝ vycentruje text vertikálne */
}
.kalkulacka-button:hover {
  opacity: 0.85;
}

/* -- Vlastný štýl pre posuvník (input range) -- */
.investment-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #ffffff; /* Pozadie je dynamicky menené cez JS */
  border-radius: 5px;
  outline: none;
  border: 0px solid #eee;
}

/* Štýl pre "guličku" na posuvníku (Chrome, Safari, Edge) */
.investment-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #222328;
  border-radius: 50%;
  cursor: pointer;
  border: 0px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Štýl pre "guličku" na posuvníku (Firefox) */
.investment-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #222328;
  border-radius: 50%;
  cursor: pointer;
  border: 0px solid #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  
/* Mobilné zariadenia */
@media (max-width: 480px) {
  .kalkulacka-wrapper {
    padding: 20px;
    border-radius: 20px;
  }

  .kalkulacka-header {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 10px;
    text-align: center;
    font-size: 0.9rem;
}

  .header-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 10px 0;
  }

  .emisia-podnadpis,
  .emisia-nazov {
    text-align: center;
    font-size: 0.5rem;
  }

  .kalkulacka-section,
  .kalkulacka-section-vynos {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    gap: 10px;
  }

  .section-label {
    font-size: 0.95rem;
    margin-bottom: 5px;
  }

  .section-value {
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap; /* zabezpečí, že € zostane na rovnakom riadku */
    display: inline-flex;
    gap: 4px; /* oddelí číslo a symbol € */
    align-items: baseline;
  }

  .kalkulacka-button {
    font-size: 1rem;
    padding: 14px 20px;
    width: 100%;
    margin-top: 15px;
    border-radius: 12px;
  }

  input[type="range"] {
    width: 100%; /* slider sa roztiahne na šírku kontajnera */
  }
}