/* Sign-in pages · template-1 — ONE stylesheet copied into login/, register/,
   reset-email/ and reset-password/template-1/style/style.css. Keep the four
   copies identical: fix one, copy it to the other three. */

/* ========== Login — template-1 ========== */
/* oxio.custom loads vendor.css (Bootstrap 5): box-sizing, .form-control, .form-check,
   .alert and .invalid-feedback come from there — only the look of this page lives here. */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bs-body-bg, #fff);
}

.auth-aside {
  position: relative;
  background: linear-gradient(135deg,
    var(--bs-primary, var(--bs-body-color)) 0%,
    rgba(var(--bs-primary-rgb, 17, 24, 39), 0.82) 100%);
  color: #fff;
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.auth-aside::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(var(--bs-body-bg-rgb), 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.auth-aside::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(var(--bs-body-bg-rgb), 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
}

/* the store's real logo in a white chip: painting it white turned logos with their own
   white background into a blank box */
.auth-brand img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

.auth-aside-content {
  position: relative;
  margin: auto 0;
}

.auth-aside-tagline {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #fff;
}

.auth-aside-sub {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(var(--bs-body-bg-rgb), 0.92);
  max-width: 420px;
}

.auth-aside-bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-aside-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(var(--bs-body-bg-rgb), 0.95);
}

.auth-aside-bullets svg {
  color: #fff;
  opacity: 0.92;
  flex-shrink: 0;
}

.auth-aside-footer {
  position: relative;
  font-size: 0.82rem;
  color: rgba(var(--bs-body-bg-rgb), 0.75);
}

/* Form side */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--bs-body-bg, #fff);
}

.auth-card {
  width: 100%;
  max-width: 440px;
}

.auth-card-mobile-brand {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

.auth-card-mobile-brand img {
  height: 48px;
  width: auto;
}

.auth-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--bs-body-color, var(--bs-body-color));
}

.auth-sub {
  color: var(--bs-secondary-color, var(--bs-secondary-color));
  font-size: 0.95rem;
  margin: 0 0 28px;
}

.auth-form-group {
  margin-bottom: 16px;
}

.auth-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bs-body-color, var(--bs-body-color));
  margin-bottom: 6px;
  display: block;
}

.auth-form-group .form-control {
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid var(--bs-border-color, var(--bs-border-color));
  border-radius: 10px;
  background: var(--bs-body-bg, #fff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* vendor.css's --bs-danger is a light coral — too faint for an error line on white */
.auth-form-group .invalid-feedback {
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 6px;
}

.auth-form-group .form-control:focus {
  border-color: var(--bs-primary, var(--bs-body-color));
  box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 17, 24, 39), 0.12);
  outline: none;
}


.auth-form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.auth-form-row .form-check {
  margin: 0;
}

.auth-form-row .form-check-label {
  font-size: 0.85rem;
  color: var(--bs-body-color, var(--bs-body-color));
}

.auth-form-row .form-check-input:checked {
  background-color: var(--bs-primary, var(--bs-body-color));
  border-color: var(--bs-primary, var(--bs-body-color));
}

.auth-forgot {
  font-size: 0.85rem;
  color: var(--bs-primary, var(--bs-body-color));
  text-decoration: none;
  font-weight: 600;
}

.auth-forgot:hover {
  color: var(--bs-primary, var(--bs-body-color));
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 12px 20px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 10px;
  background: var(--bs-primary, var(--bs-body-color));
  border-color: var(--bs-primary, var(--bs-body-color));
  color: #fff;
  transition: transform 0.15s ease, background 0.2s ease;
}

.auth-submit:hover {
  background: var(--bs-primary, var(--bs-body-color));
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Footer prompt */
.auth-prompt {
  margin-top: 24px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--bs-secondary-color, var(--bs-secondary-color));
}

.auth-prompt a {
  color: var(--bs-primary, var(--bs-body-color));
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-prompt a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 991.98px) {
  .auth-page { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card-mobile-brand { display: block; }
}

/* Hover + pressed: vendor.css's .btn:hover / .btn:active would repaint it with Bootstrap's defaults */
.auth-submit {
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--bs-primary);
  --bs-btn-hover-border-color: var(--bs-primary);
}
