html,
body {
  height: 100%;
}

body {
  background: #ffffff;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper > .container-fluid {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wrapper > .container-fluid > .row {
  flex: 1;
  min-height: 100vh;
}

.auth-box {
  max-width: 440px;
  width: 100%;
  padding: 1.5rem;
  margin: 0 auto;
}

.eye {
  position: absolute;
  right: 14px;
  cursor: pointer;
  color: #64748b;
  z-index: 2;
}

header {
  z-index: 1030;
}

header .navbar-brand h1,
header .navbar-brand h2 {
  font-family: var(--font-heading);
}

header .navbar-brand img,
.navbar-brand img {
  height: 40px;
  width: auto;
}

.carousel-wrapper {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper .owl-carousel,
.carousel-wrapper .owl-stage-outer,
.carousel-wrapper .owl-stage,
.carousel-wrapper .owl-item,
.carousel-wrapper .slide1,
.carousel-wrapper .slide2,
.carousel-wrapper .slide3 {
  height: 100%;
  min-height: 100vh;
}

.carousel-wrapper .slide1,
.carousel-wrapper .slide2,
.carousel-wrapper .slide3 {
  display: block;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

.carousel-wrapper .slide1 {
  background-image: url(/images/img/uploads/secondslider.png);
}

.carousel-wrapper .slide2 {
  background-image: url(/images/img/uploads/lastslider.png);
}

.carousel-wrapper .slide3 {
  background-image: url(/images/img/uploads/firstslider.png);
}

.page_bg_bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--primary);
  z-index: 1031;
}

@media (max-width: 767px) {
  .carousel-wrapper {
    display: none !important;
  }

  .auth-box {
    margin: 0 auto;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .wrapper > .container-fluid > .row {
    min-height: auto;
  }
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #0464a4;
  border-color: #0464a4;
  color: #fff;
}

/* Full-screen background slider behind the login form */
.with-slider {
  position: relative;
}

.with-slider > .container-fluid.login-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.with-slider > .container-fluid.login-content > .row {
  min-height: auto;
  flex: 0 0 auto;
}

.with-slider .carousel-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #ffffff;
}

.with-slider .page_bg_bottom {
  display: none;
}

.with-slider .auth-box {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.with-slider .carousel-wrapper .owl-carousel,
.with-slider .carousel-wrapper .owl-stage-outer,
.with-slider .carousel-wrapper .owl-stage,
.with-slider .carousel-wrapper .owl-item,
.with-slider .carousel-wrapper .slide1,
.with-slider .carousel-wrapper .slide2,
.with-slider .carousel-wrapper .slide3 {
  height: 100%;
  min-height: 100vh;
}

.with-slider .carousel-wrapper .owl-stage {
  display: flex !important;
  width: auto !important;
}

.with-slider .carousel-wrapper .owl-item {
  flex: 0 0 100% !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.with-slider .carousel-wrapper .slide1,
.with-slider .carousel-wrapper .slide2,
.with-slider .carousel-wrapper .slide3 {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}

@media (max-width: 991px) {
  .with-slider .auth-box {
    padding: 1.5rem;
  }
}
