@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --brand-blue: #12467a;
  --brand-cyan: #18a5c2;
  --brand-orange: #fc7f03;
  --brand-orange-hov: #ee7700;
  --link-accent: #1785a4;
  --card-radius: 16px;
  --field-radius: 12px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  font-family: "Montserrat", sans-serif;
  background: linear-gradient(180deg, #f7fbff 0%, #f2f7ff 100%);
  color: #1b2a3b;
}

.login-row {
  --bs-gutter-x: 24px;
}

.card {
  border-radius: var(--card-radius);
  background: #fff;
}

.logo {
  max-width: 190px;
  height: auto;
}

.title-h1 {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem);
}
.title-h2 {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem);
}
.lead-legend {
  color: var(--brand-blue);
  font-weight: 500;
}
.text-primary-700 {
  color: var(--brand-blue);
}

.btn-outline-demo {
  border: 1px solid var(--brand-cyan);
  border-radius: 12px;
  padding: 0.55rem 1rem;
  color: var(--brand-cyan);
  font-weight: 600;
  background: transparent;
  transition: 0.2s;
}
.btn-outline-demo:hover {
  background: rgba(24, 165, 194, 0.08);
  color: var(--brand-cyan);
  box-shadow: 0 6px 16px rgba(24, 165, 194, 0.18);
}

.btn-login {
  background: var(--brand-orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  transition: 0.2s;
}
.btn-login:hover {
  background-color: var(--brand-orange-hov);
  color: #fff;
}

.input-group.input-rounded .input-group-text {
  border: 1px solid #e1efff;
  border-right: none;
  border-top-left-radius: var(--field-radius);
  border-bottom-left-radius: var(--field-radius);
  background: #fff;
  color: #12559b;
}
.input-group.input-rounded .form-control {
  border: 1px solid #e1efff;
  border-left: none;
  border-top-right-radius: var(--field-radius);
  border-bottom-right-radius: var(--field-radius);
  padding: 0.6rem;
}
.input-group.input-rounded .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(24, 165, 194, 0.15);
  border-color: var(--brand-cyan);
}
input::placeholder {
  color: #95a0b2;
}

.link-forgot {
  color: var(--brand-cyan);
  text-decoration: none;
  font-weight: 600;
}
.link-forgot:hover {
  text-decoration: underline;
}
.link-register,
.link-payments {
  color: var(--link-accent);
  font-weight: 700;
  text-decoration: none;
}
.link-register:hover,
.link-payments:hover {
  text-decoration: underline;
}

.slider-card {
  height: 100%;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  padding: 0 !important;
}
.inner-radius {
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.carousel-item {
  height: 100%;
  background: url("/img/portales/app-dev.factura-lo.com.mx/bg-slide-1.png") center/cover no-repeat;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
  display: none;
}
.carousel .carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 0;
  opacity: 1;
  transition: 0.2s;
}
.carousel .carousel-indicators .active {
  width: 26px;
  background: #fff;
}

.carousel {
  position: relative;
}
.carousel .carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.carousel .carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #fff !important;
  border: 0 !important;
  opacity: 1 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}
.carousel .carousel-indicators .active {
  width: 26px !important;
  height: 10px !important;
  border-radius: 999px !important;
}

@media (max-width: 767.98px) {
  .login-wrapper {
    padding-top: 2rem;
  }
  .logo {
    max-width: 170px;
  }
  .card {
    padding: 1.25rem !important;
  }
}
