* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--background);
}

.login-wrapper {
  width: 1200px;
  height: 700px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
  background-color: white;
  overflow: hidden;
  animation: slideIn 0.7s ease-out forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-left-side {
  position: relative;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  color: white;
  overflow: hidden;
  border-radius: 24px;
}

.login-left-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  z-index: 1;
  align-items: center;
}

.login-left-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  text-align: center;
}

.login-left-content p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 320px;
  text-align: center;
  margin-bottom: 6rem;
}
.login-hero-icon {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
}
.login-hero-icon img {
  height: auto;
  width: 100%;
}

.login-right-side {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0 3rem 0 6rem;
  position: relative;
}
.login-logo {
  width: 80px;
  height: auto;
  margin: 0 auto 2rem auto;
}
.login-logo img {
  height: auto;
  width: 100%;
}

.login-header h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 400;
  letter-spacing: 0.9px;
}

.login-header p {
  color: var(--primary);
  font-size: 16px;
}

.login-form-group {
  padding-bottom: 22px;
  position: relative;
}

.login-form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #475569;
  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;
}

.login-input-icon svg {
  fill: #64748b;
  width: 20px;
  height: 20px;
  margin: auto;
}

.login-password-show {
  position: absolute;
  right: 16px;
  fill: #06283d;
  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;
}

.login-form-group input:focus {
  border-color: #06283d;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(19, 99, 223, 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-color: var(--primary);
  color: var(--onPrimary);
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  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-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, #00c6ff, #0072ff, #00c6ff);
  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;
  }
}

/* media querry */

@media (max-width: 1250px) {
  .login-container {
    background-color: var(--secondBackground);
  }

  .login-wrapper {
    box-shadow: none;
  }
}
@media (max-width: 1050px) {
  .login-right-side {
    padding: 0 1rem 0 4rem;
  }
}

@media (max-width: 820px) {
  .login-container {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
  }

  .login-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    max-width: 500px;
    background-color: transparent;
  }

  .login-left-side {
    display: none;
  }

  .login-header {
    display: none;
  }

  .login-mobile-logo {
    display: flex;
  }

  .login-right-side {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: 26px;
    background-color: var(--secondBackground);
  }

  .login-logo-sm {
    display: block;
  }
}

@media (max-width: 450px) {
  .login-container {
    background: var(--secondBackground);
  }

  .login-right-side {
    border: none;
  }

  .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;
}

.login-modal h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 200;
  margin-bottom: 24px;
  color: var(--onTertiary);
}

.login-modal .modal-login-form-contols {
  position: relative;
  margin-bottom: 28px;
  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;
}
