/* rje ultra-clean Freepik-style auth page */
/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
scrollbar-color: rgb(185, 202, 211) rgb(247, 249, 249);
  overflow-y: scroll;
  overscroll-behavior-y: none;
}

html, body {

  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--main_page_background);
  font-size: 15px;
  color-scheme: light;
}

.rje-body {

  min-height: 100vh;
}

.rje-layout {

  height: 100%;
  display: flex;
  align-items: stretch;
  flex-direction: column; 
}

.rje-footer-layout {

  margin-bottom: 0px; 
  align-items: stretch;
  background-color: rgba(0, 0, 0, 0.00);
  border: 0 solid black;
  box-sizing: border-box;
  display: flex;
  flex-basis: auto;
  flex-direction: column;
  flex-shrink: 0;
  list-style: none;
  margin: 0px;
  min-height: 0px;
  min-width: 0px;
  padding: 0px;
  position: relative;
  text-decoration: none;
  z-index: 0;
  transition-duration: 100ms;
  transition-property: margin-bottom;
}

.rje-footer-layout nav {

  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  padding: 16px;
  align-items: stretch;
  background-color: rgba(0, 0, 0, 0.00);
  border: 0 solid black;
  box-sizing: border-box;
  display: flex;
  flex-basis: auto;
  /*flex-direction: column;*/
  flex-shrink: 0;
  list-style: none;
  margin: 0px;
  min-height: 0px;
  min-width: 0px;
  position: relative;
  text-decoration: none;
  z-index: 0;
}

.rje-footer-layout .rje-footer-item {

  align-self: center;
  align-items: center;
  flex-direction: row;
  padding-right: 8px;
  padding-left: 8px;
  margin-bottom: 4px;
  margin-top: 4px;    
  align-items: stretch;
  background-color: rgba(0, 0, 0, 0.00);
  color: var(--footer_link_color);
  border: 0 solid black;
  box-sizing: border-box;
  display: flex;
  flex-basis: auto;
  flex-direction: column;
  flex-shrink: 0;
  list-style: none;
  min-height: 0px;
  min-width: 0px;
  position: relative;
  text-decoration: none;
  z-index: 0;
}

.rje-footer-item a, .rje-footer-item span {

  color: var(--footer_link_color);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  list-style: none;
  margin: 0px;
  padding: 0px;
  position: relative;
}

.rje-footer-item a:hover {

  color: var(--footer_hover_color);
  text-decoration: underline;
}

.rje-footer-layout .rje-footer-divider {

  line-height: 20px;
  color: rgb(130, 154, 171);
  font-size: 15px;
  margin-bottom: 4px;
  margin-top: 4px;
  /*padding-left: 4px;*/
}


.rje-auth {

  display: flex;
  flex: 1 1 auto;
  min-height: auto;
  align-items: stretch;
}

.rje-auth__left {

  flex: 1;
  display: none;

  background: var(--left_panel_background);
}

.rje-illustration {

  height: 100%;
  width: 100%;
  /*background: url("https://mkt.cdnpk.net/web-app/media/freepik-5-2000.webp");*/
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: #ffffff;
}

.rje-illustration__content {

  height: 325px;
  width: 325px;
  background: var(--main_page_logo);
  background-size: cover;
}

.rje-illustration__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.rje-illustration__text {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
}

.rje-auth__right {

  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 24px;
  background: var(--right_panel_background);
}

/* Card */

.rje-card {

  
  /*background: #ffffff;*/
  border-radius: 16px;
  padding: 40px 32px;
  /*box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);*/
  max-width: 680px;

  flex: 1 1 auto;
  min-height: auto;
  align-items: stretch;
  align-content: center;
}

.rje-card .rje-logo-container {
  display: none;
  justify-content: center;
  padding-bottom: 25px;
}

.rje-logo-container .rje-logo {
  height: 256px;
  width: 256px;
  background: var(--main_page_logo);
  background-size: cover;
}

.rje-card .rje-card-container {

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rje-card .rje-card-inner {

  width: 100%;
  max-width: 420px;
}

.rje-header {
  
  font-size: 64px;
  font-weight: 700;
  color: var(--title_color);
  margin-bottom: 32px;
}

.rje-title {

  font-size: 24px;
  font-weight: 400;
  margin-bottom: 36px;
  color: var(--title_color);
}

/* Social buttons */

.icon-google {
    background-image: url("img/ic_google_login.png");
    background-size: cover;
    width: 24px;
    height: 24px;
    position: absolute;
    font-size: 24px;
    top: 7px;
    left: 7px;
}

.icon-phone {
    background-image: url("img/ic_phone_login.png");
    background-size: cover;
    width: 24px;
    height: 24px;
    position: absolute;
    font-size: 24px;
    top: 7px;
    left: 7px;
}

.rje-social {

  position: relative;
  width: 100%;
  border: var(--social_button_border_color);
  background: var(--social_button_background);
  color: var(--social_button_color);
  font-weight: 400 !important;
  cursor: pointer;
  margin-bottom: 12px;
}

.rje-social:hover {

  background: var(--social_button_hover_background);
  color: var(--social_button_hover_color);
  border: var(--social_button_hover_border_color);
}


.rje-divider {

  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: var(--divider_color);
  font-size: 14px;
}

.rje-divider::before,
.rje-divider::after {
  content: "";
  flex: 1;
  border-bottom: var(--divider_border);
}

.rje-divider span {
  padding: 0 12px;
}

/* Form */
.rje-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rje-field {
  display: flex;
  flex-direction: column;
}

.rje-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--label_color);
}

.rje-input {

  height: var(--input_height);
  border-radius: var(--input_border_radius);
  border: var(--input_border_color);
  background: var(--input_background);
  padding: 0 14px;
  font-size: 15px;
  transition: border 0.2s, box-shadow 0.2s;
}

.rje-input:focus {

  outline: none;
  border-color: var(--input_focus_border_color);
  /*box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);*/
}

.rje-row {
  display: flex;
  justify-content: flex-end;
}

.rje-link {

  font-size: 14px;
  color: var(--link_color);
  text-decoration: none;
}

.rje-link:hover {

  color: var(--link_hover_color);
  text-decoration: underline;
}

.rje-link--strong {

  font-weight: 600;
}

/* Primary button */

.rje-btn {

  height: var(--button_height);
  border-radius: var(--button_border_radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  /*transition: transform 0.15s ease, box-shadow 0.15s ease;*/
  transition-duration: 0.2s;
}

.rje-btn--primary {

  background: var(--primary_button_background);
  color: var(--primary_button_color);
  border: var(--primary_button_border_color);
}

.rje-btn--primary:hover {

  background: var(--primary_button_hover_background);
  color: var(--primary_button_hover_color);
  border: var(--primary_button_hover_border_color);
  /*transform: translateY(-1px);*/
  /*box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);*/
}

.rje-btn--secondary {

  background: var(--secondary_button_background);
  color: var(--secondary_button_color);
  border: var(--secondary_button_border_color);
}

.rje-btn--secondary:hover {

  background: var(--secondary_button_hover_background);
  border: var(--secondary_button_hover_border_color);
  color: var(--secondary_button_hover_color);
  /*transform: translateY(-1px);*/
  /*box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);*/
}



.rje-footer {

  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--form_footer_color);
}


@media (min-width: 992px) {

  .rje-auth__left {

    display: block;
  }

  .rje-auth__right {

    flex: 0 0 50%;

    
  }

  .rje-auth__left {

    flex: 0 0 50%;
  }

}

@media (max-width: 1300px) {

  .rje-auth__right {
 
    justify-content: center;
    padding: 24px;
  }

}

@media (max-width: 960px) {

  .rje-card .rje-logo-container {
    display: flex;
  }
}

@media (max-width: 768px) {

  .rje-card {
    max-width: 420px;
  }

  .rje-card .rje-card-container {

    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {

  .rje-card {

    padding: 28px 20px;
    border-radius: 14px;
    max-width: 420px;
  }

  .rje-title {

    font-size: 20px;
  }

  .rje-header {
  
    font-size: 42px;
  }

}
