* {
    margin: 0;
    padding: 0;
}

:root {
    --primary: #0928a8;
    --primary-dark: #1e40af;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --bg-gray: #f9fafb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-gray);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior: none;
}
a{text-decoration: none;}
.text-light-blue{color: #039116;}
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    background: white;
    overflow: hidden;
}
/* Use dynamic viewport when supported (fixes keyboard jump) */
@supports (height: 100dvh){
  .login-container{
    min-height: 100dvh;
    height: 100dvh;
  }
}
@supports not (height: 100dvh){
  .login-container{
    min-height: 100vh;
    height: 100vh;
  }
}

/* Make main container stable and non-scrollable */
.login-container{
  width: 100%;
  overflow: hidden;
}

/* If content becomes taller on small screens, scroll ONLY inside form panel */
.form-panel{
  height: 100%;
  overflow: hidden;
}

/* Allow internal scroll instead of page scroll */
.form-content{
  height: 100%;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom);
}


/* Side Illustration/Branding */
.side-panel {
    flex: 1.6;
    /* background: linear-gradient(92deg, #0928a82b 0%, #ffffff 100%); */
    background: linear-gradient(327deg, #d3e8ff 0%, #ffffff 100%);
    /* background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); */
    /* background-image: url(../image/happy-technician.png); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px;
    color: white;
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: center;
    /* background-color: #eaf4ff; */
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .side-panel {
        display: none;
    }
}

.side-panel h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.side-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Login Form Side */
.form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
}

.form-content {
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 40px;
    display: block;
}
.logo img{width: 100%;
    max-width: 248px;
    min-width: 135px;
    }

.logo p{font-weight: 500; font-size: 0.95rem;}

h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.subtitle {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

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

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

input {
    width: 100%;
    padding: 6px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}
input::placeholder{font-size: 14px; opacity: 0.4;}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.options a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-dark);
}

.footer-text {
    margin-top: 32px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.panel-1-content{
    position: relative;
    /* width: 460px;
    left: 190px; */
}
.panel-1-content p{
    line-height: 1.3;
    font-weight: 400;
    position: relative;
    width: 524px;
    left: -106px;
    /* background: #007af8; */
    /* padding: 10px; */
    border-radius: 12px;
    color: #000000;
    /* box-shadow: 0 2px 5px #66b1fd; */
    /* top: -10px; */
    font-size: 17px;
    font-family: inherit;
}
.panel-1-content .panel-heading{
    color: #0928a8;
    position: relative;
    width: 530px;
    left: -100px;
    top: -9px;
    font-size: 2rem;
}
.panel-1-content .panel-heading b{font-weight:800;}
.panel-1-content .panel-heading-2{
    color: #0928a8;
    position: relative;
    width: 575px;
    left: -80px;
    top: -9px;
    font-size: 2rem;
}
.panel-1-content .panel-heading::before{
    content: "";
    position: absolute;
    background-image: url(../image/stroke.png);
    width: 100%;
    display: inline-block;
    height: 42px;
    background-repeat: no-repeat;
    min-width: 120px;
    max-width: 130px;
    background-size: contain;
    top: 75px;
    left: 150px;
}
.panel-1-content .panel-heading-2::before{
    content: "";
    position: absolute;
    background-image: url(../image/stroke.png);
    width: 100%;
    display: inline-block;
    height: 42px;
    background-repeat: no-repeat;
    min-width: 120px;
    max-width: 130px;
    background-size: contain;
    top: 75px;
    left: 114px;
}
.panel-1-content img{ max-width:770px; width: 100%;}

.login-left-carousel .item{
  height: 100%;
}
.login-left-carousel .owl-stage-outer{
  height: 100%;
}

.login-left-carousel{
  width: 100%;
}

.login-left-carousel .panel-1-content{
  padding: 0 48px;
  color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form-panel{
  width: 50%;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  position: relative;
}
.footer-part{position: absolute;}

.owl-stage-outer{
    padding-top: 20px !important;
}
.owl-theme .owl-nav{display: none;}
.brand-tagline{
    position: relative; 
    margin: 10px;
    /* bottom: 154px;
    left: 70px;
    right: 0; */
}

.footer-menu{
    position: relative;
    margin-top: 20px;
    /* bottom: 12px;
    left: 0;
    right: 0; */
}
.footer-menu a{font-size: 14px;}


.input-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #6c757d;
}
.pass-input{display: flex; flex-direction: column;}
.pass-input #password{width: 100%; border-radius: 8px;}

.token-box{
    background: #f9f9f9;
    border-radius: 8px;
    position: relative;
    width: 100%;
    padding: 12px;
}

.token-box input{
  width: 100%;
  height: 42px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: transparent;
  color: #000;       
  caret-color: #000;  
  font-size: 20px;
  position: relative;
  z-index: 2;
}

.token-slots,
.token-chars{
  position: absolute;
  left: 0;
  inset: 0;
  top: 20px;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;  
  text-align: center;
  pointer-events: none;
}

#inputToken{
  height:48px; width:100%;
  background:transparent;
  color:transparent !important;
  -webkit-text-fill-color:transparent !important; 
  caret-color:transparent !important;      
  position:relative; z-index:2;
}

#inputToken::selection{ background: rgba(1,122,247,.25); color: transparent; }
#inputToken::-moz-selection{ background: rgba(1,122,247,.25); color: transparent; }

.token-slot{opacity:.45; font-size:20px}
.token-char{font-size:20px; font-weight:600}

.token-box{ --active: 1; }
.token-slots .token-slot:nth-child(var(--active)),
.token-chars .token-char:nth-child(var(--active)){
  opacity:1;
  outline:2px solid rgba(1,122,247,.35);
  outline-offset:6px;
  border-radius:8px;
}

.default-theme{
    position: absolute;
    bottom: 5%;
    right: 0;
    padding: 4px 12px;
    display: inline-block;
    height: auto;
    border-radius: 4px 0 0 4px;
}
.default-theme a{
    color: #000;
    margin-bottom: 0;
    font-size: .75rem;
}
.sign-heading{
    color: #696868;
    font-size: 24px;
    font-weight: 600;
}

/* ----- client-info ---- */
.client-detail-info h2{font-size: 40px; font-weight: 600; color: #454545;}
.client-detail-info h6, .client-detail-info h5{color: #000;}
/* ----- extra-css-end --- */
.img-wrapper{width: 35px; height: 35px; border-radius: 50%; object-fit: cover; object-position: center;overflow: hidden;border: 2px solid #fff;}
.img-wrapper img{ width: 100%;}
.amount-of-feature{
    display: flex;
    width: 100%;
    max-width: 100%;
    position: relative;
    left: 100px;
}
.clients-area{
    position: relative;
    /* left: 25%; */
    width: 100%;
    max-width: 106px;
}
.clients-area span:nth-child(2){
    position: absolute;
    top: 0;
    left: 23px;
}
.clients-area span:nth-child(3){
    position: absolute;
    top: 0;
    left: 43px;
}
.clients-area span:nth-child(4){
    position: absolute;
    top: 0;
    left: 63px;
}
.clients-area span:nth-child(5){
    position: absolute;
    top: 0;
    left: 83px;
}
.client-amount{
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 18px;
    font-weight: 800;
    position: relative;
    color: #0928a8;
}

.client-name{
    background-color: #17ccec;
    color: #000;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.en-box{font-size: 14px;}

.text-tag{
    color: #7b7b7b;
    position: relative;
    left: 0;
    font-size: 12px;
    top: -8px;
}

/* ------- add-extra-css --- */
.side-panel{
  position: relative;
}

/* .login-left-carousel{
} */

.side-panel.show-offerings .login-left-carousel{
  visibility: hidden;   
  pointer-events: none;
}

.offerings-static{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 0;       
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
  display: flex;
  align-items: flex-start; 
}

.side-panel.show-offerings .offerings-static{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.offerings-inner{
    width: 100%;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.offerings-title {
    margin: 0 0 8px 0;
    font-weight: 700;
    font-size: 2.8rem;
    color: #585858;
}

.offerings-sub{
  margin: 0 0 16px 0;
  color: #000;
}
.offerings-sub a{color: #000;}

.offerings-list{
  margin: 0;
  padding-left: 18px;
}

.offerings-list li{
  margin-bottom: 10px;
}

/* --------- 02-march ------ */
#offeringsStatic{
  display: none;
}

/* When settings clicked, show lab details + hide carousel */
.side-panel.show-offerings #offeringsStatic{
  display: block;
}

.side-panel.show-offerings .login-left-carousel{
  display: none;
}
/* -------- close ----- */
.default-theme{
  position: absolute;
  bottom: 30px;
  right: -15px;
}

.feature-toggle-btn{
  display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 4px;
    background: #007af8;
    color: #fff;
    cursor: pointer;
    transition: width 0.35s ease;
    white-space: nowrap;
    overflow: hidden;
    height: 44px;
    padding: 0;
    width: 44px;
}

.feature-toggle-btn .gear-icon{
  min-width: 44px; 
  text-align: center;
  font-size: 18px;
  line-height: 44px;
  flex-shrink: 0;  
}

.feature-toggle-btn .btn-text{
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  padding-right: 18px;
  font-size: 14px;
  font-weight: 500;
}

.feature-toggle-btn:hover{
  width: 230px;
}

.feature-toggle-btn:hover .btn-text{
  opacity: 1;
  transform: translateX(0);
}
/* ----- */

/* Responsive: stack on mobile */
@media (min-width:1199px) and (max-width:1440px){
    .client-detail-info h2{font-size: 40px;}
}
@media (min-width:992px) and (max-width:1200px){
    .client-detail-info h2{font-size: 40px;}
}
@media(min-width:768px) and (max-width:999px){
    .client-detail-info h2{font-size: 40px;}
}

@media(max-width:1366px){
    .client-detail-info h2{font-size: 40px;}
    .panel-1-content .panel-heading-2{
        width: 595px;
        left: -10px;
        top: 0px;
        font-size: 1.8rem;
    }
    /* .panel-1-content .panel-heading-2{
        width: 575px;
        left: 7px;
        top: 0px;
        font-size: 1.8rem;
    } */
    .panel-1-content .panel-heading {
        width: 368px;
        left: -97px;
        top: -1px;
        font-size: 1.4rem;
    }
    .panel-1-content .panel-heading::before {
        height: 25px;
        background-repeat: no-repeat;
        min-width: 82px;
        max-width: 76px;
        background-size: contain;
        top: 52px;
        left: 107px;
    }
    .panel-1-content .panel-heading-2::before{
        left: 87px;
    }
    .clients-area {
        top: 2px;
    }
    .text-tag{font-size:12px}
    .panel-1-content p {
        line-height: 1.3;
        font-weight: 400;
        position: relative;
        width: 470px;
        left: -44px;
        /* background: #007af8; */
        /* padding: 10px; */
        border-radius: 12px;
        color: #000000;
        /* box-shadow: 0 2px 5px #66b1fd; */
        /* top: -10px; */
        font-size: 15px;
        font-family: inherit;
    }
    .sign-heading{
        font-size: 20px;
    }
    .logo img {
        max-width: 196px;
        min-width: 130px;
    }
    .logo {margin-bottom: 16px;}
    .token-box input {
        height: 32px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 18px;
    }
    input{font-size: 14px;}

    .panel-1-content .panel-heading-2 {
        width: 422px;
        left: -72px;
        top: 2px;
        font-size: 1.4rem;
    }
    .amount-of-feature {
        left: 20px;
    }
    
}

@media(max-width:1280px){
    .panel-1-content .panel-heading-2 {
        width: 422px;
        left: -45px;
    }
    .panel-1-content .panel-heading {
        width: 368px;
        left: -78px;
    }
    .panel-1-content p {
        left: -23px;
    }
}

@media(max-width:1024px){
    .panel-1-content .panel-heading-2 {
        left: 26px;
    }
    .panel-1-content p {
        width: 458px;
        left: 43px;
    }
    .panel-1-content .panel-heading {
        width: 368px;
        left: 0px;
    }
}

@media (max-width: 991px){
  .login-container{ flex-direction: column; }
  .side-panel, .form-panel{ width: 100%; min-height: auto; }
  .side-panel{
    display: none;
  }

  .form-panel{
    width: 100%;
  }

  .form-content{
    /* padding-bottom: 16px; */
    /* overflow-y: auto; */
    padding: 10px;
  }
      .form-panel {
        padding: 55px 15px 20px;
    }
    
     .form-panel::before {
        content: "";
        /* background-image: url(../image/abstract-shape-4.png); */
        background-size: cover;
        width: 100%;
        max-height: 328px;
        height: 100%;
        position: absolute;
        top: -154px;
    }
    .login-btn{padding: 8px;}
    .form-content {
        justify-content: space-between;
        margin-top: 0;
        padding:0;
    }
    .footer-menu {
        right: 0;
        left: 0;
    }
    .footer-menu a{font-size: 14px;}
    .logo h2{
        font-size: 1.5rem;
        color: var(--text-main);
        margin-bottom: 8px;
        font-weight: 700;
    }
    .logo img {
        width: 100%;
        max-width: 175px;
        min-width: 118px;
    }
    .subtitle {
        margin-bottom: 22px;
    }
    .input-group {
        margin-bottom: 10px;
    }
    .footer-text {
        margin-top: 20px;
    }
    .options{margin-bottom: 20px;}
    
    .form-top {
        justify-content: start;
        /* background-color: #fff; */
        z-index: 99;
        padding: 22px 16px 22px;
        border-radius: 12px;
        /* box-shadow: 0 2px 6px #ddd; */
        height: auto;
    }
    .form-content form{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    .logo{
        opacity: 1;
        position: relative;
    }
    .logo p {
        font-weight: 600;
        font-size: 0.75rem;
        margin: 10px 0 0 0px;
        color: #4b4a4a !important;
    }
    .form-top h2{
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .login-left-carousel .panel-1-content {
        padding: 0px;
    }
    .panel-1-content .panel-heading {
        width: 100%;
        left: 0;
        top: -20px;
        line-height: 1.2;
        font-size: 1.2rem;
        text-align: center;
    }
    .panel-1-content p {
        width: 100%;
        left: 0;
        border-radius: 12px;
        font-size: 15px;
        top: -17px;
        text-align:center
    }
    .panel-1-content .panel-heading::before{top:47px;left: 137px;}
}

@media(max-width:767px){
    .form-panel {
        padding: 55px 15px 20px;
    }
    
     .form-panel::before {
        content: "";
        /* background-image: url(../image/abstract-shape-4.png); */
        background-size: cover;
        width: 100%;
        max-height: 328px;
        height: 100%;
        position: absolute;
        top: -154px;
    }
    .login-btn{padding: 8px;}
    .form-content {
        justify-content: space-between;
        margin-top: 0;
        padding:0;
    }
    .footer-menu {
        right: 0;
        left: 0;
    }
    .footer-menu a{font-size: 14px;}
    .logo h2{
        font-size: 1.5rem;
        color: var(--text-main);
        margin-bottom: 8px;
        font-weight: 700;
    }
    .logo img {
        width: 100%;
        max-width: 175px;
        min-width: 118px;
    }
    .subtitle {
        margin-bottom: 22px;
    }
    .input-group {
        margin-bottom: 10px;
    }
    .footer-text {
        margin-top: 10px;
        margin-bottom: 8px;
    }
    .options{margin-bottom: 20px;}
    
    .form-top {
        justify-content: start;
        /* background-color: #fff; */
        z-index: 99;
        padding: 12px 16px 22px;
        border-radius: 12px;
        /* box-shadow: 0 2px 6px #ddd; */
        height: auto;
    }
    .form-content form{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        margin: 30px 0 20px;
        background: #fbfdff;
        padding: 20px 35px 30px 35px;
        height: 100%;
        /* max-height: 386px; */
        border-radius: 8px;
        box-shadow: 0 2px 8px #e4e7eb;
        /* min-height: 363px; */
    }
    .logo{
        opacity: 1;
        position: relative;
    }
    .logo p {
        font-weight: 600;
        font-size: 0.75rem;
        margin: 10px 0 0 0px;
        color: #4b4a4a !important;
    }
    .form-top h2{
        margin-top: 50px;
        margin-bottom: 20px;
    }
    .login-left-carousel .panel-1-content {
        padding: 0px;
    }
    .panel-1-content .panel-heading {
        width: 100%;
        left: 0;
        top: -10px;
        line-height: 1.2;
        font-size: 1.25rem;
        text-align: center;
    }
    .panel-1-content p {
        width: 100%;
        left: 0;
        border-radius: 12px;
        font-size: 14px;
        top: -14px;
        text-align:center
    }
    .panel-1-content .panel-heading-2::before {
        left: 138px;
    }
    .panel-1-content .panel-heading::before{top:55px}
}













