.newsletter-section,
.breadcrumb-title {
  display: none;
}

#registeration-button.disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* main content */
.registration-page {
  flex: 1;
  min-height: calc(100dvh - 108px);
  transition: height 0.4s ease;
}

.registration-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 100px 0px 150px;
  transition: paddin 0.4s ease;
}

.registration-inner {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.registration-inner .h2 {
  text-align: center;
}
/* form */
.registration-form label {
  color: var(--neutral600);
}
.registration-form {
  display: flex;
  flex-direction: column;
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 20px;
}
.registration-form .name-surname,
.registration-form .email-tel,
.registration-form .company-div .company-name-code,
.registration-form .company-div .pvm-country,
.registration-form .company-div .city-address {
  display: flex;
  width: 100%;
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 20px;
}
.registration-form .company-div,
.registration-form .password-confirm-password {
  display: flex;
  flex-direction: column;
  -moz-column-gap: 24px;
       column-gap: 24px;
  row-gap: 20px;
}
.registration-form .name-surname > div,
.registration-form .email-tel > div,
.registration-form .company-div .company-name-code > div,
.registration-form .company-div .pvm-country > div,
.registration-form .company-div .city-address > div,
.registration-form .password-confirm-password > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  position: relative;
}
.registration-form .company-checkbox,
.registration-form .privacy-policy {
  display: flex;
  align-items: center;
  color: var(--black_white950);
}
.registration-form .have-acc {
  color: var(--black_white950);
}
.registration-form .privacy-policy a,
.registration-form .have-acc a {
  color: var(--primary500);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease;
}
.registration-form .privacy-policy a:hover,
.registration-form .have-acc a:hover {
  border-color: var(--primary500);
}
.password-field-wrapper {
  position: relative;
}
.password-field-wrapper input {
  width: 100%;
}
.visibility-pass {
  background: unset;
  width: 24px;
  height: 24px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: unset;
}
.visibility-pass img {
  height: 24px;
  width: 24px;
  position: absolute;
  top: 0;
  left: 0;
}

.registration-form input {
  border: 1px solid var(--neutral200);
  padding: 13px 16px;
  height: 50px;
  width: 100%;
  border-radius: 8px;
  color: var(--neutral600);
  background: var(--black_white50);
  transition: height 0.4s ease, border-color 0.4s ease;
}
.registration-form input:hover {
  border-color: var(--primary500);
}
.registration-form input:focus {
  border-color: var(--primary500);
  outline: none;
  color: var(--black_white950);
}
.registration-form input:not(:placeholder-shown) {
  color: var(--black_white950);
}

/* errors */
.error-name,
.error-surname,
.error-reg_email,
.error-tel,
.error-company_name,
.error-company_code,
.error-company_vat,
.error-billing_country,
.error-city,
.error-address,
.error-reg_password,
.error-reg_confirm_password {
  
  color: var(--secondary600);
}

/* Checkbox */
/* Base container */
.company-checkbox label,
.privacy-policy label {
  height: 21px;
}
.custom-checkbox {
  display: flex;
  align-items: center;
}

/* Hide default checkbox */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkbox box */
.custom-checkbox .checkmark {
  width: 18px;
  height: 18px;
  background-color: var(--black_white50);
  border: 2px solid var(--neutral200);
  border-radius: 3px;
  display: inline-block;
  position: relative;
  margin-right: 8px;
  transition: all 0.4s ease;
}

.custom-checkbox input:checked + .checkmark {
  background: var(--primary500);
  border-color: var(--primary500);
}

/* Checkmark (tick) */
.custom-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 6px;
  height: 11px;
  border: solid var(--black_white50); 
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hover / focus */
.custom-checkbox label:hover .checkmark {
  border-color: var(--primary500);
}

/* Dropdown */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-toggle {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--neutral200);
  border-radius: 8px;
  height: 50px;
  background: var(--black_white50);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: height 0.4s ease, border-color 0.4s ease;
}
.dropdown-toggle:hover {
  border-color: var(--primary500);
}
.custom-dropdown.open .dropdown-toggle {
  border-color: var(--primary500);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 0;    
  overflow-y: hidden; 
  scrollbar-width: thin;
  background: var(--black_white50);
  border: 1px solid var(--primary500);
  border-radius: 8px;
  margin-top: 4px;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.custom-dropdown.open .dropdown-list {
  max-height: 200px;   
  opacity: 1;
  overflow-y: auto;
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
}

.dropdown-item:hover,
.dropdown-item.active {
  background-color: #f0f4ff;
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s ease;
}
.custom-dropdown.open .arrow-icon {
  transform: rotate(180deg);
}

@media (max-width: 1050px) {
  /* main content */
  .registration-page {
    min-height: calc(100dvh - 90px);
  }
}
@media (max-width: 768px) {
  .registration-container {
    padding: 40px 0 100px;
  }
  /* Inputs */
  .registration-form .name-surname,
  .registration-form .email-tel,
  .registration-form .company-div .company-name-code,
  .registration-form .company-div .pvm-country,
  .registration-form .company-div .city-address {
    flex-direction: column;
  }
  .registration-form input {
    height: 45px;
  }
  .dropdown-toggle {
    height: 45px;
  }
  .visibility-pass {
    bottom: 15px;
  }
  /* Checkbox */
  /* Base container */
  .company-checkbox label,
  .privacy-policy label {
    height: 18px;
  }
}