* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

main {
  height: 100%;
  overflow: hidden;
}

/* Layout */
.log-height {
  min-height: calc(100vh - 50px);
}

.login-container {
  height: 100%;
}

/* Logo */
.logo-img {
  width: 100%;
  max-width: 300px;
}

/* Card */
.login-card {
  border: none;
  border-radius: 20px;

}

/* Colors */
.bg-purple {
  background: #675AE7;
}

.bg-purple-light {
  background-color: #D5DDF8;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
}

/* Form */
.login-card .form-label {
  font-weight: 600;
}

.login-card .form-control:focus,
.login-card .form-control:active {
  border-color: #2a85ff !important;
  box-shadow: none !important;
}

::placeholder {
  color: gray !important;
}

/* Icon container */
.icon-container {
  position: relative;
}

.icon-container img {
  position: absolute;
  top: -30px;
  right: 11px;
}

.icon-container::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 42px;
  height: 24px;
  width: 3px;
  background-color: #2a85ff;
  border-radius: 5px;
}

/* Mobile image */
.mobile-log-img {
  display: none;
}

/* ─────────────────────────────
   SLIDER — no inline styles
   position classes toggled by JS
───────────────────────────── */
.login-slider {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 30px;
}

.slider-track-container {
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* One class per slide index — JS toggles these instead of inline style */
.slide-pos-0 { transform: translateX(0%); }
.slide-pos-1 { transform: translateX(-100%); }
.slide-pos-2 { transform: translateX(-200%); }

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loginIMG {
  width: 70%;
  max-width: 440px;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(103, 90, 231, 0.3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.dot.active {
  background: #675AE7;
  width: 24px;
  border-radius: 4px;
}

/* Feature ticks */
.tickchange {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.icon-div {
  display: flex;
  align-items: center;
  padding: 0 17px;
}

.icon-div p {
  margin: 0;
  font-weight: 600;
}

.icon-div img {
  height: 25px;
}

/* ─────────────────────────────
   RESPONSIVE
───────────────────────────── */
@media screen and (min-width: 768px) {
  main {
    height: 100vh;
  }

  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media screen and (max-width: 768px) {
  .m-align-center {
    align-items: center !important;
  }

  .py-5 {
    padding: 3rem !important;
  }

  .m-dnone {
    display: none !important;
  }

  .login-card {
    padding: 0 !important;
    min-width: 245px;
  }

  div.mobile-log-img {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .mobile-log-img img {
    width: 200px !important;
    height: auto;
  }

  .log-height {
    min-height: auto !important;
  }
}

@media screen and (min-width: 426px) and (max-width: 1056px) {
  .m-align-center {
    align-items: center !important;
  }

  .max-400,
  .login-card {
    min-width: 350px;
  }

  .tickchange .icon-div p {
    font-size: 10px;
  }

  .tickchange {
    padding: 0 5px !important;
  }
}

@media only screen and (min-width: 1056px) {
  .login-card {
    max-width: 450px;
    min-width: 400px;
  }
}

@media screen and (max-width: 900px) {
  .login-container .form-control {
    font-size: 13px;
  }
}