/* ==========================================================
   auth.css — Login & Signup pages
   The Mount View Castle Hotels & Resorts
   ========================================================== */

/* ----------------------------------------------------------
   AUTH WRAPPER  (full-height split layout)
   ---------------------------------------------------------- */
.auth-section {
  min-height: calc(100vh - 95px);
  display: flex;
  align-items: stretch;
}

/* Left panel — hotel brand / background */
.auth-left {
  flex: 1;
  background:
    linear-gradient(135deg, rgba(10,30,25,.88) 0%, rgba(23,63,53,.75) 100%),
    url('images/slider/slide-1.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 50px;
  text-align: center;
  color: #fff;
  min-height: 480px;
}

.auth-left-logo { margin-bottom: 32px; }
.auth-left-logo img { height: 100px; }

.auth-left h2 {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.auth-left p {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  line-height: 1.8;
  max-width: 380px;
}

.auth-left-divider {
  width: 50px;
  height: 3px;
  background: #c99b37;
  border-radius: 2px;
  margin: 20px auto;
}

.auth-left-highlights {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.auth-left-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
}

.auth-left-highlight i { font-size: 18px; color: #e0b54a; flex-shrink: 0; }

/* Right panel — form card */
.auth-right {
  width: 520px;
  flex-shrink: 0;
  background: #fffaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 48px;
}

.auth-card {
  width: 100%;
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10);
  border-top: 5px solid #c99b37;
}

/* Card header */
.auth-card-logo {
  display: none; /* shows only on mobile */
  text-align: center;
  margin-bottom: 22px;
}

.auth-card-logo img { height: 65px; }

.auth-card h2 {
  font-family: var(--font-heading, 'Oswald', sans-serif);
  font-size: 30px;
  font-weight: 700;
  color: #173f35;
  margin-bottom: 4px;
  letter-spacing: .3px;
}

.auth-card .auth-subtitle {
  font-size: 14.5px;
  color: #5a5a5a;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* Fields */
.auth-field { margin-bottom: 18px; }

.auth-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #173f35;
  margin-bottom: 7px;
  letter-spacing: .2px;
}

.auth-field label .req { color: #c99b37; margin-left: 1px; }

.auth-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: 'Lato', Arial, sans-serif;
  color: #2b2b2b;
  background: #ffffff;
  border: 1.5px solid rgba(0,0,0,.13);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.auth-input:focus {
  border-color: #173f35;
  box-shadow: 0 0 0 3px rgba(23,63,53,.09);
}

.auth-input::placeholder { color: rgba(0,0,0,.32); font-size: 14px; }

/* Password wrapper (with toggle) */
.auth-pw-wrap { position: relative; }

.auth-pw-wrap .auth-input { padding-right: 46px; }

.auth-pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: color .2s;
}

.auth-pw-toggle:hover { color: #173f35; }

/* Action row (button + links) */
.auth-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn-auth {
  background: #c99b37;
  color: #ffffff;
  padding: 13px 32px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Lato', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .8px;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.btn-auth:hover {
  background: #b8891e;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(201,155,55,.35);
}

.auth-plain-text { font-size: 15px; color: #5a5a5a; }

.auth-link {
  color: #c99b37;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}

.auth-link:hover { color: #9a7520; text-decoration: underline; }

/* Divider between button row and alt action */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: rgba(0,0,0,.3);
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,.1);
}

/* Alternate action line */
.auth-alt {
  text-align: center;
  font-size: 14.5px;
  color: #5a5a5a;
  margin-top: 8px;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .auth-left { display: none; }

  .auth-right {
    width: 100%;
    padding: 40px 20px;
    min-height: calc(100vh - 95px);
  }

  .auth-card { padding: 36px 28px; }

  .auth-card-logo { display: block; }
}

@media (max-width: 575.98px) {
  .auth-right { padding: 28px 16px; }
  .auth-card { padding: 28px 20px; }
  .auth-card h2 { font-size: 26px; }
  .btn-auth { width: 100%; text-align: center; justify-content: center; }
  .auth-action-row { flex-direction: column; align-items: flex-start; }
}
