/* login-new.css — Premium Split-Panel Login UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}

/* ── LAYOUT ──────────────────────────────────────── */
.login-wrapper {
  display: flex;
  height: 100vh;
  width: 100vw;
}

/* ── LEFT PANEL ──────────────────────────────────── */
.login-left {
  position: relative;
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #020617;
}

.login-left-bg {
  position: absolute;
  inset: 0;
  background-image: url('../media/payroll-login-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}

.login-left-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.88) 0%,
    rgba(15, 23, 42, 0.72) 60%,
    rgba(67, 56, 202, 0.25) 100%
  );
}

.login-left-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.5rem 2.8rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5865f2 0%, #6370f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.45);
  user-select: none;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-name .brand-main { color: #ffffff; }
.brand-name .brand-accent { color: #818cf8; }

.brand-tag {
  font-family: 'Inter', sans-serif;
  width: max-content;
  font-size: 12px;
  letter-spacing: 0.3px;
  color: #A5B4FC;
  text-transform: uppercase;
  margin-top: 2px;
  padding: 8px;
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 20px rgba(100, 110, 220, 0.15);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  border: 2px solid rgba(120, 130, 220, 0.45);
  border-radius: 999px;
  margin-bottom: 10px;
}

/* Hero copy */
.hero-copy {
  margin-top: auto;
  padding-bottom: 3rem;
  position: relative;
  top: -100px;
  margin-bottom: 15px;
}

.hero-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.9px;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1.1rem;
}

.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0px;
  color: #cbd5e1;
  line-height: 1.65;
  max-width: 88%;
}

/* Decorative ring */
.left-deco {
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(129, 140, 248, 0.18);
  pointer-events: none;
}

.left-deco::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(129, 140, 248, 0.1);
}

/* ── RIGHT PANEL ─────────────────────────────────── */
.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5ff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.login-right::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.09) 0%, transparent 70%);
  pointer-events: none;
}

.login-right::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165,180,252,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Form Card */
.login-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  height: 278px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(99,102,241,0.08),
    0 8px 32px rgba(15, 23, 42, 0.10),
    0 32px 64px rgba(99,102,241,0.07);
  padding: 2.4rem 2.5rem 2.2rem;
  animation: slideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SSO badge */
.sso-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0px;
  color: #4338ca;
  margin-bottom: 1.2rem;
  text-decoration: none;
}

.sso-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Welcome heading */
.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.75px;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.card-subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.9rem;
}

/* ── FORM FIELDS ──────────────────────────────────── */
.field-group {
  margin-bottom: 1.25rem;
}

.field-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #334155;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

.field-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 13px;
  display: flex;
  align-items: center;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 1;
}

.field-icon svg {
  width: 16px;
  height: 16px;
}

.field-input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 40px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #0f172a;
  background: #f8fafc;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.field-input:focus {
  border-color: #6366f1;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

.field-input-wrap:focus-within .field-icon {
  color: #6366f1;
}

/* password toggle */
.pwd-toggle {
  position: absolute;
  right: 13px;
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  padding: 0;
  transition: color 0.2s;
  z-index: 1;
}

.pwd-toggle:hover { color: #6366f1; }
.pwd-toggle svg { width: 16px; height: 16px; }

/* honeypot hidden */
.honeypot { display: none !important; }

/* Error alert */
.login-alert {
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

/* Submit btn */
.btn-login {
  width: 100%;
  height: 46px;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  box-shadow: 0 4px 18px rgba(79,70,229,0.38);
}

.btn-login:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(79,70,229,0.45);
}

.btn-login:active {
  transform: translateY(0);
  filter: brightness(0.97);
}
.sso-badge-wrap{
  width: 228px;
  height: 26px;
  align-items: center;
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
  background: #E0E7FF;
  border-radius: 40px;
  margin-bottom: 10px;
}

.enterprice{
margin: 2PX;
width:max-content ;
height: max-content;
padding: 6px;
background: #383b5b;            
color: #fde4f2;  
display: inline-block;
border-radius: 5px;
line-height: 1;
letter-spacing: 0.02em;
text-transform: uppercase;
text-align: center;
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
border: 2px solid #4a4d6e;  
white-space: nowrap;
}
.enterprice>p{
  color: #fde4f2;  
  font-family: 'Inter', sans-serif;
  font-size: 10px;
}


/* ── RESPONSIVE ───────────────────────────────────── */

/* Medium screens & small desktops (≤ 1200px) */
@media (max-width: 1200px) {
  .login-left-content {
    padding: 2rem 2.2rem;
  }
  .hero-copy {
    margin: auto 0;
    top: 0;
    padding-bottom: 0;
  }
  .hero-heading {
    font-size: 26px;
    letter-spacing: -0.6px;
    line-height: 1.22;
    margin-bottom: 0.85rem;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.55;
    max-width: 95%;
  }
}

/* Tablet & compact desktop landscape (≤ 992px, e.g. 938px) */
@media (max-width: 992px) {
  .login-left {
    flex: 0 0 44%;
  }
  .login-left-content {
    padding: 1.6rem 1.8rem;
  }
  .brand {
    gap: 0.6rem;
  }
  .brand-logo {
    width: 40px;
    height: 40px;
    font-size: 15px;
    border-radius: 10px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-tag {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 8px;
  }
  .hero-copy {
    margin: auto 0;
    top: 0;
    padding-bottom: 0;
  }
  .hero-heading {
    font-size: 21px;
    letter-spacing: -0.4px;
    line-height: 1.25;
    margin-bottom: 0.65rem;
  }
  .hero-sub {
    font-size: 13px;
    line-height: 1.5;
    max-width: 100%;
  }
}

/* Screens with limited vertical height (≤ 750px, e.g. 699px height) */
@media (max-height: 750px) {
  .login-left-content {
    padding: 1.5rem 1.8rem;
  }
  .hero-copy {
    margin: auto 0;
    top: 0;
    padding-bottom: 0;
  }
  .hero-heading {
    font-size: 20px;
    line-height: 1.22;
    margin-bottom: 0.5rem;
  }
  .hero-sub {
    font-size: 12.5px;
    line-height: 1.45;
  }
  .brand-tag {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 6px;
  }
}

/* Mobile screens (≤ 768px) */
@media (max-width: 768px) {
  .login-left { display: none; }
  html, body { overflow: auto; }
  .login-right {
    align-items: flex-start;
    padding: 2rem 1.2rem;
    background: #f8fafc;
  }
  .login-card {
    max-width: 100%;
    border-radius: 16px;
    padding: 1.8rem 1.4rem;
    margin-top: 1rem;
    height: auto;
  }
}
