/* ==========================================================================
   Bottle Logistics - Clean Enterprise Auth Layout
   Left Auth Card + Right Value Proposition Showcase
   Integrated with Floating Navbar & Static Glass Refraction Bubbles
   ========================================================================== */

:root {
  --bl-forest-950: #022c22;
  --bl-forest-900: #064e3b;
  --bl-forest-800: #065f46;
  --bl-emerald-700: #047857;
  --bl-emerald-600: #059669;
  --bl-emerald-500: #10b981;
  --bl-emerald-400: #34d399;
  --bl-emerald-100: #d1fae5;
  --bl-emerald-50: #ecfdf5;
  --bl-amber-500: #f59e0b;
  --bl-amber-400: #fbbf24;
  --bl-amber-50: #fffbeb;
  --bl-slate-900: #0f172a;
  --bl-slate-800: #1e293b;
  --bl-slate-700: #334155;
  --bl-slate-600: #475569;
  --bl-slate-500: #64748b;
  --bl-slate-400: #94a3b8;
  --bl-slate-300: #cbd5e1;
  --bl-slate-200: #e2e8f0;
  --bl-slate-100: #f1f5f9;
  --bl-slate-50: #f8fafc;
  --bl-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base Body & Reset */
body.bl-auth-body,
body:has(.bl-portal-auth-page) {
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--bl-font-sans) !important;
  background-color: #f8fafc !important;
  color: var(--bl-slate-900) !important;
  min-height: 100vh !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#wrapwrap:has(.bl-portal-auth-page) {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #f8fafc !important;
}

#wrapwrap:has(.bl-portal-auth-page) > main {
  flex: 1 1 auto !important;
  display: flex !important;
  min-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.oe_website_login_container {
  width: 100% !important;
  min-height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
}

/* Main Container with Navbar Spacing & Ambient Atmosphere */
.bl-portal-auth-page {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding-top: 130px !important;
  padding-bottom: 60px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  background: 
    radial-gradient(ellipse at 15% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  overflow-x: hidden !important;
}

.bl-portal-auth-page * {
  box-sizing: border-box !important;
}

/* Ambient Highlights */
.bl-ambient-circle-1 {
  position: absolute;
  top: 5%;
  left: 5%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  filter: blur(60px);
}

.bl-ambient-circle-2 {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  filter: blur(70px);
}

/* ==========================================================================
   STATIC GLASS REFRACTION BUBBLES (Fading Elegantly into Background)
   ========================================================================== */
.bl-bubbles-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.bl-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95) 0%, rgba(16, 185, 129, 0.22) 36%, rgba(5, 150, 105, 0.06) 72%, rgba(248, 250, 252, 0) 100%);
  border: 1px solid rgba(16, 185, 129, 0.24);
  box-shadow: 
    inset 0 3px 6px rgba(255, 255, 255, 0.75),
    inset 0 -2px 6px rgba(5, 150, 105, 0.12),
    0 12px 30px -6px rgba(5, 150, 105, 0.08);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
  transition: transform 0.4s ease;
}

/* Tastefully Balanced Static Positions & Faded Opacities */

/* 1. Large Top-Left Soft Ambient Bubble */
.bl-bubble-1 {
  top: 12%;
  left: 3%;
  width: 120px;
  height: 120px;
  opacity: 0.55;
  filter: blur(2px);
}

/* 2. Crisp Small Left Accent */
.bl-bubble-2 {
  top: 36%;
  left: 1%;
  width: 44px;
  height: 44px;
  opacity: 0.75;
}

/* 3. Medium Mid-Left Accent Bubble */
.bl-bubble-3 {
  top: 65%;
  left: 4%;
  width: 80px;
  height: 80px;
  opacity: 0.6;
  filter: blur(1px);
}

/* 4. Bottom-Left Floating Pill Orb */
.bl-bubble-4 {
  bottom: 8%;
  left: 8%;
  width: 96px;
  height: 96px;
  opacity: 0.5;
  filter: blur(3px);
}

/* 5. Subtle Accent near Center-Left */
.bl-bubble-5 {
  top: 18%;
  left: 36%;
  width: 32px;
  height: 32px;
  opacity: 0.6;
}

/* 6. Subtle Mid-Center Water Drop */
.bl-bubble-6 {
  bottom: 12%;
  left: 42%;
  width: 42px;
  height: 42px;
  opacity: 0.45;
}

/* 7. Large Top-Right Soft Ambient Bubble */
.bl-bubble-7 {
  top: 10%;
  right: 4%;
  width: 130px;
  height: 130px;
  opacity: 0.5;
  filter: blur(3px);
}

/* 8. Crisp Small Upper-Right Accent */
.bl-bubble-8 {
  top: 32%;
  right: 2%;
  width: 48px;
  height: 48px;
  opacity: 0.7;
}

/* 9. Medium Mid-Right Water Bubble */
.bl-bubble-9 {
  top: 58%;
  right: 5%;
  width: 76px;
  height: 76px;
  opacity: 0.6;
  filter: blur(1px);
}

/* 10. Bottom-Right Ambient Bubble */
.bl-bubble-10 {
  bottom: 6%;
  right: 8%;
  width: 110px;
  height: 110px;
  opacity: 0.55;
  filter: blur(2.5px);
}

/* 11. Subtle Micro Bubble near Top-Center */
.bl-bubble-11 {
  top: 8%;
  left: 56%;
  width: 26px;
  height: 26px;
  opacity: 0.65;
}

/* 12. Micro Bubble near Right Feature Header */
.bl-bubble-12 {
  top: 45%;
  right: 32%;
  width: 30px;
  height: 30px;
  opacity: 0.4;
}

/* ==========================================================================
   TWO-COLUMN CONTAINER
   ========================================================================== */
.bl-portal-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

@media (max-width: 980px) {
  .bl-portal-container {
    flex-direction: column;
    gap: 44px;
  }
}

/* ==========================================================================
   LEFT COLUMN: AUTH CARD
   ========================================================================== */
.bl-portal-card-col {
  flex: 0 0 440px;
  max-width: 440px;
  width: 100%;
}

@media (max-width: 980px) {
  .bl-portal-card-col {
    max-width: 460px;
  }
}

.bl-portal-auth-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  padding: 42px 38px;
  box-shadow: 
    0 20px 45px -12px rgba(2, 44, 34, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.02),
    0 0 0 1px rgba(6, 78, 59, 0.03);
  box-sizing: border-box;
  animation: blCardFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes blCardFade {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .bl-portal-auth-card {
    padding: 30px 22px;
    border-radius: 18px;
  }
}

.bl-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.bl-card-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--bl-slate-900);
  letter-spacing: -0.03em;
  margin: 0 0 6px 0;
}

.bl-card-subtitle {
  font-size: 13.5px;
  color: var(--bl-slate-500);
  margin: 0;
  font-weight: 400;
  line-height: 1.45;
}

.bl-card-body {
  width: 100%;
}

/* Form Controls */
.bl-form-group {
  margin-bottom: 20px;
  text-align: left;
}

.bl-input-label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--bl-slate-600);
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.bl-label-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.bl-forgot-btn {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--bl-emerald-600) !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.bl-forgot-btn:hover {
  color: var(--bl-forest-900) !important;
  text-decoration: underline !important;
}

.bl-input-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.bl-text-input {
  width: 100% !important;
  height: 48px !important;
  padding: 10px 14px !important;
  font-family: var(--bl-font-sans) !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  color: var(--bl-slate-900) !important;
  background-color: #ffffff !important;
  border: 1.5px solid var(--bl-slate-300) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.bl-text-input:focus {
  border-color: var(--bl-emerald-600) !important;
  box-shadow: 0 0 0 3.5px rgba(5, 150, 105, 0.16) !important;
  outline: none !important;
}

.bl-text-input::placeholder {
  color: var(--bl-slate-400) !important;
  opacity: 1 !important;
}

/* Show/Hide Text Button */
.bl-show-hide-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 4px 8px;
  color: var(--bl-slate-500);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.15s ease;
  z-index: 3;
}

.bl-show-hide-btn:hover {
  color: var(--bl-slate-800);
  background: var(--bl-slate-100);
}

/* Database Selector Group */
.bl-db-group {
  margin-bottom: 20px;
}

.bl-db-input-wrapper {
  display: flex;
  gap: 8px;
}

.bl-db-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  height: 48px;
  background: var(--bl-slate-100);
  color: var(--bl-slate-700);
  border: 1.5px solid var(--bl-slate-300);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bl-db-action-btn:hover {
  background: var(--bl-slate-200);
  color: var(--bl-slate-900);
}

/* Alert Messages */
.bl-form-alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
  box-sizing: border-box;
}

.bl-alert-icon {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin-top: 1px;
}

.bl-alert-danger {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.bl-alert-success {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

/* Primary Submit Button */
.bl-submit-btn {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  font-family: var(--bl-font-sans) !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 6px 16px -2px rgba(5, 150, 105, 0.35) !important;
  text-decoration: none !important;
}

.bl-submit-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px -2px rgba(5, 150, 105, 0.45) !important;
  color: #ffffff !important;
}

.bl-submit-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.2) !important;
}

.bl-superuser-btn {
  display: block;
  width: 100%;
  padding: 9px 12px;
  background: var(--bl-slate-100);
  color: var(--bl-slate-600);
  border: 1px solid var(--bl-slate-200);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.15s;
}

.bl-superuser-btn:hover {
  background: var(--bl-slate-200);
  color: var(--bl-slate-900);
}

/* Switch Auth Link */
.bl-auth-switch-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--bl-slate-500);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--bl-slate-100);
}

.bl-switch-action {
  color: var(--bl-emerald-600) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.bl-switch-action:hover {
  color: var(--bl-forest-900) !important;
  text-decoration: underline !important;
}

/* OAuth Slot */
.o_login_auth {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.o_login_auth a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--bl-slate-300) !important;
  background: #ffffff !important;
  color: var(--bl-slate-700) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.o_login_auth a:hover {
  background: var(--bl-slate-50) !important;
  border-color: var(--bl-slate-400) !important;
  color: var(--bl-slate-900) !important;
}

/* Card Trust & Footer */
.bl-card-trust-row {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--bl-slate-400);
}

.bl-card-trust-row svg {
  color: var(--bl-emerald-600);
}

.bl-card-meta-footer {
  margin-top: 14px;
  text-align: center;
  font-size: 11.5px;
  color: var(--bl-slate-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.bl-meta-link {
  color: var(--bl-slate-500) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}

.bl-meta-link:hover {
  color: var(--bl-emerald-600) !important;
}

.bl-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--bl-slate-300);
}

/* ==========================================================================
   RIGHT COLUMN: ENTERPRISE VALUE SHOWCASE
   ========================================================================== */
.bl-portal-info-col {
  flex: 1 1 auto;
  max-width: 540px;
  text-align: left;
}

@media (max-width: 980px) {
  .bl-portal-info-col {
    max-width: 460px;
  }
}

.bl-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bl-emerald-50);
  border: 1px solid var(--bl-emerald-100);
  color: var(--bl-emerald-700);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.bl-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--bl-emerald-500);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.bl-info-headline {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--bl-slate-900);
  margin: 0 0 14px 0;
}

.bl-highlight-green {
  color: var(--bl-emerald-600);
}

.bl-highlight-amber {
  color: var(--bl-amber-500);
}

@media (max-width: 480px) {
  .bl-info-headline {
    font-size: 26px;
  }
}

.bl-info-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--bl-slate-600);
  margin: 0 0 24px 0;
  font-weight: 400;
}

/* Numbered Value Cards */
.bl-info-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bl-feature-row {
  background: #ffffff;
  border: 1px solid var(--bl-slate-200);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 8px -2px rgba(2, 44, 34, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bl-feature-row:hover {
  border-color: #a7f3d0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.1);
}

.bl-feature-icon-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.bl-icon-wash {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #047857;
  border: 1px solid #a7f3d0;
}

.bl-icon-cycle {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.bl-icon-esg {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #b45309;
  border: 1px solid #fde68a;
}

.bl-feature-row:hover .bl-feature-icon-badge {
  transform: scale(1.06);
}

.bl-feature-content {
  display: flex;
  flex-direction: column;
}

.bl-feature-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bl-slate-900);
  margin-bottom: 3px;
  line-height: 1.3;
}

.bl-feature-desc {
  font-size: 13px;
  color: var(--bl-slate-500);
  line-height: 1.45;
  font-weight: 400;
}

/* Impact Strip */
.bl-impact-strip {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bl-slate-200);
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

@media (max-width: 580px) {
  .bl-impact-strip {
    display: none;
  }
}

.bl-impact-pill {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bl-impact-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--bl-emerald-600);
}

.bl-impact-lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--bl-slate-500);
}

.bl-impact-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--bl-slate-300);
}
