/**
 * Auth / registration split layout — scoped to legacy markup used by register.php & registerEmployee.php.
 * Loaded after new_design bootstrap + style.css.
 */

.middle_wraper {
  width: 100%;
  float: left;
  padding: 40px 16px 60px;
  box-sizing: border-box;
}

.middle_bg {
  width: 100%;
  float: left;
}

.login_bx {
  max-width: 1100px;
  margin: 0 auto;
  float: none;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(14, 18, 24, 0.12);
}

.login_bx .container_user,
.login_bx .main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.login_bx > .container_user > .main > .row {
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Left panel — brand gradient only (no legacy JPG watermark bleeding through) */
.login_bx .left-side {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  float: none;
  width: 100%;
  min-height: 420px;
  padding: 54px 38px 56px !important;
  background: #fbf3ef !important;
  background-image: none !important;
  background-size: auto !important;
  color: #111;
  display: flex;
  flex-direction: column;
}

/* Old theme used ::after as full-bleed overlay — disable to avoid stacking/z-index bugs */
.login_bx .left-side::after {
  display: none !important;
  content: none !important;
}

/* Premium decorative shapes (example-like left panel) */
.login_bx .left-side::before{
  content:"";
  position:absolute;
  inset:-140px -160px auto auto;
  width: 520px;
  height: 520px;
  z-index: 1;
  background:
    radial-gradient(closest-side, rgba(98,25,78,0.16) 0%, rgba(98,25,78,0) 70%),
    radial-gradient(closest-side, rgba(255,140,0,0.18) 0%, rgba(255,140,0,0) 65%);
  transform: rotate(12deg);
  pointer-events:none;
}
.login_bx .left-side::after{
  content:"";
  position:absolute;
  inset:auto auto -120px -160px;
  width: 520px;
  height: 520px;
  z-index: 1;
  background: radial-gradient(closest-side, rgba(98,25,78,0.12) 0%, rgba(98,25,78,0) 68%);
  pointer-events:none;
}

.login_bx .logo_login {
  position: relative;
  z-index: 2;
  text-align: left;
}

.login_bx .logo_login img {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.login_bx .text_login {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 20px 0 0;
}

.login_bx .text_login h2 {
  color: #2a0b20 !important;
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px;
  text-transform: none;
}

.login_bx .text_login p{
  margin: 0 0 14px;
  color: rgba(42, 11, 32, 0.72);
  font-weight: 500;
  line-height: 1.55;
  max-width: 34ch;
}

.login_bx .text_login ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login_bx .text_login ul li {
  display: block;
  width: 100%;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.5;
}

.login_bx .text_login ul li span img {
  width: 32px;
  height: auto;
  vertical-align: middle;
}

.login_bx .login_social_icon {
  margin-top: auto;
  padding-top: 28px;
  position: relative;
  z-index: 2;
}

.login_bx .login_social_icon span {
  color: rgba(42, 11, 32, 0.65);
  font-weight: 600;
}

.km-auth-illustration{
  position: relative;
  z-index: 2;
  margin-top: 26px;
  width: 100%;
  min-height: 240px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.km-auth-illustration .km-blob{
  width: 240px;
  height: 240px;
  border-radius: 44% 56% 50% 50% / 46% 48% 52% 54%;
  background: radial-gradient(circle at 30% 30%, rgba(98,25,78,0.18), rgba(98,25,78,0) 60%),
              radial-gradient(circle at 70% 40%, rgba(255,140,0,0.18), rgba(255,140,0,0) 62%),
              linear-gradient(145deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
  border: 1px solid rgba(98,25,78,0.12);
  box-shadow: 0 18px 42px rgba(14,18,24,0.10);
}
.km-auth-illustration .km-mini-card{
  position:absolute;
  left: 8px;
  top: 18px;
  width: 190px;
  border-radius: 14px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(98,25,78,0.12);
  padding: 12px 12px;
  box-shadow: 0 14px 34px rgba(14,18,24,0.10);
}
.km-auth-illustration .km-mini-card .t{
  font-size: 11px;
  font-weight: 700;
  color: rgba(42,11,32,0.85);
  margin-bottom: 6px;
}
.km-auth-illustration .km-mini-card .s{
  font-size: 11px;
  color: rgba(42,11,32,0.65);
  display:flex;
  justify-content:space-between;
  margin: 4px 0;
}
.km-auth-illustration .km-mini-card .bar{
  height: 8px;
  border-radius: 99px;
  background: rgba(98,25,78,0.10);
  overflow:hidden;
}
.km-auth-illustration .km-mini-card .bar > i{
  display:block;
  height: 100%;
  width: 62%;
  background: linear-gradient(90deg, rgba(98,25,78,0.65), rgba(98,25,78,0.18));
}

.km-auth-follow{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}
.km-auth-follow a{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  text-decoration:none;
  color: rgba(42,11,32,0.72);
  font-weight: 600;
  font-size: 13px;
}
.km-auth-follow a img{
  width: 16px;
  height: 16px;
}

/* Right panel — solid surface above any stray backgrounds */
.login_bx .right-side {
  position: relative;
  z-index: 3;
  float: none;
  width: 100%;
  min-height: 0;
  padding: 24px 28px 40px !important;
  background: #f9f9fb !important;
  background-size: auto !important;
}

/* Fix extra blank space on some pages (overrides inline 150vh) */
.login_bx .left-side{
  height: auto !important;
}

.login_bx .right-side h2 {
  padding: 12px 0 16px !important;
  margin: 0;
  font-size: 26px !important;
  font-weight: 700;
  color: #111 !important;
  text-transform: none;
  letter-spacing: -0.3px;
}

.login_bx .form {
  padding: 0 !important;
}

.login_bx .form-group label {
  color: #333;
  font-weight: 600;
  font-size: 13px;
}

.login_bx .form-group{
  position: relative;
}

.login_bx .form_icon{
  position: absolute;
  z-index: 2;
}

/* Ensure tabbed forms also position icons correctly */
.login_bx .sign_up #tabs .form_icon{
  position: absolute;
  z-index: 2;
}

.login_bx .form-control {
	border-radius: 8px !important;
	border: 1px solid rgba(140, 133, 148, 0.35) !important;
	min-height: 44px;
	font-size: 14px;
	background: #fff !important;
	color: #1e1e1e !important;
	width: 100% !important;
}
.pading_rightbxcol {
	padding-right: 0;
}
.login_bx input#password-field.form-control,
.login_bx input#cpassword-field.form-control{
  padding-right: 46px !important;
}

.login_bx textarea.form-control {
  min-height: 100px;
}

/* Tabs */
.sign_uptab {
  width: 100%;
  float: none;
  padding: 0;
}

.sign_up #tabs .nav-tabs {
  border: none !important;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.sign_up #tabs .nav-tabs .nav-link {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
  width: auto !important;
  padding: 10px 8px 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #6b6b6b !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 3px solid #e4e4e4 !important;
  border-radius: 0 !important;
  cursor: default;
}

.sign_up #tabs .nav-tabs .nav-link.active {
  color: #62194e !important;
  border-bottom-color: #62194e !important;
}

.tab_contentform {
  width: 100%;
  float: none;
  padding: 16px 0 0;
}

.tab_contentform label {
  font-family: inherit;
}

/* Buttons — anchors used as CTAs */
.login_bx .loginbutton,
.login_bx a.loginbutton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  background: #62194e !important;
  border: 1px solid #62194e !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  margin: 16px 8px 8px 0 !important;
  float: none !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(98, 25, 78, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.login_bx .loginbutton:hover,
.login_bx a.loginbutton:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(98, 25, 78, 0.28);
  color: #fff !important;
}

.login_bx .loginbutton span,
.login_bx a.loginbutton span {
  background: transparent !important;
  padding: 0 !important;
}

.login_bx .loginbutton span img,
.login_bx a.loginbutton span img {
  width: 18px;
  height: auto;
}

.login_bx .previousbutton,
.login_bx a.previousbutton {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #62194e !important;
  background: #fff !important;
  border: 1px solid rgba(98, 25, 78, 0.35) !important;
  border-radius: 999px !important;
  padding: 10px 18px !important;
  margin: 16px 8px 8px 0 !important;
  text-decoration: none !important;
  font-weight: 600;
  cursor: pointer;
}

.loginbuttonsignup {
  text-align: left;
  clear: both;
}

.alreadyaccount,
.alreadyaccount_ipad,
.alreadyaccount_mobile {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
}

.alreadyaccount a,
.alreadyaccount_ipad a,
.alreadyaccount_mobile a {
  color: #62194e;
  font-weight: 600;
}

/* Password eye icon */
.login_bx .form_icon.pwsicon {
  right: 14px;
  top: 50px;
  transform: translateY(-50%);
  opacity: 0.85;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
}
.login_bx .form_icon.pwsicon .toggle-password{
  cursor: pointer;
}

/* reCAPTCHA box polish + responsive scaling */
.login_bx .g-recaptcha{
  margin-top: 10px;
}
@media (max-width: 420px){
  .login_bx .g-recaptcha{
    transform: scale(0.92);
    transform-origin: 0 0;
  }
}

@media (min-width: 768px) {
  .login_bx > .container_user > .main > .row {
    flex-wrap: nowrap;
  }

  .login_bx .left-side {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
    min-height: 100%;
  }

  .login_bx .right-side {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
    padding: 32px 40px 48px !important;
  }
}

@media (max-width: 767px) {
  .login_bx .right-side h2 {
    font-size: 22px !important;
  }

  .sign_up #tabs .nav-tabs .nav-link {
    font-size: 13px !important;
  }
}
