/* Universalus “vienodo ilgio” fix */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 40px 16px;
}

/* Kad nebūtų keisto “užlindimo”/perteklinio pločio */
.calculator {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: white;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden; /* panaikina retus 1-2px overflow atvejus */
}

h2 {
  text-align: center;
  margin: 0 0 22px;
}

label {
  display: block;
  margin: 0 0 6px;
}

/* Vienodas ilgis ir aukštis visiems input/select */
input,
select {
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  margin: 0 0 16px;
  border: 1px solid #cfcfcf;
  border-radius: 10px;
  font-family: inherit;
  background: #fff;
}

/* Disabled select – gražiau */
select:disabled {
  background: #f2f2f2;
  color: #666;
}

.card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
}

.card.soft {
  background: #fbfbfb;
}

.baseline {
  background: #fafafa;
}

/* Header sulyginimas */
.card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-header small {
  font-weight: 600;
  color: #666;
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  background: #00343d;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

button:hover {
  background: #00282f;
}

/* CTA */
.consult-btn {
  display: block;
  margin-top: 12px;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #00343d;
  color: #00343d;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
}

.consult-btn:hover {
  background: #f2f7f8;
}

.hidden {
  display: none;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th, td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  text-align: center;
}

th {
  background: #f2f2f2;
}

td:first-child {
  text-align: left;
  font-weight: 700;
}

.baseline-highlight {
  background: rgba(0,52,61,0.07);
}

.disclaimer {
  font-size: 11px;
  color: #666;
  margin-top: 18px;
  line-height: 1.5;
}