/************* login css ********************/
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgb(243, 243, 243);
}

.login-wrapper {
  width: 910px;
  height: 560px;

  display: flex;

  border-radius: 18px;

  overflow: hidden;

  background: var(--secondBackground);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-left-side{
    width:70%;

  

    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center bottom;

    /* border-top-right-radius:10px;
    border-bottom-right-radius:35px; */

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    /* box-shadow: 5px 0 18px rgba(0,0,0,0.18); */
    position:relative;
    overflow:hidden;
}
.login-left-image {
  width: 390px;
  height: 400px;
  object-fit: contain;
  max-width: none;
}

.login-left-content {
  text-align: center;
  /* padding: 30px; */
}

.login-left-content h1 {
  color: rgb(34, 56, 97);
  font-size: 27px;
}

.login-left-content p {
  color: white;
}

.login-left-content h1 {
  font-size: 31px;
  margin-bottom: 200px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  text-align: center;
}

.login-left-content p {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 320px;
  text-align: center;
  /* margin-bottom: 6rem; */
  margin-top: 100px;
}
.login-left-sub-content {
  display: flex;
  gap: 30px;
}
.login-left-sub-content-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.login-left-sub-content-item svg {
  width: 25px;
  height: 25px;
}
.login-left-sub-content-item span {
  font-size: 12px;
}

.login-tabs {
  display: flex;
  background: #f1f1f1;
  border-radius: 30px;
  padding: 3px;
  margin-bottom: 25px;
}

.login-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 6px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 12px;
}

.login-tab.active {
  background: linear-gradient(135deg, white);
  color: rgb(228, 132, 8);
}

.login-tabs-partition {
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
}

.login-tabs-partition span {
  position: relative;
  z-index: 1;
  background-color: #fff;
  width: 30px;
}

.login-tabs-partition::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: var(--primary);
  left: 0;
  top: 50%;
}
.login-right-side {
  width: 100%;

  display: flex;

  flex-direction: column;

  justify-content: center;

  padding: 45px;
}
.login-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 2rem auto;
}

.login-logo img {
  height: auto;
  width: 100%;
}
.login-header {
  text-align: center;
  margin-bottom: 25px;
}

.login-header h2 {
  font-size: 1.75rem;
  color: #2e2b5a;
}

.login-header p {
  color: #777;
}

.login-tab-active {
  background: #3c2b9e;
  color: white;
}

.login-tab {
  border-radius: 25px;
}

.login-header h2 {
  font-size: 1.75rem;
  color: rgb(37, 34, 75);
  margin-bottom: 4px;
  font-weight: 400;
  letter-spacing: 0.9px;
}

.login-header p {
  color: rgb(122, 122, 122);
  font-size: 13px;
  margin-bottom: 21;
}

.login-form-group {
  padding-bottom: 22px;
  position: relative;
  margin-bottom: 8px;
}

.login-form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #3f3368;
  font-weight: 500;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-icon {
  position: absolute;
  left: 16px;
  width: 22px;
  height: 22px;
  display: flex;
}
/* .left-icons svg {
  width: 28px;
  height: 28px;

  fill: #253e64;
  color: #253e64;

  cursor: pointer;
  transition: transform 0.3s ease;
} */

.login-password-show {
  position: absolute;
  right: 16px;
  fill: #3f2588;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.login-form-group input {
  width: 100%;
  padding: 12px 12px 12px 48px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #f8fafc;
  -webkit-text-fill-color: #333 !important;
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.login-form-group input:focus {
  border-color: #5a5a5c;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(233, 121, 30, 0.1);
  outline: none;
}

.otp-wrapper {
  display: flex;
  gap: 10px;
}

.otp-wrapper input {
  width: 50px;
  height: 50px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* otp  */
.login-input-otp {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 7px;
}

.login-input-otp input {
  width: 103px;
  padding: 12px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;

  text-align: center;

  font-weight: 600;

  outline: none;
}

@media (max-width: 820px) {
  .login-input-otp {
    gap: 8px;
  }

  .login-input-otp input {
    width: 70px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 450px) {
  .login-input-otp {
    gap: 6px;
  }

  .login-input-otp input {
    width: 5px;
    height: 38px;
    font-size: 16px;
  }
}

.login-input-otp input:focus {
  border-color: #5a4b81;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(88, 36, 231, 0.1);
  outline: none;
}

/* required */
.login-required {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  color: #ff5630;
  font-size: 12px;
  font-weight: 500;
}

.login-button {
background: linear-gradient(135deg,rgb(247, 151, 7));
  color: rgb(33, 33, 34);
  border: none;
  padding: 10px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

.login-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
}

.login-button:hover::after {
  width: 100%;
}

.login-button:active {
  transform: translateY(2px);
}

.login-button:disabled {
  background-color: var(--primaryDisabled);
  color: var(--onPrimaryDisabled);
}

.login-request {
  background: transparent;
  color: rgb(104, 103, 103);
  border: none;
  font-size: 0.8rem;
  position: absolute;
  bottom: 0;
  left: 0;
}

.login-version {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.login-logo-sm {
  width: 80px;
  height: auto;
  margin: 0 auto 2rem auto;
  display: none;
}

.login-logo-sm img {
  height: auto;
  width: 100%;
}

/* loader animation */
.login-loader {
  position: relative;
}

.login-loader::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 5px;
  width: 50%;
  background: linear-gradient(90deg, #6137fa, #733af8, #9252fa);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
  0% {
    left: -50%;
    background-position: 0% 0;
  }
  100% {
    left: 100%;
    background-position: 200% 0;
  }
}

/* Container sliding in from left */
.login-bottom-to-top-animation {
  animation: loginBottomToTopAnimation 0.2s ease-out 0.2s both;
}

/* Keyframes for left slide-in */
@keyframes loginBottomToTopAnimation {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* media querry */

@media (max-width: 1200px) {
  .login-container {
    align-items: normal;
  }

  .login-wrapper {
    box-shadow: none;
    min-height: 700px;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    width: 70;
  }
}
@media (max-width: 1050px) {
  .login-right-side {
    padding: 1rem 2rem 1rem 3rem;
  }
}

@media (max-width: 820px) {
  .login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(
      136deg,
      rgb(241, 241, 241) 0%
        /* rgba(187, 168, 150, 1) 6.667%,
      rgba(173, 164, 149, 1) 6.667%,
      rgba(173, 164, 149, 1) 13.333%,
      rgba(158, 158, 146, 1) 13.333%,
      rgba(158, 158, 146, 1) 20%,
      rgba(142, 151, 142, 1) 20%,
      rgba(142, 151, 142, 1) 26.667%,
      rgba(127, 143, 137, 1) 26.667%,
      rgba(127, 143, 137, 1) 33.333%,
      rgba(112, 135, 131, 1) 33.333%,
      rgba(112, 135, 131, 1) 40%,
      rgba(100, 126, 125, 1) 40%,
      rgba(100, 126, 125, 1) 46.667%,
      rgba(89, 116, 117, 1) 46.667%,
      rgba(89, 116, 117, 1) 53.333%,
      rgba(82, 107, 109, 1) 53.333%,
      rgba(82, 107, 109, 1) 60%,
      rgba(78, 97, 101, 1) 60%,
      rgba(78, 97, 101, 1) 66.667%,
      rgba(78, 88, 91, 1) 66.667%,
      rgba(78, 88, 91, 1) 73.333%,
      rgba(81, 79, 82, 1) 73.333%,
      rgba(81, 79, 82, 1) 80%,
      rgba(87, 71, 72, 1) 80%,
      rgba(87, 71, 72, 1) 86.667%,
      rgba(97, 64, 61, 1) 86.667%,
      rgba(97, 64, 61, 1) 93.333%,
      rgba(109, 58, 51, 1) 93.333% 100% */
    );
    align-items: center;
  }

  .login-wrapper {
    grid-template-columns: 1fr;
    min-height: 674px;
    height: auto;
    max-width: 612px;
    background-color: transparent;
    padding: 3rem;
    display: flex;
  }

  .login-left-side {
    display: none;
  }

  .login-header {
    display: block;
    margin-bottom: 34px;
  }

  .login-mobile-logo {
    display: flex;
  }

  .login-right-side {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background-color: var(--secondBackground);
    
  }

  .login-logo-sm {
    display: block;
  }
}

@media (max-width: 450px) {
  .login-container {
    background: var(--secondBackground);
  }

  .login-right-side {
    border: none;
     width: 100%;
    padding: 40px;
  }

  .login-wrapper {
    padding: 0;
  }
}

/* Login Modal   */

.login-modal {
  max-width: 400px !important; /* or any custom width */
  width: 100% !important;
}

.login-modal .modal-content {
  background-color: var(--secondBackground);
}

.login-modal .modal-body {
  padding: 4rem 3rem;
}

.modal-login-logo {
  width: 60px;
  height: auto;
  margin: 0 auto 2rem auto;
}

.modal-login-logo img {
  height: auto;
  width: 100%;
}

.login-modal h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 24px;
  color: var(--onTertiary);
}

.modal-login-form-contols-container {
  position: relative;
  margin-bottom: 28px;
}

.login-modal .modal-login-form-contols {
  position: relative;
  display: flex;
}

.login-modal .modal-login-form-contols .icon {
  position: absolute;
  display: flex;
  height: 100%;
  margin-left: 8px;
}

.login-modal .modal-login-form-contols .icon svg {
  width: 22px;
  height: 22px;
  margin: auto 0;
  fill: var(--onTertiary);
}

.login-modal input {
  border: none;
  border-bottom: 1px solid var(--primary);
  border-radius: 0px;
  padding: 12px 12px 12px 40px;
  font-size: 16px;
  background-color: transparent;
  color: var(--onTertiary);
}

.login-modal input::placeholder {
  color: var(--placeholder);
}

.login-modal input:focus {
  border: none;
  border-bottom: 1px solid var(--primary);
  color: var(--onTertiary);
  background-color: transparent;
  box-shadow: none;
}

/* .login-modal button {
  background-color: var(--primary);
  color: var(--onPrimary);
  border: none;
  width: 100%;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  text-transform: uppercase;
  -webkit-user-select: none;
  user-select: none;
} */

/* Login modal show animation  */
@keyframes loginModalShow {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-modal-trasition.modal.fade.show {
  animation: loginModalShow 0.3s ease-out;
}

.login-modal-required {
  position: absolute;
  top: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
  color: #ff5630;
  font-size: 12px;
  font-weight: 500;
}

.otp-text {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #555;
}

.left-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* or space-between */
  gap: 24px; /* space between icons */
  margin-top: 20px;
}

.left-icons svg {
  font-size: 15px; /* icon size */
  color: #333332; /* change to your preferred color */
  cursor: pointer;
  /* fill: #f3a42e ; */
  transition: transform 0.3s ease;
}

.left-icons svg:hover {
  transform: scale(1.15);
}

/* .superuser{
   width: 20px;
  height: 20px;

  border: 1px solid #ddd;
  border-radius: 7px;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  transition: 0.3s;
} */

.mobile-title {
  display: none;
}

/* Small screens */
@media (max-width: 820px) {
  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .login-subtitle {
    display: none;
  }
  .login-header h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: rgb(247, 151, 7);
  }
}
