* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f6f9f7;
  color: #1c2321;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

.header-general {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  width: 100%;
  height: 64px;
  background-color: #558c6d;
}

.logo-header {
  padding-top: 6px;
  margin-left: 16px;
}

.logo-img {
  width: 98px;
  height: 68px;
}

.sensor-page {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #f6f9f7;
  border-radius: 12px;
  margin-right: 16px;
  width: 56px;
  height: 30px;
}

.indikator {
  font-size: 16px;
  color: #f6f9f7;
  font-weight: 600;
}

.main {
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  max-width: 430px;
  width: 100%;
}

.first-slide {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding-top: 16px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

.second-slide,
.quiz-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
  padding-top: 16px;
  padding-bottom: 90px;
  box-sizing: border-box;
}

.general-block {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.general-image {
  margin-bottom: 4px;
  width: 100%;
}

.image-slide1 {
  border-radius: 12px;
  width: 100%;
  display: block;
}

.text-slide1 {
  font-size: 20px;
  color: #1c2321;
  margin-bottom: 8px;
  text-align: left;
}

.slide1-view {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  width: 100%;
}

.icon_text {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  gap: 16px;
  width: 100%;
}

.icon-slide1 {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.icon-text {
  font-weight: 400;
  color: #1c2321;
  text-align: left;
}

.text-view {
  margin-top: 8px;
  margin-bottom: 24px;
  width: 100%;
}

.text-view-1 {
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.text-start,
.quiz-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #1c2321;
  margin-bottom: 20px;
}

.variant-of,
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.second-slide-variant {
  display: block;
  padding: 14px 16px;
  border: 2px solid rgba(49, 113, 78, 0.2);
  border-radius: 14px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  background-color: #ffffff;
  transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: left;
}

.second-slide-variant input[type="radio"] {
  display: none;
}

.second-slide-variant:has(input[type="radio"]:checked) {
  border-color: #31714e;
  background-color: #31714e;
  color: #f6f9f7;
  box-shadow: 0 4px 12px rgba(49, 113, 78, 0.2);
  transform: translateY(-1px);
}

.costum-variant {
  display: block;
  width: 100%;
  border: 2px solid rgba(49, 113, 78, 0.2);
  border-radius: 14px;
  background-color: #ffffff;
  overflow: hidden;
  transition: all 0.2s ease;
}

.costum-variant input[type="radio"] {
  display: none;
}

.embedded-input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #1c2321;
}

.embedded-input::placeholder {
  color: #999999;
}

.costum-variant:has(input[type="radio"]:checked) {
  border-color: #31714e;
  box-shadow: 0 4px 12px rgba(49, 113, 78, 0.1);
}

.task-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  width: 100%;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.task-option input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #31714e;
  border-radius: 50%;
  margin-top: 4px;
  transition: all 0.2s ease;
}

.task-option input[type="checkbox"]:checked + .custom-checkbox {
  background-color: #31714e;
}

.option-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1c2321;
}

.specifika-block {
  margin-top: 16px;
  width: 100%;
}

.specifika-label {
  font-size: 15px;
  font-weight: 600;
  color: #1c2321;
  margin-bottom: 8px;
  display: block;
}

.specifika-textarea {
  width: 100%;
  height: 90px;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 2px solid rgba(49, 113, 78, 0.2);
  border-radius: 12px;
  background-color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #1c2321;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
}

.specifika-textarea:focus {
  border-color: #31714e;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.input-field label {
  font-size: 14px;
  font-weight: 600;
  color: #1c2321;
  margin-bottom: 6px;
  display: block;
}

.input-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border: 2px solid rgba(49, 113, 78, 0.2);
  border-radius: 12px;
  background-color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  color: #1c2321;
  outline: none;
  transition: border-color 0.2s ease;
}

.input-field input:focus {
  border-color: #31714e;
}

.sub-title {
  font-size: 18px;
  font-weight: 700;
  color: #1c2321;
  margin-bottom: 14px;
}

.format-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  background: white;
  padding: 12px 14px;
  border-radius: 12px;
}

.format-option input[type="radio"] {
  display: none;
}

.custom-radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #31714e;
  border-radius: 50%;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.format-option input[type="radio"]:checked + .custom-radio {
  background-color: #31714e;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.thanks-card {
  margin-top: 8px;
  margin-bottom: 24px;
  width: 100%;
}

.thanks-logo-wrapper {
  background-color: #31714e;
  border-radius: 20px;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(49, 113, 78, 0.15);
}

.thanks-logo {
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

.thanks-logo span {
  font-weight: 400;
  display: block;
  font-size: 15px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: -2px;
}

.thanks-content {
  margin-bottom: 32px;
  padding: 0 12px;
  width: 100%;
  text-align: center;
}

.thanks-title {
  font-size: 26px;
  font-weight: 800;
  color: #1c2321;
  margin-bottom: 12px;
}

.thanks-text {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #555555;
}

.button_protect {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(to top, #f6f9f7 80%, rgba(246, 249, 247, 0) 100%);
  padding: 16px 16px 24px 16px;
  z-index: 90;
  box-sizing: border-box;
}

.button2,
.down-panel,
.thanks-navigation {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(to top, #f6f9f7 80%, rgba(246, 249, 247, 0) 100%);
  padding: 12px 16px 20px 16px;
  z-index: 90;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
}

.quiz-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 100%;
}

.button-slide1 {
  font-family: "Montserrat", sans-serif;
  height: 52px;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  background-color: #31714e;
  color: #f6f9f7;
  border: none;
  width: 100%;
  box-shadow: 0 4px 14px rgba(49, 113, 78, 0.25);
}

.button-slide2,
.btn-back,
.btn-next,
.btn-submit,
.btn-thanks {
  font-family: "Montserrat", sans-serif;
  height: 42px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.btn-next,
.btn-submit,
.btn-thanks:not(.btn-thanks-site) {
  background-color: #31714e;
  color: #f6f9f7;
  border: none;
  width: 140px;
  box-shadow: 0 4px 12px rgba(49, 113, 78, 0.2);
}

.button2 {
  display: flex;
  justify-content: flex-end;
}

.button-slide2 {
  width: 140px;
  background-color: #31714e;
  color: #f6f9f7;
  border: none;
  box-shadow: 0 4px 12px rgba(49, 113, 78, 0.2);
}

.btn-back {
  background-color: #ffffff;
  border: 2px solid #31714e;
  color: #31714e;
  width: 140px;
}

.thanks-navigation {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-thanks-site {
  background-color: transparent;
  border: 2px solid #31714e;
  color: #31714e;
}

.icon_protect {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.icon-protect {
  width: 14px;
  height: 14px;
}

.text-protect {
  font-size: 12px;
  font-weight: 500;
  color: #666666;
}

.button-slide1:active,
.button-slide2:active,
.btn-next:active,
.btn-submit:active,
.btn-thanks:not(.btn-thanks-site):active {
  background-color: #1b4332;
  transform: scale(0.98);
}

.btn-back:active,
.btn-thanks-site:active {
  background-color: rgba(49, 113, 78, 0.05);
  transform: scale(0.98);
}

.quiz-hidden {
  display: none !important;
}
