select, input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-text-fill-color: black;
  background-color: white !important;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.bmr-container > * {
  font-family: "Poppins", sans-serif;
}

.bmr-container {
  border-radius: 20px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.bmr-top {
  background: linear-gradient(90deg, #e20474 0%, #9c1850 100%);
  border-radius: 15px;
  padding: 30px 30px 28px 30px;
}

h3.bmr-heading {
  margin: 0px;
  color: white !important;
  font-size: 25px !important;
  font-weight: 800 !important;
}

.bmr-result.show{
	margin-bottom: 60px !important;
}

p.bmr-description {
  margin-bottom: 0px;
  color: white;
  font-size: 16px;
  font-weight: 400;
  margin-top: 15px;
}

.bmr-row {
  display: flex;
  gap: 20px;
}

.bmr-form-row {
  flex: 1;
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.bmr-form-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

img.bmr-form-img {
  width: 18px;
  margin-right: 6px;
  margin-bottom: -1px;
}

.bmr-form-name {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: black;
}

.bmr-input {
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid #63093c33;
  box-shadow: 0 0 0 0.5px #63093c33;
  transition:
    border-color 0.2s ease,
    border 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white !important;
  color: black !important;
}

.bmr-input:focus-visible {
  border-color: #63093c;
  box-shadow: 0 0 0 0.5px #63093c;
  outline: 0px;
}

.bmr-bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.bmr-pills {
  display: flex;
  flex-direction: row;
  gap: 20px;
  height: 100%;
}

.bmr-pill {
  flex: 1;
  border-radius: 12px;
  border: 1px solid #63093c33;
  box-shadow: 0 0 0 0.5px #63093c33;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    border 0.2s ease;
  color: black;
}

.bmr-pill.active {
  border-color: #63093c;
  box-shadow: 0 0 0 0.5px #63093c;
}

button.calc-btn {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: var(--Pechod, linear-gradient(90deg, #e20474 0%, #9c1850 100%));
  border: 0px;
  padding: 8px 8px 8px 35px;
  border-radius: 100px;
  align-self: end;
  margin-bottom: 0px;
  cursor: pointer;
}

select.bmr-input {
  cursor: pointer;
}

.calc-btn img {
  width: 36px;
  transition: transform 0.3s ease;
}

button.calc-btn:hover img {
  transform: rotate(-45deg);
}

.bmr-select-wrap {
  position: relative;
}

.bmr-select-wrap:before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 13px;
  background: url(https://www.casnazmenu.cz/wp-content/uploads/2026/02/Sipka-dolu-1-ikona.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 29px;
  height: 29px;
  pointer-events: none;
}

.bmr-result {
  max-height: 0;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.bmr-result.show {
  max-height: 500px;
  opacity: 1;
  margin-top: 40px;
  pointer-events: auto;
}

.bmr-result.bmr-container {
  gap: 40px;
}

p.bmr-result-heading {
  margin: 0px;
  color: black;
  font-size: 25px;
  font-weight: 800;
}

img.bmr-result-icon {
  width: 26px;
  margin-left: 5px;
}

p.bmr-result-description {
  margin-bottom: 0px;
  color: black;
  font-size: 16px;
  font-weight: 400;
  margin-top: 8px;
}

.bmr-result-wrap {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.bmr-result-box {
  flex: 1;
  background: color-mix(in srgb, var(--bmr_color) 3%, transparent);
  border-radius: 15px;
  border: 1px solid color-mix(in srgb, var(--bmr_color) 20%, transparent);
  box-shadow: 0 0 0 0.5px color-mix(in srgb, var(--bmr_color) 20%, transparent);
  padding: 25px 30px;
}

.bmr-result-box.second,
.bmr-result-box.third {
  border: 1px solid var(--bmr_color);
  box-shadow: 0 0 0 0.5px var(--bmr_color);
}

.bmr-result-box.third {
  background: var(--bmr_color);
  padding: 25px;
  gap: 4px;
}

.bmr-result-divider {
  height: 1.5px;
  width: 100%;
  background: color-mix(in srgb, var(--bmr_color) 20%, transparent);
  margin-block: 13px 22px;
}

.bmr-result-value {
  font-size: 35px;
  font-weight: 700;
  color: var(--bmr_color);
}

.result-bmr-number {
  font-size: 16px;
  font-weight: 800;
  color: var(--bmr_color);
}

.bmr-result-box-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

img.bmr-result-box-img {
  width: 25px;
}

.bmr-result-box-bottom {
  font-size: 16px;
  font-weight: 600;
  color: black;
}

.third .bmr-result-box-top {
  flex-direction: column;
}

.third .bmr-result-box-bottom {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 15px;
}

.bmr-program-name {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

span#program-name {
  font-size: 22px;
  color: white;
  font-weight: 800;
}

img.bmr-result-box-check-img {
  width: 22px;
}

span.bmr-result-box-description {
  font-size: 16px;
  color: white;
  font-weight: 600;
  margin-top: 5px;
}

.bmr-result-box-kcal {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 13px 25px;
}

span#program-kcal {
  font-size: 16px;
  color: white;
  font-weight: 600;
}

.bmr-result-box-price {
  background: rgba(255, 255, 255, 1);
  border-radius: 10px;
  padding: 13px 25px;
  flex: 1;
}

span#program-price {
  font-size: 16px;
  color: var(--bmr_color);
  font-weight: 600;
}

span.bmr-mark {
  display: block;
  color: var(--bmr_color);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bmr-result-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .bmr-form-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .bmr-pills {
    flex-direction: column;
  }

  .bmr-row {
    flex-direction: column;
  }

  .bmr-container {
    padding: 0px;
    box-shadow: none;
  }

  .bmr-top {
    padding: 25px 25px 23px 25px;
  }

  h3.bmr-heading {
    font-size: 18px !important;
  }

  p.bmr-description {
    font-size: 14px;
    margin-top: 10px;
  }

  .bmr-pill {
    padding-block: 12px;
  }

  button.calc-btn {
    align-self: stretch;
  }

  p.bmr-result-heading {
    font-size: 18px;
  }

  img.bmr-result-icon {
    width: 22px;
    margin-bottom: 0;
  }

  p.bmr-result-description {
    font-size: 14px;
  }

  .bmr-result-wrap {
    flex-direction: column;
  }

  .bmr-result.show {
    max-height: unset;
	margin-bottom: 0px !important; 
  }

  .bmr-result.bmr-container {
    gap: 30px;
    border-radius: 0px;
  }

  .bmr-result-box {
    padding: 20px 25px;
  }

  .bmr-result-box-bottom {
    font-size: 14px;
  }

  span.bmr-mark {
    font-size: 17px;
    margin-bottom: 3px;
  }

  .result-bmr-number {
    font-size: 14px;
  }

  .bmr-result-value {
    font-size: 30px;
  }

  img.bmr-result-box-img {
    width: 22px;
  }

  span.bmr-result-box-description {
    font-size: 14px;
  }

  img.bmr-result-box-check-img {
    width: 19px;
  }

  .bmr-form-item {
    width: calc(50% - 10px);
    flex: unset;
  }

  .bmr-row:nth-child(2) .bmr-form-row {
    flex-direction: column !important;
  }

  .bmr-row:nth-child(2) .bmr-form-row .bmr-form-item {
    flex: 1;
    width: 100%;
  }

  .bmr-input {
    height: 100%;
  }

  .bmr-select-wrap {
    height: 100%;
  }

  .bmr-input {
    padding-block: 11px;
  }

  .bmr-select-wrap:before {
    width: 24px;
    height: 24px;
  }

  .bmr-input {
    height: 49px;
  }

  .bmr-form-name {
    font-size: 15px;
  }

  .bmr-input {
    font-size: 15px;
  }

  button.calc-btn {
    font-size: 15px;
    padding-left: 30px;
  }
  .bmr-result-top, img.bmr-result-box-check-img {
    display: none;
  }

  span#program-name {
    font-size: 20px;
  }

  span#program-kcal {
    font-size: 15px;
  }

  span#program-price {
    font-size: 15px;
  }
	
.bmr-top {
    flex-direction: column !important;
    gap: 20px;
}

a.bmr-help-button {
    align-self: start;
}
}

.bmr-help-button {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
    color: white !important;
    padding: 8px 8px 8px 30px;
    border-radius: 1000px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
	line-height: 1;
	display: flex;
    align-items: center;
    gap: 12px;
}

.bmr-help-button-img{
	width: 32px;
}

.bmr-help-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

.bmr-top {
    display: flex;
    flex-direction: row;
}

.bmr-top-wrapper {
    flex: 1;
}

.bmr-help-button {
    align-self: center;
}