/* World-Class Executive Login Styles */

.auth-split-layout {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 100vh;
  padding-top: 80px;
  box-sizing: border-box;
  background: #f8fafc;
}

/* Left Panel: Form Container */
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background: #ffffff;
  position: relative;
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.03);
  z-index: 5;
}

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

.auth-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.9rem;
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
  border-radius: 25px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.08);
}

.auth-brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.auth-heading {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.auth-subheading {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.portal-selector-chips {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
  padding: 0.3rem;
  background: #f1f5f9;
  border-radius: 14px;
  flex-wrap: wrap;
}

.portal-chip {
  flex: 1 1 0;
  min-width: 72px;
  text-align: center;
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 750;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.portal-chip.active {
  background: #ffffff;
  color: #059669;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.portal-chip i {
  font-size: 0.85rem;
}

/* Custom Input Groups */
.auth-field-wrap {
  margin-bottom: 1.25rem;
}

.auth-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  color: #334155;
  margin-bottom: 0.45rem;
}

.auth-field-input {
  position: relative;
}

.auth-field-input i.field-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.auth-field-input input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.7rem;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 500;
  transition: all 0.2s;
  box-sizing: border-box;
}

.auth-field-input input:focus {
  outline: none;
  border-color: #059669;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.auth-field-input input:focus + i.field-icon {
  color: #059669;
}

.auth-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0.2rem;
}

.auth-password-toggle:hover {
  color: #059669;
}

.btn-auth-submit {
  width: 100%;
  padding: 0.95rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-auth-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.35);
  background: linear-gradient(135deg, #047857, #065f46);
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.9rem;
  color: #64748b;
}

.auth-footer-link a {
  color: #059669;
  font-weight: 750;
  text-decoration: none;
}

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

/* Right Panel: Immersive Visuals */
.auth-photo-panel {
  position: relative;
  background: #0f172a;
  min-height: 100vh;
  overflow: hidden;
}

.auth-photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.95;
  filter: saturate(110%) contrast(105%);
}

.auth-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.15), rgba(15, 23, 42, 0.35));
  pointer-events: none;
}

@media (max-width: 960px) {
  .auth-split-layout {
    grid-template-columns: 1fr;
  }
  .auth-photo-panel {
    display: none;
  }
}
@media (max-width: 420px) {
  .portal-chip {
    min-width: calc(50% - 0.25rem);
    flex: 1 1 calc(50% - 0.25rem);
  }
}
