@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --color-primary: #611378;
    --color-primary-hover: rgb(70, 33, 255);
    --color-primary-alt: rgb(94, 64, 240);
    --color-link: rgba(85, 86, 253, 1);
    --color-bg-light: rgba(249, 231, 243, 1);
    --color-border: rgba(237, 237, 237, 1);
    --color-border-dashed: #ccc;
    --color-text-dark: #333;
    --color-text-mid: #444;
    --color-text-muted: #777;
    --color-text-light: rgba(75, 75, 75, 1);
    --color-btn-bg: rgba(196, 196, 196, 1);
    --color-btn-text: #fff;
    --color-dot-inactive: #ffffff;
    --color-dot-active: rgba(17, 17, 17, 1);
    --color-overlay: #888;
    --color-white: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "IBM Plex Sans", sans-serif;
}

body {
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(245, 240, 255, 1);
    position: relative;
}

.bgpositionTop {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 550px;
    /* aspect-ratio: 16/5;
    height: 400px;
    background: url("/assets/img/techsimpl_login/ts-bg-top.png") center/cover
        no-repeat; */
    z-index: -1;
}

.bgpositionBottom {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 500px;
    /* width: 100%; */
    /* aspect-ratio: 16/5; */
    /* background: url("/assets/img/techsimpl_login/ts-bg-bottom.png") center/cover */
    /* no-repeat; */
    z-index: -1;
}

.bgpositionTopRight {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 370px;
    aspect-ratio: 16 / 5;
    height: 370px;
    background: url("/assets/img/techsimpl_login/ts-bg-line.png") center/cover
        no-repeat;
    z-index: -1;
    display: none;
}

.bgpositionBottomMobile {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    aspect-ratio: 16/5;
    background: url("/assets/img/techsimpl_login/ts-mobile-bg-bottom.png")
        center/cover no-repeat;
    z-index: -1;
    display: none;
}

.login-container {
    display: flex;
    align-items: center;
    width: 95%;
    height: 90vh;
    overflow: hidden;
}

/* Left section */
.left-section {
    padding: 20px;
    width: 80%;
}

.logo-box {
    text-align: center;
    margin: 30px;
}

.logo-box img {
    width: 200px;
    margin: 0 auto 10px;
}

.logoWhite {
    display: none;
}

.signin-box,
.forgetPass-box,
.changePass-box {
    /* background: white; */
    padding: 30px 20px;
    border-radius: 20px;
}

.signin-box h3 {
    font-size: 38px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-text-dark);
}

.signin-box p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 6px;
    color: rgba(75, 75, 75, 1);
}

.form-group input {
    width: 100%;
    padding: 15px 40px;
    border-radius: 8px !important;
    border: none;
    font-size: 14px;
    height: 46px;
}

.input-icon {
    position: absolute;
    z-index: 10;
    top: 12px;
    left: 15px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important; /* your color */
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000 !important; /* text color */
}

.form-group input:focus {
    outline: none;
    box-shadow: unset;
}

.form-group .input-group-text {
    background-color: rgba(250, 250, 250, 1);
    border: 1px solid var(--color-border);
}

.input-group {
    border: 1px solid var(--color-border);
    border-radius: 8px !important;
    background: var(--color-border);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-dark);
}

.form-options a {
    text-decoration: none;
    color: var(-color-link);
    font-weight: 400;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: black;
    color: var(--color-btn-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
    background: rgb(0, 0, 0);
    color: white;
}

.btn:focus{
    box-shadow: unset !important;
}

.btn-google {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-google:hover {
    border: 1px solid var(--color-primary);
}

.btn-google img {
    width: 20px;
}

/* Right section */
.right-section {
    /* background: var(--color-bg-light); */
    background: linear-gradient(0deg, #4b1a90 0%, #020b2a 100%);
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* text-align: center; */
    border-radius: 72px;
    width: 618px;
    /* height: 864px; */
    position: relative;
}
.positionBgTopRight {
    position: absolute;
    top: 0px;
    right: 0px;
}
.positionBgTopRight img {
    border-radius: 72px;
}

.positionBgBottomRight {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.tsCardBg {
    position: relative;
}

.tsCardContent {
    position: absolute;
    top: 60px;
    left: 50px;
    width: 85%;
}

.tsCardContent_sub {
    font-size: 16px !important;
}

.tsCardBg .tsCardBgImg {
    height: 260px;
}

.right-section h2 {
    font-family: IBM Plex Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 32px;
    letter-spacing: 0%;
}

.right-section p {
    font-family: IBM Plex Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 1);
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .left-section,
    .right-section {
        flex: none;
        width: 100%;
    }
    .body {
        background: linear-gradient(0deg, #4b1a90 0%, #020b2a 100%) !important;
    }
}

/* //slider */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 0 auto;
}

.slider {
    display: flex;
    flex-direction: column; /* vertical stacking */
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.dots {
    text-align: center;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: var(--color-dot-inactive);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dots .active {
    background: var(--color-dot-active);
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(75, 75, 75, 1);
}

.divider::before,
.divider::after {
      content: "";
  flex: 1;
  height: 2px;
  margin: 40px 0;
    background: repeating-linear-gradient(
        to right,
        var(--color-border-dashed) 0,
        var(--color-border-dashed) 6px,
        transparent 6px,
        transparent 12px
    );
}

.divider::before {
  /* fade effect */
  mask-image: linear-gradient(to right, transparent, black 50%, black 100%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 50%, black 100%, transparent);
}


.divider::after {
  /* fade effect */
  mask-image: linear-gradient(to right, transparent, black 0%, black 50%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 0%, black 50%, transparent);
}


.divider span {
  padding: 0 1em;
}

.right_sec_content {
    margin: 60px 0px;
    position: relative;
}

.newTechSimpl_box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    border-radius: 5px;
    padding: 40px;
}

.newTechSimpl_btn {
    width: 285px;
    height: 40px;
    color: var(--color-white);
    background-color: var(--color-primary-alt);
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    transition-duration: 0.5s;
}

.newTechSimpl_btn:hover {
    background-color: var(--color-primary-hover);
}

.newTechSimpl_content {
    width: 600px;
    flex-direction: column;
    align-items: start;
    gap: 100px;
    color: var(--color-white);
    border-radius: 5px;
}

.newTechSimpl_content span {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-weight: 500;
    cursor: pointer;
}

.newTechSimpl_login {
    width: 760px;
    height: 90vh;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--color-white);
    border-radius: 5px;
}

@media (max-width: 1000px) {
    .bgpositionTop,
    .bgpositionBottom {
        display: none;
    }
    .newTechSimpl_box {
        padding: 0px;
    }
    .newTechSimpl_content {
        display: none;
    }
    .newTechSimpl_login {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    .logo-box{
        margin: 20px 30px;
    }
    .newTechSimpl_message {
        width: 280px;
    }
    body {
        background: linear-gradient(0deg, #4b1a90 0%, #020b2a 100%) !important;
    }
    .logoDark {
        display: none;
    }
    .logoWhite {
        display: block;
    }
    .bgpositionTopRight {
        display: block;
    }
    .bgpositionBottomMobile {
        display: block;
    }
    .signin-box,
    .forgetPass-box,
    .changePass-box {
        background-color: white !important;
    }
}

.toggle-password-section {
    position: relative;
}
.cs-toggle-password {
    cursor: pointer;
    position: absolute;
    z-index: 10;
    top: 12px;
    right: 15px;
    color: rgba(110, 110, 110, 1);
}

.cs-toggle-password img{
    opacity: 0.5;
}

.forgetPass-box .title,
.changePass-box .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-dark);
}
.forgetPass-box .boxcontent,
.changePass-box .boxcontent {
    width: 75%;
    margin: 0 auto;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}
.backtologin_btn {
    text-align: center;
    margin: 10px 0px;
}
.backtologin_btn a {
    text-decoration: none;
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 14px;
}

.ts_users {
    display: flex;
    margin-top: 25px;
    justify-content: end;
    margin-right: 30px;
}

.ts_user {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    margin-left: -10px;
    object-fit: cover;
}

.ts_user:first-child {
    margin-left: 0;
}

@media screen and (max-width: 390px) {
    .signin-box h3{
        font-size: 28px;
    }
    .logo-box img{
        width: unset;
    }
    .divider::before, .divider::after{
        margin: 20px 0 !important;
    }

}

@media screen and (max-width: 1280px) {
  .logo-ts img{
    width: 140px;
  }
  .tsCardBg .tsCardBgImg{
    height: 240px;
  }
  .tsCardContent{
    top: 40px;
  }
  .right_sec_content{
    margin: 40px 0px;
  }
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* Hide default checkbox */
.remember-label input {
  display: none;
}

/* Custom box */
.custom-checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(224, 224, 224, 1);
  border-radius: 4px;
  display: inline-block;
  position: relative;
  background-color: #ffffff;
}

/* Tick mark when checked */
.remember-label input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 5px;
  height: 10px;
  border: solid #611378;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.otp_input_box{
    width: 60%;
}

/* Large screens (laptops) */
@media (max-width: 1200px) {
    .otp_input_box {
        width: 70%;
    }
}

@media (max-width: 1280px) {
    .otp_input_box {
        width: 100%;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .otp_input_box {
        width: 80%;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .otp_input_box {
        width: 80%;
    }
}

/* Small mobiles */
@media (max-width: 480px) {
    .otp_input_box {
        width: 100%;
    }
}

.form-control:disabled, .form-control[readonly]{
    background-color: rgba(238, 238, 238, 1) !important;
}