/* Add Inter font - must be at the top */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* PitchIt MVP - Dark Theme Design System */
/* Based on original design with Bootstrap 5 adaptation */

:root {
  /* PitchIt Modern Fintech Investment Platform */
  --background: #F4F6FA;
  --foreground: #111827;

  --card: #FFFFFF;
  --card-foreground: #111827;
  --card-translucent: #F4F6FA;
  --border-translucent: rgba(31, 143, 229, 0.2);

  --popover: #FFFFFF;
  --popover-foreground: #111827;
  
  /* Modern Fintech Primary Colors */
  --primary: #1F8FE5;
  --primary-foreground: #FFFFFF;
  --secondary: #1037B8;
  --secondary-foreground: #FFFFFF;
  --accent: #49C6F3;
  --accent-foreground: #FFFFFF;
  --dark-primary: #0A1F6B;

  --muted: #F4F6FA;
  --muted-foreground: #6B7280;

  --destructive: #EA3943;
  --destructive-foreground: #FFFFFF;

  --border: #E5E7EB;
  --input: #FFFFFF;
  --ring: #1F8FE5;

  /* Investment Platform Gradient Colors */
  --gradient-primary: #0A1F6B;
  --gradient-secondary: #1037B8;
  --gradient-accent: #1F8FE5;
  
  /* Enhanced Shadows & Glows - Light Fintech Theme */
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow-primary: 0 0 20px rgba(31, 143, 229, 0.15);
  --shadow-glow-secondary: 0 0 20px rgba(16, 55, 184, 0.15);
  --shadow-glow-accent: 0 0 20px rgba(73, 198, 243, 0.15);

  /* Bootstrap Color Overrides - Modern Fintech Platform */
  --bs-primary: #1F8FE5;
  --bs-secondary: #6B7280;
  --bs-success: #16C784;
  --bs-info: #49C6F3;
  --bs-warning: #F59E0B;
  --bs-danger: #EA3943;
  --bs-light: #F4F6FA;
  --bs-dark: #0A1F6B;
  
  /* Spacing */
  --section-padding: 2rem;
  --card-border-radius: 1rem;
  
  /* Advanced Border Radius */
  --radius: 1rem;
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
}

/* Light Theme Variables */
[data-theme="light"] {
  /* PitchIt Professional Investment Colors - Light Mode */
  --background: #F7F9FC;
  --foreground: #111827;

  --card: #FFFFFF;
  --card-foreground: #111827;
  --card-translucent: #F7F9FC;
  --border-translucent: rgba(31, 143, 229, 0.2);

  --popover: #FFFFFF;
  --popover-foreground: #111827;
  
  /* Professional Investment Platform Colors - Light Mode */
  --primary: #1F8FE5;
  --primary-foreground: #FFFFFF;
  --secondary: #F7F9FC;
  --secondary-foreground: #111827;
  --accent: #46C7F3;
  --accent-foreground: #FFFFFF;

  --muted: #F7F9FC;
  --muted-foreground: #6B7280;

  --destructive: #EA3943;
  --destructive-foreground: #FFFFFF;

  --border: #E5E7EB;
  --input: #FFFFFF;
  --ring: #1F8FE5;

  /* Investment Platform Gradient Colors - Light Mode */
  --gradient-primary: #10b981;
  --gradient-secondary: #059669;
  --gradient-accent: #f8fafc;
  
  /* Enhanced Shadows & Glows - Light Mode */
  --shadow-card: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-glow-primary: 0 0 20px rgba(16, 185, 129, 0.1);
  --shadow-glow-secondary: 0 0 20px rgba(248, 250, 252, 0.1);
  --shadow-glow-accent: 0 0 20px rgba(5, 150, 105, 0.1);

  /* Bootstrap Color Overrides - Light Mode */
  --bs-primary: #10b981;
  --bs-secondary: #64748b;
  --bs-success: #10b981;
  --bs-info: #0ea5e9;
  --bs-warning: #f59e0b;
  --bs-danger: #dc2626;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
}

/* Light theme background adjustments */
[data-theme="light"] .auth-page {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  background-size: 400% 400%;
}

[data-theme="light"] .home-page {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  background-size: 400% 400%;
}

/* Theme toggle styles removed - using permanent dark mode */

/* Smooth theme transition */
html {
  transition: color-scheme 0.3s ease;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

*,
*::before,
*::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
}

/* Global Styles - Dark Theme (Default) */
html {
  color-scheme: dark;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--foreground);
  font-feature-settings: "rlig" 1, "calt" 1;
}

/* Animated Investment Platform Background for Auth Pages */
.auth-page {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: visible;
}

/* Animated Investment Platform Background for Home Page - Modern Fintech */
.home-page {
  background: linear-gradient(135deg, #F4F6FA 0%, #E5E7EB 50%, #F4F6FA 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  min-height: 100vh;
}

.home-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 85%, rgba(31, 143, 229, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 15%, rgba(73, 198, 243, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 55, 184, 0.04) 0%, transparent 50%);
  animation: floatBubbles 25s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.home-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(31, 143, 229, 0.02) 81px),
    linear-gradient(transparent 79px, rgba(31, 143, 229, 0.02) 81px);
  background-size: 80px 80px;
  animation: gridMove 40s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Ensure home page content stays above animations */
.home-page .container {
  position: relative;
  z-index: 10;
}

.home-page .card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.home-page .card:hover {
  transform: translateY(-4px);
  border-color: #1F8FE5 !important;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 
              0 10px 10px -5px rgb(0 0 0 / 0.04),
              0 0 30px rgba(31, 143, 229, 0.15);
}

/* Home page navbar styling for light background */
.home-page .navbar {
  background: rgba(10, 31, 107, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 143, 229, 0.2);
}

/* Home page text styling for light background */
.home-page .hero-title {
  color: #FFFFFF !important;
  text-shadow: 0 0 30px rgba(31, 143, 229, 0.1);
}

.home-page .lead {
  color: #6B7280 !important;
}

.home-page .card h5 {
  color: #111827 !important;
}

.home-page .feature-title {
  color: #0A1F6B !important;
}

.home-page .card .text-muted {
  color: #6B7280 !important;
}

.home-page .card-body {
  background: transparent !important;
  color: #111827;
}

/* Form text styling for light backgrounds */
.home-page .form-text {
  color: #6B7280 !important;
  opacity: 0.9;
}

.home-page .form-text i {
  color: rgba(31, 143, 229, 0.8) !important;
}

/* Home page icons with modern fintech glow */
.home-page .card .bi {
  text-shadow: 0 0 20px rgba(31, 143, 229, 0.3);
}

.home-page .text-primary {
  color: #1F8FE5 !important;
}

.home-page .text-warning {
  color: #F59E0B !important;
}

.home-page .text-success {
  color: #16C784 !important;
}

.auth-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(5, 150, 105, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
  animation: floatBubbles 20s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.auth-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(16, 185, 129, 0.06) 81px),
    linear-gradient(transparent 79px, rgba(16, 185, 129, 0.06) 81px);
  background-size: 80px 80px;
  animation: gridMove 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

/* Moving Geometric Shapes */
.auth-page .moving-shapes,
.home-page .moving-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.moving-shape {
  position: absolute;
  opacity: 0.4;
  animation: moveShape 25s linear infinite;
}

.shape-circle {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(31, 143, 229, 0.3);
  border-radius: 50%;
  top: 10%;
  left: -10%;
  animation-delay: -5s;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid rgba(73, 198, 243, 0.25);
  top: 60%;
  right: -5%;
  animation: moveShapeReverse 30s linear infinite;
  animation-delay: -10s;
}

.shape-square {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(31, 143, 229, 0.2);
  transform: rotate(45deg);
  top: 30%;
  left: 120%;
  animation: moveShapeReverse 35s linear infinite;
  animation-delay: -15s;
}

.shape-hexagon {
  width: 50px;
  height: 50px;
  background: rgba(16, 55, 184, 0.15);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  top: 80%;
  left: -5%;
  animation-delay: -20s;
}

/* Floating Particles System */
.floating-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(31, 143, 229, 0.6);
  border-radius: 50%;
  animation: floatParticle 15s linear infinite;
}

.particle:nth-child(1) {
  width: 4px;
  height: 4px;
  left: 10%;
  animation-delay: -2s;
  animation-duration: 18s;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  left: 25%;
  animation-delay: -5s;
  animation-duration: 22s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  left: 40%;
  animation-delay: -8s;
  animation-duration: 16s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 20s;
}

.particle:nth-child(5) {
  width: 4px;
  height: 4px;
  left: 80%;
  animation-delay: -15s;
  animation-duration: 19s;
}

.particle:nth-child(6) {
  width: 7px;
  height: 7px;
  left: 90%;
  animation-delay: -18s;
  animation-duration: 17s;
}

/* Pulsing Investment Orbs */
.investment-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.investment-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 143, 229, 0.2) 0%, transparent 70%);
  animation: pulseOrb 8s ease-in-out infinite;
}

.orb-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 80%;
  animation-delay: -2s;
}

.orb-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 120px;
  height: 120px;
  top: 70%;
  right: 15%;
  animation-delay: -6s;
}

/* Investment Chart Line Animation */
.auth-page .container-fluid::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(16, 185, 129, 0.4) 20%, 
    rgba(16, 185, 129, 0.6) 50%, 
    rgba(16, 185, 129, 0.4) 80%, 
    transparent 100%);
  animation: chartLine1 12s ease-in-out infinite;
  z-index: 1;
}

.auth-page .container-fluid::after {
  content: '';
  position: absolute;
  bottom: 20%;
  right: -10%;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(5, 150, 105, 0.3) 30%, 
    rgba(5, 150, 105, 0.5) 60%, 
    rgba(5, 150, 105, 0.3) 90%, 
    transparent 100%);
  animation: chartLine2 15s ease-in-out infinite reverse;
  z-index: 1;
}

/* Floating Investment Particles */
.auth-page .card,
.home-page .card {
  position: relative;
  z-index: 10;
}

/* Ensure content is visible on terms and privacy pages */
.auth-page .container,
.home-page .container {
  position: relative;
  z-index: 15;
}

.auth-page .container .card,
.home-page .container .card {
  position: relative;
  z-index: 16;
}

/* Investment Floating Icons */
.auth-page .floating-icons,
.home-page .floating-icons {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  color: rgba(31, 143, 229, 0.4);
  animation: floatIcon 20s linear infinite;
  font-size: 1.8rem;
  text-shadow: 0 0 10px rgba(31, 143, 229, 0.3);
}

.floating-icon:nth-child(1) {
  left: 10%;
  animation-delay: -2s;
  animation-duration: 25s;
}

.floating-icon:nth-child(2) {
  left: 20%;
  animation-delay: -5s;
  animation-duration: 30s;
  font-size: 1.2rem;
}

.floating-icon:nth-child(3) {
  left: 70%;
  animation-delay: -8s;
  animation-duration: 22s;
  font-size: 1.8rem;
}

.floating-icon:nth-child(4) {
  left: 85%;
  animation-delay: -12s;
  animation-duration: 28s;
  font-size: 1.3rem;
}

.floating-icon:nth-child(5) {
  left: 50%;
  animation-delay: -15s;
  animation-duration: 35s;
  font-size: 1.1rem;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes floatBubbles {
  0%, 100% { 
    transform: translateY(0px) scale(1);
    opacity: 0.8;
  }
  33% { 
    transform: translateY(-20px) scale(1.1);
    opacity: 0.6;
  }
  66% { 
    transform: translateY(10px) scale(0.9);
    opacity: 0.9;
  }
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

@keyframes chartLine1 {
  0%, 100% { 
    transform: translateX(-100px) scaleX(0.8);
    opacity: 0.3;
  }
  50% { 
    transform: translateX(100px) scaleX(1.2);
    opacity: 0.6;
  }
}

@keyframes chartLine2 {
  0%, 100% { 
    transform: translateX(100px) scaleY(0.5);
    opacity: 0.2;
  }
  50% { 
    transform: translateX(-100px) scaleY(1.5);
    opacity: 0.5;
  }
}

@keyframes floatIcon {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes moveShape {
  0% {
    transform: translateX(-100px) rotate(0deg);
    opacity: 0.2;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(100vw) rotate(360deg);
    opacity: 0;
  }
}

@keyframes moveShapeReverse {
  0% {
    transform: translateX(100px) rotate(360deg);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translateX(-100vw) rotate(0deg);
    opacity: 0.1;
  }
}

@keyframes floatParticle {
  0% {
    transform: translateY(100vh) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-50px) translateX(50px);
    opacity: 0;
  }
}

@keyframes pulseOrb {
  0%, 100% {
    transform: scale(1);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.4;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .auth-page::after,
  .home-page::after {
    background-size: 40px 40px;
  }
  
  .floating-icon {
    font-size: 1.2rem !important;
  }
  
  .auth-page .container-fluid::before,
  .auth-page .container-fluid::after {
    display: none;
  }
  
  .moving-shape {
    display: none;
  }
  
  .particle {
    width: 2px !important;
    height: 2px !important;
  }
  
  .investment-orb {
    transform: scale(0.6) !important;
  }
}

/* Prevent browser autofill from forcing white input backgrounds */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px var(--card) inset !important;
  box-shadow: 0 0 0px 1000px var(--card) inset !important;
  -webkit-text-fill-color: var(--foreground) !important;
  caret-color: var(--foreground) !important;
  transition: background-color 9999s ease-out 0s;
}

/* Bootstrap Overrides for Investment Platform */
.bg-primary {
  background: #10b981 !important;
}

.btn-primary {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: #10b981;
  border-color: #10b981;
}

.btn-outline-primary:hover {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.btn-outline-secondary {
  color: #334155;
  border-color: #334155;
}

.btn-outline-secondary:hover {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

.btn-primary {
  border: none;
  color: var(--primary-foreground);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue));
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-cyan);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.bg-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple)) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-muted {
  color: var(--muted-foreground) !important;
}

/* Investment Platform Gradient Text */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--gradient-secondary), var(--gradient-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Advanced Card System - Modern Fintech */
.card {
  background: #FFFFFF;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--card-foreground);
}

.card:hover {
  transform: translateY(-2px);
  border-color: #1F8FE5;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 0 1px rgba(31, 143, 229, 0.1);
}

.card-header {
  background: #F4F6FA;
  border-bottom: 1px solid #E5E7EB;
  border-radius: 12px 12px 0 0;
  color: #111827;
}

.card-body {
  background: transparent;
  color: #111827;
}

.card-footer {
  background: #F4F6FA;
  border-top: 1px solid #E5E7EB;
  border-radius: 0 0 12px 12px;
  color: #6B7280;
}

/* Investment Platform Card Variations */
.card-glow-primary {
  border: 1px solid rgba(31, 143, 229, 0.2);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 
              0 0 0 1px rgba(31, 143, 229, 0.05);
}

.card-glow-primary:hover {
  border-color: #1F8FE5;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 20px rgba(31, 143, 229, 0.15);
}

.card-glow-secondary {
  border: 1px solid rgba(16, 55, 184, 0.2);
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 
              0 0 0 1px rgba(16, 55, 184, 0.05);
}

.card-glow-secondary:hover {
  border-color: #1037B8;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 
              0 4px 6px -4px rgb(0 0 0 / 0.1),
              0 0 20px rgba(16, 55, 184, 0.15);
}

/* Dashboard Background Animation - Modern Fintech */
.dashboard-page {
  background: linear-gradient(135deg, #F4F6FA 0%, #E5E7EB 100%);
  position: relative;
  min-height: 100vh;
}

.dashboard-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 75%, rgba(31, 143, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(73, 198, 243, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 55, 184, 0.03) 0%, transparent 50%);
  animation: fintech-breathe 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.dashboard-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(31, 143, 229, 0.02) 81px),
    linear-gradient(transparent 79px, rgba(31, 143, 229, 0.02) 81px);
  background-size: 80px 80px;
  animation: gridMoveFintech 60s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes fintech-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes gridMoveFintech {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

/* Dashboard Content */
.dashboard-page .container {
  position: relative;
  z-index: 10;
}

.dashboard-page .card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
}
.dashboard-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F4F6FA 100%);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31, 143, 229, 0.1), transparent);
  transition: left 0.5s ease;
}

.dashboard-card:hover::before {
  left: 100%;
}

.dashboard-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #1F8FE5;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 
              0 10px 10px -5px rgb(0 0 0 / 0.04),
              0 0 30px rgba(31, 143, 229, 0.2);
}

/* Investment Status Cards */
.profit-card {
  border-left: 4px solid #16C784;
  background: linear-gradient(145deg, #FFFFFF, #F0FDF9);
}

.loss-card {
  border-left: 4px solid #EA3943;
  background: linear-gradient(145deg, #FFFFFF, #FEF2F2);
}

.neutral-card {
  border-left: 4px solid #1F8FE5;
  background: linear-gradient(145deg, #FFFFFF, #EFF6FF);
}

.card-glow-accent {
  box-shadow: 0 0 30px rgba(5, 150, 105, 0.1), 
              inset 0 0 60px rgba(5, 150, 105, 0.03);
}

.card-glow-accent:hover {
  box-shadow: 0 0 40px rgba(5, 150, 105, 0.2), 
              0 8px 32px rgba(0, 0, 0, 0.15),
              inset 0 0 80px rgba(5, 150, 105, 0.05);
}

/* Floating Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.35);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.4);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

.glow-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Advanced Form Styling */
.form-control,
.form-select {
  background: var(--card);
  border: 1px solid var(--border-translucent);
  color: var(--foreground);
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  background: var(--card);
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.15);
  color: var(--foreground);
}

.form-control::placeholder {
  color: var(--muted-foreground);
  opacity: 0.8;
}

.form-label {
  color: var(--foreground);
  font-weight: 500;
}

/* Modern Input Group */
.input-group .form-control:focus {
  z-index: 3;
}

.input-group .btn {
  border-color: var(--border-translucent);
}

.input-group .btn:hover {
  background: var(--card);
  border-color: var(--primary);
}

/* Enhanced Navigation - Modern Fintech Platform */
.navbar {
  background: #0A1F6B !important;
  border-bottom: 1px solid rgba(31, 143, 229, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: #FFFFFF !important;
  text-decoration: none;
}

.navbar-brand img {
  height: 56px;
  width: auto;
  transition: all 0.2s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-left: 0.5rem;
  text-shadow: 0 0 10px rgba(73, 198, 243, 0.3);
}

/* Responsive logo sizing */
@media (max-width: 576px) {
  .navbar-brand img {
    height: 44px;
  }
  .navbar-brand span {
    font-size: 1.25rem;
  }
}

/* Admin breadcrumb bar */
.breadcrumb-bar {
    background: #f8f9fb;
    border-color: rgba(0,0,0,.08) !important;
}

.breadcrumb-bar .breadcrumb-item a {
    color: #1F8FE5;
}

.breadcrumb-bar .breadcrumb-item.active {
    color: #6B7280;
}

.breadcrumb-bar .breadcrumb-item + .breadcrumb-item::before {
    color: #9ca3af;
}

.navbar-nav .nav-link {
  color: #FFFFFF !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
  border-radius: 0.5rem;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
  color: #49C6F3 !important;
  background: rgba(73, 198, 243, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 0 10px rgba(73, 198, 243, 0.2);
}

.navbar-toggler {
  border: 1px solid rgba(31, 143, 229, 0.3);
  color: #FFFFFF;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(31, 143, 229, 0.25);
}

.dropdown-menu {
  background: var(--card);
  border: 1px solid var(--border-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-glow-cyan);
}

.dropdown-item {
  color: var(--foreground);
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(0, 191, 166, 0.1);
  color: var(--primary);
}

/* Enhanced Button System */
.btn {
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  border-radius: 1rem;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple));
  border: none;
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple));
  opacity: 0.9;
  box-shadow: var(--shadow-glow-blue);
}

.btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline-secondary:hover {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-success {
  background: #10b981;
  border: none;
}

.btn-success:hover {
  background: #059669;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  color: #1a2332;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  opacity: 0.9;
}

.btn-danger {
  background: #ef4444;
  border: none;
}

.btn-danger:hover {
  background: #dc2626;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Enhanced Alerts */
.alert {
  border-radius: 0.75rem;
  border: 1px solid var(--border-translucent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--foreground);
}

.alert-primary {
  background: rgba(0, 191, 166, 0.1);
  border-color: rgba(0, 191, 166, 0.3);
  color: var(--primary);
}

.alert-secondary {
  background: rgba(61, 189, 250, 0.1);
  border-color: rgba(61, 189, 250, 0.3);
  color: var(--secondary);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-info {
  background: rgba(61, 189, 250, 0.1);
  border-color: rgba(61, 189, 250, 0.3);
  color: var(--secondary);
}

.alert-light {
  background: rgba(248, 250, 252, 0.1);
  border-color: rgba(248, 250, 252, 0.2);
  color: var(--foreground);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.alert-dismissible .btn-close {
  background: transparent;
  color: currentColor;
  opacity: 0.7;
}

.alert-dismissible .btn-close:hover {
  opacity: 1;
}

/* Utility Classes */
.min-vh-100 {
  min-height: 100vh !important;
}

.cursor-pointer {
  cursor: pointer;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Advanced Loading Animations */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes lift {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

.fade-in {
  animation: fade-in 0.3s ease-out;
}

.fade-out {
  animation: fade-out 0.3s ease-out;
}

.lift {
  animation: lift 0.2s ease-out;
}

/* Scroll Animations */
.scroll-fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-delay-1 {
  transition-delay: 0.1s;
}

.scroll-delay-2 {
  transition-delay: 0.2s;
}

.scroll-delay-3 {
  transition-delay: 0.3s;
}

/* Modern Image Upload Zone */
.image-upload-zone {
  border: 2px dashed var(--border-translucent);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: rgba(0, 191, 166, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
  border-color: var(--primary);
  background: rgba(0, 191, 166, 0.1);
  box-shadow: 0 0 20px rgba(0, 191, 166, 0.2);
}

.image-preview {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}

.image-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.image-preview .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Progress Bar Enhancements */
.progress {
  border-radius: 1rem;
  height: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border-translucent);
}

.progress-bar {
  transition: width 0.6s ease;
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue));
  border-radius: 1rem;
}

/* Responsive Tables with Dark Theme */
.table {
  --bs-table-bg: transparent;
  --bs-table-color: var(--foreground);
  --bs-table-border-color: var(--border-translucent);
  --bs-table-striped-bg: rgba(0, 191, 166, 0.05);
  --bs-table-hover-bg: rgba(0, 191, 166, 0.1);
}

.table-dark {
  --bs-table-color: var(--foreground);
  --bs-table-bg: var(--card);
  --bs-table-border-color: var(--border-translucent);
}

/* Footer Styling */
footer {
  background: #0f172a !important;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--muted-foreground);
}

/* Badge Enhancements */
.badge {
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
}

.bg-primary.badge,
.badge-primary {
  background: linear-gradient(135deg, var(--gradient-cyan), var(--gradient-blue)) !important;
  color: var(--primary-foreground);
}

.bg-secondary.badge,
.badge-secondary {
  background: linear-gradient(135deg, var(--gradient-blue), var(--gradient-purple)) !important;
  color: var(--secondary-foreground);
}

.bg-danger.badge,
.badge-danger {
  background: var(--destructive) !important;
  color: var(--destructive-foreground);
}

@media (max-width: 767.98px) {
  .table-responsive-stack table,
  .table-responsive-stack thead,
  .table-responsive-stack tbody,
  .table-responsive-stack th,
  .table-responsive-stack td,
  .table-responsive-stack tr {
    display: block;
  }

  .table-responsive-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-stack tr {
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .table-responsive-stack td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .table-responsive-stack td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    font-weight: bold;
    white-space: nowrap;
  }
}

/* Image Upload Styles */
.image-upload-zone {
  border: 2px dashed #dee2e6;
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #f8f9fa;
}

.image-upload-zone:hover,
.image-upload-zone.dragover {
  border-color: var(--pitchit-primary);
  background: var(--pitchit-light-blue);
}

.image-preview {
  position: relative;
  display: inline-block;
  margin: 0.5rem;
}

.image-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.image-preview .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Progress Bar Enhancements */
.progress {
  border-radius: 0.5rem;
  height: 0.75rem;
}

.progress-bar {
  transition: width 0.6s ease;
}

/* Mobile-First Responsive Design */

/* Responsive Tables with Dark Theme */
.table-responsive-stack {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Mobile-First Responsive Design */

/* Responsive Tables with Dark Theme */
.table-responsive-stack {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 767.98px) {
  .table-responsive-stack table,
  .table-responsive-stack thead,
  .table-responsive-stack tbody,
  .table-responsive-stack th,
  .table-responsive-stack td,
  .table-responsive-stack tr {
    display: block;
  }

  .table-responsive-stack thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .table-responsive-stack tr {
    border: 1px solid var(--border-translucent);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #0f172a;
  }

  .table-responsive-stack td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .table-responsive-stack td:before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 6px;
    width: 45%;
    font-weight: bold;
    white-space: nowrap;
    color: var(--primary);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  :root {
    --section-padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  :root {
    --section-padding: 3rem;
  }
  
  .form-control-lg {
    font-size: 1.2rem;
    padding: 0.875rem 1.125rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  :root {
    --section-padding: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  :root {
    --section-padding: 5rem;
  }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  
  .form-control-lg {
    font-size: 1rem;
    padding: 0.75rem 0.875rem;
  }
  
  .modal-dialog {
    margin: 1rem;
  }

  /* Modal Dark Theme Styling */
  .modal-content {
    background: #1e293b !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
  }

  .modal-header {
    background: #1e293b !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #f8fafc !important;
  }

  .modal-title {
    color: #f8fafc !important;
    font-weight: 600 !important;
  }

  .modal-body {
    background: #1e293b !important;
    color: #f8fafc !important;
  }

  .modal-body p {
    color: #f8fafc !important;
  }

  .modal-footer {
    background: #1e293b !important;
    border-top: 1px solid rgba(16, 185, 129, 0.2) !important;
  }

  .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  .modal-backdrop {
    background-color: rgba(15, 23, 42, 0.8);
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  /* Mobile-friendly form spacing */
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  /* Improve touch targets */
  .btn,
  .form-control,
  .form-select {
    min-height: 44px;
  }
  
  /* Optimize text for mobile */
  body {
    font-size: 0.95rem;
  }
  
  h1, .h1 { font-size: 1.8rem; }
  h2, .h2 { font-size: 1.6rem; }
  h3, .h3 { font-size: 1.4rem; }
  h4, .h4 { font-size: 1.2rem; }
  h5, .h5 { font-size: 1.1rem; }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
}

/* Accessibility Enhancements */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus indicators with theme colors */
:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--primary);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dashboard Background Animation - Modern Fintech */
.dashboard-page {
  background: linear-gradient(135deg, #F4F6FA 0%, #E5E7EB 100%);
  position: relative;
  min-height: 100vh;
}

.dashboard-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 25% 75%, rgba(31, 143, 229, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(73, 198, 243, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(16, 55, 184, 0.03) 0%, transparent 50%);
  animation: fintech-breathe 8s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.dashboard-page::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(90deg, transparent 79px, rgba(31, 143, 229, 0.02) 81px),
    linear-gradient(transparent 79px, rgba(31, 143, 229, 0.02) 81px);
  background-size: 80px 80px;
  animation: gridMoveFintech 60s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes fintech-breathe {
  0%, 100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes gridMoveFintech {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(80px, 80px);
  }
}

/* Dashboard Content */
.dashboard-page .container {
  position: relative;
  z-index: 10;
}

.dashboard-page .card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8) !important;
}

/* Fintech Text Colors - Dashboard */
.text-primary {
  color: #1F8FE5 !important;
}

.text-success {
  color: #16C784 !important;
}

.text-danger {
  color: #EA3943 !important;
}

.text-warning {
  color: #F59E0B !important;
}

.text-muted {
  color: #6B7280 !important;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #1F8FE5 0%, #1037B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  background: linear-gradient(135deg, #1F8FE5 0%, #1037B8 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #49C6F3 0%, #1F8FE5 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(31, 143, 229, 0.2);
}

/* Print Styles */
@media print {
  .no-print,
  .navbar,
  .btn,
  .alert-dismissible .btn-close {
    display: none !important;
  }
  
  .card {
    border: 1px solid var(--border) !important;
    box-shadow: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a[href]:after {
    content: none;
  }
}

/* Advanced Scrollbar Styling */
.scrollbar-translucent {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.3) transparent;
}

.scrollbar-translucent::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.scrollbar-translucent::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-translucent::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.3);
  border-radius: 3px;
  transition: background 0.2s ease;
}

.scrollbar-translucent::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 185, 129, 0.6);
}

/* Custom Spinner for Loading States */
.spinner-border-primary {
  border-color: var(--primary);
  border-right-color: transparent;
}

.spinner-border-secondary {
  border-color: var(--secondary);
  border-right-color: transparent;
}

/* Smooth transitions for interactive elements */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-2px);
}

/* Investment Platform Text Colors */
.text-primary { color: #10b981 !important; }
.text-secondary { color: #334155 !important; }
.text-success { color: #10b981 !important; }
.text-muted { color: #94a3b8 !important; }

/* Investment Platform Utility Classes */
.bg-navy { background-color: #0f172a !important; }
.bg-emerald { background-color: #10b981 !important; }
.text-navy { color: #0f172a !important; }
.text-emerald { color: #10b981 !important; }