
/* =========================================
   ROOT
========================================= */

#nguyen-vong-tn {
  --primary-tn: #2563eb;
  --primary-dark-tn: #1d4ed8;
  --primary-soft-tn: #eff6ff;

  --text-tn: #172033;
  --muted-tn: #667085;
  --border-tn: #e4e7ec;

  --green-tn: #087a55;
  --green-bg-tn: #ecfdf3;

  --orange-tn: #b54708;
  --orange-bg-tn: #fffaeb;

  --red-tn: #b42318;
  --red-bg-tn: #fef3f2;

  --purple-tn: #6941c6;
  --purple-bg-tn: #f4f3ff;

  max-width: 1180px;

  margin: 0 auto 50px;

  color: var(--text-tn);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  line-height: 1.55;
}


/* =========================================
   HERO
========================================= */

#nguyen-vong-tn .hero-tn {
  display: flex;

  align-items: center;

  gap: 18px;

  margin-bottom: 16px;

  padding: 25px 27px;

  border-radius: 18px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      #2563eb,
      #4f46e5
    );

  box-shadow:
    0 10px 30px
    rgba(37,99,235,.17);
}


#nguyen-vong-tn .hero-icon-tn {
  position: relative;

  width: 54px;
  height: 54px;

  flex: 0 0 auto;

  border-radius: 15px;

  background:
    rgba(255,255,255,.15);
}


#nguyen-vong-tn .hero-icon-tn:before,
#nguyen-vong-tn .hero-icon-tn:after,
#nguyen-vong-tn .hero-icon-tn span {
  content: "";

  position: absolute;

  left: 14px;

  height: 5px;

  border-radius: 5px;

  background: #fff;
}


#nguyen-vong-tn .hero-icon-tn:before {
  top: 15px;

  width: 27px;
}


#nguyen-vong-tn .hero-icon-tn span {
  top: 25px;

  width: 21px;
}


#nguyen-vong-tn .hero-icon-tn:after {
  top: 35px;

  width: 15px;
}


#nguyen-vong-tn .hero-content-tn h2 {
  margin: 0 0 4px;

  color: #fff;

  font-size: 27px;

  line-height: 1.3;
}


#nguyen-vong-tn .hero-content-tn p {
  margin: 0;

  color:
    rgba(255,255,255,.88);

  font-size: 14px;
}


/* =========================================
   INFO
========================================= */

#nguyen-vong-tn .info-box-tn {
  margin-bottom: 18px;

  padding: 12px 14px;

  border:
    1px solid #dbeafe;

  border-radius: 11px;

  color: #175cd3;

  background: #f5f9ff;

  font-size: 12px;
}


/* =========================================
   STATUS
========================================= */

#nguyen-vong-tn .status-tn {
  display: grid;

  grid-template-columns:
    30px 1fr;

  gap: 12px;

  align-items: center;

  margin-bottom: 16px;

  padding: 14px;

  border:
    1px solid #bfdbfe;

  border-radius: 12px;

  background: #eff6ff;
}


#nguyen-vong-tn .loader-tn {
  width: 27px;
  height: 27px;

  box-sizing: border-box;

  border:
    3px solid
    rgba(37,99,235,.15);

  border-top-color:
    var(--primary-tn);

  border-radius: 50%;

  animation:
    spin-tn
    .75s linear infinite;
}


@keyframes spin-tn {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


#nguyen-vong-tn .status-text-tn {
  margin-bottom: 6px;

  color: #175cd3;

  font-size: 12px;

  font-weight: 700;
}


#nguyen-vong-tn .progress-track-tn {
  height: 7px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(37,99,235,.13);
}


#nguyen-vong-tn .progress-bar-tn {
  height: 100%;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #2563eb,
      #4f46e5
    );

  transition:
    width .2s ease;
}


#nguyen-vong-tn .progress-percent-tn {
  margin-top: 4px;

  color: #175cd3;

  text-align: right;

  font-size: 10px;

  font-weight: 800;
}


/* =========================================
   SECTION
========================================= */

#nguyen-vong-tn .wish-section-tn,
#nguyen-vong-tn .test-box-tn,
#nguyen-vong-tn .result-section-tn {
  margin-top: 18px;
}


#nguyen-vong-tn .section-head-tn {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  margin-bottom: 12px;
}


#nguyen-vong-tn .section-label-tn {
  margin-bottom: 2px;

  color: #667085;

  font-size: 10px;

  font-weight: 800;

  text-transform: uppercase;
}


#nguyen-vong-tn .section-head-tn h2,
#nguyen-vong-tn .result-header-tn h2 {
  margin: 0;

  color: #101828;

  font-size: 21px;
}


/* =========================================
   ADD
========================================= */

#nguyen-vong-tn .add-btn-tn {
  padding: 9px 14px;

  border: 0;

  border-radius: 9px;

  cursor: pointer;

  color: #fff;

  background:
    var(--primary-tn);

  font: inherit;

  font-size: 12px;

  font-weight: 750;
}


/* =========================================
   WISH CARD
========================================= */

#nguyen-vong-tn .wish-card-tn {
  margin-bottom: 12px;

  overflow: hidden;

  border:
    1px solid var(--border-tn);

  border-radius: 14px;

  background: #fff;

  box-shadow:
    0 4px 15px
    rgba(16,24,40,.035);
}


#nguyen-vong-tn .wish-head-tn {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 15px;

  padding: 13px 15px;

  border-bottom:
    1px solid #eaecf0;

  background:
    linear-gradient(
      90deg,
      #f4f8ff,
      #fff
    );
}


#nguyen-vong-tn .wish-number-tn {
  display: inline-flex;

  align-items: center;

  min-width: 55px;

  color: #1245b5;

  font-size: 16px;

  font-weight: 850;
}


#nguyen-vong-tn .wish-actions-tn {
  display: flex;

  gap: 5px;
}


#nguyen-vong-tn .small-btn-tn {
  padding: 5px 8px;

  border:
    1px solid #d0d5dd;

  border-radius: 6px;

  cursor: pointer;

  background: #fff;

  color: #475467;

  font: inherit;

  font-size: 10px;

  font-weight: 700;
}


#nguyen-vong-tn .small-btn-tn:hover {
  border-color: #84adff;

  color: #175cd3;
}


#nguyen-vong-tn .delete-btn-tn:hover {
  color: #b42318;

  border-color: #fda29b;

  background: #fef3f2;
}


/* =========================================
   WISH FORM
========================================= */

#nguyen-vong-tn .wish-body-tn {
  padding: 15px;
}


#nguyen-vong-tn .wish-grid-tn {
  display: grid;

  grid-template-columns:
    minmax(230px, 1fr)
    minmax(230px, 1.3fr)
    minmax(180px, .7fr);

  gap: 12px;
}


#nguyen-vong-tn .field-tn label {
  display: block;

  margin-bottom: 6px;

  color: #344054;

  font-size: 12px;

  font-weight: 700;
}


#nguyen-vong-tn select,
#nguyen-vong-tn input {
  width: 100%;

  height: 44px;

  box-sizing: border-box;

  padding: 0 12px;

  border:
    1px solid #d0d5dd;

  border-radius: 9px;

  outline: 0;

  background: #fff;

  color: #172033;

  font: inherit;

  font-size: 13px;
}


#nguyen-vong-tn select {
  cursor: pointer;
}


#nguyen-vong-tn select:focus,
#nguyen-vong-tn input:focus {
  border-color: #84adff;

  box-shadow:
    0 0 0 3px
    rgba(37,99,235,.1);
}


#nguyen-vong-tn select:disabled {
  cursor: wait;

  color: #98a2b3;

  background: #f8fafc;
}


#nguyen-vong-tn .wish-meta-tn {
  margin-top: 10px;

  color: #667085;

  font-size: 10px;
}


/* =========================================
   EMPTY
========================================= */

#nguyen-vong-tn .empty-tn {
  padding: 28px 15px;

  border:
    1px dashed #d0d5dd;

  border-radius: 12px;

  color: #667085;

  background: #fafbfc;

  text-align: center;

  font-size: 12px;
}


/* =========================================
   TEST
========================================= */

#nguyen-vong-tn .test-box-tn {
  padding: 18px;

  border:
    1px solid #dbeafe;

  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      #f5f9ff,
      #fff
    );
}


#nguyen-vong-tn .test-title-tn {
  color: #123b91;

  font-size: 18px;

  font-weight: 850;
}


#nguyen-vong-tn .test-subtitle-tn {
  margin-top: 3px;
  margin-bottom: 13px;

  color: #667085;

  font-size: 11px;
}


#nguyen-vong-tn .test-grid-tn {
  display: grid;

  grid-template-columns:
    minmax(180px, 300px)
    minmax(200px, 260px);

  gap: 12px;

  align-items: end;
}


#nguyen-vong-tn .score-input-wrap-tn {
  position: relative;
}


#nguyen-vong-tn .score-input-wrap-tn input {
  padding-right: 72px;
}


#nguyen-vong-tn .score-input-wrap-tn span {
  position: absolute;

  right: 11px;
  top: 50%;

  transform:
    translateY(-50%);

  color: #98a2b3;

  font-size: 10px;
}


#nguyen-vong-tn .test-btn-tn {
  width: 100%;
  height: 44px;

  border: 0;

  border-radius: 9px;

  cursor: pointer;

  background:
    var(--primary-tn);

  color: #fff;

  font: inherit;

  font-size: 12px;

  font-weight: 800;
}


/* =========================================
   RESULT
========================================= */

#nguyen-vong-tn .result-header-tn {
  margin-bottom: 10px;

  padding: 16px 17px;

  border:
    1px solid #dbeafe;

  border-radius: 13px;

  background:
    linear-gradient(
      135deg,
      #f5f9ff,
      #fff
    );
}


#nguyen-vong-tn .result-guide-tn {
  margin-bottom: 13px;

  color: #667085;

  font-size: 11px;
}


/* =========================================
   RESULT CARD
========================================= */

#nguyen-vong-tn .result-card-tn {
  margin-bottom: 13px;

  overflow: hidden;

  border:
    1px solid #e4e7ec;

  border-radius: 14px;

  background: #fff;

  box-shadow:
    0 4px 16px
    rgba(16,24,40,.04);
}


#nguyen-vong-tn .result-main-tn {
  display: grid;

  grid-template-columns:
    112px
    minmax(0, 1fr);

  gap: 14px;

  padding: 15px;
}


#nguyen-vong-tn .chance-box-tn {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  min-height: 88px;

  padding: 8px;

  border-radius: 12px;
}


#nguyen-vong-tn .chance-high-tn {
  color: #067647;

  background: #ecfdf3;
}


#nguyen-vong-tn .chance-medium-tn {
  color: #b54708;

  background: #fffaeb;
}


#nguyen-vong-tn .chance-low-tn {
  color: #b42318;

  background: #fef3f2;
}


#nguyen-vong-tn .chance-number-tn {
  font-size: 28px;

  font-weight: 900;

  line-height: 1.05;
}


#nguyen-vong-tn .chance-text-tn {
  margin-top: 4px;

  text-align: center;

  font-size: 9px;

  font-weight: 800;
}


#nguyen-vong-tn .result-nv-tn {
  display: inline-flex;

  margin-bottom: 5px;

  padding: 3px 7px;

  border-radius: 6px;

  color: #3538cd;

  background: #eef4ff;

  font-size: 10px;

  font-weight: 850;
}


#nguyen-vong-tn .result-school-tn {
  color: #475467;

  font-size: 11px;

  font-weight: 650;
}


#nguyen-vong-tn .result-program-tn {
  margin: 4px 0;

  color: #1245b5;

  font-size: 17px;

  font-weight: 850;

  line-height: 1.4;
}


#nguyen-vong-tn .result-code-tn {
  color: #667085;

  font-size: 10px;
}


/* =========================================
   RESULT DATA
========================================= */

#nguyen-vong-tn .result-info-grid-tn {
  display: grid;

  grid-template-columns:
    repeat(
      5,
      minmax(0, 1fr)
    );

  border-top:
    1px solid #eaecf0;
}


#nguyen-vong-tn .result-info-tn {
  padding: 11px 12px;

  border-right:
    1px solid #eaecf0;
}


#nguyen-vong-tn .result-info-tn:last-child {
  border-right: 0;
}


#nguyen-vong-tn .result-info-label-tn {
  margin-bottom: 3px;

  color: #98a2b3;

  font-size: 9px;

  font-weight: 700;
}


#nguyen-vong-tn .result-info-value-tn {
  color: #344054;

  font-size: 12px;

  font-weight: 800;
}


#nguyen-vong-tn .score-user-tn {
  color: #175cd3;
}


#nguyen-vong-tn .score-cutoff-tn {
  color: #d92d20;
}


/* =========================================
   DISCLAIMER
========================================= */

#nguyen-vong-tn .disclaimer-tn {
  margin-top: 20px;

  padding: 15px 16px;

  border:
    1px solid #fedf89;

  border-radius: 11px;

  color: #7a2e0e;

  background: #fffaeb;

  font-size: 11px;

  line-height: 1.6;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

  #nguyen-vong-tn .wish-grid-tn {
    grid-template-columns: 1fr;
  }


  #nguyen-vong-tn .test-grid-tn {
    grid-template-columns: 1fr;
  }


  #nguyen-vong-tn .button-field-tn label {
    display: none;
  }


  #nguyen-vong-tn .result-info-grid-tn {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }

}


@media (max-width: 520px) {

  #nguyen-vong-tn {
    margin-top: 10px;
  }


  #nguyen-vong-tn .hero-tn {
    padding: 19px 17px;

    border-radius: 14px;
  }


  #nguyen-vong-tn .hero-content-tn h2 {
    font-size: 21px;
  }


  #nguyen-vong-tn .section-head-tn {
    align-items: flex-start;

    flex-direction: column;
  }


  #nguyen-vong-tn .result-main-tn {
    grid-template-columns: 1fr;
  }


  #nguyen-vong-tn .chance-box-tn {
    align-items: flex-start;

    min-height: auto;
  }


  #nguyen-vong-tn .result-info-grid-tn {
    grid-template-columns: 1fr;
  }


  #nguyen-vong-tn .result-info-tn {
    border-right: 0;

    border-bottom:
      1px solid #eaecf0;
  }

}

#nguyen-vong-tn .chance-neutral-tn {
  color: #667085;
  background: #f2f4f7;
}

#nguyen-vong-tn .result-note-tn {
  padding: 9px 12px 11px;
  border-top: 1px solid #eaecf0;
  color: #667085;
  background: #fcfcfd;
  font-size: 10px;
  line-height: 1.55;
}

