body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #05050a !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  color: white;
}

/* --- QUANTUM BACKGROUND --- */
.bg-elements {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 50%, #111122 0%, #05050a 100%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  animation: quantumFloat 20s infinite alternate ease-in-out;
}

.orb-1 { width: 50vw; height: 50vw; background: #6366f1; top: -20%; left: -10%; }
.orb-2 { width: 40vw; height: 40vw; background: #06b6d4; bottom: -10%; right: -5%; animation-delay: -5s; }

@keyframes quantumFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  100% { transform: translate(40px, 40px) scale(1.1) rotate(10deg); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(99, 102, 241, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* --- LOGIN WRAPPER --- */
.login-wrapper {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.login-aside {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  background: linear-gradient(90deg, rgba(9, 9, 20, 0.8) 0%, transparent 100%);
}

.login-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

/* --- LOGIN CARD --- */
.login-card {
  width: 100%;
  max-width: 480px;
  background: rgba(10, 10, 18, 0.4);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 60px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8),
              inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.animate-pro-fade-in {
    animation: proFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes proFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ACCENTS --- */
.corner-accent {
  position: fixed;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.4em;
  z-index: 100;
}

.corner-tr { top: 40px; right: 40px; }
.corner-bl { bottom: 40px; left: 40px; }

.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px #10b981;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
}

/* --- MODIFIED INPUTS --- */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

.input-field-wrapper {
    position: relative;
    display: flex;
    items-center: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-field-wrapper:focus-within {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

.input-field-wrapper i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
}

.input-field-wrapper input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    padding: 22px 16px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
}

.input-field-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.1);
    font-weight: 400;
    text-transform: none;
}

.peek-toggle {
    cursor: pointer;
    transition: all 0.3s;
}

.peek-toggle:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.btn-login {
    width: 100%;
    padding: 24px;
    background: var(--primary);
    border: none;
    border-radius: 20px;
    color: white;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-login:hover {
    background: #4f46e5;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4);
}

.btn-login:active {
    transform: scale(0.98);
}

input:focus {
    outline: none !important;
}

/* Custom visual PIN dots */
#pinDots div {
    box-shadow: 0 0 15px transparent;
}
#pinDots div.bg-primary {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .login-aside { display: none; }
  .login-section { flex: 1; padding: 20px; }
  .login-card { padding: 40px 30px; border-radius: 30px; }
}

@media (max-width: 480px) {
    .login-wrapper { align-items: center; }
    .login-card { 
        padding: 35px 24px;
        background: rgba(10, 10, 18, 0.8);
        border-radius: 24px;
    }
    .corner-accent { display: none; }
}
