/*--------------------------------------------------------------
# Register Page
--------------------------------------------------------------*/
.registration {
  width: 100%;
  height: 100%;
  background: #0c0d0f;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  /*display: flex;*/
  /*flex-flow: row nowrap;*/
  /*justify-content: center;*/
  /*align-items: center;*/
}

/*.register-section {*/
/*    width: 1280px;*/
/*    !*height: 712px;*!*/
/*    !*height: 3720px;*!*/
/*    display: flex;*/
/*    flex-flow: row nowrap;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

.left-section {
  height: 100%;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
}

.left-section .brand {
  margin-bottom: 24px;
}

.left-section h1 {
  /*font-family: var(--tedlife-font-two);*/
  /*font-size: 48px;*/
  /*line-height: 58px;*/
  /*vertical-align: middle;*/
  /*text-transform: uppercase;*/
  /*font-weight: 600;*/
  /*leading-trim: none;*/
  /*color: white;*/
}

.left-section p {
  /*font-family: var(--tedlife-font);*/
  /*font-size: 16px;*/
  /*line-height: 30px;*/
  /*font-weight: 400;*/
  /*color: #ffffff;*/
}

.right-section {
  /*width: 675px;*/
  /*height: 712px;*/
  /*height: 100%;*/
  /*background: #ffffff;*/
  /*border-radius: 36px;*/
  /*padding: 60px;*/
  /*flex-shrink: 0;*/
}

.right-section h1 {
  font-family: var(--tedlife-font-two);
  font-size: 48px;
  line-height: 58px;
  vertical-align: middle;
  text-transform: uppercase;
  font-weight: 600;
  leading-trim: none;
  color: #121212;
}

.right-section label {
  font-family: var(--tedlife-font);
  font-size: 14px;
  color: #616368;
}

.nationality-select {
  -webkit-appearance: none;
  padding: 10px 20px;
  width: auto;
  border: 1px solid #e8eaed;
  border-radius: 5px;
  background: #fff;
  /*box-shadow: 0 1px 3px -2px #9098a9;*/
  cursor: pointer;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  transition: all 150ms ease;
  display: block;

  height: 58px;
  width: 100%;
  background-color: transparent;
  border: 1px solid rgba(var(--tedlife-gray-rgb), 0.2);
  padding-left: 20px;
  padding-right: 20px;
  outline: none;
  font-size: 14px;
  font-weight: 400;
  color: var(--tedlife-gray);
  display: block;
  border-radius: var(--tedlife-bdr-radius);
  position: relative;
}

.nationality-select-options {
  position: absolute;
  width: 100%;
  height: 200px;
  background: #000;
  z-index: 10000;
  left: 0px;
  top: 58px;
}

.nationality-select :required:invalid {
  color: #5a667f;
}

.nationality-select option {
  color: #223254;
}

.nationality-select option[value=""][disabled] {
  display: none;
}

.nationality-select :focus {
  outline: none;
  border-color: #07f;
  box-shadow: 0 0 0 2px rgba(0, 119, 255, 0.2);
}

.nationality-select :hover {
  border-color: #07f;
}

.contact-page__input-box input[type="text"],
.contact-page__input-box input[type="email"],
.contact-page__input-box .nice-select {
  height: 56px;
}
.contact-page__input-box input::placeholder {
  font-size: 14px !important; /* same as text-[14px] */
  font-weight: 400; /* same as fw-normal */
}
.custom-checkbox {
  position: relative;
  top: 1px;
}

.custom-checkbox:checked {
  background-color: #dfc66f; /* ✅ 选中背景色 */
  border-color: #dfc66f; /* ✅ 边框同步 */
  position: relative;
}

.custom-checkbox:checked::after {
  /*content: "✔"; !* 勾号 *!*/
  color: white; /* 勾号颜色 */
  font-size: 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.select2-container--default .select2-selection--single {
  border-color: rgba(97, 99, 104, 0.2) !important;
  height: 56px !important;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
  padding-left: 10px;
  padding-right: 16px;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 50%;
  margin-top: -14px;
  right: 16px;
}

.select2-search--dropdown {
  display: none !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #84818a transparent transparent transparent;
}

.select2-container {
  /*width: 100% !important;*/
  display: block;
}

.contact-page__input-box .nice-select .list {
  max-height: 200px;
  overflow: auto;
}

.contact-page__input-box .nice-select .list {
  --tedlife-base: #ffffff !important;
  background: #ffffff !important;
}

.contact-page__input-box .nice-select .option {
  color: #000 !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background: #f5f5f5 !important;
  color: #000 !important;
}

#termsAccepted-error {
  position: absolute;
  top: 35px;
}

form .error {
  color: red;
  font-family: "Inter", sans-serif;
  font-size: 12px !important; /* force Bootstrap/Tailwind override */
  font-weight: 400 !important; /* regular */
}

.label-cbx a {
  pointer-events: auto; /* allow clicking links */
  cursor: pointer; /* show link cursor */
}

.label-cbx {
  user-select: none;
  cursor: pointer;
}

.label-cbx input {
  cursor: pointer;
}
.label-cbx input:checked + .checkbox {
  border-color: #dfc66f;
}

.label-cbx input:checked + .checkbox svg path {
  fill: #dfc66f;
}

.label-cbx input:checked + .checkbox svg polyline {
  stroke-dashoffset: 0;
}

.label-cbx:hover .checkbox svg path {
  stroke-dashoffset: 0;
}

.label-cbx .checkbox {
  position: relative;
  top: 2px;
  float: left;
  margin-right: 8px;
  width: 20px;
  height: 20px;
  border: 1px solid #c8ccd4;
  border-radius: 3px;
}

.label-cbx .checkbox svg {
  position: absolute;
  top: -1px;
  left: -1px;
}

.label-cbx .checkbox svg path {
  fill: none;
  stroke: #dfc66f;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 71px;
  stroke-dashoffset: 71px;
  transition: all 0.6s ease;
}

.label-cbx .checkbox svg polyline {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18px;
  stroke-dashoffset: 18px;
  transition: all 0.3s ease;
}

.label-cbx > span {
  pointer-events: none;
  vertical-align: middle;
}

.cntr {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  text-align: center;
}

.invisible {
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  opacity: 0;
}

/* Placeholder shown in the select box */
.nice-select .current {
  color: #9ca3af; /* gray */
  font-size: 14px; /* same as text-[14px] */
  font-weight: 400;
}

/* When user selects an option (not placeholder) */
.nice-select.has-value .current {
  color: #212529; /* black */
  font-size: 14px; /* same as text-[14px] */
}
.error-message {
  font-family: "Inter", sans-serif;
  font-size: 12px; /* same as text-[14px] */
  font-weight: 400; /* regular weight */
  color: red;
  display: none; /* hidden by default */
}
/* (Optional) Apply Inter to all form text */
.contact-page__input-box label,
.contact-page__input-box input,
.contact-page__input-box select,
.contact-page__input-box textarea {
  font-family: "Inter", sans-serif;
}
.error-message,
#email-error,
#mobile-error,
#nationality-error,
#termsAccepted-error {
  font-size: 14px;
  font-weight: 400;
  display: none;
  word-break: break-word; /* prevents overflow */
}
@media (max-width: 1279px) {
  #register-section .fadeInRight {
    height: auto !important;
    min-height: fit-content;
  }
}
/* Container wraps everything */
/* Main wrapper */
.hero-section {
  position: relative !important;
  min-height: 100vh !important; /* full screen height */
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important; /* only hides background overflow, not page scroll */
}

.hero-bg {
  position: absolute !important;
  inset: 0 !important;
  background: url("../../../assets/images/backgrounds/feature-one-bg-mobile.webp")
    no-repeat center center;
  background-size: cover !important;
  z-index: -1;
}

@media (min-width: 768px) {
  .hero-bg {
    background: url("../../../assets/images/backgrounds/feature-one-bg-tablet.webp")
      no-repeat center center;
  }
}

@media (min-width: 1280px) {
  .hero-bg {
    background: url("../../../assets/images/backgrounds/feature-one-bg.webp")
      no-repeat center center;
  }
}
/* Background image */

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Shadow overlay */
  /* background: rgba(0, 0, 0, 0.5); dark overlay */
  /* box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.7); soft shadow edges */
  pointer-events: none; /* allow clicks through */
}

/* Text */
.hero-title {
  font-family: "Teko", sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}
.hero-text {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  max-width: 475px;
  margin: 0 auto;
}

/* Form box */
.hero-form {
  position: relative;
  z-index: 2;
}
.form-title {
  font-family: "Teko", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.custom-cursor__cursor,
.custom-cursor__cursor-two {
  pointer-events: none;
  overflow: hidden; /* here is safe */
}

/* Legal and regulatory document cards */
.legal-documents__title {
  margin: 0;
  color: #141414;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.legal-documents__description {
  margin: 2px 0 10px;
  color: #737373;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.legal-documents__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-document-card {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid #d1d1d1;
  border-radius: 6px;
  background: #fff;
  color: #141414;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.legal-document-card:hover {
  border-color: #d81618;
  background: #fffafa;
  color: #141414;
}

.legal-document-card:focus-visible {
  outline: 2px solid #d81618;
  outline-offset: 2px;
}

.legal-document-card__file-icon {
  flex: 0 0 auto;
  color: #f31f25;
  font-size: 21px;
}

.legal-document-card__label {
  flex: 1 1 auto;
  margin: 0 10px;
  color: #141414;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.legal-document-card__external-icon {
  flex: 0 0 auto;
  color: #252525;
  font-size: 12px;
}

@media (max-width: 1199px) {
  .legal-documents__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .legal-documents__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-document-card__label {
    font-size: 12px;
  }
}
