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

body {
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 450px;
  width: 100%;
  margin: 0 auto;
}

.screen1 {
  min-height: 100vh;
  padding: 0 15px;
  background-image: url("./images/screen1-bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 20px 0 10px;
}

.nav .line {
  height: 46px;
  width: 1px;
  background-color: #002ec2;
}

.nav p {
  font-size: 10px;
  color: #002ec2;
}

.screen1__header .title {
  font-size: 26px;
  color: #fff;
  font-weight: 900;
}

.screen1__header .title span {
  color: #fff;
}

.screen1__header .description {
  font-size: 16px;
  color: #fff;
  margin-top: 2px;
  margin-bottom: 30px;
}

.screen1__bottom {
  position: absolute;
  bottom: 40px;
  left: 15px;
  right: 15px;
}

@media (max-height: 800px) {
  .screen1 {
    min-height: calc(100vh + 120px);
  }
}

@media (max-width: 400px) and (max-height: 700px) {
  .screen1 {
    min-height: calc(100vh + 150px);
  }
}

@media (min-width: 450px) and (max-height: 900px) {
  .screen1 {
    min-height: calc(100vh + 120px);
  }
}

.screen1__next .next {
  font-size: 20px;
  color: #fff;
  font-weight: 900;
  padding: 17px;
  background: linear-gradient(0deg, #0057c6 0%, #0072dd 100%);
  border: 1px solid #ffffff;
  width: 100%;
  border-radius: 20px;
}

.clock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: #fff;
}

.screen2 {
  padding: 0px 15px;
  background-image: url("./images/screen2-bg.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 100vh;
  height: 100%;
}

.quote {
  position: relative;

  min-height: 83px;

  padding: 13px 17px 11px;

  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(245, 249, 255, 0.97),
    rgba(231, 240, 251, 0.97)
  );

  box-shadow: 0 2px 6px rgba(0, 61, 120, 0.15);

  z-index: 3;
  box-shadow: 0px 0px 5.5px 0px #00000040;
}

.quote-text {
  font-size: 16px;
  line-height: 20px;

  font-weight: 500;

  color: #0059c6;
}

.quote-author {
  margin-top: 5px;

  font-size: 18px;
  line-height: 21px;

  font-weight: 700;

  color: #0059c6;
}

/* ========================================
   QUIZ CONTAINER
======================================== */

.quiz-container {
  margin-top: 200px;
}

/* ========================================
   PROGRESS
======================================== */

.progress-wrapper {
  margin-bottom: 15px;
  margin-top: 20px;
}

.progress-title {
  font-size: 12px;
  line-height: 15px;

  font-weight: 700;

  color: #0062c8;

  margin-bottom: 5px;
}

.progress {
  width: 100%;
  height: 8px;

  overflow: hidden;

  border-radius: 5px;

  background: #bed5ea;
}

.progress-bar {
  height: 100%;

  width: 12.5%;

  border-radius: 5px;

  background: linear-gradient(90deg, #0062c9, #0570dc);

  transition: width 0.3s ease;
}

.progress-bar.full {
  width: 100%;
}

/* ========================================
   QUESTION
======================================== */

.question-section h1 {
  margin-bottom: 9px;

  font-size: 21px;
  line-height: 26px;

  font-weight: 800;

  color: #005ec4;
}

/* ========================================
   ANSWERS
======================================== */

.answers {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.answer {
  min-height: 54px;

  display: flex;
  align-items: center;

  padding: 0 14px;

  background: #fff;

  border: 1px solid #dce4ea;

  border-radius: 11px;

  box-shadow: 0 2px 6px rgba(0, 56, 100, 0.14);

  cursor: pointer;

  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.answer:active {
  transform: scale(0.99);
}

.answer:hover {
  border-color: #9cc8ed;
}

.answer.selected {
  border: 2px solid #0068d3;

  background: linear-gradient(90deg, #eef7ff, #ffffff);

  box-shadow: 0 3px 9px rgba(0, 91, 180, 0.2);
}

.answer input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  margin-right: 12px;

  border: 1.8px solid #0068d3;

  border-radius: 50%;

  position: relative;
}

.answer.selected .radio::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  border-radius: 50%;

  background: #0068d3;
}

.answer span:last-child {
  font-size: 14px;
  line-height: 18px;

  font-weight: 500;

  color: #102b48;
}

/* ========================================
   CONTINUE BUTTON
======================================== */

.continue-wrapper {
  margin-top: 14px;
  padding-bottom: 40px;
}

.continue-button {
  width: 100%;
  height: 46px;

  border: 0;
  border-radius: 13px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  background: linear-gradient(90deg, #0064cd, #0068d5);

  color: white;

  font-size: 18px;
  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 3px 7px rgba(0, 70, 140, 0.2);

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

.continue-button:hover {
  opacity: 0.94;
}

.continue-button:active {
  transform: scale(0.985);
}

.continue-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.arrow {
  font-size: 20px;
  line-height: 1;
  margin-top: -2px;

  font-weight: 400;
}

/* CHECKBOX */

.checkbox {
  display: flex;
  align-items: flex-start;

  gap: 9px;

  cursor: pointer;

  margin: 4px 0 18px;
}

.checkbox input {
  position: absolute;
  opacity: 0;
}

.checkbox-custom {
  width: 18px;
  height: 18px;

  flex: 0 0 18px;

  border: 1.5px solid #0067d1;

  border-radius: 4px;

  position: relative;
}

.checkbox input:checked + .checkbox-custom::after {
  content: "✓";

  position: absolute;

  left: 50%;
  top: 50%;

  transform: translate(-50%, -50%);

  font-size: 13px;

  font-weight: 800;

  color: #0067d1;
}

.checkbox-text {
  font-size: 11px;
  line-height: 16px;

  color: #627589;
}

/* ========================================
   HIDDEN
======================================== */

[hidden] {
  display: none !important;
}

.quote-author-form {
  text-align: center;
  font-size: 24px;
}
.quote-text-form {
  text-align: center;
  margin-top: 10px;
}

.lead-form-section {
  margin-top: 180px;
}

.form-card {
  margin-top: 20px;
}

.input-ava {
  padding-left: 40px !important;
}

.form-field {
  position: relative;
  margin-top: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 700;
  color: #0f1e54;
}

.icon-ava {
  position: absolute;
  top: 35px;
  z-index: 100;
  left: 15px;
}

.buttonSend {
  margin-top: 20px;
}

.private {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 30px;
}

.private p {
  font-size: 14px;
  font-weight: 700;
  color: #0059c6;
}
