/* ===== WRAPPER ===== */
.tui_enterprise_auth_section {
  z-index: 20;
  width: 100%;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 2px 4px 0px #00000033;
  overflow: hidden;
  position: relative;
  margin-top: -60px !important;
}

.forgotPwd .tui_enterprise_auth_section,
.resetPwd .tui_enterprise_auth_section,
.reactivate .tui_enterprise_auth_section {
        width: 50%;
        margin: 0 auto;
    }

.forgotPwd .tui_enterprise_help_text{
    margin: 0;
        }

.forgotPwd .tui_enterprise_help_text + p{
    margin-bottom: 1rem;
        } 

.tui_enterprise_auth_wrapper,
.tui_enterprise_left_wrapper {
  display: flex;
}

/* ===== LEFT SECTION ===== */
.tui_enterprise_left_section {
  flex: 2;
  padding: 24px;
}

/* ===== SIGN IN BLOCK ===== */
.tui_enterprise_signin {
  flex: 1;
  background: #ffffff;
}

/* ===== TITLES ===== */
.tui_enterprise_title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

/* ===== FORM ===== */
.tui_form_group {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.tui_form_group label {
  font-size: 14px;
    line-height; 22px;
    font-weight: 600;
  margin-bottom: 4px;
  color : #000000DE;
}

.tui_form_group label span {
  color: #DA1E28;
}

/* ===== INPUT STYLE ===== */
.tui__primary_input textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== ERROR STATE ===== */
.tui_form_group.error input,
.tui_form_group.error textarea {
  border-color: #DA1E28;
}

.errormsg {
  font-size: 14px;
        line-height: 22px;
  color: #DA1E28;
  margin-top: 4px;
}

/* ===== FORM ACTIONS ===== */
.tui_form_actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== BUTTONS ===== */
.tui_btn_primary {
  background: #0071bc;
  color: #fff;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

.tui_link {
  font-size: 14px;
    line-height: 22px;
  color: #0071bc;
  text-decoration: none;
}

/* ===== OR DIVIDER ===== */
.tui_enterprise_or {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  font-size: 18px;
  font-weight: 600;
  color: #9ca3af;
  position: relative;
}

.tui_enterprise_or span {
  background: #fff;
  z-index: 1;
  padding: 0 8px;
}

.tui_enterprise_or::before,
.tui_enterprise_or::after {
  content: "";
  width: 1px;
  height: 40%;
  background: #e5e7eb;
  position: absolute;
}

.tui_enterprise_or::before {
  top: 10%;
}

.tui_enterprise_or::after {
  bottom: 10%;
}

/* ===== SSO ===== */
.tui_enterprise_wbg_btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #00538A 0%, #0071BC 100%);
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  margin-bottom: 16px;
    padding: 12px 24px;
}

.tui_enterprise_wbg_btn:hover,
.tui_enterprise_wbg_btn:focus{
    color: #fff;
            text-decoration: none;
        }

.tui_enterprise_help_text {
  font-size: 16px;
   line-height: 28px;
  color: var(--title-p-color, #000000DE);
  margin-bottom: 16px;
}

.tui_enterprise_terms {
 font-size: 14px;
 line-height: 22px;
}

.tui_enterprise_terms a {
  color: #0071bc;
  text-decoration: none;
}

/* ===== SIGNUP PANEL (RIGHT) ===== */
.tui_enterprise_signup {
  background: #e9f7fd;
  padding: 24px;
  width: 300px;
  min-width: 300px;
}

.tui_enterprise_signup h4 {
  font-size: 20px;
  line-height: 28px
  margin-bottom: 12px;
}

.tui_enterprise_signup_text {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 16px;
}

.tui_enterprise_signup_btn {
  border-radius: 4px;
}

/* ===== SIGNUP FORM ===== */
.tui_signup_container {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  width: 100%;
}

.tui_signup_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.tui_signup_grid .tui_form_group{
    margin-bottom: 1rem;
        }

.tui_signup_grid .full {
  grid-column: span 2;
}

/* ===== ALERT ERROR ===== */
.tui_alert_error {
   padding: 8px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    border: 1px solid #DA1E28;
    background: #FFF0F0;

    color: #BA1B23;
}

.tui_alert_error span{
      display: flex;
    font-size: 14px;
    line-height: 20px;
    align-items: center;
}

.tui_alert_close {
background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #00000099;
    font-weight: 600;
}

/* ===== CHECKBOX ===== */
.tui_checkbox {
  display: flex;
    align-itens: center;
  margin: 16px 0;
  font-size: 14px;
}

/* ===== SUCCESS BOX ===== */
.tui_success_box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px;
  padding: 20px;
  border-radius: 6px;
  width: 100%;
}

.tui_success_box.info {
  background: var(--Light-Blue-Background, #E9F7FD);
  border: 1px solid #D8E7F5;
}

.tui_success_box.success {
  border: 1px solid #D5EAC5;
  background: #F2FFE9;
;
}

.lp-envelope::before {
  color: #0071bc;
}

.lp-check-circle::before {
  color: #388004;
}

/* ===== ICONS ===== */
.tui_icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--Border-Light, #E5E5E5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px; 
    background: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .tui_enterprise_auth_wrapper,
  .tui_enterprise_left_wrapper {
    flex-direction: column;
  }
  .tui_enterprise_signup {
    width: 100%;
    min-width: auto;
  }
  .tui_enterprise_or {
    margin: 16px 0;
  }
  .tui_enterprise_or::before,
  .tui_enterprise_or::after {
    width: 40%;
    height: 1px;
    top: 50%;
  }
  .tui_enterprise_or::before {
    left: 5%;
  }
  .tui_enterprise_or::after {
    right: 5%;
  }
  .tui_signup_grid {
    grid-template-columns: 1fr;
  }
  .tui_signup_grid .full {
    grid-column: span 1;  
  }
}
.tui_link input[type=checkbox],
.tui_checkbox input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  position: relative;
  top: 4px;
}

.tui_signup_grid label {  
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
}

label.tui_checkbox {
  font-weight: 400;
  font-size: 1rem;
  line-height: 28px;
}

.tui_enterprise_auth_section.top_level_banner {
  top: -100px; 
}

.tui_btn_primary{
        font-size: 14px !important;
    }   

div#reactivateFormArea{
    padding: 0;
}

#wbg_error_not_exists {
    font-size: 14px;
    color: #DA1E28;
    margin-top: 0;
    margin-bottom: 8px;
}


.tui_enterprise_auth_section .tui__primary_input input[type=password],
.tui_enterprise_auth_section .tui__primary_input input[type=text],
.tui_enterprise_auth_section .tui__primary_input input[type=search], 
.tui_enterprise_auth_section .tui__primary_input input[type=email]{
            padding: 0.5rem;
        }

.tui_full_row_blue {
    height: 320px;
}

.tui__primary_input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: border .2s ease;
}

label.tui_checkbox.tui_checkbox_newsletter{
    margin-top: 0;
}

.tui__enterprise_data_banner .cmp-teaser__image{
            overflow: inherit;
        }

span.scf-signup-text {
    border-top: 1px solid var(--Border-Light, #E5E5E5);
    margin-top: 20px;
    padding-top: 1rem;
    display: block;
    font-size: 14px;
    line-height: 22px;
}

.tui_signup_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    grid-template-areas:
        "fname password" 
        "lname cpassword"
        "email summary"
        "affiliation summary"
        "country summary";
}

/* Grid area mapping (apply these IDs to .tui_form_group wrappers) */
#fnameGroup { grid-area: fname; }
#lnameGroup { grid-area: lname; }
#emailGroup { grid-area: email; }
#passwordGroup { grid-area: password; }
#cpasswordGroup { grid-area: cpassword; }
#affiliationGroup { grid-area: affiliation; }
#countryGroup { grid-area: country; }
#summaryGroup { grid-area: summary; }

/* Make summary textarea fill height nicely */
#summaryGroup textarea {
    width: 100%;
    height: 100%;
    min-height: 140px;
}

/* Responsive (mobile) */
@media (max-width: 768px) {
    .tui_signup_grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "fname"
            "lname"
            "email"
            "password"
            "cpassword"
            "affiliation"
            "country"
            "summary";
    }
}

.full-row-white-components.tui_enterprise_auth_container{
            z-index: 9;
        }

select#country {
    font-size: .875rem;
    line-height: 1.375rem;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.24);
    padding: .5rem .5rem;
    width: 100%;
    background: transparent;
    color: rgba(0, 0, 0, 0.87);
    border-radius: 3px;  
    box-shadow: none;
}
label.tui_checkbox b {
    color: #DA1E28;
}
