@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/OpenSans-Bold.eot');
	src: local('Open Sans Bold'), local('OpenSans-Bold'),
		url('../fonts/OpenSans-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/OpenSans-Bold.woff') format('woff'),
		url('../fonts/OpenSans-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Open Sans';
	src: url('../fonts/OpenSans-Regular.eot');
	src: local('Open Sans Regular'), local('OpenSans-Regular'),
		url('../fonts/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/OpenSans-Regular.woff') format('woff'),
		url('../fonts/OpenSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface2: #F2F9FF;
  --surface3: #D6EBFF;
  --border: #30363d;
  --border-accent: #3d444d;
  --text: #0063BE;
  --text-muted: #7d8590;
  --text-dim: #F2F9FF;
  --accent: #58a6ff;
  --accent-dim: #1f3a5a;
  --green: #1a7a1a;
  --yellow: #c8860a;
  --red: #c82828;
  --sans: 'Open Sans', sans-serif;
}
#app *{font-family: var(--sans);}
* { box-sizing: border-box; margin: 0; padding: 0; }
#app { color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.6; min-height: 100vh; }
[v-cloak] { display: none; }
.container { max-width: 1130px; margin: 0 auto; position: relative; z-index: 1; }

/* Header / hero */
.calc-header { padding-bottom: 0; background: linear-gradient(120deg, #eaf4ff 0%, #d6ebff 60%, #c3e0fb 100%);   margin: 48px auto 0 auto; max-width: 1383px; position: relative; z-index: 0; margin-bottom: -84px; overflow: hidden; }
.calc-header .container { max-width: 100%; }
#app h1 { font-size: 58px; font-weight: bold;  letter-spacing: -0.02em; line-height: 106.5%; margin-bottom: 0.4em; color: var(--text);}
.h1-desc {  font-size: 18px; line-height: 1.45; margin-bottom: 2.3em; max-width: 480px; color: #333;}
.top-text-wrapper { max-width: 617px; width: 50%; padding: 96px 0 165px 128px; position: relative;z-index: 1;}
.top-img-wrapper { width: 50%; position: absolute; right: 0; top: 0; height: 100%; z-index: 0;}
.top-wrapper { display: flex; align-items: flex-end; }
.top-img { width: auto; max-width: inherit; margin-left: 0; position: absolute; height: 100%; right: 0; pointer-events: none; }

.top-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btn { border: none; font-weight: bold; font-size: 17px; padding: 24px 32px; cursor: pointer; border-radius: 8px; transition: opacity .15s, background .15s, border-color .15s; text-decoration: none; }
.hero-btn-primary { background: var(--text); color: #fff; }
.hero-btn-primary:hover { opacity: .88; }
.hero-btn-outline { background: transparent; color: var(--text); border: 2px solid var(--text); }
.hero-btn-outline:hover {color: rgb(255, 255, 255);background-color: var(--text);}

/* Intro block above the calculator */
.section-header-standalone { text-align: center; padding: 180px 20px 40px 20px; }
.section-title { font-size: 34px; font-weight: 600; color: var(--text); max-width: 659px; margin: 0 auto 0.3em auto; line-height: 1.15; margin-bottom: 0.4em;}
.h2-desc { text-align: center; max-width: 779px; margin: 0 auto; color: #333; font-size: 18px; line-height: 1.45; }

/* Calculator card */
.section { border-radius: 8px; margin-bottom: 20px; }
.section-blue-wrapper { background: var(--surface2); padding: 38px 100px 56px 100px; margin-bottom: 54px; position: relative; border-radius: 8px; }

.progress-track { height: 5px; background: var(--surface3); border-radius: 3px; overflow: hidden; margin-bottom: 24px; }
.progress-fill { height: 100%; background: var(--text); border-radius: 3px; transition: width 0.3s ease; }

.mna-question { display: flex; flex-direction: column; gap: 24px; /*! align-items: center; */ min-height: 260px; /*! padding: 0 90px; */}
.mna-question-title { font-size: 24px; font-weight: bold; color: var(--text); text-align: center; margin: 0;}
.mna-question-text { font-size: 17px; font-weight: bold; color: var(--text); line-height: 1.45; align-self: flex-start; max-width: 754px;margin: 0; }

/* Patient parameters grid */
.params-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 0; width: 100%;}
.params-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.field { display: flex; flex-direction: column; gap: 6px; position: relative; padding-left: 39px; width: calc(33.333% - 16px); min-width: 180px; }
.field-2{width: calc(66% - 3px);}
.field label { font-size: 14px; text-align: center; font-weight: bold; padding-left: 0px; }
.field input, .field select { background: #fff; border: none; border-radius: 5px; color: var(--text); font-size: 17px; padding: 16px 10px; outline: none; transition: border-color 0.15s, box-shadow 0.15s; width: 100%; text-align: center; font-weight: bold; cursor: pointer; }
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(88,166,255,0.12); }
.field-input-wrapper { overflow: hidden; border: 1px solid var(--surface3); position: relative; cursor: pointer; border-radius: 6px; }
.field-input-wrapper.icon-select { position: relative; }
.icon-circle { position: absolute; width: 68px; height: 68px; left: 0; bottom: -7px; z-index: 1; /*! background: var(--surface3); */ border-radius: 50%; /*! padding: 16px; */ }

.gender-toggle { display: flex; gap: 8px; width: 100%;background-color: #fff;border: 1px solid var(--surface3);border-radius: 5px;}
.gender-btn { flex: 1 1 0; background: #fff; border: solid 1px transparent; border-radius: 34px; color: var(--text); font-size: 17px; font-weight: bold; padding: 16px 10px; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.gender-btn:hover { background: var(--surface2); }
.gender-btn.is-active { background: var(--text); color: #fff; border-color: var(--text); }

/* Answer options */
.mna-options { display: flex; flex-direction: column; gap: 12px; align-self: stretch; width: 100%; max-width: 754px; }
.mna-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.mna-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.mna-radio-dot { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,99,190,0.5); position: relative; transition: border-color .15s; }
.mna-radio input:checked + .mna-radio-dot { border-color: var(--text); }
.mna-radio input:checked + .mna-radio-dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--text); }
.mna-radio-label { font-size: 17px; color: #333; line-height: 1.45; }

.mna-options-multi { gap: 20px; max-width: 942px; }
.mna-multi-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.mna-multi-label { font-size: 17px; color: #333; line-height: 1.45; flex: 1 1 0; margin:0}
.mna-multi-choice { display: flex; gap: 16px; flex-shrink: 0; }
.mna-radio-inline { width: auto; }

.mna-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; }
.mna-actions .pdf-export-btn:only-child { margin-left: auto; }

/* Buttons (calculate/pdf/nav) */
.pdf-export-btn { border-radius: 8px; display: inline-flex; align-items: center; gap: 10px; background: #0063BE; color: #fff; border: none; padding: 23px 32px; font-size: 17px; font-weight: 600; cursor: pointer; transition: background 0.2s, opacity 0.2s; }
.pdf-export-btn:hover:not(:disabled) { background: #0052a0; }
.pdf-export-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pdf-export-btn-outline { background: #fff; color: var(--text); border: 2px solid var(--text); }
.pdf-export-btn-outline:hover:not(:disabled) { background: var(--surface2); }

/* Results reveal animation */
.calculated { overflow: hidden; max-height: 0; opacity: 0; transition: max-height 0.7s ease, opacity 0.5s ease; pointer-events: none; }
.calculated.is-visible { max-height: 8000px; opacity: 1; pointer-events: auto; }

.selected-params { display: flex; gap: 16px; margin-bottom: 0; justify-content: center; flex-wrap: wrap; }
.selected-item { background: var(--surface3); display: flex; gap: 10px; padding: 10px 17px 10px 12px; border-radius: 7px; font-weight: bold; font-size: 17px; white-space: nowrap; align-items: center; }
.selected-item img { width: 28px; height: 28px; }

.score-result { max-width: 640px; margin: 0 auto 32px auto; text-align: center; padding: 32px 24px 7px 24px; }
.score-value { font-size: 34px; font-weight: 800; margin-bottom: 0; color: var(--text); line-height: 1.5; }
.score-value.risk-normal { color: var(--green); }
.score-value.risk-risk { /*! color: var(--yellow); */ }
.score-value.risk-malnutrition { /*! color: var(--red); */ }
.score-comment { font-size: 17px; font-weight: 700; margin: 0 auto 16px auto; line-height: 1.4; }
.score-comment2 { font-size: 17px; color: var(--text); line-height: 1.45; }
.score-breakdown { font-size: 13px; color: var(--text-muted); margin-top: 16px; display: none;}

#calculator-section { position: relative; z-index: 15; }
.calc-again-wrapper { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 80px;}
.calc-again-btn { border-radius: 8px; background: transparent; border: 1px solid var(--text); color: var(--text); font-weight: bold; padding: 24px 32px; font-size: 17px; cursor: pointer; transition: background 0.15s; }
.calc-again-btn:hover { background: #0052a0; color: #fff;}
.calculated-header-products { padding-top: 50px; }

.answers-summary { max-width: 754px; margin: 48px auto 0 auto; text-align: left; }
.answers-summary-title { font-size: 20px; font-weight: bold; color: var(--text); margin-bottom: 20px; text-align: center; }
.answers-summary-item { padding: 16px 0; border-bottom: 1px solid var(--surface3); }
.answers-summary-item:last-child { border-bottom: none; }
.answers-summary-question { font-size: 17px; font-weight: bold; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.answers-summary-options { display: flex; flex-wrap: wrap; gap: 6px 14px; flex-direction: column;}
.answers-summary-option { font-size: 17px; color: #333; line-height: 1.4; position: relative;padding-left: 30px;background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='9.5' stroke='%230063BE' stroke-opacity='0.5'/%3E%3C/svg%3E");background-repeat: no-repeat;background-position: 0 2px;opacity: 0.3;}
.answers-summary-option:before{/*! content:""; */background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='19' height='19' rx='9.5' stroke='%230063BE' stroke-opacity='0.5'/%3E%3C/svg%3E");position: absolute;width: 20px;height: 20px;background-repeat: no-repeat;left: 0;top: 0;}
.answers-summary-option.is-selected { color: #333; /*! font-weight: bold; */ background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='20' height='20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='.5' y='.5' width='19' height='19' rx='9.5' stroke='%230063be'/%3E%3Crect x='4' y='4' width='12' height='12' rx='6' fill='%230063be'/%3E%3C/svg%3E");background-repeat: no-repeat;opacity: 1;}

.result-wrapper { background-color: #e5f3ff; padding: 70px 20px; position: relative; }
#results-section { margin-top: 72px; }
.results-title { font-size: 24px; font-weight: bold; text-align: center; max-width: 470px; line-height: 1.2; margin: 0 auto 26px auto; }

.fresubin-overflow { overflow-x: auto; margin-right: -25px;}
.fresubin-wrapper { display: flex; gap: 32px; justify-content: flex-start; margin-bottom: 52px; flex-wrap: nowrap; overflow-x: auto; padding-right: 25px;}
.fresubin-btn { border-radius: 8px; color: #fff; font-weight: bold; background-color: var(--text); text-decoration: none; padding: 22px 41px; white-space: nowrap;}
.fresubin-btn:hover{color: #fff!important;}
.fresubin-desc { margin-bottom: 0.8em; }
.fresubin-doze { font-size: 11px; color: #333; opacity: 0.5; font-style: italic; }
.fresubin-img { width: 100%; max-width: 257px; margin-bottom: 20px; }
.fresubin-item { display: flex; flex-direction: column; text-align: center; gap: 10px; justify-content: center; align-items: center; width: 355px; border: 1px solid var(--surface3); padding: 30px 14px; position: relative; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='355' height='116' fill='none'%3E%3Cpath fill='%23f2f9ff' d='M355 0C231.16 57.23 66.74 77.16 0 79.97V174h355z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: bottom center; background-size: 100% auto; }
.fresubin-item-title { font-weight: bold; font-size: 24px; margin-bottom: 0.4em; }

.product-card-types { display: flex; flex-direction: column; position: absolute; right: -14px; top: 62px; gap: 7px; }
.product-card-type-item { color: var(--text); background-color: #F2F9FF; border: none; border-radius: 20px; padding: 13px 23px; cursor: pointer; font-size: 14px; }
.product-card-type-item.active { background-color: #D6EBFF; }

.footnote { font-size: 12px; color: var(--text-muted); text-align: center; max-width: 640px; margin: 0 auto 40px auto; }
.footnote a {text-decoration: none;color: #333;opacity: 0.3;}
@media (max-width: 1200px) {
  #app h1 { font-size: 44px; }
  .h1-desc { font-size: 14px; max-width: 380px; }
  .hero-btn { padding: 18px 22px; font-size: 14px; }
  .section-blue-wrapper { padding: 40px 40px; }
}

@media (max-width: 1024px) {
  .calc-header { max-width: 135.547vw; margin-bottom: -8.203vw; }
  .top-text-wrapper { max-width: 47.07vw; padding: 0 0 16.113vw 2.148vw; }
  .h1-desc { font-size: 1.66vw; }
  .field input, .field select { font-size: 14px; }
  #app h1 { font-size: 4.688vw; }
  .h1-desc { font-size: 1.367vw; max-width: 39.063vw; }
  .hero-btn { padding: 1.758vw 2.148vw; font-size: 1.367vw; }
  .top-text-wrapper { padding: 7.813vw 0 16.113vw 2.148vw; }
}

@media (max-width: 768px) {
  .calc-header { margin: 0; background-position: top center; overflow: hidden; position: relative; }
  .container { padding: 0 16px; }
  .calc-header .container { padding: 38px 16px 0px 16px; }
  #app h1 { text-align: center; font-size: 30px; margin-bottom: 0.4em; }
  .h1-desc { text-align: center; max-width: 320px; margin: 0 auto 1.6em auto; font-size: 14px; }
  .top-wrapper { flex-direction: column; }
  .top-text-wrapper { width: 100%; left: 0; max-width: 100%; padding: 0; }
  .top-img-wrapper { width: calc(100% + 32px); margin: 0 -16px 0 -16px; position: static; height: auto;  }
  .top-img { width: 100%; margin: 0; position: static; }
  .top-buttons { flex-direction: column; width: 100%; align-items: center; margin-bottom: 21px; }
  .hero-btn { width: 100%; max-width: 260px; text-align: center; font-size: 14px; padding: 19px; }

  .section-header-standalone { padding: 40px 16px 24px 16px; }
  .section-title { font-size: 24px; }
  .h2-desc { font-size: 14px; }

  .section-blue-wrapper { padding: 24px 16px; }
  .progress-track { margin-bottom: 24px; }

  .mna-question-title { font-size: 18px; }
  .mna-question-text { font-size: 15px; }
  .mna-radio-label { font-size: 15px; }
  .gender-btn{font-size: 13px;padding: 16px 7px;}
  .params-grid { gap: 16px; }
  .params-row { flex-direction: column; gap: 16px; }
  .field { width: 100%; padding-left: 14px; align-items: center; }
  .field-input-wrapper{width: 100%}
  .field label { font-size: 12px; font-weight: 400; padding-left: 0; width: 100%; }
  .icon-circle { /*! display: none; */ }
  .gender-toggle { width: 100%; padding-left: 55px;}

  .mna-multi-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mna-multi-choice { align-self: flex-start; }

  .mna-actions { flex-direction: column-reverse; }
  .pdf-export-btn, .pdf-export-btn-outline { width: 100%; justify-content: center; font-size: 14px; padding: 19px; }

  .result-wrapper { padding: 40px 20px 20px 20px; }
  .results-title { font-size: 20px; }
  .selected-item { padding: 7px 17px; font-size: 14px; }
  .selected-item img { width: 18px; height: 18px; }
  .selected-params { gap: 7px; }
  .score-value { font-size: 24px; }
  .score-comment { font-size: 14px; }
  .score-comment2 { font-size: 14px; }
  .score-result { padding: 24px 18px; }
  .calculated-header-products { padding: 35px 16px 24px 16px; }
  .fresubin-wrapper{gap: 16px;}
  .fresubin-item { width: 100%; max-width: 280px; padding: 18px 16px;}
  .fresubin-item-title { font-size: 20px; line-height: 1.33; }
  .fresubin-desc { font-size: 12px; }
  .fresubin-btn { padding: 16px 30px; font-size: 12px; }
  .product-card-types { right: -7px; }
  .product-card-type-item { border-radius: 20px; padding: 6px 14px; cursor: pointer; font-size: 12px; }
  .footnote { padding: 0 15px; }
  .calc-again-wrapper { flex-direction: column; align-items: stretch; }
  .calc-again-btn { width: 100%; font-size: 14px; padding: 19px; }

  .answers-summary { margin-top: 32px; }
  .answers-summary-title { font-size: 17px; } 
  .answers-summary-question { font-size: 14px; }
  .answers-summary-option { font-size: 13px; background-size: 16px 16px;padding-left: 24px;background-position: 0 1px;}
  
  .field input[type="date"]  {padding: 16px 10px 16px 50px;}
}
