/* assets/css/login-split.css */

/* Make this page fully self-contained (no site header/footer needed) */
html, body { height: 100%; }
body.page-login-split { margin: 0; }

/* If main.css adds global padding/margins for main, neutralize */
body.page-login-split main { padding: 0; }

/* Layout */
.login-split {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* LEFT */
.login-left {
  background: #f3f4f6;
  position: relative;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
}

.login-left__top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.login-brand img {
  height: 40px;
  width: auto;
  display: block;
}

.login-left__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 360px;
}

.login-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 18px;
  color: #111827;
}

.login-error {
  background: #ffffff;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.45;
}

.login-field { margin-bottom: 14px; }

.login-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin: 0 0 8px;
}

.login-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #111827;
  box-sizing: border-box;
}

.login-input::placeholder { color: #9ca3af; }

.login-help {
  font-size: 12px;
  color: #6b7280;
  margin: 8px 0 0;
}

.login-btn {
  margin-top: 18px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.login-btn:hover { filter: brightness(0.95); }

.login-access {
  margin-top: 12px;
  font-size: 13px;
  color: #6b7280;
}

.login-access a {
  color: #6b7280;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}

.login-left__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #9ca3af;
  padding-top: 18px;
  margin-bottom: 120px;
}

.login-left__footer a {
  color: #9ca3af;
  text-decoration: none;
}
.login-left__footer a:hover { text-decoration: underline; }

/* RIGHT */
.login-right {
  position: relative;
  color: #fff;
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(225deg, #002F6C 0%, #0066A1 50%, #15BEF0 100%);
}

.login-right__inner {
  width: 100%;
  max-width: 620px;
  text-align: center;
  transform: scale(0.85);       /* right side -15% */
  transform-origin: center top;
}

.login-hero {
  font-size: 72px;
  color: #fff;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.05;
}

.login-tagline {
  margin: 0 0 44px;
  font-size: 20px;
  color: #fff;
}

/* Area below hero/tagline */
.login-feature-area {
  position: relative;
  padding: 30px 0 20px;
}

/* ===== Modern right side layout - clean flow without boxes ===== */

.right-modern{
  margin: 0 auto;
  max-width: 680px;
  display: grid;
  gap: 40px;
}

/* Client team avatars section */
.client-team{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.avatar-stack{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.avatar{
  width: 120px;
  height: 120px;
  border-radius: 999px;
  border: 4px solid rgba(255,255,255,.85);
  background: rgba(255,255,255,.95);
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  transition: transform 0.2s ease;
  position: relative;
  top: -30px;
}

.avatar:hover{ transform: translateY(-3px); }

.team-label{
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  letter-spacing: 0.01em;
  position: relative;
  top: -30px;
}

/* Feature flow - vertical layout without boxes */
.feature-flow{
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}

.feature-section{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-heading{
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  margin: 0;
}

.feature-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag{
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.96);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: all 0.2s ease;
}

.tag:hover{
  background: rgba(255,255,255,.22);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/* Subtle divider between sections */
.flow-divider{
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  margin: 0 auto;
}

/* Shield + small text (bottom-right) */
.login-shield-wrap{
  position: absolute;
  right: 34px;
  bottom: 130px;

  display: flex;
  align-items: center;
  gap: 10px;

  

  /* Optional: keep proportional with your 0.85 scaled right panel */
  transform: scale(0.85);
  transform-origin: right bottom;
}

.login-shield{
  position: static; /* wrapper controls placement */
  width: 30px;
  height: auto;
}

.login-shield-text{
  font-size: 11px;
  line-height: 1.1;
  color: #fff;

  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;

  opacity: 0.9;
}

/* Responsive */
@media (max-width: 980px) {
  .login-split { grid-template-columns: 1fr; }
  .login-right { padding: 46px 26px; }
  .login-left { padding: 36px 22px; }
  .login-hero { font-size: 52px; }

  /* Mobile: lower the form so it's not too close to the logo */
  .login-left__center{
    align-items: flex-start;
    padding-top: 28px;
  }

  /* Adjust spacing for mobile */
  .right-modern{ gap: 32px; }
  .feature-flow{ gap: 28px; }
  .feature-heading{ font-size: 20px; }
  .tag{ font-size: 13px; padding: 9px 14px; }

  /* Adjust avatars for mobile */
  .avatar{
    width: 80px;
    height: 80px;
    top: -20px;
  }

  .team-label{
    top: -20px;
  }

  /* Badge placement on mobile */
  .login-shield-wrap{
    right: 16px;
    bottom: 16px;
    transform: scale(0.9);
  }
}
