/* PitchPilot Design System - Inspired by pitchpilot.vc */
/* Premium VC Platform Design with Sophisticated Color Palette */

/* CSS Variables for pitchpilot.vc color scheme */
:root {
    /* Primary Brand Colors - Real PitchPilot Colors */
    --primary-pink: #FF4081;
    --secondary-pink: #E73670;
    --primary-navy: #1A1B3A;
    --primary-dark: #151628;
    
    /* Background Colors */
    --bg-primary: #1A1B3A;
    --bg-secondary: #151628;
    --bg-surface: #FFFFFF;
    --bg-surface-light: #F8FAFC;
    --bg-dark-gray: #2A2D3D;
    --bg-gradient: linear-gradient(135deg, #1A1B3A 0%, #151628 100%);
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dark: #1E293B;
    --text-accent: #FF4081;
    --primary-magenta: #FF4081;
    
    /* Accent Colors */
    --accent-pink: #FF4081;
    --accent-pink-light: #FF6B9D;
    --accent-blue: #3B82F6;
    --accent-green: #10B981;
    
    /* Border & Divider */
    --border-primary: #334155;
    --border-light: #E2E8F0;
    --border-accent: #FF4081;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: white;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Scale */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 4rem; }

/* Font Weights */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Updated Color Classes for pitchpilot.vc Design */
.text-primary { color: var(--text-dark); }
.text-secondary { color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-primary); }
.text-accent { color: var(--text-accent); }

.bg-white { background-color: var(--bg-surface); }
.bg-gray-50 { background-color: var(--bg-surface-light); }
.bg-gray-100 { background-color: var(--bg-surface-light); }
.bg-primary { background: var(--bg-gradient); }
.bg-dark { background-color: var(--bg-primary); }
.bg-purple { background-color: var(--primary-purple); }
.bg-blue { background-color: var(--primary-blue); }
.bg-pink { background-color: var(--primary-pink); }
.bg-secondary-pink { background-color: var(--secondary-pink); }

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Specific container for investor section to ensure proper width */
.investor-section .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main content spacing - accounts for fixed navbar */
main {
    padding-top: 0; /* Remove default padding */
}

/* Dashboard pages need padding for fixed navbar */
.dashboard-page main,
.dashboard-layout main {
    padding-top: 20px;
}

/* Home/landing pages should start immediately */
.home-page main,
.landing-page main {
    padding-top: 0;
    margin-top: 0;
}

/* Fix hero section to start right after navbar */
/* Removed conflicting rule - using clean hero padding instead */

/* Override any other main padding rules for dashboard */
body.dashboard-page main,
body.dashboard-layout main,
#main-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Override Tailwind pt-[70px] class specifically */
.pt-\[70px\] {
    padding-top: 0 !important;
}

/* Ensure dashboard content starts immediately after navbar using padding instead of margin */
.dashboard-page .dashboard-section,
.dashboard-layout .dashboard-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Fix CTA section spacing */
.cta-section {
    background: #181621;
    padding: 120px 0 0px 0 !important;
    text-align: center;
    margin-bottom: 0;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #a0a9c0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    background: var(--primary-pink);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
    background: var(--accent-pink-light);
    color: white;
    text-decoration: none;
}

.section {
    padding: 60px 0;
}

.section-sm {
    padding: 40px 0;
}

.section-lg {
    padding: 80px 0;
}

/* Grid System */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4x5-investors {
    grid-template-columns: repeat(4, minmax(350px, 1fr));
    grid-template-rows: repeat(5, 1fr);
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1450px;
}

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* Add missing margin classes */
.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

/* Hero Sections - Real pitchpilot.vc Style */
.hero {
    background: #181621;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
}

.hero-section {
    background: #181621;
    padding: 120px 0 60px 0;
    text-align: center;
    position: relative;
    color: white;
}

.hero-title {
    font-size: 4rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem !important;
    color: white !important;
    letter-spacing: -0.02em !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
    opacity: 1 !important;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #a0a9c0;
    /* margin-bottom: 3rem; */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-weight: 400;
}

/* Section Headers */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Prose Styles */
.prose {
    max-width: 65ch;
}

.prose.max-w-none {
    max-width: none;
}

/* Whitespace Utilities */
.whitespace-pre-wrap {
    white-space: pre-wrap;
}

/* Cards */
.card-simple {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    color: #1a1a1a;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-icon-large {
    margin: 0 auto 2rem auto;
    color: #ff4081;
}

.feature-icon-large svg {
    width: 64px;
    height: 64px;
}

.feature-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.feature-description {
    color: #6b7280;
    line-height: 1.4;
    font-size: 1rem;
}

/* Buttons - pitchpilot.vc Style */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-pink);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 64, 129, 0.4);
    background: var(--accent-pink-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-primary);
}

.btn-secondary:hover {
    background: rgba(255, 64, 129, 0.1);
    border-color: var(--primary-pink);
    color: var(--text-primary);
}

.btn-white {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.btn-white:hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15) !important;
    text-decoration: none !important;
}

.btn-ghost {
    background: transparent;
    color: white;
    border: 1px solid #4b5563;
}

.btn-ghost:hover {
    background: #374151;
    border-color: #6b7280;
    transform: translateY(-1px);
}

/* Forms */
.form-input {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.1);
}

/* Navigation - Beautiful Modern Design */
nav.nav-clean {
    background: #181621;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
}

nav.nav-clean.scrolled {
    background: rgba(24, 22, 33, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

/* Logo Styling */
.nav-logo {
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo img {
    height: 32px;
    width: auto;
    transition: transform 0.2s ease;
}

.nav-logo:hover img {
    transform: scale(1.02);
}

/* Navigation Links */
.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: white;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4080;
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button */
.nav-cta-button {
    background: linear-gradient(135deg, #ff4080 0%, #e63670 100%);
    color: white;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 64, 128, 0.2);
    letter-spacing: -0.01em;
}

.nav-cta-button:hover {
    background: linear-gradient(135deg, #e63670 0%, #d12c5e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 64, 128, 0.3);
    color: white;
    text-decoration: none;
}

/* Profile Icon */
.profile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.profile-icon:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.05);
    text-decoration: none;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    color: rgba(255, 255, 255, 0.9);
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Navigation */
.mobile-nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 0;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
    color: white;
    padding-left: 0.5rem;
    text-decoration: none;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff4080 0%, #e63670 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    text-align: center;
}

.mobile-cta-button:hover {
    background: linear-gradient(135deg, #e63670 0%, #d12c5e 100%);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: #10B981;
}

.toast.error {
    border-color: #EF4444;
}

.toast.warning {
    border-color: #F59E0B;
}

.toast.info {
    border-color: #3B82F6;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #10B981;
}

.toast.error .toast-icon {
    background: #EF4444;
}

.toast.warning .toast-icon {
    background: #F59E0B;
}

.toast.info .toast-icon {
    background: #3B82F6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: #1E293B;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toast-message {
    color: #64748B;
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #64748B;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-item {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item:hover {
    color: var(--text-dark);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 500;
}

.breadcrumb-item:not(.active)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

/* Badge Components */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background-color: var(--accent-green);
    color: white;
}

.badge-warning {
    background-color: #f59e0b;
    color: white;
}

.badge-danger, .badge-error {
    background-color: #ef4444;
    color: white;
}

.badge-info {
    background-color: var(--accent-blue);
    color: white;
}

.badge-secondary {
    background-color: var(--text-muted);
    color: white;
}

/* Simple Modal Components */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal .modal-content {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal .modal-content.max-w-4xl {
    max-width: 56rem;
}

.modal .modal-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.modal .modal-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.modal .modal-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Card Header and Body Styles */
.card-header {
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.card-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.card-body:first-child {
    padding-top: 1.5rem;
}

/* Form Styles */
.form-help {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Variants */
.btn-outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: var(--text-dark);
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
}

.btn-success {
    background: var(--accent-green) !important;
    color: white !important;
    border: 1px solid var(--accent-green) !important;
}

.btn-success:hover {
    background: #059669 !important;
    border-color: #059669 !important;
    color: white !important;
}

.btn-success:disabled {
    opacity: 0.8 !important;
    cursor: not-allowed !important;
}

.btn-success:disabled:hover {
    transform: none !important;
    background: var(--accent-green) !important;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Section Styles */

/* Layout Grid Utilities */
.lg\:col-span-2 {
    grid-column: span 2 / span 2;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 768px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-2 {
        grid-column: span 2 / span 2;
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dashboard Specific Styles */

/* PitchPilot Logo Styles */
.nav-logo {
    text-decoration: none !important;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo:hover {
    text-decoration: none !important;
}

.nav-logo span {
    color: white !important;
    transition: color 0.2s ease;
}

.nav-clean.scrolled .nav-logo span {
    color: white !important;
}

.logo-text {
}

/* Navigation Container */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile Menu */
.mobile-menu {
    background: #181621;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn:hover span {
    background: white;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
} /* CACHE BUSTER: 1748522546 */

/* Responsive behavior for investor grid */
@media (max-width: 1600px) {
    .grid-4x5-investors {
        grid-template-columns: repeat(3, minmax(350px, 1fr));
    }
}

@media (max-width: 1200px) {
    .grid-4x5-investors {
        grid-template-columns: repeat(2, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .grid-4x5-investors {
        grid-template-columns: repeat(1, minmax(350px, 1fr));
    }
}

/* Footer styling */
.footer-section {
    background: #181621;
    color: #a1a1aa;
    margin-top: 0;
    padding: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-link {
    color: #a1a1aa;
    transition: color 0.2s ease;
    font-size: 0.875rem;
    text-decoration: none;
}

.footer-link:hover {
    color: white;
    text-decoration: none;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
}

/* Flash message styles */
.flash-message {
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    padding: 1rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.flash-text {
    flex: 1;
}

.flash-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #374151;
}

.flash-message.success {
    border-left-color: #10b981;
}

.flash-message.success .flash-icon {
    color: #10b981;
}

.flash-message.error {
    border-left-color: #ef4444;
}

.flash-message.error .flash-icon {
    color: #ef4444;
}

.flash-message.warning {
    border-left-color: #f59e0b;
}

.flash-message.warning .flash-icon {
    color: #f59e0b;
}

.flash-message.info {
    border-left-color: #3b82f6;
}

.flash-message.info .flash-icon {
    color: #3b82f6;
}

/* Authentication Styles */
.auth-section {
    min-height: calc(100vh - 64px); /* Account for navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 2rem;
    margin-top: 64px; /* Add margin to account for fixed navbar */
}

.auth-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin: 0 auto 1rem auto;
    text-align: center;
}

.auth-logo .logo-image {
    height: 40px;
    width: auto;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap: 0.4rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.1);
}

.form-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-checkbox {
    width: auto;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.link-primary {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 500;
}

.link-primary:hover {
    color: var(--accent-pink-light);
    text-decoration: underline;
}

.link-secondary {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
}

.link-secondary:hover {
    color: #374151;
    text-decoration: underline;
}

.form-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Dashboard Styles */
.dashboard-section {
    padding: 84px 0 20px 0 !important;
    background: #f8fafc !important;
    min-height: 100vh !important;
    margin-top: 0 !important;
}

.dashboard-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
}

/* Welcome Card - Dark Gradient Style */
.welcome-card {
    background: #181621 !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
    color: white !important;
    position: relative !important;
    overflow: hidden !important;
}

.welcome-content {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
}

.welcome-info {
    flex: 1 !important;
}

.welcome-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.2 !important;
}

.welcome-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1.125rem !important;
    line-height: 1.5 !important;
}

.welcome-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

/* Credit Display */
.credits-display {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease !important;
}

.credits-display:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
    color: white;
}

/* Welcome Action Buttons */
.welcome-actions .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
    min-height: 44px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

/* SPECIFIC Button Color Fixes - Force correct text colors */

/* Dashboard welcome section buttons */
.welcome-actions .btn:not(.btn-primary):not(.credits-display) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

.welcome-actions .btn:not(.btn-primary):not(.credits-display) * {
    color: white !important;
}

.welcome-actions .btn:not(.btn-primary):not(.credits-display):hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}

.welcome-actions .btn:not(.btn-primary):not(.credits-display):hover * {
    color: white !important;
}

/* Dashboard card action buttons - ensure proper contrast */
.card-actions .btn:not(.btn-primary) {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.card-actions .btn:not(.btn-primary) * {
    color: #1a1a1a !important;
}

.card-actions .btn:not(.btn-primary):hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
}

.card-actions .btn:not(.btn-primary):hover * {
    color: #1a1a1a !important;
}

/* Action card buttons */
.action-card .btn:not(.btn-primary) {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.action-card .btn:not(.btn-primary) * {
    color: #1a1a1a !important;
}

.action-card .btn:not(.btn-primary):hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
}

.action-card .btn:not(.btn-primary):hover * {
    color: #1a1a1a !important;
}

/* Force primary buttons to have correct colors */
.btn-primary,
.btn.btn-primary,
button.btn-primary {
    background: var(--primary-pink) !important;
    color: white !important;
    border: 1px solid var(--primary-pink) !important;
}

.btn-primary *,
.btn.btn-primary *,
button.btn-primary * {
    color: white !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover {
    background: #e73670 !important;
    border-color: #e73670 !important;
    color: white !important;
}

.btn-primary:hover *,
.btn.btn-primary:hover *,
button.btn-primary:hover * {
    color: white !important;
}

/* Force secondary buttons to have correct colors */
.btn-secondary,
.btn.btn-secondary,
button.btn-secondary {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

.btn-secondary *,
.btn.btn-secondary *,
button.btn-secondary * {
    color: #1a1a1a !important;
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
button.btn-secondary:hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
}

.btn-secondary:hover *,
.btn.btn-secondary:hover *,
button.btn-secondary:hover * {
    color: #1a1a1a !important;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Individual Stat Cards */
.stat-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Stat Icons */
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.stat-icon.info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.stat-icon.warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.stat-icon.primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

/* Stat Content */
.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-trend {
    font-size: 0.75rem;
    color: #10B981;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-trend.neutral {
    color: #6b7280;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    /* border: 1px solid #f0f0f0; */
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-bottom: 1rem; */
    /* padding-top: 0.5rem !important; */
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Action Sections */
.action-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.action-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.5rem auto;
}

.action-icon.search {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.action-icon.credit {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.action-icon.track {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.action-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.action-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.table th {
    background: #f8fafc;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: #f8fafc;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-success, .status-submitted {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-error, .status-failed {
    background: #fee2e2;
    color: #dc2626;
}

.status-incomplete {
    background: #fef3c7;
    color: #92400e;
}

.status-browser_closed {
    background: #f3f4f6;
    color: #6b7280;
}

.status-email_sent {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
}

/* Toast Notification Styles */
.toast-notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    word-wrap: break-word;
}

.toast-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.toast-success {
    border-left: 4px solid #059669;
}

.toast-error {
    border-left: 4px solid #dc2626;
}

.toast-warning {
    border-left: 4px solid #d97706;
}

.toast-info {
    border-left: 4px solid #2563eb;
}

/* Recent Activity Section */
.recent-activity {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 2rem;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.activity-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.activity-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

.activity-empty-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #9ca3af;
    font-size: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .welcome-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-sections {
        grid-template-columns: 1fr;
    }
}

/* Ensure all white background elements have dark text */
.bg-white,
.bg-white * {
    color: #1a1a1a !important;
}

/* Override any conflicting text-white classes on white backgrounds */
.bg-white .text-white,
.btn-white .text-white {
    color: #1a1a1a !important;
}

/* Application Preview Styles */
.application-preview {
    margin-bottom: 1.5rem;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.preview-icon {
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.preview-info {
    flex: 1;
}

.preview-info h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.preview-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.preview-content {
    margin-bottom: 1.5rem;
}

.preview-content p {
    color: #6b7280;
    line-height: 1.6;
}

/* Application Stats */
.application-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.application-stat {
    text-align: center;
}

.stat-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
}

.stat-icon-small.blue {
    background: #eff6ff;
    color: #3b82f6;
}

.stat-icon-small.green {
    background: #f0fdf4;
    color: #10b981;
}

.stat-icon-small.yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.stat-label-small {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-value-small {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

/* Card Empty State */
.card-empty {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    color: #9ca3af;
    font-size: 1.5rem;
}

.card-empty h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-empty p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0;
    font-size: 0.875rem;
    color: #1f2937;
}

.activity-content small {
    color: #9ca3af;
}

/* Simple Button Text Color Fix - Only for white buttons */
.btn-white,
.btn.btn-white,
button.btn-white,
.btn-light,
.btn.btn-light,
button.btn-light,
button[style*="background-color: white"],
button[style*="background-color: #fff"],
button[style*="background-color: #ffffff"],
button[style*="background: white"],
button[style*="background: #fff"],
button[style*="background: #ffffff"],
.btn[style*="background-color: white"],
.btn[style*="background-color: #fff"],
.btn[style*="background-color: #ffffff"],
.btn[style*="background: white"],
.btn[style*="background: #fff"],
.btn[style*="background: #ffffff"] {
    color: #1a1a1a !important;
}

.btn-white:hover,
.btn.btn-white:hover,
button.btn-white:hover,
.btn-light:hover,
.btn.btn-light:hover,
button.btn-light:hover,
button[style*="background-color: white"]:hover,
button[style*="background-color: #fff"]:hover,
button[style*="background-color: #ffffff"]:hover,
button[style*="background: white"]:hover,
button[style*="background: #fff"]:hover,
button[style*="background: #ffffff"]:hover,
.btn[style*="background-color: white"]:hover,
.btn[style*="background-color: #fff"]:hover,
.btn[style*="background-color: #ffffff"]:hover,
.btn[style*="background: white"]:hover,
.btn[style*="background: #fff"]:hover,
.btn[style*="background: #ffffff"]:hover {
    color: #1a1a1a !important;
}

.btn-white *,
.btn-light *,
button[style*="background-color: white"] *,
button[style*="background: white"] *,
.btn[style*="background-color: white"] *,
.btn[style*="background: white"] * {
    color: #1a1a1a !important;
}

/* GLOBAL INLINE STYLE OVERRIDE SYSTEM */
/* This section uses maximum CSS specificity to override any inline styles */

/* Force all buttons to have consistent styling regardless of inline styles */
html body .btn,
html body button.btn,
html body a.btn,
html body input.btn,
html body [class*="btn"] {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    letter-spacing: -0.01em !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    min-height: 44px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Force primary button colors */
html body .btn-primary,
html body button.btn-primary,
html body a.btn-primary,
html body input.btn-primary,
html body .btn.btn-primary {
    background: var(--primary-pink) !important;
    color: white !important;
    border-color: var(--primary-pink) !important;
}

html body .btn-primary:hover,
html body button.btn-primary:hover,
html body a.btn-primary:hover,
html body input.btn-primary:hover,
html body .btn.btn-primary:hover {
    background: #e73670 !important;
    border-color: #e73670 !important;
    color: white !important;
    transform: translateY(-1px) !important;
}

/* Force secondary/white button colors */
html body .btn-secondary,
html body button.btn-secondary,
html body a.btn-secondary,
html body input.btn-secondary,
html body .btn.btn-secondary,
html body .btn-white,
html body button.btn-white,
html body a.btn-white,
html body input.btn-white,
html body .btn.btn-white,
html body .btn-light,
html body button.btn-light,
html body a.btn-light,
html body input.btn-light,
html body .btn.btn-light {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

html body .btn-secondary:hover,
html body button.btn-secondary:hover,
html body a.btn-secondary:hover,
html body input.btn-secondary:hover,
html body .btn.btn-secondary:hover,
html body .btn-white:hover,
html body button.btn-white:hover,
html body a.btn-white:hover,
html body input.btn-white:hover,
html body .btn.btn-white:hover,
html body .btn-light:hover,
html body button.btn-light:hover,
html body a.btn-light:hover,
html body input.btn-light:hover,
html body .btn.btn-light:hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
    border-color: #9ca3af !important;
    transform: translateY(-1px) !important;
}

/* Force correct colors for all child elements inside buttons */
html body .btn * {
    color: inherit !important;
}

/* Dashboard welcome section button overrides */
html body .welcome-actions .btn:not(.btn-primary):not(.credits-display) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

html body .welcome-actions .btn:not(.btn-primary):not(.credits-display):hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: white !important;
}

html body .welcome-actions .btn:not(.btn-primary):not(.credits-display) * {
    color: white !important;
}

/* Card action buttons force white background with dark text */
html body .card-actions .btn:not(.btn-primary),
html body .action-card .btn:not(.btn-primary) {
    background: white !important;
    color: #1a1a1a !important;
    border: 1px solid #e5e7eb !important;
}

html body .card-actions .btn:not(.btn-primary):hover,
html body .action-card .btn:not(.btn-primary):hover {
    background: #f3f4f6 !important;
    color: #1a1a1a !important;
}

html body .card-actions .btn:not(.btn-primary) *,
html body .action-card .btn:not(.btn-primary) * {
    color: #1a1a1a !important;
}

/* Override any existing inline styles completely */
html body [style*="color"],
html body [style*="background"],
html body [style*="border"] {
    /* Let CSS specificity handle the overrides rather than trying to reset inline styles */
}

/* Ensure flexbox alignment works correctly */
html body .welcome-actions {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

/* Force proper button alignment */
html body .welcome-actions .btn,
html body .welcome-actions .credits-display {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-height: 44px !important;
}

/* Remove any conflicting text color classes on buttons */
html body .btn.text-white:not(.btn-primary),
html body button.text-white:not(.btn-primary),
html body a.text-white:not(.btn-primary) {
    color: #1a1a1a !important;
}

/* Force correct styling for credits display */
html body .credits-display {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
}

html body .credits-display:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    text-decoration: none !important;
}

html body .credits-display * {
    color: white !important;
}

/* Ultimate override - use attribute selectors to beat inline styles */
html body button[style],
html body a[style].btn,
html body div[style] button,
html body div[style] a.btn {
    /* Our CSS will still apply due to specificity, but this ensures we target styled elements */
}

/* Cache buster comment to force reload */
/* GLOBAL_OVERRIDE_VERSION: 2.0 - MAXIMUM_SPECIFICITY_APPLIED */

/* Homepage header styling */
.homepage-header {
    background-color: #1b1621 !important;
}

/* Profile icon button styling */
.profile-icon-btn {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.profile-icon-btn:hover {
    color: white !important;
}

/* Navigation Container - Force proper alignment */
body nav.nav-clean .nav-container,
html body nav.nav-clean .nav-container,
body nav.nav-clean div.nav-container,
html body nav.nav-clean div.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 64px !important;
    position: relative !important;
    width: 100% !important;
}

body nav.nav-clean .nav-brand,
html body nav.nav-clean .nav-brand,
body nav.nav-clean div.nav-brand,
html body nav.nav-clean div.nav-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-shrink: 0 !important;
}

body nav.nav-clean .nav-menu,
html body nav.nav-clean .nav-menu,
body nav.nav-clean div.nav-menu,
html body nav.nav-clean div.nav-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 2rem !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

/* Mobile menu button alignment */
body nav.nav-clean .mobile-menu-btn,
html body nav.nav-clean .mobile-menu-btn,
body nav.nav-clean button.mobile-menu-btn,
html body nav.nav-clean button.mobile-menu-btn {
    margin-left: auto !important;
    display: none !important;
}

/* Force responsive behavior */
@media (max-width: 768px) {
    body nav.nav-clean .nav-menu,
    html body nav.nav-clean .nav-menu {
        display: none !important;
    }
    
    body nav.nav-clean .mobile-menu-btn,
    html body nav.nav-clean .mobile-menu-btn {
        display: flex !important;
        margin-left: auto !important;
    }
}

/* Anti-override protection */
body nav.nav-clean .nav-container[style],
html body nav.nav-clean .nav-container[style],
body nav.nav-clean .nav-menu[style],
html body nav.nav-clean .nav-menu[style] {
    justify-content: space-between !important;
}

/* CSS Debug - Force visibility */
nav.nav-clean .nav-container::after {
    content: "NAV-DEBUG" !important;
    position: absolute !important;
    top: -20px !important;
    right: 0 !important;
    font-size: 10px !important;
    color: red !important;
    background: yellow !important;
    padding: 2px !important;
    display: block !important;
    z-index: 9999 !important;
}

/* Font Awesome is now loaded via CDN CSS, no custom definitions needed */

/* Bootstrap-style Components */

/* Position Utilities */
.relative {
    position: relative !important;
}

.absolute {
    position: absolute !important;
}

.hidden {
    display: none !important;
}

/* Form Select */
.form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 2.25rem 0.75rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    appearance: none;
}

.form-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select-sm {
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.25rem;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    z-index: 1000 !important;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0.125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-menu.show {
    display: block !important;
}

.dropdown-menu-end {
    --bs-position: end;
    right: 0 !important;
    left: auto !important;
}

.dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 0.25rem 1rem !important;
    clear: both;
    font-weight: 400;
    color: #212529 !important;
    text-align: inherit;
    text-decoration: none !important;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: #1e2125 !important;
    background-color: #e9ecef !important;
}

/* Dropdown Divider */
.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e5e7eb;
}

/* Flash message styles */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    width: 100%;
}

.flash-message {
    background: white;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
    padding: 1rem;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flash-icon {
    flex-shrink: 0;
    font-size: 1.25rem;
}

.flash-text {
    flex: 1;
}

.flash-text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #374151;
}

.flash-message.success {
    border-left-color: #10b981;
}

.flash-message.success .flash-icon {
    color: #10b981;
}

.flash-message.error {
    border-left-color: #ef4444;
}

.flash-message.error .flash-icon {
    color: #ef4444;
}

.flash-message.warning {
    border-left-color: #f59e0b;
}

.flash-message.warning .flash-icon {
    color: #f59e0b;
}

.flash-message.info {
    border-left-color: #3b82f6;
}

.flash-message.info .flash-icon {
    color: #3b82f6;
}

/* Email Signature and Preview Styling */
.email-preview,
.email-content,
.email-signature,
.email-body-preview {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    background-color: #ffffff;
}

.email-preview {
    padding: 20px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.email-signature {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #e1e5e9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666666;
}

/* Email preview signature styling */
#preview-signature,
.preview-signature {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    margin-top: 15px !important;
    padding-top: 10px !important;
    border-top: 1px solid #e1e5e9 !important;
}

/* Email content styling */
.email-content p,
.email-preview p {
    margin: 0 0 10px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

/* Email template preview styling */
.email-template {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333333 !important;
    background-color: #ffffff !important;
}

/* Email preview content */
.email-preview-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #333333 !important;
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Override monospace fonts in email contexts */
.email-preview .email-template,
.email-content .email-template {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

/* Email form styling */
.email-signature textarea,
.form-textarea[name="signature"],
#email_signature {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    resize: vertical;
}

/* Email preview in cards */
.card .email-preview,
.card .email-content {
    margin: 0;
    border-radius: 4px;
}

/* Email integration display */
.email-integration-display {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
}

/* Email signature in email integration cards */
.email-integration-signature {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #666666 !important;
    white-space: pre-line;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e1e5e9;
}

/* Sticky footer utility for PitchPilot */
.sticky-footer-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.sticky-footer-main {
  flex: 1 0 auto;
}
.sticky-footer {
  flex-shrink: 0;
}

/* Missing Tailwind CSS classes for submissions.html */
.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-blue-500 {
  --tw-gradient-from: #3b82f6;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.to-purple-600 {
  --tw-gradient-to: #9333ea;
}

.rounded-full {
  border-radius: 9999px;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-white {
  color: #ffffff;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.mr-3 {
  margin-right: 0.75rem;
}

/* Additional classes for improved empty state */
.min-h-96 {
  min-height: 24rem;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-gray-700 {
  color: #374151;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.leading-relaxed {
  line-height: 1.625;
}

.max-w-md {
  max-width: 28rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex-col {
  flex-direction: column;
}

.sm\:flex-row {
  flex-direction: row;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  border-radius: 0.5rem;
}

/* Responsive design for sm breakpoint */
@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

/* Searchable Dropdown Styles */
.searchable-dropdown {
    position: relative;
    width: 100%;
}

.searchable-dropdown .searchable-input {
    cursor: pointer;
    padding-right: 2.5rem;
}

.searchable-dropdown .dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.searchable-dropdown.open .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #d1d5db;
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.dropdown-options.show {
    display: block;
}

.dropdown-options .option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-options .option:last-child {
    border-bottom: none;
}

.dropdown-options .option:hover {
    background-color: #f9fafb;
}

.dropdown-options .option.selected {
    background-color: var(--primary-pink);
    color: white;
}

.dropdown-options .option.selected:hover {
    background-color: var(--secondary-pink);
}

.dropdown-options .option.hidden {
    display: none;
}

/* Focus styles for accessibility */
.searchable-dropdown .searchable-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.1);
}

.searchable-dropdown .searchable-input:focus + .dropdown-arrow {
    color: var(--primary-pink);
}
