/* ==========================================================================
   RankSecure CRM — Enterprise Login Page Design System
   Aesthetic: Apple + Linear + Stripe + Notion + Framer
   Google Fonts: Public Sans (headings) + Rethink Sans (body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;0,14..32,900;1,14..32,400;1,14..32,500&display=swap');

:root {
  /* Color Palette (updated) */
  --primary: #C98F3E;
  --primary-hover: #A8732E;
  --primary-light: rgba(201, 143, 62, 0.08);
  --accent: #C98F3E;
  --accent-hover: #A8732E;
  --accent-soft: #F3E7D4;
  --bg-warm: #FCFAF7;
  --card-bg: #FFFFFF;
  --text-main: #2B2419;
  --text-secondary: #8A7C63;
  --text-muted: #9C907A;
  --border-color: #EFE6D7;
  --border-focus: #C98F3E;
  --success: #16A34A;

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Gradient presets (updated to reflect new brand tones) */
  --grad-brand: linear-gradient(135deg, #E0AC55 0%, #C98F3E 45%, #7A4E24 100%);
  --grad-brand-soft: linear-gradient(135deg, #FFFDF9 0%, #F8F1E4 100%);
  --grad-gold: linear-gradient(135deg, #C98F3E 0%, #E0AC55 100%);
  --grad-teal: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
  --grad-blue: linear-gradient(135deg, #6E4E72 0%, #9B7FA0 100%);
  --grad-warm-bg: linear-gradient(135deg, #FFFDF9 0%, #FBF6EE 60%, #F4EAD6 100%);

  /* Shadows (tinted with new primary) */
  --shadow-glass: 0 20px 50px rgba(201, 143, 62, 0.08), 0 4px 16px rgba(0, 0, 0, 0.02);
  --shadow-input: inset 0 1px 2px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-button: 0 10px 24px -4px rgba(122, 78, 36, 0.38);
  --shadow-card-3d: 0 35px 70px -15px rgba(122, 78, 36, 0.22), 0 15px 30px -10px rgba(0, 0, 0, 0.08);
  --shadow-pill: 0 4px 14px rgba(67, 41, 19, 0.05);
  --shadow-elevated: 0 20px 40px -12px rgba(67, 41, 19, 0.10), 0 8px 24px -6px rgba(0, 0, 0, 0.04);
  /* CHANGED: New */

  /* Border Radii - UNCHANGED */
  --radius-card: 28px;
  --radius-input: 16px;
  --radius-button: 9999px;
  --radius-pill: 50px;
  --radius-lg: 24px;
  /* CHANGED: New */

  /* Transitions - UNCHANGED */
  --transition-fast: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles - UNCHANGED */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  background-color: var(--bg-warm);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Background Gradients & Concentric Rings - CHANGED: Added animations */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-radial-gradient-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(245, 235, 230, 0.7) 0%, rgba(252, 250, 247, 0) 70%);
  /* CHANGED: Increased opacity */
  border-radius: 50%;
  filter: blur(60px);
  animation: driftGlow 24s infinite alternate ease-in-out;
  /* CHANGED: New animation */
}

.bg-radial-gradient-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(254, 243, 199, 0.5) 0%, rgba(252, 250, 247, 0) 70%);
  /* CHANGED: Increased opacity */
  border-radius: 50%;
  filter: blur(80px);
  animation: driftGlow 30s infinite alternate-reverse ease-in-out;
  /* CHANGED: New animation */
}

/* CHANGED: New keyframe animation */
@keyframes driftGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(3%, 2%) scale(1.05);
  }
}

/* CHANGED: Organic honey blobs — floating warmth */
.bg-organic-blob {
  position: absolute;
  border-radius: 42% 58% 52% 48% / 55% 42% 58% 45%;
  filter: blur(3px);
  opacity: 0.55;
  pointer-events: none;
  animation: blobFloat 18s infinite alternate ease-in-out;
}

.bg-organic-blob-1 {
  width: 320px;
  height: 320px;
  bottom: 6%;
  left: 8%;
  background: radial-gradient(circle at 35% 35%, rgba(224, 172, 85, 0.35), rgba(201, 143, 62, 0.08) 75%);
  animation-delay: 0s;
}

.bg-organic-blob-2 {
  width: 240px;
  height: 240px;
  top: 10%;
  left: 42%;
  background: radial-gradient(circle at 40% 40%, rgba(122, 78, 36, 0.18), rgba(201, 143, 62, 0.06) 75%);
  animation-delay: 4s;
}

.bg-organic-blob-3 {
  width: 380px;
  height: 380px;
  top: 40%;
  right: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(224, 172, 85, 0.28), rgba(243, 231, 212, 0.05) 75%);
  animation-delay: 8s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  50% {
    transform: translate(-14px, 12px) rotate(4deg);
  }

  100% {
    transform: translate(10px, -10px) rotate(-3deg);
  }
}

.bg-concentric-rings {
  position: absolute;
  top: 50%;
  right: -150px;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  /* CHANGED: Increased from 0.45 */
}

.bg-concentric-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 143, 62, 0.20);
  animation: pulseRing 14s infinite ease-in-out alternate;
  /* CHANGED: Longer duration */
}

.ring-1 {
  width: 300px;
  height: 300px;
  animation-delay: 0s;
}

.ring-2 {
  width: 450px;
  height: 450px;
  animation-delay: 2s;
}

.ring-3 {
  width: 600px;
  height: 600px;
  animation-delay: 4s;
}

.ring-4 {
  width: 750px;
  height: 750px;
  animation-delay: 6s;
}

.ring-5 {
  width: 900px;
  height: 900px;
  animation-delay: 8s;
}

@keyframes pulseRing {
  0% {
    transform: scale(0.98);
    opacity: 0.25;
  }

  /* CHANGED: Adjusted opacity */
  100% {
    transform: scale(1.02);
    opacity: 0.55;
  }

  /* CHANGED: Adjusted opacity */
}

/* Main Layout Setup - UNCHANGED */
.page-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8) var(--space-10);
}

@media (max-width: 991px) {
  .page-container {
    padding: var(--space-6) var(--space-5);
  }
}

/* Top Right Help Pill - CHANGED: Refined styling */
.top-help-wrapper {
  position: absolute;
  top: 36px;
  right: 48px;
  z-index: 10;
}

.btn-need-help {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  /* CHANGED: Adjusted padding */
  background: rgba(255, 255, 255, 0.85);
  /* CHANGED: Added backdrop blur */
  backdrop-filter: blur(8px);
  /* CHANGED: New */
  -webkit-backdrop-filter: blur(8px);
  /* CHANGED: New */
  border: 1px solid rgba(255, 255, 255, 0.6);
  /* CHANGED: Refined border */
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  /* CHANGED: Softer shadow */
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-need-help:hover {
  transform: translateY(-2px) scale(1.01);
  /* CHANGED: Added scale */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  /* CHANGED: Enhanced shadow */
  border-color: rgba(201, 143, 62, 0.30);
  /* CHANGED: Refined */
  background: rgba(255, 255, 255, 0.95);
  /* CHANGED: New */
}

.icon-headset {
  font-size: 1rem;
  color: var(--primary);
}

/* Main Content Grid - UNCHANGED */
.login-wrapper {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* LEFT PANEL - GLASS LOGIN CARD - CHANGED: Enhanced glass effect */
.left-panel-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.login-card-glass {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(240, 230, 210, 0.85);
  border-radius: var(--radius-3xl);
  box-shadow: 0 20px 60px rgba(67, 41, 19, 0.10), 0 0 0 1px rgba(201, 143, 62, 0.04);
  padding: var(--space-10) var(--space-9);
  animation: cardFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  /* CHANGED: Longer duration */
  transition: box-shadow 0.4s ease;
  /* CHANGED: New */
}

/* CHANGED: New hover state */
.login-card-glass:hover {
  box-shadow: var(--shadow-glass), 0 20px 60px rgba(201, 143, 62, 0.10);
}

@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  /* CHANGED: Added scale */
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .login-card-glass {
    padding: 32px 24px;
    border-radius: 20px;
  }
}

/* Brand Header - CHANGED: Refined */
.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  /* CHANGED: Adjusted */
}

.brand-logo-box {
  width: 48px;
  /* CHANGED: Larger */
  height: 48px;
  border-radius: 14px;
  /* CHANGED: Larger radius */
  background: rgba(201, 143, 62, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(201, 143, 62, 0.08);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* CHANGED: New brand tag styling */
.brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 2px 10px;
  background: rgba(201, 143, 62, 0.04);
  border-radius: 20px;
  margin-left: 4px;
}

/* Welcome Typography - CHANGED: Refined */
.welcome-section {
  margin-bottom: 34px;
  /* CHANGED: Adjusted */
}

.welcome-heading {
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 2.5rem;
  /* CHANGED: Slightly larger */
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 8px;
}

.highlight-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  /* CHANGED: Added */
}

.welcome-subtext {
  font-size: 1rem;
  /* CHANGED: Slightly larger */
  color: var(--text-secondary);
  font-weight: 400;
  margin-top: 2px;
  /* CHANGED: New */
}

/* Form Controls - CHANGED: Enhanced focus states */
.form-group-custom {
  margin-bottom: 22px;
  /* CHANGED: Adjusted */
  position: relative;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-lead {
  position: absolute;
  left: 20px;
  font-size: 1.1rem;
  color: #9C907A;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.input-icon-trail {
  position: absolute;
  right: 20px;
  font-size: 1.1rem;
  color: #9C907A;
  pointer-events: none;
  transition: color var(--transition-fast);
}

.form-control-custom {
  width: 100%;
  height: 58px;
  padding: 0 52px 0 52px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  background-color: #F8F1E4;
  /* CHANGED: Slightly darker */
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-input);
  box-shadow: var(--shadow-input);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-control-custom:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 5px rgba(201, 143, 62, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
  /* CHANGED: Enhanced focus ring */
  transform: scale(1.002);
  /* CHANGED: Subtle scale effect */
}

.form-control-custom:focus+.input-icon-lead,
.input-wrapper:focus-within .input-icon-lead {
  color: var(--primary);
}

.btn-toggle-password {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  padding: 8px;
  color: #9C907A;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color var(--transition-fast);
}

.btn-toggle-password:hover {
  color: var(--primary);
}

.invalid-feedback-custom {
  display: none;
  font-size: 0.82rem;
  color: #DC2626;
  margin-top: 6px;
  margin-left: 4px;
}

.form-group-custom.has-error .form-control-custom {
  border-color: #DC2626;
  background-color: #FEF2F2;
}

.form-group-custom.has-error .invalid-feedback-custom {
  display: block;
}

/* Actions Row - CHANGED: Refined checkbox */
.form-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  font-size: 0.88rem;
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  color: var(--text-secondary);
  font-weight: 500;
  /* CHANGED: Added */
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox-box {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  background-color: #FBF6EE;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.check-mark {
  font-size: 0.75rem;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.custom-checkbox-input:checked~.custom-checkbox-box {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(201, 143, 62, 0.2);
  /* CHANGED: Added shadow */
}

.custom-checkbox-input:checked~.custom-checkbox-box .check-mark {
  opacity: 1;
  transform: scale(1);
}

.checkbox-text {
  font-weight: 500;
}

.forgot-pass-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  border-bottom: 1px solid transparent;
  /* CHANGED: New */
}

.forgot-pass-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
  /* CHANGED: New underline effect */
}

/* Primary Button - CHANGED: Enhanced interactions */
.btn-primary-gradient {
  width: 100%;
  height: 58px;
  background: linear-gradient(135deg, #8A5A2B 0%, #6B421E 55%, #573619 100%);
  border: none;
  border-radius: var(--radius-button);
  color: #FFFDF9;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(122, 78, 36, 0.38);
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 250, 240, 0.25), transparent);
  /* CHANGED: More opaque */
  transition: left 0.7s ease;
  /* CHANGED: Slower transition */
}

.btn-primary-gradient:hover {
  background: linear-gradient(135deg, #7A4E24 0%, #573619 60%, #432913 100%);
  transform: translateY(-2px) scale(1.01);
  /* CHANGED: Added scale */
  box-shadow: 0 18px 36px -6px rgba(122, 78, 36, 0.5);
  /* CHANGED: Enhanced shadow */
}

.btn-primary-gradient:hover::before {
  left: 100%;
}

.btn-primary-gradient:active {
  transform: translateY(0) scale(0.99);
  /* CHANGED: Added press effect */
}

.btn-arrow {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.btn-primary-gradient:hover .btn-arrow {
  transform: translateX(6px);
  /* CHANGED: More translation */
}

/* Divider - CHANGED: Refined */
.divider-container {
  display: flex;
  align-items: center;
  margin: 28px 0 24px;
  /* CHANGED: Adjusted */
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
  /* CHANGED: Gradient line */
}

.divider-text {
  padding: 0 18px;
  /* CHANGED: Adjusted */
  font-size: 0.8rem;
  /* CHANGED: Smaller */
  font-weight: 600;
  /* CHANGED: Bolder */
  color: var(--text-muted);
  text-transform: uppercase;
  /* CHANGED: Uppercase */
  letter-spacing: 0.04em;
  /* CHANGED: Added letter spacing */
}

/* Google Sign In Button - CHANGED: Refined */
.btn-google-login {
  width: 100%;
  height: 58px;
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-button);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
  /* CHANGED: Softer shadow */
}

.btn-google-login:hover {
  background-color: #FBF6EE;
  border-color: #D6C7AC;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  /* CHANGED: Enhanced hover shadow */
}

.btn-google-login:active {
  transform: scale(0.98);
  /* CHANGED: Added press effect */
}

/* Bottom Create Account Prompt - CHANGED: Refined */
.bottom-account-prompt {
  text-align: center;
  margin-top: 30px;
  /* CHANGED: Adjusted */
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.create-account-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  transition: color var(--transition-fast);
  border-bottom: 1px solid transparent;
  /* CHANGED: New */
}

.create-account-link:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
  /* CHANGED: New underline effect */
}

/* RIGHT PANEL - MARKETING & 3D MOCKUP - UNCHANGED */
.right-panel-col {
  padding: 24px 36px;
}

.right-marketing-area {
  width: 100%;
}

.marketing-title {
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 16px;
}

@media (max-width: 1200px) {
  .marketing-title {
    font-size: 2.2rem;
  }
}

.marketing-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Feature List - UNCHANGED */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-icon-wrapper.color-amber {
  background-color: #F3E7D4;
  color: #C98F3E;
}

.feature-icon-wrapper.color-amber-dark {
  background-color: #F0E6D2;
  color: #A8732E;
}

.feature-icon-wrapper.color-maroon {
  background-color: rgba(122, 78, 36, 0.10);
  color: #7A4E24;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* FLOATING 3D DASHBOARD SCENE - CHANGED: Enhanced 3D effects */
.dashboard-illustration-column {
  position: relative;
}

.dashboard-scene-wrapper {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  padding: 40px 10px;
}

/* Platform Disc Underneath - CHANGED: Enhanced shadows */
.platform-base-shadow {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 90px;
  background: radial-gradient(ellipse at center, rgba(201, 143, 62, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  /* CHANGED: More opaque */
  filter: blur(16px);
  /* CHANGED: More blur */
  z-index: 1;
}

.platform-base-disc {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%) rotateX(65deg);
  width: 480px;
  height: 220px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 237, 230, 0.7) 100%);
  /* CHANGED: More opaque */
  border-radius: 50%;
  box-shadow: inset 0 2px 20px rgba(255, 255, 255, 0.8), 0 12px 30px rgba(0, 0, 0, 0.04);
  /* CHANGED: Enhanced shadow */
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Floating Screen Mockup Card - CHANGED: Enhanced 3D and hover */
.floating-dashboard-card {
  position: relative;
  z-index: 3;
  width: 520px;
  height: 330px;
  background: #FFFFFF;
  border-radius: 20px;
  /* CHANGED: Slightly larger */
  box-shadow: var(--shadow-card-3d), 0 0 0 1px rgba(255, 255, 255, 0.8);
  /* CHANGED: Added subtle border glow */
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  overflow: hidden;
  transform: rotateY(-14deg) rotateX(7deg) rotateZ(1deg);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  /* CHANGED: Smoother transition */
  animation: floatMockup 6s ease-in-out infinite alternate;
}

@keyframes floatMockup {
  0% {
    transform: rotateY(-14deg) rotateX(7deg) translateY(0px);
  }

  100% {
    transform: rotateY(-12deg) rotateX(5deg) translateY(-14px);
  }

  /* CHANGED: More float */
}

.floating-dashboard-card:hover {
  transform: rotateY(-6deg) rotateX(3deg) translateY(-10px) scale(1.02);
  /* CHANGED: Enhanced hover */
  box-shadow: 0 45px 85px -10px rgba(201, 143, 62, 0.30);
  /* CHANGED: Enhanced shadow */
}

/* Sidebar Inside Mockup - CHANGED: Light gradient background */
.dash-sidebar {
  width: 54px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF6EE 100%);
  /* CHANGED: Light gradient */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 0;
  /* CHANGED: Adjusted */
  color: #1C1917;
  border-right: 1px solid #F0EBE3;
}

.dash-logo {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #E0AC55 0%, #C98F3E 100%);
  width: 34px;
  /* CHANGED: Slightly larger */
  height: 34px;
  border-radius: 10px;
  /* CHANGED: Larger radius */
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.dash-nav-item {
  color: #A8A29E;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  /* CHANGED: Slightly larger */
  transition: all var(--transition-fast);
  border-radius: 8px;
  /* CHANGED: Added rounding */
}

.dash-nav-item.active,
.dash-nav-item:hover {
  color: #A8732E;
  background: rgba(201, 143, 62, 0.12);
}

.dash-user-avatar {
  margin-top: auto;
  font-size: 0.8rem;
  color: #A8A29E;
}

/* Main Mockup Area - UNCHANGED */
.dash-main {
  flex: 1;
  background: #FAF8F5;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.dash-header-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.live-pulse {
  width: 7px;
  /* CHANGED: Slightly larger */
  height: 7px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }

  /* CHANGED: Larger pulse */
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* Stats Grid - CHANGED: Enhanced cards */
.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dash-stats-grid .stat-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 10px 10px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
}

.stat-label {
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}

.stat-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

/* Lower Grid inside Mockup - CHANGED: Refined panels */
.dash-body-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  flex: 1;
}

.dash-panel {
  background: #FFFFFF;
  border-radius: 12px;
  /* CHANGED: Larger radius */
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.01);
  /* CHANGED: Added subtle shadow */
}

.panel-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.bar-chart-container {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}

.bar-col {
  flex: 1;
  height: 100%;
  max-height: 70px;
  background-color: #F3EFEA;
  border-radius: 6px;
  /* CHANGED: Larger radius */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.bar-fill {
  width: 100%;
  background: linear-gradient(180deg, #C98F3E 0%, #A8732E 100%);
  border-radius: 6px 6px 0 0;
  /* CHANGED: Larger radius */
  transition: height 0.6s ease;
}

/* Activity Panel Skeletons - UNCHANGED */
.activity-skeleton-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skeleton-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #C98F3E;
  flex-shrink: 0;
}

.skeleton-line {
  height: 6px;
  background-color: #EFE9E2;
  border-radius: 3px;
}

.w-75 {
  width: 75%;
}

.w-90 {
  width: 90%;
}

.w-60 {
  width: 60%;
}

.w-80 {
  width: 80%;
}

/* Plant Decor - CHANGED: Added drop shadows */
.plant-container {
  position: absolute;
  right: 15px;
  bottom: 50px;
  z-index: 4;
}

.plant-pot {
  width: 44px;
  height: 48px;
  background: linear-gradient(135deg, #FAF7F2 0%, #E8E0D7 100%);
  border-radius: 8px 8px 18px 18px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  /* CHANGED: Softer shadow */
  position: relative;
  border: 1px solid #E2D9CE;
}

.plant-leaf {
  position: absolute;
  background: linear-gradient(135deg, #4D7C0F 0%, #365314 100%);
  border-radius: 50% 50% 50% 0%;
  transform-origin: bottom left;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
  /* CHANGED: Added subtle shadow */
}

.leaf-1 {
  width: 20px;
  height: 38px;
  top: -26px;
  left: 6px;
  transform: rotate(-25deg);
}

.leaf-2 {
  width: 22px;
  height: 42px;
  top: -30px;
  left: 18px;
  transform: rotate(15deg);
}

.leaf-3 {
  width: 18px;
  height: 32px;
  top: -20px;
  left: 24px;
  transform: rotate(45deg);
}

.leaf-4 {
  width: 16px;
  height: 28px;
  top: -18px;
  left: 4px;
  transform: rotate(-55deg);
}

/* Custom Modal & Toast Styling - UNCHANGED */
.custom-modal-content {
  border-radius: 20px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-glass);
}

.text-maroon {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

/* ============================================================================
   Soft badge / status utility classes
   Used across Companies, Contacts, Activities, Boards, Bulk Import and the
   Dashboard for pill-style status badges (e.g. bg-success-soft + text-success).
   ============================================================================ */
.text-amber   { color: #C98F3E; }
.text-pink    { color: #EC4899; }
.text-purple  { color: #8B5CF6; }

.bg-success-soft { background-color: #ECFDF5; }
.bg-danger-soft  { background-color: #FEF2F2; }
.bg-warning-soft { background-color: #F8F1E4; }
.bg-amber-soft   { background-color: #FFF7ED; }
.bg-primary-soft { background-color: #F1EAF2; }
.bg-purple-soft  { background-color: #F5F3FF; }
.bg-pink-soft    { background-color: #FDF2F8; }

.border-success-soft { border-color: #A7F3D0 !important; }
.border-danger-soft  { border-color: #FECACA !important; }
.border-warning-soft { border-color: #E0AC55 !important; }
.border-amber-soft   { border-color: #FED7AA !important; }
.border-primary-soft { border-color: #BFDBFE !important; }
.border-purple-soft  { border-color: #DDD6FE !important; }
.border-pink-soft    { border-color: #FBCFE8 !important; }

.btn-secondary-custom {
  background-color: #F7F1E7;
  color: var(--text-main);
  border: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 8px 18px;
}

.support-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.support-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background-color: #FBF6EE;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.custom-toast {
  background-color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.custom-toast-header {
  background: transparent;
  border-bottom: 1px solid #F7F1E7;
}

/* Responsive adjustments - UNCHANGED */
@media (max-width: 991px) {
  .top-help-wrapper {
    top: 20px;
    right: 20px;
  }

  .left-panel-col,
  .right-panel-col {
    padding: 16px 0;
  }

  .right-marketing-area {
    margin-top: 40px;
  }

  .dashboard-scene-wrapper {
    min-height: 380px;
  }

  .floating-dashboard-card {
    width: 100%;
    max-width: 460px;
    height: 300px;
  }

  .marketing-text-column {
    text-align: center;
  }

  .features-list {
    align-items: center;
  }

  .feature-item {
    text-align: left;
  }
}

/* CHANGED: Added extra polish for focus-visible */
.form-control-custom:focus-visible {
  outline: none;
}