/* =========================
   HOME ICON BUTTON
========================= */
.home-icon-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  background: #fff;
  border: none;
  color: var(--brand-green);
  font-size: 1.35rem;
  padding: 4px 7px 4px 7px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(var(--brand-green-rgb),0.07);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.home-icon-btn:hover, .home-icon-btn:focus {
  background: var(--muted-2);
  color: var(--brand-green-dark);
  box-shadow: 0 4px 16px rgba(var(--brand-green-rgb),0.13);
  outline: none;
}
.home-icon-btn i.fa-home {
  font-size: 1.1em;
  vertical-align: middle;
}
/* =========================
   FORGOT PASSWORD PAGE LAYOUT
========================= */
.auth-layout {
  display: flex;
  min-height: 100vh;
  background: var(--muted-1);
}

.auth-panel {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  background: #fff;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Barlow', 'Segoe UI', Arial, sans-serif;
  background: var(--muted-1);
}

.auth-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(var(--brand-green-rgb),0.10), 0 1.5px 6px rgba(var(--brand-green-rgb),0.06);
  padding: 48px 36px 36px 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  transition: box-shadow 0.2s;
  display: block;
}
.auth-card:hover {
  box-shadow: 0 8px 40px rgba(var(--brand-green-rgb),0.16), 0 2px 8px rgba(var(--brand-green-rgb),0.08);
}

@media (max-width: 991px) {
  .auth-visual {
    display: none;
  }
  .auth-layout {
    flex-direction: column;
  }
}
/* =========================
   AUTH SECTION BASE
========================= */

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.auth-section {
  background-color: var(--muted-1);
  font-size: 1rem;
  height: 100vh;
  /* allow scrolling on small screens so inputs aren't cut off */
  overflow: auto;
  margin: 0;
  padding: 0;
}

.auth-section .container-fluid,
.auth-section .row {
  height: 100%;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.auth-logo {
    display: block;
    width: 120px;
    height: auto;
    margin: 0 auto 20px;
}


/* =========================
   FORM CONTAINER
========================= */

.auth-form-wrapper {
  max-width: 420px;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
}

/* Responsive tweaks: desktop / laptop / tablet */
@media (max-width: 1200px) {
  .auth-form-wrapper { max-width: 380px; padding-left: 22px; padding-right: 22px; }
  .auth-title { font-size: 1.8rem; }
  .auth-logo { width: 100px; }
}

@media (max-width: 992px) {
  .auth-form-wrapper { max-width: 520px; padding-left: 18px; padding-right: 18px; }
  .auth-card { border-radius: 12px; padding: 28px 20px; }
  .auth-title { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  .auth-form-wrapper { max-width: 100%; padding: 18px; }
  .auth-logo { width: 92px; margin-bottom: 14px; }
  .auth-title { font-size: 1.4rem; text-align: center; }
  .auth-form-wrapper p { font-size: 0.95rem; }
  .home-icon-btn { top: 12px; left: 12px; }
  .auth-section { height: auto; padding-top: 30px; padding-bottom: 40px; }
}

.auth-form-wrapper p {
    font-size: 1rem;
    color: var(--text-muted);
}


/* =========================
   TYPOGRAPHY
========================= */
.auth-form-wrapper h1,
.auth-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.auth-form-wrapper .small {
    font-size: 0.9rem;
}

.auth-text {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.auth-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.auth-footer {
  margin-top: 20px;
  font-size: 0.9rem;
}

/* =========================
   ICON
========================= */

.auth-icon {
  font-size: 48px;
  color: var(--brand-green);
  margin-bottom: 24px;
}

/* =========================
   FORM ELEMENTS
========================= */

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

.auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #092032;
  font-size: 0.9rem;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--muted-border);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Button variant that matches input height/rounding used on auth forms */
/* removed .btn-match-input to restore previous button sizing */

.auth-form input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(var(--brand-green-rgb), 0.15);
}

/* =========================
   PASSWORD TOGGLE
========================= */

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
  font-size: 0.95rem;
}

.password-toggle:hover {
  color: #092032;
}

/* =========================
   DIVIDER
========================= */

.auth-divider {
  position: relative;
  text-align: center;
  margin: 24px 0;
}

.auth-divider span {
  background: #f9fafb;
  padding: 0 12px;
  color: #999;
  font-size: 0.9rem;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: -1;
}

/* =========================
   RIGHT IMAGE PANEL
========================= */

.auth-image {
  background: url("../img/customer.png") top center / cover no-repeat;
  height: 100%;
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .auth-image {
    display: none;
  }
}
