:root {
  /* Dynamic Water Color Palette Variables */
  --lp-primary: #0284c7;         /* Deep Ocean Blue */
  --lp-primary-light: #0ea5e9;   /* Clear Water Blue */
  --lp-primary-dark: #0c4a6e;    /* Dark Abyssal Blue */
  --lp-accent: #f1c40f;          /* Thor's Golden Thunder Yellow */
  --lp-accent-dark: #d4ac0d;     /* Deep Thunder Gold */
  --lp-body-bg: #e0f2fe;         /* Soft Crystal Sky Blue */
  --lp-card-shadow: 0 0.5rem 1.5rem rgba(2, 132, 199, 0.08);
}

body.lp-body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  /* Beautiful water-color smooth background gradient cascade */
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 40%, #bae6fd 100%);
  color: var(--lp-primary-dark);
  min-height: 100vh;
}

/* Beautiful Frosted Glassmorphism Header Bar Layout */
.lp-navbar {
  background: rgba(12, 74, 110, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--lp-primary-light);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.15);
}

.lp-navbar .navbar-brand,
.lp-navbar .nav-link {
  color: #fff !important;
  font-weight: 500;
  transition: all 0.25s ease;
}

.lp-navbar .nav-link:hover {
  color: var(--lp-accent) !important;
  transform: translateY(-1px);
}

.lp-navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800 !important;
  text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.lp-nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: left center;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--lp-primary-light);
  transition: transform 0.3s ease;
}

.lp-nav-logo:hover {
  transform: rotate(15deg) scale(1.05);
}

/* Watercolor High-Utility Cards Layout */
.lp-card {
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 1rem;
  box-shadow: var(--lp-card-shadow);
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lp-card:hover {
  box-shadow: 0 0.75rem 2rem rgba(2, 132, 199, 0.12);
}

.lp-card .card-header {
  background: linear-gradient(135deg, var(--lp-primary-dark) 0%, var(--lp-primary) 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 1rem 1.25rem;
  letter-spacing: 0.3px;
}

/* Golden Accent Core Interaction Buttons */
.lp-btn-accent {
  background: linear-gradient(135deg, var(--lp-accent) 0%, var(--lp-accent-dark) 100%);
  border: none;
  color: var(--lp-primary-dark) !important;
  font-weight: 700;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(241, 196, 15, 0.2);
  transition: all 0.25s ease;
}

.lp-btn-accent:hover {
  background: linear-gradient(135deg, var(--lp-accent-dark) 0%, #b5930a 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(241, 196, 15, 0.35);
}

.lp-text-accent {
  color: var(--lp-accent-dark);
  font-weight: 600;
}

/* Water Flow Styled Dynamic Progress Bars */
.lp-progress .progress-bar {
  background: linear-gradient(90deg, var(--lp-primary) 0%, var(--lp-primary-light) 100%);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
}

/* The main water canvas wrapper */
.lp-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3b93c8 0%, #1e40af 100%) !important;
}


/* --- THE REAL ANIMATED LAUNDRY OBJECTS LAYER --- */

/* Element 1: The Washing Machine 🧼 */
.lp-login-wrap::before {
  content: "🧺";
  position: absolute;
  font-size: 4rem;
  bottom: -10%;
  left: 8%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  animation: floatLaundryItem 14s ease-in-out infinite;
}

/* Element 2: The Laundry Basket 🧺 */
.lp-login-wrap::after {
  content: "👕";
  position: absolute;
  font-size: 3.5rem;
  top: 10%;
  right: 12%;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
  animation: floatLaundryItem 18s ease-in-out infinite reverse;
}

/* Extra Floating Laundry Elements (Injected dynamically into the background canvas) */
.lp-login-wrap {
  /* We use background shorthand to inject an extra bubble and t-shirt vector pair */
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.15) 0%, transparent 20%),
    radial-gradient(circle at 85% 75%, rgba(255,255,255,0.12) 0%, transparent 25%),
    linear-gradient(135deg, #7dd3fc 0%, #3b93c8 50%, #1e40af 100%) !important;
}

/* Add an extra floating element container layer through CSS content injections */
body::before {
  content: "🧼";
  position: absolute;
  font-size: 3rem;
  bottom: 15%;
  right: 15%;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  animation: floatLaundryItem 11s ease-in-out infinite alternate;
}

body::after {
  content: "🧦";
  position: absolute;
  font-size: 2.5rem;
  top: 20%;
  left: 10%;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  animation: floatLaundryItem 16s ease-in-out infinite;
}


/* --- THE PREMIUM LAUNDRY MOTION KEYFRAMES --- */
@keyframes floatLaundryItem {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
    opacity: 0.1;
  }
  30% {
    opacity: 0.4;
  }
  50% {
    /* Moves item up and sideways while giving it a gentle washing machine spin sway */
    transform: translateY(-80px) translateX(25px) rotate(25deg) scale(1.1);
  }
  70% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-160px) translateX(-10px) rotate(-15deg) scale(1);
    opacity: 0.1;
  }
}

/* Ensure the page content sits safely on top of everything */
.container {
  position: relative;
  z-index: 5 !important;
}


.lp-login-card {
  max-width: 420px;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 5 !important;
}

.lp-login-card .card-header {
  font-size: 1.35rem;
  text-align: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-light) 100%);
  padding: 1.25rem;
}


body.customer-body {
  /* Creates space so the new fixed top menu doesn't block out your cards */
  padding-top: 63px; 
}

/* Ensure the navbar handles layer stacks correctly over buttons */
.lp-navbar.fixed-top {
  z-index: 1030 !important;
}


/* --- CLEAN DARK WATER BACKGROUND RESET --- */
body.lp-body, body.customer-body {
  padding-top: 90px !important;
  /* Rich Dark Sea Gradient Canvas */
  background: linear-gradient(180deg, #83b6d6 0%, #76a7c5 50%, #9cb8ca 100%) !important;
  min-height: 100vh;
}


/* Ensure the floating navigation bar stays cleanly layered on top of all other elements */
.lp-navbar.fixed-top {
  z-index: 2000 !important;
}




/* --- THOR'S NAVBAR SINGLE THUNDER STRIKE EFFECT WITH LIFT & SPACING --- */

/* 1. Target ONLY the actual menu items (Excludes Brand Name and Logo) */
.lp-navbar .navbar-nav .nav-link {
  position: relative;
  /* Smooth transition for both the slide-up movement and color changes */
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.15s ease;
  display: inline-block;
  
  /* FIXED: Adds 12px of spacing on both sides of every choice to separate them cleanly */
  margin-left: 12px !important;
  margin-right: 12px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
}

/* 2. Trigger the single electric lightning flash and slide-up lift on hover */
.lp-navbar .navbar-nav .nav-link:hover {
  color: #ffffff !important;
  /* Lift the text up slightly by 3 pixels cleanly with no shaking */
  transform: translateY(-3px);
  /* Fires the rapid lightning bolt flash sequence exactly once */
  animation: singleLightningStrike 0.4s ease-out forwards;
}

/* 3. Glowing lightning bar that expands smoothly underneath the menu item */
.lp-navbar .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--lp-accent, #f1c40f);
  box-shadow: 0 0 10px #ffea00;
  transition: all 0.2s ease;
}

.lp-navbar .navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* 4. Single-strike flash keyframes (Bright burst -> steady glowing state) */
@keyframes singleLightningStrike {
  0% {
    text-shadow: none;
  }
  /* Blinding initial strike burst */
  15% {
    text-shadow: 
      0 0 8px #fff,
      0 0 20px var(--lp-accent, #f1c40f), 
      0 0 40px #ffea00;
  }
  /* Quick micro-flicker discharge */
  30% {
    text-shadow: 0 0 4px var(--lp-accent, #f1c40f);
  }
  /* Second fast return stroke burst */
  45% {
    text-shadow: 
      0 0 6px #fff,
      0 0 18px var(--lp-accent, #f1c40f), 
      0 0 35px #ffea00;
  }
  /* Settles into a clean, steady neon electrical glow */
  100% {
    text-shadow: 
      0 0 4px var(--lp-accent, #f1c40f),
      0 0 12px var(--lp-accent-dark, #d4ac0d);
  }
}




