* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.vito-app-header {
  display: none;
  max-width: 1000px;
  padding: 0 16px;
  margin: 0 auto 32px;
}

.vito-app-header h1 {
  color: #0c6e68;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

.vito-app-header .header-subtitle {
  color: #000;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}

.vito-app-header .header-note {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.container {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d2d1d1;
  padding: 80px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2eeed;
  border-radius: 4px;
  margin-bottom: 48px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: #0c6e68;
  transition: width 0.3s ease;
}

.calculated-info {
  background: #E2EEED;
  border-left: 4px solid #0C6E68;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  color: #0C6E68;
}

.calculated-info p {
  margin: 0;
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.step-wrapper {
  margin-bottom: 30px;
  animation: slideUp 0.35s ease-out;
}

.step-wrapper-readonly {
  margin-bottom: 16px;
  padding: 16px;
  background: #F9F9F9;
  border-radius: 8px;
  border-left: 4px solid #0C6E68;
}

.step-content-readonly {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip-option {
  border: none;
  border-radius: 8px;
  background: #E2EEED;
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip-option.is-active {
  background: #075954;
  color: #FFF;
}

.chip-option.is-active:hover {
  color: #000;
}

.chip-option:hover {
  background: linear-gradient(0deg, rgba(12, 110, 104, 0.10) 0%, rgba(12, 110, 104, 0.10) 100%), #E2EEED;
}

.chip-option:active {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), #E2EEED;
}

.chip-option:focus-visible {
  outline: 1px solid #000;
  outline-offset: 2px;
}

.message-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid #FC0;
  background: rgba(255, 204, 0, 0.10);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.message-bar-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.message-bar p {
  margin: 0;
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.label-readonly {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.value-readonly {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.value-readonly p {
  margin-bottom: 8px;
}

.value-readonly p:last-child {
  margin-bottom: 0;
}

.label {
  display: block;
  margin-bottom: 4px;
  padding: 0 8px;
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.label-centered {
  text-align: center;
}

.step-wrapper[data-step="8"] .label {
  margin-bottom: 8px;
}

.step-wrapper[data-step="9"] .label,
.step-wrapper[data-step="10"] .label {
  margin-bottom: 8px;
}

.required {
  color: #000;
}

.input,
.select {
  width: 100%;
  font-size: 1rem;
  border: 1px solid #D2D1D1;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: #fff;
}

.input {
  padding: 12px 16px;
}

.select {
  padding: 16px 48px 16px 16px;
  color: #828282;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("./icon_chevron-down.svg");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

.input::placeholder,
.select::placeholder,
textarea::placeholder,
input::placeholder {
  color: #828282;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.input:focus,
.select:focus {
  border: 1px solid #000;
}

.address-search {
  position: relative;
  margin-bottom: 4px;
}

.address-note {
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  padding: 0 8px;
}


.address-info {
  background: #F9F9F9;
  padding: 24px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #0C6E68;
}

.address-info p {
  margin-bottom: 8px;
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.address-info p:last-child {
  margin-bottom: 0;
}

.address-info.is-hidden {
  display: none;
}

.warning-text {
  margin-top: 10px;
  color: #f39c12;
  font-size: 0.9rem;
  line-height: 1.5;
}

.is-hidden {
  display: none;
}

.suggestions-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d2d1d1;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 2px 2px 8px 0 rgba(0, 0, 0, 0.12);
}

.vito-evalo-suggestion-list {
  list-style: none;
}

.suggestion-item {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  cursor: pointer;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.suggestion-item:hover {
  background: #f8f9fa;
}

.suggestion-street {
  color: #000;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 4px;
}

.suggestion-location {
    color: #828282;
    font-family: "Public Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.map-container {
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.map-container.is-hidden {
  display: none;
}

.vito-evalo-map {
  min-height: 501px;
}

.navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
}

.btn-back,
.btn-forward,
.btn-submit {
  padding: 8px;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-back,
.btn-forward {
  width: min-content;
}

.btn-forward,
.btn-submit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #0C6E68;
}

.btn-forward,
.btn-submit {
  background: #fff;
}

.btn-forward:disabled {
  color: #828282;
}

.btn-forward::after,
.btn-submit::after {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background-image: url("./icon_arrow-right.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-forward:hover:not(:disabled),
.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-forward:hover:not(:disabled) {
  border-radius: 40px;
  background: rgba(12, 110, 104, 0.10);
  box-shadow: none;
}

.btn-submit:hover:not(:disabled) {
  border-radius: 40px;
  background: rgba(12, 110, 104, 0.10);
  box-shadow: none;
}

.btn-contact-submit {
  padding: 12px 24px;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  border: none;
  border-radius: 40px;
  background: #E30613;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-contact-submit:hover:not(:disabled) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #E30613;
  box-shadow: none;
}

.btn-contact-submit:active:not(:disabled) {
  background: #E30613;
}

.btn-contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-contact-submit__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.btn-download-pdf__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.btn-forward:disabled::after {
  background-image: url("./icon_arrow-right-muted.svg");
}

.btn-back {
  background: #fff;
  color: #828282;
}

.btn-back:not(:disabled) {
  color: #0C6E68;
}

.btn-back:not(:disabled)::before {
  background-image: url("./icon_arrow-left-emphasis.svg");
}

.btn-back::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  background-image: url("./icon_arrow-left.svg");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}

.btn-back:hover:not(:disabled) {
  border-radius: 40px;
  background: rgba(12, 110, 104, 0.10);
}

.btn-back:disabled,
.btn-forward:disabled,
.btn-submit:disabled,
.btn-contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error-message {
  background: #fee;
  border: 2px solid #e74c3c;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  color: #c0392b;
}

.error-message ul {
  margin-top: 8px;
  padding-left: 20px;
}

.results-container {
  animation: fadeIn 0.5s ease;
}

.success-header {
  display: flex;
  flex-direction: column;
  padding-bottom: 64px;
}

.success-header h2 {
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 16px;
}

.success-header p {
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.building-id {
  font-size: 1.1rem;
  color: #666;
  font-family: "Courier New", monospace;
}

.surfaces-section,
.recommendations-section {
  margin-bottom: 30px;
}

.surfaces-section {
  margin-bottom: 0;
  padding: 64px 0;
  border-top: 1px solid #D2D1D1;
}

.surfaces-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #000;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.surfaces-section .surfaces-title {
  margin-bottom: 24px;
}

.surfaces-title-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.surfaces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.surface-item {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #F9F9F9;
  border-radius: 8px;
}

.surface-label {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}

.surface-value {
  color: #000;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.recommendations-list {
  display: grid;
  gap: 24px;
}

.recommendations-section {
  margin-bottom: 24px;
  padding-top: 64px;
  border-top: 1px solid #D2D1D1;
}

.recommendations-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: #000;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.recommendations-section .recommendations-title {
  margin-bottom: 24px;
}

.recommendations-title-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.recommendation-card {
  padding: 32px;
  background: #F9F9F9;
  border-radius: 8px;
}

.recommendation-card h4 {
  color: #0C6E68;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}

.recommendation-card p {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 8px;
}

.recommendation-card p:last-child {
  margin-bottom: 0;
}

.recommendation-card p strong {
  font-weight: 700;
}

.total-cost-section {
  text-align: center;
  padding: 24px;
  background: #0C6E68;
  border-radius: 8px;
  color: #fff;
  margin: 24px 0 64px;
}

.total-cost-section h3 {
  margin-bottom: 16px;
  color: #FFF;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.total-cost {
  color: #FFF;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.savings-section {
  padding: 64px 0;
  border-top: 1px solid #D2D1D1;
}

.savings-section .savings-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  color: #000;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.savings-title-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.savings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 768px) {
  .savings-grid {
    grid-template-columns: 1fr;
  }
}

.savings-card {
  display: flex;
  align-items: stretch;
}

.savings-card-full {
  grid-column: 1 / -1;
}

.savings-icon-badge {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #075954;
  align-self: stretch;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.savings-icon-image {
  width: 40px;
  height: 40px;
  display: block;
}

.savings-content {
  flex: 1;
  padding: 16px;
  background: #E2EEED;
  height: auto;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.savings-content.savings-content-full {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
}

.savings-content h5 {
  color: #000;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}

.savings-value {
  color: #000;
  font-family: "Public Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 16px;
}

.savings-value-chf {
  color: #667eea;
}

.savings-detail {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 8px;
}

.savings-absolute {
  color: #000;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 8px;
}

.savings-absolute strong {
  font-weight: 700;
}

.btn-download-pdf {
  padding: 12px 24px;
  font-family: "Public Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.48px;
  border: none;
  border-radius: 40px;
  background: #E30613;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn-download-pdf:hover:not(:disabled) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), #E30613;
  box-shadow: none;
}

.btn-download-pdf:active:not(:disabled) {
  background: #E30613;
}

.btn-download-pdf:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdf-status,
.contact-status {
  margin-top: 12px;
  color: #555;
}

.contact-form-section {
  padding-top: 64px;
  border-top: 1px solid #D2D1D1;
}

.contact-form-container {
  background: #fff;
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-form-header h3 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 24px;
}

.contact-form-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.contact-form-header p {
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contact-consent {
  margin-bottom: 16px;
  padding: 24px;
  background: #F9F9F9;
  border-radius: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.checkbox-input {
  width: 24px;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border-radius: 4px;
  border: 2px solid #000;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.checkbox-input:checked {
  background: #fff;
  border-color: #000;
}

.checkbox-input:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-fields {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  padding: 0 8px;
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-group input {
  width: 100%;
  height: 56px;
  padding: 12px 16px;
  border: 1px solid #D2D1D1;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: #fff;
  color: #000;
  font-family: "Public Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-group input::placeholder {
  color: #828282;
  font-family: "Public Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.form-group input:focus {
  border: 1px solid #000;
  outline: none;
}

.contact-form-actions {
  margin-top: 24px;
}

.process-steps-section {
  margin-top: 30px;
  padding: 30px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f5e9 100%);
  border-radius: 12px;
  border: 2px solid #667eea;
}

.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-step-item {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.process-step-content h4 {
  color: #667eea;
  margin-bottom: 8px;
}

.process-step-content p {
  color: #666;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .container {
    padding: 80px;
  }

  .vito-app-header h1 {
    font-size: 44px;
  }
}

@media (max-width: 480px) {
  .surface-value {
    font-size: 24px;
  }

  .recommendations-title {
    font-size: 24px;
  }

  .recommendations-title-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .total-cost-section {
    margin: 24px 0 32px;
  }

  .total-cost-section h3 {
    font-size: 20px;
  }

  .total-cost {
    font-size: 24px;
  }

  .savings-section {
    padding: 32px 0;
  }

  .savings-title {
    font-size: 24px;
  }

  .savings-title-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .savings-icon-image {
    width: 32px;
    height: 32px;
  }

  .savings-content h5 {
    font-size: 20px;
  }

  .savings-value {
    font-size: 24px;
  }

  .contact-form-section {
    padding-top: 32px;
  }

  .contact-form-header h3 {
    font-size: 24px;
  }

  .contact-form-icon {
    width: 40px;
    height: 40px;
  }

  .contact-form-header p {
    font-size: 20px;
  }

  .recommendations-section {
    padding-top: 32px;
  }

  .surfaces-section {
    padding: 32px 0;
  }

  .surfaces-title h3 {
    font-size: 24px;
  }

  .surfaces-title-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .success-header {
    padding-bottom: 32px;
  }

  .success-header h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }

  .vito-evalo-map {
    height: 233.984px;
    min-height: 233.984px;
  }

  .progress-bar {
    margin-bottom: 32px;
  }

  .container {
    padding: 0;
    border: none;
  }

  .vito-app-header h1 {
    font-size: 2rem;
  }

  .vito-app-header .header-subtitle {
    font-size: 1rem;
  }

  .navigation {
    margin-top: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .surfaces-grid,
  .savings-grid {
    grid-template-columns: 1fr;
  }
}
