/* ==========================================================================
   LOGIN PAGE STYLESHEET - MOHD IRSHAD AUTH SYSTEM
   Enlarged Luxury Form Card, Mobile Single-Form View, 2px Animated Border
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
}

.exact-login-body {
  height: 100vh;
  max-height: 100vh;
  background: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
}

/* Ambient Soft Glowing Orbs */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.glow-left-top {
  top: -80px;
  left: -80px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(236, 72, 153, 0.12) 50%, transparent 75%);
  animation: auraFloat1 8s ease-in-out infinite alternate;
}
.glow-left-bottom {
  bottom: -80px;
  left: -60px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.16) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 75%);
  animation: auraFloat2 9s ease-in-out 1s infinite alternate-reverse;
}

@keyframes auraFloat1 {
  0% { transform: scale(0.95) translate(-10px, -10px); }
  100% { transform: scale(1.1) translate(15px, 15px); }
}
@keyframes auraFloat2 {
  0% { transform: scale(0.92) translate(10px, 10px); }
  100% { transform: scale(1.08) translate(-15px, -15px); }
}

/* Top Progress Bar for Page/Action Loading */
#login-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #f97316);
  z-index: 9999;
  transition: width 0.3s ease, opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. MAIN CANVAS & 2-COLUMN SPLIT GRID
   -------------------------------------------------------------------------- */
.mockup-canvas-wrapper {
  width: 100%;
  max-width: 1140px;
  position: relative;
  z-index: 2;
  margin: auto;
}

.mockup-split-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

/* --------------------------------------------------------------------------
   3. LEFT COLUMN: HERO BRANDING & 3 FEATURES (DESKTOP)
   -------------------------------------------------------------------------- */
.mockup-left-pane {
  display: flex;
  flex-direction: column;
}

/* Brand Row */
.mockup-brand-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none !important;
  color: inherit;
  width: fit-content;
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.mockup-mi-logo {
  width: 48px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mockup-brand-row:hover .mockup-mi-logo {
  transform: scale(1.08) rotate(-3deg);
}
.mockup-mi-logo svg {
  width: 100%;
  height: 100%;
}

.mockup-brand-meta h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.mockup-brand-sub {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 500;
}
.purple-sub-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7c3aed;
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.6);
}

/* Welcome Badge */
.mockup-welcome-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.85rem;
  background: #faf5ff;
  border: 1px solid #ddd6fe;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #7c3aed;
  margin: 1.1rem 0 0.85rem;
  width: fit-content;
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* Main Headline */
.mockup-main-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.18;
  letter-spacing: -0.6px;
  margin-bottom: 0.55rem;
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.mockup-gradient-word {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  background-size: 200% auto;
  animation: gradientShimmer 6s ease-in-out infinite alternate;
}
@keyframes gradientShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.mockup-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.35rem;
  max-width: 390px;
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* 3 Feature Items */
.mockup-features-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.45rem;
}

.mockup-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.2rem 0.3rem;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.mockup-feature-item:hover {
  transform: translateX(6px);
}

.mockup-pastel-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}
.mockup-feature-item:hover .mockup-pastel-icon {
  transform: scale(1.1) rotate(4deg);
}

.mockup-pastel-icon.purple { background: #f3e8ff; color: #7c3aed; }
.mockup-pastel-icon.pink   { background: #fdf2f8; color: #ec4899; }
.mockup-pastel-icon.peach  { background: #fff7ed; color: #ea580c; }

.mockup-feature-info h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.1rem;
}
.mockup-feature-info p {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.35;
}

/* Bottom Developer Profile Card */
.mockup-dev-pill-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  width: fit-content;
  max-width: 330px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: fadeInLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  border: 1px solid #f1f5f9;
}
.mockup-dev-pill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.1);
  border-color: #ddd6fe;
}

.mockup-avatar-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  padding: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.35);
}
.mockup-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mockup-dev-details {
  flex-grow: 1;
}
.mockup-dev-details h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.1;
}
.mockup-dev-title {
  font-size: 0.68rem;
  color: #64748b;
  display: block;
}
.mockup-dev-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.64rem;
  color: #10b981;
  font-weight: 700;
}
.green-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.mockup-paperplane-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  color: #ffffff !important;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}
.mockup-paperplane-btn:hover {
  background: #6d28d9;
  transform: scale(1.12);
}

/* --------------------------------------------------------------------------
   4. RIGHT COLUMN: ENLARGED AUTH CARD WITH 2PX ANIMATED BORDER & SHADOWS
   -------------------------------------------------------------------------- */
.mockup-right-pane {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

/* Mobile-only brand header (Hidden on Desktop) */
.mobile-only-brand-header {
  display: none;
}
.mobile-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
  color: inherit;
}
.mobile-mi-logo {
  width: 44px;
  height: 30px;
}
.mobile-brand-meta h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.mobile-brand-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Enlarged Auth Card */
.mockup-auth-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  padding: 2.1rem 2.4rem 1.8rem;
  /* Multi-Layered Luxury Shadow */
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.03),
    0 24px 60px rgba(124, 58, 237, 0.07),
    0 0 0 1px rgba(226, 232, 240, 0.8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}

/* 2px Animated Rotating Glowing Gradient Border */
.mockup-auth-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.45), rgba(236, 72, 153, 0.4), rgba(249, 115, 22, 0.45), rgba(124, 58, 237, 0.45));
  background-size: 300% 300%;
  animation: borderRotate 6s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.mockup-auth-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 14px 40px rgba(0, 0, 0, 0.04),
    0 32px 80px rgba(124, 58, 237, 0.13),
    0 0 0 1px rgba(124, 58, 237, 0.2);
}
.mockup-auth-card:hover::before {
  opacity: 1;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Card Header */
.mockup-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.mockup-lock-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #faf5ff;
  border: 1px solid #ede9fe;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
  transition: transform 0.3s ease;
}
.mockup-auth-card:hover .mockup-lock-box {
  transform: scale(1.08) rotate(5deg);
}

.mockup-head-titles h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}
.mockup-head-titles p {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
}

/* Alert Messages */
.mockup-alert-msg {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.95rem;
}
.mockup-alert-msg.error { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }
.mockup-alert-msg.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #16a34a; }

/* Social Buttons Row (Enlarged) */
.mockup-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.mockup-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  height: 42px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mockup-social-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.social-g-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.social-gh-icon {
  font-size: 1.1rem;
  color: #0f172a;
}

/* Line Divider */
.mockup-line-divider {
  position: relative;
  text-align: center;
  margin: 0.85rem 0 1.05rem;
}
.mockup-line-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
  z-index: 1;
}
.mockup-line-divider span {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 0 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: lowercase;
}

/* Form (Enlarged Inputs) */
.mockup-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.mockup-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}

.mockup-form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  display: block;
}

.mockup-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.mockup-field-icon {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  font-size: 0.92rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.mockup-text-input {
  width: 100%;
  height: 44px;
  padding: 0 2.4rem 0 2.7rem;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
}
.mockup-text-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
  background: #ffffff !important;
}
.mockup-text-input:focus ~ .mockup-field-icon,
.mockup-input-box:focus-within .mockup-field-icon {
  color: #6366f1;
}

.mockup-eye-btn {
  position: absolute;
  right: 0.95rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.92rem;
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.mockup-eye-btn:hover {
  color: #6366f1;
}

/* Options Row */
.mockup-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-top: -0.1rem;
}

.mockup-remember-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  color: #475569;
  font-weight: 500;
  user-select: none;
}
.mockup-remember-label input {
  display: none;
}
.mockup-checkbox-custom {
  width: 17px;
  height: 17px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.mockup-remember-label input:checked + .mockup-checkbox-custom {
  background: #6366f1;
  border-color: #6366f1;
}
.mockup-remember-label input:checked + .mockup-checkbox-custom::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #ffffff;
  font-size: 0.6rem;
}

.mockup-forgot-link {
  color: #6366f1;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.mockup-forgot-link:hover {
  color: #ea580c;
  text-decoration: underline !important;
}

/* Gradient Submit Button (Bigger Height 48px) */
.mockup-gradient-submit-btn {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(90deg, #6366f1 0%, #a855f7 35%, #ec4899 70%, #f97316 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.32);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  margin-top: 0.4rem;
  position: relative;
  overflow: hidden;
}
.mockup-gradient-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(236, 72, 153, 0.45);
}
.mockup-gradient-submit-btn:active {
  transform: translateY(0);
}

/* Loading Spinner Inside Button */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.mockup-gradient-submit-btn.loading .btn-spinner {
  display: inline-block;
}
.mockup-gradient-submit-btn.loading .btn-icon-svg {
  display: none;
}
.mockup-gradient-submit-btn.loading {
  pointer-events: none;
  opacity: 0.92;
}

/* Switch / Create Account */
.mockup-switch-row {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  margin: 0.85rem 0 0.95rem;
}
.mockup-signup-link {
  color: #6366f1;
  font-weight: 800;
  margin-left: 0.25rem;
  text-decoration: none !important;
}
.mockup-signup-link:hover {
  color: #ea580c;
  text-decoration: underline !important;
}

/* Bottom Security Banner */
.mockup-security-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.72rem 1.05rem;
  background: #f8f7ff;
  border: 1px solid #ede9fe;
  border-radius: 14px;
}
.mockup-security-icon {
  color: #6366f1;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mockup-security-text h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: #6366f1;
  margin: 0;
  line-height: 1.15;
}
.mockup-security-text p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.25;
}

/* Bottom Trust Strip */
.mockup-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding: 0 0.4rem;
  animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.mockup-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s ease;
}
.mockup-trust-item:hover {
  transform: translateY(-2px);
}
.trust-square-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.trust-square-icon.purple { background: #f3e8ff; color: #7c3aed; }
.trust-square-icon.blue   { background: #eff6ff; color: #3b82f6; }
.trust-square-icon.pink   { background: #fdf2f8; color: #ec4899; }

.trust-meta strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
  display: block;
  line-height: 1.1;
}
.trust-meta span {
  font-size: 0.66rem;
  color: #94a3b8;
  font-weight: 500;
  display: block;
}

/* --------------------------------------------------------------------------
   5. KEYFRAME ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   7. DEMO LOGIN CARDS & INTERACTIVE CONTROLS
   -------------------------------------------------------------------------- */
.mockup-demo-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.95rem 1rem 0.85rem;
  margin-bottom: 1.15rem;
  position: relative;
  transition: all 0.3s ease;
}
.mockup-demo-section:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.demo-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.demo-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: demoPulse 1.8s infinite;
}

@keyframes demoPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.demo-hint-text {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Demo Grid 2 Cards */
.demo-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.demo-role-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.75rem 0.8rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  user-select: none;
}

.demo-role-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.admin-demo-card:hover, .admin-demo-card.active-demo-card {
  border-color: #8b5cf6;
  background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.12);
}

.user-demo-card:hover, .user-demo-card.active-demo-card {
  border-color: #10b981;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
}

.demo-card-top {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.demo-role-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.demo-role-icon.admin {
  background: #ede9fe;
  color: #7c3aed;
}

.demo-role-icon.user {
  background: #dcfce7;
  color: #15803d;
}

.demo-role-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-role-title-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.demo-role-name {
  font-size: 0.78rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.demo-tag {
  font-size: 0.58rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.demo-tag.admin {
  background: #f3e8ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}
.demo-tag.user {
  background: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.demo-role-desc {
  font-size: 0.65rem;
  color: #64748b;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Credentials Snippet */
.demo-cred-row {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #f8fafc;
  padding: 0.25rem 0.45rem;
  border-radius: 6px;
  border: 1px dashed #cbd5e1;
  font-size: 0.66rem;
  color: #475569;
  overflow: hidden;
}
.demo-cred-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-cred-sep {
  color: #94a3b8;
  font-weight: bold;
}

/* 1-Click Login Mini Button */
.demo-card-actions {
  margin-top: 0.1rem;
}
.demo-fill-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 0.38rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.demo-fill-btn.admin {
  background: #7c3aed;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}
.demo-fill-btn.admin:hover {
  background: #6d28d9;
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}
.demo-fill-btn.user {
  background: #059669;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}
.demo-fill-btn.user:hover {
  background: #047857;
  transform: scale(1.02);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);
}

/* Input Glowing Pulse Animation when filled */
.input-highlight-glow {
  animation: inputGlow 1.2s ease;
}
@keyframes inputGlow {
  0% {
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.4);
    border-color: #7c3aed;
  }
  50% {
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.25);
    border-color: #7c3aed;
  }
  100% {
    box-shadow: none;
  }
}

/* Floating Toast Feedback */
.demo-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(226, 232, 240, 0.8);
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.demo-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.demo-toast.admin-theme {
  border-left: 4px solid #7c3aed;
}
.demo-toast.user-theme {
  border-left: 4px solid #10b981;
}
.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.demo-toast.admin-theme .toast-icon {
  background: #ede9fe;
  color: #7c3aed;
}
.demo-toast.user-theme .toast-icon {
  background: #dcfce7;
  color: #10b981;
}
.toast-content {
  display: flex;
  flex-direction: column;
}
.toast-content strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
}
.toast-content span {
  font-size: 0.72rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .exact-login-body {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow-y: auto;
    padding: 2rem 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mockup-canvas-wrapper {
    max-width: 440px;
    margin: auto;
    padding: 0;
  }
  .mockup-split-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* HIDE LEFT HERO PANE ON MOBILE */
  .mockup-left-pane {
    display: none !important;
  }
  /* SHOW RIGHT AUTH CARD FOCUSED & CENTERED */
  .mockup-right-pane {
    width: 100%;
  }
  .mockup-auth-card {
    padding: 1.8rem 1.4rem 1.6rem;
    border-radius: 26px;
  }
  .mobile-only-brand-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
  }
}

@media (max-width: 520px) {
  .demo-grid-cards {
    grid-template-columns: 1fr;
  }
  .demo-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

