/* ============================================
   MODERN DESIGN SYSTEM - DYNAMIC & VIBRANT
   ============================================ */

:root {
    /* Color Palette - Modern & Vibrant */
    --tiq-primary: #2563eb;
    --tiq-primary-dark: #1d4ed8;
    --tiq-primary-light: #3b82f6;
    --tiq-primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --tiq-primary-gradient-alt: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    --tiq-accent: #8b5cf6;
    --tiq-accent-light: #a78bfa;
    --tiq-success: #10b981;
    --tiq-warning: #f59e0b;
    --tiq-danger: #ef4444;
    --tiq-info: #06b6d4;
    
    /* Background Colors */
    --tiq-bg-primary: #ffffff;
    --tiq-bg-secondary: #f8fafc;
    --tiq-bg-tertiary: #f1f5f9;
    --tiq-bg-gradient: linear-gradient(135deg, #667eea15 0%, #764ba215 50%, #f093fb15 100%);
    --tiq-bg-gradient-strong: linear-gradient(135deg, #667eea30 0%, #764ba230 50%, #f093fb30 100%);
    
    /* Text Colors */
    --tiq-text-primary: #0f172a;
    --tiq-text-secondary: #475569;
    --tiq-text-muted: #64748b;
    --tiq-text-light: #94a3b8;
    
    /* Border & Divider */
    --tiq-border: #e2e8f0;
    --tiq-border-light: #f1f5f9;
    --tiq-border-dark: #cbd5e1;
    
    /* Shadows - Modern Depth System */
    --tiq-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tiq-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --tiq-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tiq-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --tiq-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --tiq-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --tiq-shadow-colored: 0 10px 30px -5px rgba(37, 99, 235, 0.3);
    --tiq-shadow-colored-lg: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
    
    /* Border Radius */
    --tiq-radius-sm: 0.5rem;
    --tiq-radius: 0.75rem;
    --tiq-radius-lg: 1rem;
    --tiq-radius-xl: 1.5rem;
    --tiq-radius-full: 9999px;
    
    /* Spacing Scale */
    --tiq-space-xs: 0.25rem;
    --tiq-space-sm: 0.5rem;
    --tiq-space: 1rem;
    --tiq-space-lg: 1.5rem;
    --tiq-space-xl: 2rem;
    --tiq-space-2xl: 3rem;
    
    /* Transitions */
    --tiq-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --tiq-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tiq-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Z-Index Scale */
    --tiq-z-base: 1;
    --tiq-z-dropdown: 1000;
    --tiq-z-sticky: 100;
    --tiq-z-fixed: 1030;
    --tiq-z-modal-backdrop: 1040;
    --tiq-z-modal: 1055;
    --tiq-z-popover: 1070;
    --tiq-z-tooltip: 1080;
}

/* Base layout - Modern Dynamic Design */
.tiq-body {
    background: var(--tiq-bg-secondary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(118, 75, 162, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(240, 147, 251, 0.08) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.08) 0px, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
    color: var(--tiq-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Animated Background Elements */
.tiq-body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
    animation: tiq-bg-float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes tiq-bg-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.tiq-body > * {
    position: relative;
    z-index: 1;
}

/* Ensure main can contain fixed backdrop */
main.tiq-main {
    position: relative;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar - Modern Glassmorphism with Dynamic Effects */
.tiq-navbar {
    position: sticky;
    top: 0;
    z-index: 100 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 0;
    transition: all var(--tiq-transition);
    box-shadow: 
        0 1px 0 rgba(0, 0, 0, 0.05),
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.tiq-navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--tiq-primary-gradient);
    opacity: 0.3;
    transform: scaleX(0);
    transition: transform var(--tiq-transition);
}

.tiq-navbar:hover::before {
    transform: scaleX(1);
}

@media (min-width: 992px) {
    .tiq-navbar {
        padding: 1rem 0;
    }
}

.tiq-navbar .navbar-toggler {
    padding: 0.5rem;
    border: none;
    box-shadow: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
}

.tiq-navbar .navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.tiq-navbar .navbar-toggler:active {
    transform: scale(0.95);
}

.tiq-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    outline: none;
}

.tiq-navbar .navbar-brand {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    margin-left: -0.5rem;
}

.tiq-navbar .navbar-brand:hover {
    transform: translateY(-1px);
    background-color: rgba(0, 0, 0, 0.02);
}

.tiq-navbar .navbar-brand:active {
    transform: translateY(0);
}

/* Navbar Search Toggle */
.tiq-nav-search-toggle {
    text-decoration: none;
    transition: all 0.2s ease;
}

.tiq-nav-search-toggle:hover {
    color: #2563eb !important;
    transform: scale(1.1);
}

.tiq-nav-search-toggle:focus {
    box-shadow: none;
    outline: 2px solid rgba(37, 99, 235, 0.3);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar Search Close Button */
.tiq-nav-search-close {
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tiq-nav-search-close:hover {
    color: #dc2626 !important;
    transform: scale(1.1);
}

.tiq-nav-search-close:focus {
    box-shadow: none;
    outline: 2px solid rgba(220, 38, 38, 0.3);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Navbar Search Expanded - Inline replacement */
.tiq-nav-search-expanded {
    display: none;
    animation: fadeIn 0.2s ease-out;
}

.tiq-nav-search-expanded:not(.d-none) {
    display: flex !important;
}

.tiq-nav-search-expanded .input-group {
    position: relative;
}

#tiq-nav-ticker-input {
    font-size: 0.875rem;
}

/* Hide search icon when search is expanded */
.tiq-nav-search-expanded:not(.d-none) ~ .tiq-nav-search-toggle,
#tiq-nav-search-container:has(.tiq-nav-search-expanded:not(.d-none)) .tiq-nav-search-toggle {
    display: none !important;
}

/* Ensure proper alignment */
#tiq-nav-search-container {
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .tiq-nav-search-expanded {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    #tiq-nav-ticker-input-group {
        width: 100% !important;
        min-width: auto !important;
    }
    
    #tiq-nav-search-container {
        width: 100%;
    }
}

.tiq-logo-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.tiq-navbar .navbar-brand:hover .tiq-logo-icon {
    transform: scale(1.05);
}

.tiq-text-accent {
    background: var(--tiq-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    display: inline-block;
    animation: tiq-gradient-shift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes tiq-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* General main content */
.tiq-main {
    flex: 1 0 auto;
    min-height: calc(100vh - 200px);
    padding-top: 0;
    width: 100%;
    animation: fadeIn 0.4s ease-out;
}

@media (min-width: 768px) {
    .tiq-main {
        min-height: calc(100vh - 250px);
    }
}

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

/* Buttons - Ultra Modern with Dynamic Gradients */
.tiq-btn-primary {
    background: var(--tiq-primary-gradient-alt);
    background-size: 200% 200%;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm), var(--tiq-shadow-colored);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.01em;
}

.tiq-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.tiq-btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--tiq-shadow-md), var(--tiq-shadow-colored-lg);
    animation: tiq-button-pulse 2s ease infinite;
}

.tiq-btn-primary:hover::before {
    left: 100%;
}

.tiq-btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--tiq-shadow-sm);
}

@keyframes tiq-button-pulse {
    0%, 100% {
        box-shadow: var(--tiq-shadow-md), var(--tiq-shadow-colored-lg);
    }
    50% {
        box-shadow: var(--tiq-shadow-lg), 0 0 0 4px rgba(37, 99, 235, 0.1);
    }
}

/* Red/Danger Primary Button */
.btn-primary-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    background-size: 200% 200%;
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm), 0 10px 30px -5px rgba(239, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.01em;
}

.btn-primary-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary-danger:hover {
    background-position: 100% 50%;
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--tiq-shadow-md), 0 20px 40px -10px rgba(239, 68, 68, 0.4);
    animation: tiq-button-pulse-danger 2s ease infinite;
}

.btn-primary-danger:hover::before {
    left: 100%;
}

.btn-primary-danger:active {
    transform: translateY(0) scale(0.98);
    box-shadow: var(--tiq-shadow-sm);
}

@keyframes tiq-button-pulse-danger {
    0%, 100% {
        box-shadow: var(--tiq-shadow-md), 0 20px 40px -10px rgba(239, 68, 68, 0.4);
    }
    50% {
        box-shadow: var(--tiq-shadow-lg), 0 0 0 4px rgba(239, 68, 68, 0.1);
    }
}

/* Modern Outline Buttons */
.btn-outline-secondary {
    border: 2px solid var(--tiq-border);
    color: var(--tiq-text-secondary);
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--tiq-primary-gradient);
    opacity: 0.1;
    transition: left var(--tiq-transition);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--tiq-primary);
    color: var(--tiq-primary);
    transform: translateY(-2px);
    box-shadow: var(--tiq-shadow-md);
}

.btn-outline-secondary:hover::before {
    left: 100%;
}

.btn-outline-secondary:active {
    transform: translateY(0);
    border-color: #cbd5e1;
    color: #475569;
    transform: translateY(-1px);
}

/* Hero */
.tiq-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 60%, #edf1f9 100%);
    position: relative;
    overflow: hidden;
}

/* Hero CTA - Enhanced Contrast */
.tiq-hero-cta-primary {
    background: var(--tiq-primary-gradient) !important;
    background-size: 200% 200% !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: var(--tiq-shadow-lg), var(--tiq-shadow-colored) !important;
    font-size: 1.125rem !important;
    padding: 1rem 2rem !important;
    transition: all var(--tiq-transition) !important;
    animation: tiq-gradient-shift 3s ease infinite !important;
    position: relative;
    overflow: hidden;
}

.tiq-hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--tiq-transition);
    z-index: 0;
}

.tiq-hero-cta-primary:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: var(--tiq-shadow-xl), var(--tiq-shadow-colored-lg) !important;
    color: #ffffff !important;
}

.tiq-hero-cta-primary:hover::before {
    left: 100%;
}

.tiq-hero-cta-primary svg,
.tiq-hero-cta-primary span {
    position: relative;
    z-index: 1;
}

.tiq-hero-cta-primary:active {
    transform: translateY(-1px) scale(1.01) !important;
}

/* Live Demo Badge - Clickable */
.tiq-live-demo-badge {
    transition: all var(--tiq-transition-fast);
    cursor: pointer;
}

.tiq-live-demo-badge:hover {
    background: var(--tiq-primary) !important;
    color: #ffffff !important;
    border-color: var(--tiq-primary) !important;
    transform: translateY(-2px);
    box-shadow: var(--tiq-shadow-sm);
}

.tiq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.tiq-badge {
    background: var(--tiq-primary-gradient);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 0.625rem 1.25rem;
    font-weight: 600;
    border: none;
    box-shadow: var(--tiq-shadow-sm);
    transition: all var(--tiq-transition);
    animation: tiq-gradient-shift 3s ease infinite;
}

.tiq-badge:hover {
    transform: scale(1.05);
    box-shadow: var(--tiq-shadow-md);
}


/* Hero Card - Special styling to override generic card styles */
.tiq-hero-card,
.tiq-hero-card.bg-white,
.tiq-hero-card.shadow-lg,
.tiq-hero-card.border,
.tiq-hero-card.rounded-4 {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.15) !important;
    border-radius: var(--tiq-radius-xl) !important;
    padding: 20px !important;
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-lg) !important;
    position: relative;
    overflow: visible;
    margin: 0 !important;
}
.tiq-hero-card { 
  padding: 20px !important;
}
.tiq-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tiq-primary-gradient);
    border-radius: var(--tiq-radius-xl) var(--tiq-radius-xl) 0 0;
    opacity: 1;
    transform: none;
    z-index: 1;
}

/* Ensure content inside has proper spacing */
.tiq-hero-card > *:first-child {
    margin-top: 0;
}

.tiq-hero-card > *:last-child {
    margin-bottom: 0;
}

.tiq-hero-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--tiq-shadow-xl), var(--tiq-shadow-colored-lg) !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

@media (max-width: 991.98px) {
    .tiq-hero-card,
    .tiq-hero-card.bg-white,
    .tiq-hero-card.shadow-lg {
        padding: 20px !important;
    }
}

@media (max-width: 767.98px) {
    .tiq-hero-card,
    .tiq-hero-card.bg-white,
    .tiq-hero-card.shadow-lg {
        padding: 20px !important;
        border-radius: var(--tiq-radius-lg) !important;
    }
}

/* Hero Feature Icons */
.tiq-hero-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
    border-radius: 10px;
    color: #2563eb;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .tiq-hero-feature-icon {
        width: 36px;
        height: 36px;
    }
}

/* Hero Typography */
.tiq-hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (max-width: 991.98px) {
    .tiq-hero h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .tiq-hero h1 {
        font-size: 1.875rem;
    }
}

/* Modern Dynamic Hero Title */
.tiq-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    display: block;
    animation: tiq-title-fade-in 0.8s ease-out;
}

.tiq-hero-title-main {
    color: var(--tiq-text-primary);
    display: inline-block;
    position: relative;
}

.tiq-hero-title-accent {
    background: var(--tiq-primary-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
    animation: tiq-gradient-shift 3s ease infinite;
    margin-left: 0.5rem;
}

.tiq-hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--tiq-primary-gradient);
    background-size: 200% 200%;
    border-radius: 0.1em;
    opacity: 0.3;
    animation: tiq-gradient-shift 3s ease infinite;
    z-index: -1;
}

@keyframes tiq-title-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tiq-gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Modern Hero Subtitle */
.tiq-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--tiq-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    animation: tiq-subtitle-fade-in 1s ease-out 0.2s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tiq-hero-subtitle-icon {
    font-size: 1.5rem;
    display: inline-block;
    animation: tiq-icon-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}

@keyframes tiq-subtitle-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tiq-icon-pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.5));
    }
}

@media (max-width: 991.98px) {
    .tiq-hero-title {
        font-size: 3rem;
    }
    
    .tiq-hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 767.98px) {
    .tiq-hero-title {
        font-size: 2.25rem;
    }
    
    .tiq-hero-subtitle {
        font-size: 1rem;
    }
    
    .tiq-hero-title-accent {
        margin-left: 0.25rem;
    }
}

/* Modern Card System - Glassmorphism & Dynamic Effects */
.card:not(.tiq-hero-card),
.tiq-dashboard-card,
.tiq-stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--tiq-radius-lg);
    box-shadow: var(--tiq-shadow-sm);
    transition: all var(--tiq-transition);
    position: relative;
    overflow: hidden;
}

.card:not(.tiq-hero-card)::before,
.tiq-dashboard-card::before,
.tiq-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
}

.card:not(.tiq-hero-card):hover::before,
.tiq-dashboard-card:hover::before,
.tiq-stat-card:hover::before {
    transform: scaleX(1);
}

.card:not(.tiq-hero-card):hover,
.tiq-dashboard-card:hover,
.tiq-stat-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--tiq-shadow-lg), var(--tiq-shadow-colored);
    border-color: rgba(37, 99, 235, 0.2);
}

/* Sections */
.tiq-section-bg {
    background: transparent;
    position: relative;
}

.tiq-section-cta {
    background: var(--tiq-bg-gradient-strong);
    position: relative;
    overflow: hidden;
}

.tiq-section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--tiq-primary-gradient);
    opacity: 0.05;
    animation: tiq-bg-rotate 15s linear infinite;
}

@keyframes tiq-bg-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Step cards - Ultra Modern with Gradient Accents */
.tiq-step-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    padding: 1.75rem;
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm);
    position: relative;
    overflow: hidden;
}

.tiq-step-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--tiq-transition);
}

.tiq-step-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--tiq-shadow-xl), var(--tiq-shadow-colored);
    border-color: rgba(37, 99, 235, 0.3);
}

.tiq-step-card:hover::after {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .tiq-step-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

.tiq-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--tiq-radius-full);
    background: var(--tiq-primary-gradient);
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    box-shadow: var(--tiq-shadow-sm);
    transition: all var(--tiq-transition);
}

.tiq-step-card:hover .tiq-step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--tiq-shadow-md);
}

/* Use-case cards - Dynamic with Gradient Overlays */
.tiq-usecase-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    padding: 1.75rem;
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm);
    position: relative;
    overflow: hidden;
}

.tiq-usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tiq-primary-gradient);
    opacity: 0;
    transition: opacity var(--tiq-transition);
    z-index: 0;
}

.tiq-usecase-card > * {
    position: relative;
    z-index: 1;
}

.tiq-usecase-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--tiq-shadow-xl), var(--tiq-shadow-colored-lg);
    border-color: rgba(37, 99, 235, 0.4);
}

.tiq-usecase-card:hover::before {
    opacity: 0.05;
}

@media (max-width: 767.98px) {
    .tiq-usecase-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* Footer - Modern design */
.tiq-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .tiq-footer {
        padding: 4rem 0 2.5rem;
    }
}

.tiq-footer-link {
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding: 0.125rem 0;
    border-radius: 4px;
}

.tiq-footer-link:hover {
    color: #2563eb;
    transform: translateX(2px);
    background-color: rgba(37, 99, 235, 0.05);
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.tiq-footer-link:active {
    transform: translateX(1px);
}

.tiq-footer h6 {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: #1e293b;
}

.tiq-footer .border-top {
    border-color: rgba(0, 0, 0, 0.06) !important;
    margin-top: 2rem;
    padding-top: 2rem;
}

/* Nav links - Modern with smooth transitions */
.tiq-nav-links .nav-link {
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tiq-nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background-color: #2563eb;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.tiq-nav-links .nav-link:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.tiq-nav-links .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.tiq-nav-links .nav-link:active {
    transform: translateY(0);
}

.tiq-nav-links .nav-link.active {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

@media (max-width: 991.98px) {
    .tiq-nav-links {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .tiq-nav-links .nav-link {
        padding: 0.75rem 1rem !important;
        width: 100%;
        text-align: left;
    }
    
    /* Better mobile navbar collapse animation */
    .navbar-collapse {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .navbar-collapse.collapsing {
        transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile button improvements */
    .tiq-navbar .d-flex.flex-column {
        gap: 0.75rem;
    }
    
    .tiq-navbar .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Smooth scroll helper class (button) */
.tiq-scroll-demo {
    font-size: 0.95rem;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Better container spacing on mobile */
@media (max-width: 575.98px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Improved section spacing */
.tiq-section-bg {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .tiq-section-bg {
        padding: 3rem 0;
    }
}

@media (min-width: 992px) {
    .tiq-section-bg {
        padding: 4rem 0;
    }
}

/* Better typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #1e293b;
}

/* Improved focus states for accessibility */
a:focus,
button:focus,
.nav-link:focus,
.btn:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Loading states */
.tiq-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Better mobile button spacing */
@media (max-width: 991.98px) {
    .navbar-collapse .d-flex {
        width: 100%;
    }
    
    .navbar-collapse .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-collapse .btn:last-child {
        margin-bottom: 0;
    }
}

/* Pricing Page Tabs */
.tiq-pricing-tabs {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 3rem;
}

.tiq-pricing-tabs .nav-link {
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1rem 1.5rem;
    color: #64748b;
    font-weight: 500;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
    margin-bottom: -2px;
}

.tiq-pricing-tabs .nav-link:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.05);
}

.tiq-pricing-tabs .nav-link.active {
    color: #2563eb;
    background-color: transparent;
    border-bottom: 2px solid #2563eb;
}

.tiq-pricing-tabs .nav-link small {
    font-size: 0.75rem;
    opacity: 0.8;
}

@media (max-width: 767.98px) {
    .tiq-pricing-tabs {
        flex-direction: column;
        border-bottom: none;
    }
    
    .tiq-pricing-tabs .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .tiq-pricing-tabs .nav-link {
        border-radius: 0.5rem;
        border: 1px solid #e2e8f0;
        text-align: center;
        margin-bottom: 0;
    }
    
    .tiq-pricing-tabs .nav-link.active {
        border-color: #2563eb;
        border-bottom: 1px solid #2563eb;
        background-color: rgba(37, 99, 235, 0.05);
    }
}

/* Featured Plan Styling */
.tiq-plan-featured {
    border: 2px solid #2563eb !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15), 0 4px 6px -2px rgba(37, 99, 235, 0.1) !important;
    position: relative;
}

.tiq-plan-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #2563eb;
    display: none;
}

@media (min-width: 992px) {
    .tiq-plan-featured::before {
        display: block;
    }
}

/* Tab Content Animation */
.tab-content {
    min-height: 400px;
}

.tab-pane {
    animation: fadeIn 0.3s ease-in;
}

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

/* Pricing Card Improvements */
.tiq-usecase-card .h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.tiq-usecase-card ul li {
    line-height: 1.6;
}

.tiq-usecase-card .btn {
    margin-top: auto;
}

/* Feature Cards */
.tiq-feature-card {
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tiq-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
    color: #2563eb;
    margin: 0 auto;
}

.tiq-feature-card:hover {
    transform: translateY(-4px);
}

.tiq-feature-card:hover .tiq-feature-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(29, 78, 216, 0.1) 100%);
    transform: scale(1.1);
}

/* Step Number Large */
.tiq-step-number-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Use Case Icons */
.tiq-usecase-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

/* Benefit Items */
.tiq-benefit-list {
    margin-top: 1rem;
}

.tiq-benefit-item {
    padding: 0;
}

.tiq-benefit-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
    margin-top: 0.25rem;
}

.tiq-benefit-card {
    border: 1px solid #e2e8f0;
}

.tiq-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1;
}

.tiq-stat-number-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
}

/* Pricing Preview Cards */
.tiq-pricing-preview-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.tiq-pricing-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.tiq-pricing-featured {
    border: 2px solid #2563eb !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15), 0 4px 6px -2px rgba(37, 99, 235, 0.1) !important;
}

.tiq-pricing-preview-card ul li {
    padding-left: 0.5rem;
}

/* Trust Cards */
.tiq-trust-card {
    padding: 1.5rem;
}

.tiq-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    margin: 0 auto;
}

/* FAQ Accordion */
.accordion-button {
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
}

.accordion-body {
    color: #64748b;
    line-height: 1.7;
}

.accordion-item {
    border-color: #e2e8f0 !important;
}

/* Feature Comparison Cards */
.tiq-feature-comparison-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tiq-feature-comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.tiq-feature-comparison-featured {
    border: 2px solid #2563eb !important;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.05) !important;
}

@media (max-width: 767.98px) {
    .tiq-feature-card {
        padding: 1.5rem 1rem;
    }
    
    .tiq-step-number-large {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .tiq-stat-number {
        font-size: 2.5rem;
    }
    
    .tiq-pricing-preview-card {
        padding: 1.5rem 1.25rem;
    }
    
    .tiq-trust-card {
        padding: 1.25rem;
    }
    
    .tiq-feature-comparison-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* Workflow Cards */
.tiq-workflow-card {
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.tiq-workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.tiq-workflow-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    margin: 0 auto;
}

/* Flow Arrow */
.tiq-flow-arrow {
    margin: 2rem 0;
    opacity: 0.6;
}

/* Benefit Card Small */
.tiq-benefit-card-small {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tiq-benefit-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Code Example */
.tiq-code-example {
    font-family: 'Courier New', monospace;
    border: 1px solid #1e293b;
}

.tiq-code-example pre {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.tiq-code-example code {
    font-family: 'Courier New', monospace;
}

/* Getting Started Cards */
.tiq-getting-started-card {
    padding: 2rem 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tiq-getting-started-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.tiq-getting-started-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .tiq-workflow-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .tiq-benefit-card-small {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .tiq-getting-started-card {
        padding: 1.5rem 1.25rem;
        margin-bottom: 1rem;
    }
    
    .tiq-code-example {
        margin-top: 1.5rem;
    }
}
/* Ticker search autocomplete - Modern Design */
.tiq-ticker-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999 !important;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
    border-radius: var(--tiq-radius-lg);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(37, 99, 235, 0.15);
    box-shadow: var(--tiq-shadow-xl), 0 0 0 1px rgba(37, 99, 235, 0.05);
    padding: 0.5rem;
    animation: tiq-fade-in 0.2s ease-out;
}

@keyframes tiq-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quote page autocomplete - ensure it's above everything */
#tiq-quote-ticker-suggestions,
#tiq-quote-search-suggestions {
    z-index: 9999 !important;
}

/* Ensure input group has proper positioning context */
#tiq-quote-search-input-group {
    position: relative;
    z-index: 1;
}

.tiq-ticker-suggestions .list-group-item {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 60%, #edf1f9 100%);
    color: var(--tiq-text-primary);
    font-weight: 600;
    border: 1px solid var(--tiq-primary);
    border-radius: var(--tiq-radius);
    cursor: pointer;
    font-size: 0.9375rem;
    padding: 0.875rem 1rem;
    margin-bottom: 0.25rem;
    transition: all var(--tiq-transition-fast);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

/* Specific styling for quote search suggestions */
#tiq-quote-search-suggestions > li {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fb 60%, #edf1f9 100%);
    border: 1px solid var(--tiq-primary);
}

.tiq-ticker-suggestions .list-group-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tiq-primary-gradient);
    opacity: 0;
    transition: opacity var(--tiq-transition-fast);
    z-index: -1;
}

.tiq-ticker-suggestions .list-group-item:hover {
    background: rgba(37, 99, 235, 0.08);
    transform: translateX(4px);
    box-shadow: var(--tiq-shadow-sm);
}

.tiq-ticker-suggestions .list-group-item:hover::before {
    opacity: 0.05;
}

.tiq-ticker-suggestions .list-group-item:active {
    transform: translateX(2px);
    background: rgba(37, 99, 235, 0.12);
}

.tiq-ticker-suggestions .list-group-item:last-child {
    margin-bottom: 0;
}

/* Ticker image styling */
.tiq-ticker-suggestions .list-group-item img {
    width: 48px;
    height: 48px;
    max-width: 150px;
    border-radius: var(--tiq-radius);
    border: 2px solid rgba(37, 99, 235, 0.1);
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.9);
    object-fit: contain;
    flex-shrink: 0;
    transition: all var(--tiq-transition-fast);
}

.tiq-ticker-suggestions .list-group-item:hover img {
    border-color: rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
    box-shadow: var(--tiq-shadow-sm);
}

/* Ticker content wrapper */
.tiq-ticker-suggestions .list-group-item > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

/* Ticker symbol and market row */
.tiq-ticker-suggestions .list-group-item > div > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tiq-ticker-suggestions .list-group-item > div > div:first-child > span:first-child {
    font-weight: 700;
    color: var(--tiq-text-primary);
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.tiq-ticker-suggestions .list-group-item > div > div:first-child > span:last-child {
    font-weight: 500;
    color: var(--tiq-text-muted);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tiq-ticker-suggestions .list-group-item small {
    display: block;
    font-weight: 400;
    color: #333;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Scrollbar styling for autocomplete */
.tiq-ticker-suggestions::-webkit-scrollbar {
    width: 8px;
}

.tiq-ticker-suggestions::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.5);
    border-radius: var(--tiq-radius);
}

.tiq-ticker-suggestions::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.3);
    border-radius: var(--tiq-radius);
    transition: background var(--tiq-transition-fast);
}

.tiq-ticker-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 99, 235, 0.5);
}
/* Quote page - Modern Card Styles */
.tiq-chart-card,
.tiq-short-card,
.tiq-news-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    padding: 1.5rem;
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm);
    position: relative;
    overflow: hidden;
}

.tiq-chart-card::before,
.tiq-short-card::before,
.tiq-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
}

.tiq-chart-card:hover::before,
.tiq-short-card:hover::before,
.tiq-news-card:hover::before {
    transform: scaleX(1);
}

.tiq-chart-card:hover,
.tiq-short-card:hover,
.tiq-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tiq-shadow-lg), var(--tiq-shadow-colored);
    border-color: rgba(37, 99, 235, 0.3);
}

.tiq-short-card .tiny-label {
    font-size: 0.72rem;
}

.tiq-short-progress {
    height: 6px;
    border-radius: 999px;
    background-color: #eceff6;
}

.tiq-short-progress .progress-bar {
    border-radius: 999px;
}

/* Short interest pills */
.tiq-short-pill {
    display: inline-block;
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background-color: #f3f4fb;
    color: #43495a;
    border: 1px solid #e0e3f0;
}

/* News cards */
.tiq-news-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e1e5f0;
    padding: 0.9rem 1rem;
}

.tiq-news-tag {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #d1d5e6;
    color: #495057;
    text-transform: uppercase;
}
.tiq-news-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e1e5f0;
    padding: 0.9rem 1rem;
}

.tiq-news-tag {
    font-size: 0.68rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #d1d5e6;
    color: #495057;
    text-transform: uppercase;
}
.tiq-news-tag-positive {
    background-color: #0f5132;
    border-color: #0f5132;
    color: #ffffff;
}

.tiq-news-tag-neutral {
    background-color: #343a40;
    border-color: #343a40;
    color: #ffffff;
}

.tiq-news-tag-negative {
    background-color: #842029;
    border-color: #842029;
    color: #ffffff;
}
/* Quote Page - Modern Styles */
.tiq-quote-header-card {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.1) !important;
    border-left: 4px solid #2563eb !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04) !important;
}

.tiq-quote-logo {
    width: auto;
    min-width: 60px;
    max-height: 60px;
    padding: 8px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tiq-quote-header-card .h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .tiq-quote-header-card .h2 {
        font-size: 1.5rem;
    }
}

/* Quote Page Card Styling - Enhanced Visual Distinction */
.tiq-section-bg .card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    transition: all 0.3s ease;
}

.tiq-section-bg .card:hover {
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.06) !important;
    transform: translateY(-2px);
}

/* Chart Section */
.tiq-quote-chart-card {
    background: #ffffff !important;
    border-left: 4px solid #10b981 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.1) !important;
}

/* Company Info Card */
.tiq-quote-info-card {
    background: #ffffff !important;
    border-left: 4px solid #f59e0b !important;
}

/* Fundamentals Card */
.tiq-quote-fundamentals-card {
    background: #ffffff !important;
    border-left: 4px solid #3b82f6 !important;
}

/* Technicals Card */
.tiq-quote-technicals-card {
    background: #ffffff !important;
    border-left: 4px solid #8b5cf6 !important;
}

/* Live Trends Section */
.tiq-quote-trends-card {
    background: #ffffff !important;
    border-left: 4px solid #10b981 !important;
    border-top: 1px solid rgba(16, 185, 129, 0.15) !important;
}

#tiq-trends-container {
    background: transparent;
}

/* Short Interest Card */
.tiq-short-card {
    background: #ffffff !important;
    border-left: 4px solid #ef4444 !important;
    border-top: 1px solid rgba(239, 68, 68, 0.15) !important;
}

/* Related & Recommendations Section */
.tiq-quote-related-card {
    background: #ffffff !important;
    border-left: 4px solid #64748b !important;
}

.tiq-quote-recommendations-card {
    background: #ffffff !important;
    border-left: 4px solid #6366f1 !important;
}

/* Enhanced Card Headers */
.tiq-section-bg .card-body h6.text-uppercase {
    color: #475569;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(15, 23, 42, 0.08);
    margin-bottom: 1rem !important;
}

/* Better spacing between sections */
.tiq-section-bg .card.mb-4 {
    margin-bottom: 2rem !important;
}

.tiq-section-bg .row.g-4 {
    margin-bottom: 2rem !important;
}

/* Enhanced definition lists */
.tiq-section-bg .card-body dl.row dt {
    color: #64748b;
    font-weight: 500;
}

.tiq-section-bg .card-body dl.row dd {
    color: #1e293b;
    font-weight: 600;
}

/* News Section Styling */
.tiq-quote-news-card {
    background: #ffffff !important;
    border-left: 4px solid #f59e0b !important;
}

/* Additional Quote Page Enhancements */
.tiq-section-bg {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

/* Card body padding enhancement */
.tiq-section-bg .card-body {
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .tiq-section-bg .card-body {
        padding: 2rem;
    }
}

/* Better visual separation for definition lists */
.tiq-section-bg .card-body dl.row {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.tiq-section-bg .card-body dl.row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Enhanced hr styling */
.tiq-section-bg .card-body hr {
    border-color: rgba(15, 23, 42, 0.1);
    opacity: 1;
    margin: 1.5rem 0;
}

/* Badge enhancements in quote cards */
/* Modern Badge System */
.tiq-section-bg .card-body .badge,
.badge {
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge.bg-primary,
.badge.bg-success,
.badge.bg-warning,
.badge.bg-danger,
.badge.bg-info {
    background: var(--tiq-primary-gradient) !important;
    box-shadow: var(--tiq-shadow-xs);
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: var(--tiq-shadow-sm);
}

/* List group items in quote page */
.tiq-section-bg .list-group-item {
    border-color: rgba(15, 23, 42, 0.08);
    transition: all 0.2s ease;
}

.tiq-section-bg .list-group-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
    border-left: 3px solid #2563eb;
    padding-left: calc(1rem - 3px);
}

/* Table enhancements */
.tiq-section-bg .table {
    border-color: rgba(15, 23, 42, 0.08);
}

.tiq-section-bg .table thead th {
    border-bottom: 2px solid rgba(15, 23, 42, 0.1);
    font-weight: 600;
    color: #475569;
}

/* Price change indicators */
.tiq-section-bg .text-success {
    color: #10b981 !important;
    font-weight: 600;
}

.tiq-section-bg .text-danger {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Section title improvements */
.tiq-section-bg h6.text-uppercase {
    position: relative;
    padding-left: 0.75rem;
}

.tiq-section-bg h6.text-uppercase::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 1.25rem;
    background: currentColor;
    border-radius: 2px;
    opacity: 0.3;
}

/* Live price flash */

@keyframes tiqPriceFlashDown {
    0%   { background-color: rgba(220, 53, 69, 0.25); }
    50%  { background-color: rgba(220, 53, 69, 0.10); }
    100% { background-color: transparent; }
}

.tiq-price-flash-up,
.tiq-price-flash-down {
    display: inline-block;
    border-radius: 0.35rem;
    padding: 0.1rem 0.25rem;
}

.tiq-price-flash-up {
    animation: tiqPriceFlashUp 0.6s ease-out;
}

.tiq-price-flash-down {
    animation: tiqPriceFlashDown 0.6s ease-out;
}
/* ------------------------------
   Auth Pages (Login/Register)
-------------------------------- */
.tiq-auth-wrap { padding: 64px 0; }

.tiq-auth-card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(2, 6, 23, .10);
  overflow: hidden;
}

.tiq-auth-left{
  padding: 28px;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(29,78,216,.03));
  border-bottom: 1px solid rgba(15, 23, 42, .10);
}
@media (min-width: 992px){
  .tiq-auth-left{
    border-bottom: none;
    border-right: 1px solid rgba(15, 23, 42, .10);
  }
}

.tiq-auth-right{ padding: 28px; }

.tiq-kicker{
  font-size: .9rem;
  color: #64748b;
  margin-bottom: 8px;
}
.tiq-title{
  font-weight: 750;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.tiq-subtitle{ color: #64748b; }

.tiq-pill-list{ display:flex; flex-direction:column; gap:10px; }
.tiq-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: rgba(255,255,255,.85);
  color: #64748b;
  font-size: .9rem;
}

.tiq-btn-lg{ padding: 10px 12px; border-radius: 12px; }

.tiq-resend-box{
  border: 1px solid rgba(15, 23, 42, .10);
  background: #f8fafc;
  border-radius: 12px;
  padding: 14px;
}

/* Enhanced Auth Form Styles */
.tiq-auth-form {
  margin-top: 0.5rem;
}

.tiq-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.tiq-input-icon {
  position: absolute;
  left: 14px;
  color: #64748b;
  pointer-events: none;
  z-index: 1;
}

.tiq-form-control {
  padding-left: 44px !important;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-size: 0.9375rem;
}

.tiq-form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  outline: none;
}

.tiq-form-control::placeholder {
  color: #94a3b8;
}

/* Enhanced Alert Styling */
.tiq-alert {
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.875rem 1rem;
  display: flex;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.tiq-alert svg {
  flex-shrink: 0;
}

.alert-info.tiq-alert {
  background-color: #e0f2fe;
  border-color: #bae6fd;
  color: #0369a1;
}

.alert-success.tiq-alert {
  background-color: #d1fae5;
  border-color: #a7f3d0;
  color: #065f46;
}

.alert-danger.tiq-alert {
  background-color: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

/* Verify Email Icons */
.tiq-verify-icon-success,
.tiq-verify-icon-error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto;
  animation: tiqVerifyPulse 0.6s ease-out;
}

.tiq-verify-icon-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #047857;
}

.tiq-verify-icon-error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
}

@keyframes tiqVerifyPulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Form Select with Icon */
.tiq-input-wrapper select.tiq-form-control {
  padding-left: 44px !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px !important;
}

/* Responsive adjustments for auth pages */
@media (max-width: 991.98px) {
  .tiq-auth-wrap {
    padding: 48px 0;
  }
  
  .tiq-auth-left {
    padding: 24px;
  }
  
  .tiq-auth-right {
    padding: 24px;
  }
}

@media (max-width: 575.98px) {
  .tiq-auth-wrap {
    padding: 32px 0;
  }
  
  .tiq-auth-left,
  .tiq-auth-right {
    padding: 20px;
  }
  
  .tiq-verify-icon-success,
  .tiq-verify-icon-error {
    width: 64px;
    height: 64px;
  }
  
  .tiq-verify-icon-success svg,
  .tiq-verify-icon-error svg {
    width: 48px;
    height: 48px;
  }
}
.watch-card{
    border:1px solid #e6eaf2;
    border-radius:12px;
    padding:12px 12px;
    background:#fff;
    transition: transform .06s ease, box-shadow .06s ease;
  }
  .watch-card:hover{
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
    transform: translateY(-1px);
  }
  .watch-title{
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
  }
  .watch-sub{
    font-size: 12px;
    color: #64748b;
  }
  .watch-price{
    font-weight: 900;
    font-size: 14px;
  }
  .watch-chg{
    font-weight: 800;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid #eef2f7;
  }
  .watch-chg.up{ background:#ecfdf5; color:#047857; border-color:#a7f3d0; }
  .watch-chg.down{ background:#fef2f2; color:#b91c1c; border-color:#fecaca; }
  .watch-remove{
    border:0;
    background:transparent;
    font-size:18px;
    line-height:1;
    color:#94a3b8;
    padding: 0.375rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .watch-remove:hover{ 
    color:#dc2626; 
    background-color: rgba(239, 68, 68, 0.1);
  }
  .watch-remove svg {
    width: 16px;
    height: 16px;
  }
  @keyframes tiqPulse {
    0%   { transform: translateY(0); box-shadow: none; }
    50%  { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,23,42,.08); }
    100% { transform: translateY(0); box-shadow: none; }
  }
  .watch-card.tiq-updated {
    animation: tiqPulse .25s ease;
  }
  
  /* Small highlight on changed numbers */
  .watch-price.tiq-num-up {
    color: #047857; /* green */
    transition: color .25s ease;
  }
  .watch-price.tiq-num-down {
    color: #b91c1c; /* red */
    transition: color .25s ease;
  }
  .watch-chg.tiq-num-up {
    background:#ecfdf5; border-color:#a7f3d0; color:#047857;
  }
  .watch-chg.tiq-num-down {
    background:#fef2f2; border-color:#fecaca; color:#b91c1c;
  }
  /* ---- Market Pulse (Full) ---- */
.tiq-pulse {
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 1px 0 rgba(0,0,0,.02);
  }
  
  .tiq-pulse-header {
    transition: background-color 0.15s ease;
    border-radius: 8px;
    margin: -8px;
    padding: 8px;
  }
  
  .tiq-pulse-header:hover {
    background-color: rgba(0,0,0,.02);
  }
  
  .tiq-pulse-header:active {
    background-color: rgba(0,0,0,.04);
  }
  
  .tiq-pulse-chevron {
    flex-shrink: 0;
  }
  
  .tiq-pulse-expandable {
    overflow: hidden;
  }
  
  .tiq-pulse-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(13,110,253,.8);
    box-shadow: 0 0 0 4px rgba(13,110,253,.12);
  }
  
  .tiq-pulse-regime{
    font-weight: 600;
    padding: .45rem .65rem;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
  }
  
  .tiq-regime-on { color: #0f5132; background: rgba(25,135,84,.10); border-color: rgba(25,135,84,.20); }
  .tiq-regime-off{ color: #842029; background: rgba(220,53,69,.10); border-color: rgba(220,53,69,.20); }
  .tiq-regime-mixed{ color: #664d03; background: rgba(255,193,7,.12); border-color: rgba(255,193,7,.22); }
  
  .tiq-pulse-tile{
    display: block;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 12px;
    background: #fff;
    padding: 12px 12px;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  }
  
  .tiq-pulse-tile:hover{
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    border-color: rgba(13,110,253,.25);
  }
  
  .tiq-pulse-symbol{
    font-size: .85rem;
    letter-spacing: .02em;
    color: rgba(0,0,0,.55);
    font-weight: 600;
  }
  
  .tiq-pulse-price{
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(0,0,0,.88);
    margin-top: 2px;
  }
  
  .tiq-pulse-chip{
    font-size: .85rem;
    font-weight: 700;
    padding: .25rem .5rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.03);
  }
  
  .tiq-up .tiq-pulse-chip{
    color: #0f5132;
    background: rgba(25,135,84,.10);
    border-color: rgba(25,135,84,.20);
  }
  
  .tiq-down .tiq-pulse-chip{
    color: #842029;
    background: rgba(220,53,69,.10);
    border-color: rgba(220,53,69,.20);
  }
  
  .tiq-neutral .tiq-pulse-chip{
    color: rgba(0,0,0,.55);
  }
  .watch-alert-btn {
    width: 36px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
  .watch-remove {
    width: 36px;
    height: 34px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #fff;
    line-height: 1;
    font-size: 20px;
  }
  .watch-remove:hover { background: #f8f9fa; }
  
/* ------------------------------
   API Status Page
-------------------------------- */
.tiq-api-status {
  background-color: #f8fafc;
  min-height: calc(100vh - 200px);
}

/* Status Banner */
.tiq-status-banner {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.tiq-status-banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tiq-status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #ffffff;
  flex-shrink: 0;
}

.tiq-status-indicator.bg-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tiq-status-indicator.bg-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tiq-status-indicator.bg-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.tiq-status-info {
  flex: 1;
  min-width: 200px;
}

.tiq-status-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.tiq-status-message {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
}

.tiq-status-meta {
  text-align: right;
  flex-shrink: 0;
}

.tiq-status-meta-label {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.tiq-status-meta-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
}

@media (max-width: 767.98px) {
  .tiq-status-banner {
    padding: 1.25rem;
  }
  
  .tiq-status-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tiq-status-meta {
    text-align: left;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
  }
  
  .tiq-status-indicator {
    width: 40px;
    height: 40px;
  }
}

/* Statistics Cards */
/* Stat cards already styled above - keeping for specificity */
.tiq-stat-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.tiq-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--tiq-radius);
  flex-shrink: 0;
  background: var(--tiq-primary-gradient);
  color: #ffffff;
  box-shadow: var(--tiq-shadow-sm);
  transition: all var(--tiq-transition);
}

.tiq-stat-card:hover .tiq-stat-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--tiq-shadow-md);
}

.tiq-stat-success .tiq-stat-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  color: #10b981;
}

.tiq-stat-danger .tiq-stat-icon {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  color: #ef4444;
}

.tiq-stat-primary .tiq-stat-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
  color: #2563eb;
}

.tiq-stat-info .tiq-stat-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
  color: #3b82f6;
}

.tiq-stat-content {
  flex: 1;
}

.tiq-stat-label {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.tiq-stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .tiq-stat-card {
    padding: 1rem;
  }
  
  .tiq-stat-icon {
    width: 40px;
    height: 40px;
  }
  
  .tiq-stat-value {
    font-size: 1.5rem;
  }
}

/* Endpoints Section */
.tiq-endpoints-section {
  margin-top: 2rem;
}

/* Desktop Table View */
.tiq-endpoints-table {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.tiq-endpoints-header {
  display: grid;
  grid-template-columns: 80px 2fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  font-weight: 600;
  font-size: 0.875rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiq-endpoints-body {
  display: flex;
  flex-direction: column;
}

.tiq-endpoint-row {
  display: grid;
  grid-template-columns: 80px 2fr 1fr;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: background-color 0.2s ease;
}

.tiq-endpoint-row:last-child {
  border-bottom: none;
}

.tiq-endpoint-row:hover {
  background-color: #f8fafc;
}

.tiq-endpoint-col-status,
.tiq-endpoint-col-path,
.tiq-endpoint-col-name {
  display: flex;
  align-items: center;
}

.tiq-endpoint-col-path {
  word-break: break-all;
}

/* Status Indicators - Glowing Dots */
.tiq-status-indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  animation: tiq-status-pulse 2s ease-in-out infinite;
}

.tiq-status-indicator-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.6;
  animation: tiq-status-glow 2s ease-in-out infinite;
}

.tiq-status-indicator-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 0.3;
  animation: tiq-status-glow-outer 2s ease-in-out infinite;
}

/* Green - UP */
.tiq-status-up {
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

.tiq-status-up::before {
  background-color: #10b981;
  box-shadow: 0 0 8px 4px rgba(16, 185, 129, 0.4);
}

.tiq-status-up::after {
  background-color: #10b981;
  box-shadow: 0 0 12px 6px rgba(16, 185, 129, 0.2);
}

/* Red - DOWN */
.tiq-status-down {
  background-color: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

.tiq-status-down::before {
  background-color: #ef4444;
  box-shadow: 0 0 8px 4px rgba(239, 68, 68, 0.4);
}

.tiq-status-down::after {
  background-color: #ef4444;
  box-shadow: 0 0 12px 6px rgba(239, 68, 68, 0.2);
}

/* Orange - Maintenance */
.tiq-status-maintenance {
  background-color: #f59e0b;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}

.tiq-status-maintenance::before {
  background-color: #f59e0b;
  box-shadow: 0 0 8px 4px rgba(245, 158, 11, 0.4);
}

.tiq-status-maintenance::after {
  background-color: #f59e0b;
  box-shadow: 0 0 12px 6px rgba(245, 158, 11, 0.2);
}

@keyframes tiq-status-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes tiq-status-glow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.4;
  }
}

@keyframes tiq-status-glow-outer {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.1;
  }
}

/* Legacy badge styles for other uses */
.tiq-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiq-status-badge svg {
  width: 12px;
  height: 12px;
}

.tiq-status-success {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.tiq-status-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.tiq-status-secondary {
  background: rgba(100, 116, 139, 0.1);
  color: #475569;
}

/* Method Badges */
.tiq-method-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.tiq-method-get {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.tiq-method-post {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.tiq-method-put {
  background: rgba(251, 191, 36, 0.1);
  color: #ca8a04;
}

.tiq-method-delete {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.tiq-method-patch {
  background: rgba(168, 85, 247, 0.1);
  color: #9333ea;
}

/* Path Code */
.tiq-path-code {
  background: #f1f5f9;
  color: #2563eb;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  word-break: break-all;
}

.tiq-endpoint-issues {
  font-size: 0.8125rem;
}

/* Mobile Card View */
.tiq-endpoints-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tiq-endpoint-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.tiq-endpoint-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tiq-endpoint-card-header {
  padding: 1rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.tiq-endpoint-card-body {
  padding: 1rem;
}

.tiq-endpoint-name {
  font-size: 0.9375rem;
  color: #1e293b;
}

.tiq-endpoint-path {
  margin-top: 0.5rem;
}

/* Market Status Sidebar */
.tiq-market-status {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: sticky;
  top: 80px;
}

.tiq-market-status-header {
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.tiq-market-status-body {
  padding: 1.5rem;
}

.tiq-market-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.tiq-market-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tiq-market-indicator.tiq-market-open {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.tiq-market-indicator.tiq-market-closed {
  background: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

.tiq-market-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tiq-market-badge-open {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.tiq-market-badge-closed {
  background: rgba(148, 163, 184, 0.1);
  color: #64748b;
}

.tiq-market-exchanges {
  margin-top: 0.5rem;
}

.tiq-exchange-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: #f1f5f9;
  color: #475569;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tiq-market-hours {
  margin-top: 1rem;
}

.tiq-market-footer {
  margin-top: 1.5rem;
}

.tiq-time-display {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.875rem;
  color: #475569;
}

@media (max-width: 991.98px) {
  .tiq-market-status {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 575.98px) {
  .tiq-market-status-body {
    padding: 1.25rem;
  }
  
  .tiq-market-status-header {
    padding: 1rem 1.25rem;
  }
}

/* ------------------------------
   Dashboard
-------------------------------- */
.tiq-dashboard {
  background-color: #f8fafc;
  min-height: calc(100vh - 200px);
}

/* Dashboard Header */
.tiq-dashboard-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.tiq-dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  line-height: 1.2;
}

.tiq-dashboard-subtitle {
  display: inline-flex;
  align-items: center;
  color: #64748b;
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
  .tiq-dashboard-title {
    font-size: 1.75rem;
  }
}

/* Dashboard Cards */
/* Dashboard cards already styled above - keeping for specificity */
.tiq-dashboard-card {
  overflow: hidden;
}

.tiq-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  background: #f8fafc;
}

.tiq-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.tiq-card-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.tiq-card-icon {
  color: #2563eb;
  flex-shrink: 0;
}

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

/* Limit Cards */
.tiq-limit-card {
  padding: 1rem;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.tiq-limit-card:hover {
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tiq-limit-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

.tiq-limit-badge {
  font-size: 0.75rem;
}

@media (max-width: 767.98px) {
  .tiq-card-header,
  .tiq-card-body {
    padding: 1.25rem;
  }
  
  .tiq-limit-card {
    padding: 0.875rem;
  }
}

/* Stat Cards for Dashboard */
.tiq-stat-tier .tiq-stat-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  color: #f59e0b;
}

.tiq-stat-hint {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Quick Analysis Section */
.tiq-quick-analysis {
  margin-bottom: 2rem;
}

.tiq-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tiq-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.tiq-section-subtitle {
  font-size: 0.9375rem;
  color: #64748b;
  margin: 0;
}

.tiq-badge-version {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.tiq-quick-analysis-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.tiq-search-input {
  font-size: 1rem;
  padding: 0.875rem 1rem 0.875rem 3rem;
}

@media (max-width: 767.98px) {
  .tiq-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .tiq-quick-analysis-card {
    padding: 1.25rem;
  }
}

/* Empty State */
.tiq-empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #64748b;
}

.tiq-empty-state svg {
  opacity: 0.5;
}

/* Watchlist Scrollable Container */
.tiq-watchlist-scrollable {
  max-height: calc(3 * (120px + 0.75rem) + 1.5rem);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.2) transparent;
}

.tiq-watchlist-scrollable::-webkit-scrollbar {
  width: 8px;
}

.tiq-watchlist-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

.tiq-watchlist-scrollable::-webkit-scrollbar-thumb {
  background-color: rgba(15, 23, 42, 0.2);
  border-radius: 4px;
}

.tiq-watchlist-scrollable::-webkit-scrollbar-thumb:hover {
  background-color: rgba(15, 23, 42, 0.3);
}

/* Ensure watch cards fill their column height */
.tiq-watchlist-scrollable .watch-card {
  height: 100%;
  min-height: 100px;
}

@media (max-width: 767.98px) {
  .tiq-watchlist-scrollable {
    max-height: calc(2 * (120px + 0.75rem) + 1.5rem);
  }
}

/* Trade Ideas Table */
.tiq-trade-table {
  font-size: 0.9375rem;
}

.tiq-trade-table thead th {
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid rgba(15, 23, 42, 0.1);
  padding: 0.75rem 1rem;
}

.tiq-trade-table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.tiq-trade-table tbody tr:hover {
  background-color: #f8fafc;
}

@media (max-width: 991.98px) {
  .tiq-trade-table {
    font-size: 0.875rem;
  }
  
  .tiq-trade-table thead th,
  .tiq-trade-table tbody td {
    padding: 0.75rem 0.5rem;
  }
}

/* Market Movers Cards */
.tiq-mover-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.tiq-mover-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
  text-decoration: none;
  color: inherit;
}

.tiq-mover-header {
  margin-bottom: 0.75rem;
}

.tiq-mover-ticker {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.tiq-mover-name {
  font-size: 0.8125rem;
  color: #64748b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tiq-mover-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.tiq-mover-change {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.tiq-mover-up {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.tiq-mover-down {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

@media (max-width: 991.98px) {
  .tiq-mover-card {
    padding: 0.875rem;
  }
  
  .tiq-mover-ticker {
    font-size: 0.9375rem;
  }
  
  .tiq-mover-price {
    font-size: 1rem;
  }
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
  .tiq-dashboard-header {
    padding-bottom: 0.75rem;
  }
  
  .tiq-section-title {
    font-size: 1.25rem;
  }
  
  .tiq-quick-analysis-card .d-flex {
    flex-direction: column;
  }
  
  .tiq-quick-analysis-card .btn {
    width: 100%;
  }
  
  .tiq-mover-card {
    padding: 0.75rem;
  }
}

/* Dashboard Settings Page */
.tiq-settings-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
  border-radius: 12px;
  color: #2563eb;
  flex-shrink: 0;
}

.tiq-settings-icon svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 767.98px) {
  .tiq-settings-icon {
    width: 40px;
    height: 40px;
  }
  
  .tiq-settings-icon svg {
    width: 20px;
    height: 20px;
  }
}

/* Settings Form Styling */
.form-label.fw-semibold {
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

/* Settings Card Hover Effects */
.card.border-0.shadow-sm {
  transition: all 0.3s ease;
}

.card.border-0.shadow-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}

/* Modal Z-Index Fix - Ensure modals are above navbar */
/* Bootstrap 5 default: backdrop 1040, modal 1055 */
/* Navbar is now at 100, so modals will always be above */
.modal-backdrop {
    z-index: 1040 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* When backdrop is inside main, ensure it still covers viewport */
main.tiq-main .modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
}

.modal {
    z-index: 1055 !important;
}

.modal.show {
    z-index: 1055 !important;
}

.modal.fade {
    z-index: 1055 !important;
}

/* Ensure navbar stays below modals - override any other rules */
nav.tiq-navbar,
.navbar.tiq-navbar,
.tiq-navbar {
    z-index: 100 !important;
}

/* Settings Modal Enhancements */
.modal-content.border-0.shadow-lg {
  border-radius: 16px;
}

.modal-header.border-0 {
  padding-bottom: 0.75rem;
}

.modal-footer.border-0 {
  padding-top: 0.75rem;
}

/* Trade Idea Evaluation Modal */
.tiq-trade-result-header {
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(29, 78, 216, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.tiq-trade-result-section {
  padding: 1rem;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.tiq-trade-result-section .text-uppercase {
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  color: #64748b;
}

/* Trade Modal Autocomplete */
#tradeTickerAutocomplete {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

#tradeTickerAutocomplete .list-group-item {
  transition: all 0.2s ease;
  padding: 0.75rem 1rem;
}

#tradeTickerAutocomplete .list-group-item:hover {
  background-color: #f1f5f9 !important;
  transform: translateX(2px);
}

/* Trade Modal Form Enhancements */
#tradeIdeaModal .form-label {
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

#tradeIdeaModal .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}

#tradeIdeaModal .form-text {
  font-size: 0.8125rem;
}

/* Form Sections */
.tiq-form-section {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.5) 100%);
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
}

.tiq-form-section:hover {
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.tiq-form-section-header {
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 1.25rem;
}

.tiq-form-section-header h6 {
  color: #1e293b;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.tiq-form-section-header h6 svg {
  color: #2563eb;
}

.tiq-form-section-header p {
  margin-top: 0.25rem;
  color: #64748b;
}

/* Input with Icon */
.tiq-input-wrapper {
  position: relative;
}

.tiq-input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiq-input-icon-success {
  color: #059669;
}

.tiq-input-with-icon {
  padding-left: 3rem;
  height: 48px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.tiq-input-with-icon:hover {
  border-color: rgba(37, 99, 235, 0.3);
}

.tiq-input-with-icon:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

.tiq-input-with-icon::placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Enhanced Button */
#tradeIdeaModal .tiq-btn-primary {
  height: 48px;
  font-size: 0.9375rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3), 0 2px 4px -1px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

#tradeIdeaModal .tiq-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4), 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

#tradeIdeaModal .tiq-btn-primary:active {
  transform: translateY(0);
}

/* Responsive adjustments for trade modal */
@media (max-width: 767.98px) {
  .tiq-form-section {
    padding: 1rem;
  }
  
  .tiq-form-section-header {
    margin-bottom: 1rem;
  }
  
  .tiq-form-section-header h6 {
    font-size: 0.9375rem;
  }
  
  .tiq-input-with-icon {
    height: 44px;
    font-size: 0.875rem;
    padding-left: 2.75rem;
  }
  
  .tiq-input-icon {
    left: 0.875rem;
  }
  
  .tiq-input-icon svg {
    width: 16px;
    height: 16px;
  }
  
  #tradeIdeaModal .tiq-btn-primary {
    height: 44px;
    font-size: 0.875rem;
    width: 100%;
  }
}

#tradeIdeaModal .alert-danger {
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.2);
  background-color: rgba(239, 68, 68, 0.05);
  color: #dc2626;
}

/* Trade Result Reasons List */
#tradeIdeaReasons li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

#tradeIdeaReasons li:last-child {
  border-bottom: none;
}

#tradeIdeaReasons li svg {
  flex-shrink: 0;
}

#tradeIdeaReasons li span {
  color: #334155;
  line-height: 1.5;
}

/* API Documentation Styles */
.tiq-api-docs {
  background-color: #f8fafc;
  min-height: calc(100vh - 200px);
}

.tiq-docs-sidebar {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.tiq-docs-sidebar::-webkit-scrollbar {
  width: 6px;
}

.tiq-docs-sidebar::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.tiq-docs-sidebar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.tiq-docs-sidebar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.tiq-docs-nav {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tiq-docs-nav-section {
  margin-bottom: 1.5rem;
}

.tiq-docs-nav-section:last-child {
  margin-bottom: 0;
}

.tiq-docs-nav-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.5rem;
}

.tiq-docs-nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #475569;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.tiq-docs-nav-link:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

.tiq-docs-nav-link-active {
  background-color: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}

.tiq-docs-content {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.tiq-docs-section {
  border-bottom: 1px solid rgba(15, 23, 42, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.tiq-docs-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tiq-docs-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.tiq-code-block {
  background: #1e293b;
  color: #e2e8f0;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  position: relative;
}

.tiq-code-block code {
  color: #e2e8f0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.tiq-code-block pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.tiq-endpoint-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 8px;
  padding: 1.25rem;
  transition: all 0.2s ease;
  height: 100%;
}

.tiq-endpoint-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.tiq-endpoint-card a {
  color: #1e293b;
}

.tiq-endpoint-card a:hover {
  color: #2563eb;
}

@media (max-width: 991.98px) {
  .tiq-docs-content {
    padding: 1.5rem;
  }
  
  .tiq-docs-sidebar {
    display: none;
  }
}
    
/* Live Trends Display */
.tiq-trend-row {
  transition: background-color 0.2s ease;
}

.tiq-trend-row:hover {
  background-color: rgba(248, 250, 252, 0.5);
}

.tiq-trend-row .kpi {
  text-align: right;
  font-size: 0.875rem;
  color: #1e293b;
  font-weight: 500;
}

.tiq-trend-row .kpi .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
}

.tiq-trend-row .kpi svg {
  vertical-align: middle;
  margin: 0 2px;
}

#tiq-trends-refresh {
  padding: 0.25rem 0.5rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s ease;
}

#tiq-trends-refresh:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  transform: rotate(90deg);
}

#tiq-trends-refresh svg {
  transition: transform 0.3s ease;
}

#tiq-trends-container {
  min-height: 200px;
}

/* Financial Statements Tabs */
.nav-tabs-custom {
  border-bottom: 2px solid #e2e8f0;
}

.nav-tabs-custom .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  color: #64748b;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: all 0.2s ease;
}

.nav-tabs-custom .nav-link:hover {
  border-bottom-color: #cbd5e1;
  color: #334155;
}

.nav-tabs-custom .nav-link.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: transparent;
}

/* Financial Tables */
.tab-content .table {
  font-size: 0.875rem;
}

.tab-content .table td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.tab-content .table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}

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

/* Earnings Surprises Table */
.table-hover tbody tr:hover {
  background-color: #f8fafc;
}

/* Mobile Responsive Financial Tables */
@media (max-width: 768px) {
  .nav-tabs-custom {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-tabs-custom .nav-link {
    white-space: nowrap;
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
  
  .tab-content .table {
    font-size: 0.8125rem;
  }
  
  .tab-content .table td {
    padding: 0.375rem 0.5rem;
  }
}

/* Tracked Trades Dynamic Styling */
.tiq-tracked-trade-row {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 3px solid transparent;
  position: relative;
  animation: tiq-row-fade-in 0.5s ease-out both;
}

.tiq-tracked-trade-row:hover {
  background-color: #f8fafc !important;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.tiq-tracked-trade-row.tiq-row-active {
  border-left-color: #3b82f6;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.03) 0%, transparent 100%);
}

.tiq-tracked-trade-row.tiq-row-success {
  border-left-color: #10b981;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.03) 0%, transparent 100%);
}

.tiq-tracked-trade-row.tiq-row-danger {
  border-left-color: #ef4444;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.03) 0%, transparent 100%);
}

.tiq-tracked-trade-row.tiq-row-active:hover {
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.06) 0%, rgba(248, 250, 252, 1) 100%);
}

.tiq-tracked-trade-row.tiq-row-success:hover {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.06) 0%, rgba(248, 250, 252, 1) 100%);
}

.tiq-tracked-trade-row.tiq-row-danger:hover {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.06) 0%, rgba(248, 250, 252, 1) 100%);
}

/* Pulse indicator for active trades */
.tiq-pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  display: inline-block;
  position: relative;
  animation: tiq-pulse 2s ease-in-out infinite;
}

.tiq-pulse-indicator::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  opacity: 0.6;
  animation: tiq-pulse-ring 2s ease-in-out infinite;
}

@keyframes tiq-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes tiq-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.tiq-pulse-dot-small {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: tiq-pulse-dot 2s ease-in-out infinite;
}

@keyframes tiq-pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}


.tiq-tracked-trade-row:nth-child(1) { animation-delay: 0.05s; }
.tiq-tracked-trade-row:nth-child(2) { animation-delay: 0.1s; }
.tiq-tracked-trade-row:nth-child(3) { animation-delay: 0.15s; }
.tiq-tracked-trade-row:nth-child(4) { animation-delay: 0.2s; }
.tiq-tracked-trade-row:nth-child(5) { animation-delay: 0.25s; }
.tiq-tracked-trade-row:nth-child(n+6) { animation-delay: 0.3s; }

@keyframes tiq-row-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced P&L styling */
.tiq-tracked-trade-row .text-success {
  font-weight: 700;
}

.tiq-tracked-trade-row .text-danger {
  font-weight: 700;
}

/* Status badge enhancements */
.tiq-tracked-trade-row .badge {
  transition: all 0.2s ease;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
}

.tiq-tracked-trade-row:hover .badge {
  transform: scale(1.05);
}

/* ============================================
   ARTICLE VIEW PAGE - MODERN DESIGN
   ============================================ */

/* Article Card */
.tiq-article-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--tiq-radius-xl);
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: var(--tiq-shadow-lg);
    transition: all var(--tiq-transition);
}

.tiq-article-card:hover {
    box-shadow: var(--tiq-shadow-xl), var(--tiq-shadow-colored);
    transform: translateY(-2px);
}

/* Article Image Container */
.tiq-article-image-container {
    border-radius: var(--tiq-radius-xl) var(--tiq-radius-xl) 0 0;
    overflow: hidden;
}

/* Article Typography */
.tiq-article-title {
    color: var(--tiq-text-primary);
    line-height: 1.2;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--tiq-text-primary) 0%, var(--tiq-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 991.98px) {
    .tiq-article-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 767.98px) {
    .tiq-article-title {
        font-size: 1.875rem;
    }
}

.tiq-article-subtitle {
    color: var(--tiq-text-secondary);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Article Meta */
.tiq-article-meta {
    border-color: rgba(37, 99, 235, 0.1) !important;
}

.tiq-author-avatar {
    transition: all var(--tiq-transition);
}

.tiq-author-avatar:hover {
    transform: scale(1.1);
    box-shadow: var(--tiq-shadow-md);
}

.tiq-author-name {
    color: var(--tiq-text-primary);
    font-size: 1.125rem;
    transition: all var(--tiq-transition);
}

.tiq-author-name:hover {
    color: var(--tiq-primary);
    transform: translateX(4px);
}

/* Category Badge */
.tiq-category-badge {
    background: var(--tiq-primary-gradient) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    box-shadow: var(--tiq-shadow-sm);
    transition: all var(--tiq-transition);
}

.tiq-category-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--tiq-shadow-md);
}

/* Ticker Badge */
.tiq-ticker-badge {
    background: rgba(37, 99, 235, 0.1) !important;
    color: var(--tiq-primary) !important;
    font-weight: 700;
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: all var(--tiq-transition);
}

.tiq-ticker-badge:hover {
    background: var(--tiq-primary) !important;
    color: #ffffff !important;
    border-color: var(--tiq-primary);
    transform: translateY(-2px);
    box-shadow: var(--tiq-shadow-md);
}

/* Tag Badges */
.tiq-tag-badge {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--tiq-text-secondary) !important;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: all var(--tiq-transition);
}

.tiq-tag-badge:hover {
    background: var(--tiq-primary) !important;
    color: #ffffff !important;
    border-color: var(--tiq-primary);
    transform: translateY(-2px);
    box-shadow: var(--tiq-shadow-sm);
}

/* Share Buttons - Modern Design */
.tiq-share-btn {
    border-radius: var(--tiq-radius);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all var(--tiq-transition);
    border: 2px solid var(--tiq-border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-share-twitter {
    color: #1da1f2;
    border-color: rgba(29, 161, 242, 0.3);
}

.tiq-share-twitter:hover {
    background: #1da1f2 !important;
    color: #ffffff !important;
    border-color: #1da1f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.tiq-share-facebook {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.3);
}

.tiq-share-facebook:hover {
    background: #1877f2 !important;
    color: #ffffff !important;
    border-color: #1877f2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.tiq-share-linkedin {
    color: #0077b5;
    border-color: rgba(0, 119, 181, 0.3);
}

.tiq-share-linkedin:hover {
    background: #0077b5 !important;
    color: #ffffff !important;
    border-color: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.tiq-share-copy {
    color: var(--tiq-text-secondary);
    border-color: var(--tiq-border);
}

.tiq-share-copy:hover {
    background: var(--tiq-success) !important;
    color: #ffffff !important;
    border-color: var(--tiq-success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.tiq-share-copy.copied {
    background: var(--tiq-success) !important;
    color: #ffffff !important;
    border-color: var(--tiq-success);
}

/* Trade Idea Card */
.tiq-trade-idea-card {
    border-radius: var(--tiq-radius-xl);
    overflow: hidden;
    box-shadow: var(--tiq-shadow-lg);
}

.tiq-trade-idea-header {
    position: relative;
    overflow: hidden;
}

.tiq-trade-idea-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: tiq-shine 3s ease-in-out infinite;
}

@keyframes tiq-shine {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50%, 50%) rotate(180deg);
    }
}

/* Article Summary Card */
.tiq-article-summary {
    background: var(--tiq-bg-gradient) !important;
    border-left: 4px solid var(--tiq-primary);
    border-radius: var(--tiq-radius-lg);
}

/* Key Points Card */
.tiq-key-points-card {
    border-radius: var(--tiq-radius-lg);
}

.tiq-key-points-card .d-flex.align-items-start {
    transition: all var(--tiq-transition);
    border-radius: var(--tiq-radius);
}

.tiq-key-points-card .d-flex.align-items-start:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    transform: translateX(4px);
    box-shadow: var(--tiq-shadow-sm);
}

/* Article Content Body */
.tiq-article-body {
    color: var(--tiq-text-primary);
    line-height: 1.9;
    font-size: 1.125rem;
    font-weight: 400;
}

.tiq-article-body p {
    margin-bottom: 1.5rem;
}

.tiq-article-body h2,
.tiq-article-body h3,
.tiq-article-body h4 {
    color: var(--tiq-text-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tiq-article-body h2 {
    font-size: 2rem;
}

.tiq-article-body h3 {
    font-size: 1.5rem;
}

.tiq-article-body h4 {
    font-size: 1.25rem;
}

.tiq-article-body a {
    color: var(--tiq-primary);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.3);
    transition: all var(--tiq-transition);
}

.tiq-article-body a:hover {
    color: var(--tiq-primary-dark);
    text-decoration-color: var(--tiq-primary);
}

.tiq-article-body ul,
.tiq-article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.tiq-article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.tiq-article-body blockquote {
    border-left: 4px solid var(--tiq-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--tiq-text-secondary);
    background: var(--tiq-bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--tiq-radius);
}

.tiq-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tiq-radius);
    margin: 2rem 0;
    box-shadow: var(--tiq-shadow-md);
}

.tiq-article-body code {
    background: var(--tiq-bg-tertiary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--tiq-primary);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.tiq-article-body pre {
    background: var(--tiq-bg-tertiary);
    padding: 1.5rem;
    border-radius: var(--tiq-radius);
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: var(--tiq-shadow-sm);
}

.tiq-article-body pre code {
    background: transparent;
    padding: 0;
    color: var(--tiq-text-primary);
}

/* Risks Card */
.tiq-risks-card {
    border-left: 4px solid var(--tiq-warning) !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.02) 100%) !important;
    border-radius: var(--tiq-radius-lg);
}

/* Disclosure Card */
.tiq-disclosure-card {
    background: var(--tiq-bg-tertiary) !important;
    border-radius: var(--tiq-radius-lg);
    border-left: 4px solid var(--tiq-info) !important;
}

/* Sidebar Cards */
.tiq-sidebar-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all var(--tiq-transition);
    position: relative;
    overflow: hidden;
}

.tiq-sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--tiq-shadow-md);
    border-color: rgba(37, 99, 235, 0.2);
}

.tiq-sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
    border-radius: var(--tiq-radius-lg) var(--tiq-radius-lg) 0 0;
}

.tiq-sidebar-card:hover::before {
    transform: scaleX(1);
}

/* Sidebar Search Input Group */
.tiq-sidebar-card .input-group {
    border-radius: var(--tiq-radius);
    overflow: hidden;
}

.tiq-sidebar-card .input-group-text {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(37, 99, 235, 0.15);
}

.tiq-sidebar-card .form-control {
    border-color: rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-sidebar-card .form-control:focus {
    border-color: var(--tiq-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 1);
}

.tiq-sidebar-card .btn.tiq-btn-primary {
    border-radius: 0 var(--tiq-radius) var(--tiq-radius) 0;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
}

/* Newsdesk List Pages */
/* Article Cards */
.tiq-article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all var(--tiq-transition);
    overflow: hidden;
    position: relative;
}

.tiq-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
}

.tiq-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tiq-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.tiq-article-card:hover::before {
    transform: scaleX(1);
}

.tiq-article-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.tiq-article-image-container img {
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.tiq-article-image-container:hover img {
    transform: scale(1.08);
}

.tiq-article-title-link {
    transition: color var(--tiq-transition);
    display: inline-block;
}

.tiq-article-title-link:hover {
    color: var(--tiq-primary) !important;
}

/* Category Items */
.tiq-category-item {
    border: none;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 0.875rem 1.25rem;
    transition: all var(--tiq-transition);
    color: var(--tiq-text);
}

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

.tiq-category-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--tiq-primary);
    padding-left: 1.5rem;
}

.tiq-category-item.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--tiq-primary);
    font-weight: 600;
    border-left: 3px solid var(--tiq-primary);
}

.tiq-category-item.active svg {
    color: var(--tiq-primary);
}

/* Category Cards */
.tiq-category-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--tiq-radius-lg);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all var(--tiq-transition);
    position: relative;
    overflow: hidden;
}

.tiq-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
}

.tiq-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tiq-shadow-lg);
    border-color: rgba(37, 99, 235, 0.2);
}

.tiq-category-card:hover::before {
    transform: scaleX(1);
}

.tiq-category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--tiq-radius);
    background: var(--tiq-primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: transform var(--tiq-transition);
}

.tiq-category-card:hover .tiq-category-icon {
    transform: scale(1.1) rotate(5deg);
}

.tiq-category-title-link {
    transition: color var(--tiq-transition);
}

.tiq-category-title-link:hover {
    color: var(--tiq-primary) !important;
}

/* Badges */
.tiq-category-badge {
    background: var(--tiq-primary-gradient);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
}

.tiq-category-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tiq-ticker-badge {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
}

.tiq-ticker-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    color: white;
}

.tiq-tag-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--tiq-text);
    border: 1px solid rgba(37, 99, 235, 0.15);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
}

.tiq-tag-badge:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--tiq-primary);
    color: var(--tiq-primary);
    transform: translateY(-2px);
}

.tiq-trade-idea-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tiq-radius);
}

.tiq-trade-direction-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--tiq-radius);
}

/* Pagination */
.tiq-pagination .page-link {
    border: 1px solid rgba(37, 99, 235, 0.15);
    color: var(--tiq-primary);
    padding: 0.625rem 1rem;
    margin: 0 0.25rem;
    border-radius: var(--tiq-radius);
    transition: all var(--tiq-transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-pagination .page-link:hover {
    background: var(--tiq-primary-gradient);
    color: white;
    border-color: var(--tiq-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tiq-pagination .page-item.active .page-link {
    background: var(--tiq-primary-gradient);
    color: white;
    border-color: var(--tiq-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tiq-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.5);
    color: #9ca3af;
    border-color: rgba(37, 99, 235, 0.1);
    cursor: not-allowed;
    opacity: 0.6;
}

/* Back Button */
.tiq-back-btn {
    transition: all var(--tiq-transition);
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-back-btn:hover {
    background: var(--tiq-primary-gradient);
    color: white;
    border-color: var(--tiq-primary);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tiq-back-btn:hover svg {
    color: white;
}

/* Author Profile Avatar */
.tiq-author-profile-avatar {
    transition: all var(--tiq-transition);
}

.tiq-author-profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* Responsive adjustments for newsdesk pages */
@media (max-width: 768px) {
    .tiq-article-image-container {
        height: 180px;
    }
    
    .tiq-category-icon {
        width: 40px;
        height: 40px;
    }
    
    .tiq-category-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Quote Page Styles */
.tiq-quote-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--tiq-radius);
    border: 2px solid rgba(37, 99, 235, 0.1);
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    transition: all var(--tiq-transition);
}

.tiq-quote-logo:hover {
    transform: scale(1.05);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: var(--tiq-shadow-md);
}

.tiq-quote-header-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Price Flash Animations */
.tiq-price-flash-up {
    animation: priceFlashUp 0.5s ease-out;
    color: #10b981 !important;
}

.tiq-price-flash-down {
    animation: priceFlashDown 0.5s ease-out;
    color: #ef4444 !important;
}

@keyframes priceFlashUp {
    0% {
        background-color: rgba(16, 185, 129, 0.2);
        transform: scale(1);
    }
    50% {
        background-color: rgba(16, 185, 129, 0.4);
        transform: scale(1.05);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

@keyframes priceFlashDown {
    0% {
        background-color: rgba(239, 68, 68, 0.2);
        transform: scale(1);
    }
    50% {
        background-color: rgba(239, 68, 68, 0.4);
        transform: scale(1.05);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

/* Quote Data Cards */
.tiq-quote-info-card,
.tiq-quote-fundamentals-card,
.tiq-quote-technicals-card,
.tiq-quote-trends-card,
.tiq-quote-news-card,
.tiq-quote-related-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-quote-info-card dl.row,
.tiq-quote-fundamentals-card dl.row,
.tiq-quote-technicals-card dl.row {
    margin-bottom: 0;
}

.tiq-quote-info-card dt,
.tiq-quote-fundamentals-card dt,
.tiq-quote-technicals-card dt {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    padding-bottom: 0.5rem;
}

.tiq-quote-info-card dd,
.tiq-quote-fundamentals-card dd,
.tiq-quote-technicals-card dd {
    font-size: 0.875rem;
    padding-bottom: 0.5rem;
}

/* Related Companies */
.tiq-related-company-item {
    transition: all var(--tiq-transition);
    border-radius: var(--tiq-radius);
    margin-bottom: 0.5rem;
}

.tiq-related-company-item:hover {
    background: rgba(37, 99, 235, 0.05);
    transform: translateX(4px);
}

.tiq-related-company-item:hover svg {
    color: var(--tiq-primary);
    transform: translateX(4px);
}

/* Short Interest Card */
.tiq-short-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tiq-short-progress {
    border-radius: var(--tiq-radius);
    background: rgba(37, 99, 235, 0.1);
    overflow: hidden;
}

.tiq-short-progress .progress-bar {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
    transition: width 0.6s ease;
}

/* Trends Row */
.tiq-trend-row {
    transition: background-color var(--tiq-transition);
}

.tiq-trend-row:hover {
    background-color: rgba(37, 99, 235, 0.02);
}

.tiq-trend-row .kpi {
    font-weight: 600;
    color: var(--tiq-text);
}

/* Financial Tables */
.tiq-dashboard-card .table {
    margin-bottom: 0;
}

.tiq-dashboard-card .table thead th {
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #6b7280;
    padding: 0.875rem 1rem;
}

.tiq-dashboard-card .table tbody tr {
    transition: all var(--tiq-transition);
}

.tiq-dashboard-card .table tbody tr:hover {
    background-color: rgba(37, 99, 235, 0.02);
    transform: translateX(2px);
}

.tiq-dashboard-card .table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(37, 99, 235, 0.05);
}

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

/* Financial Tabs */
.nav-tabs-custom {
    border-bottom: 2px solid rgba(37, 99, 235, 0.1);
}

.nav-tabs-custom .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    transition: all var(--tiq-transition);
    background: transparent;
}

.nav-tabs-custom .nav-link:hover {
    color: var(--tiq-primary);
    background: rgba(37, 99, 235, 0.05);
    border-bottom-color: rgba(37, 99, 235, 0.3);
}

.nav-tabs-custom .nav-link.active {
    color: var(--tiq-primary);
    background: rgba(37, 99, 235, 0.05);
    border-bottom-color: var(--tiq-primary);
}

/* Earnings Surprises Table */
.tiq-dashboard-card .table tbody tr td.text-success {
    color: #10b981 !important;
    font-weight: 600;
}

.tiq-dashboard-card .table tbody tr td.text-danger {
    color: #ef4444 !important;
    font-weight: 600;
}

/* Responsive adjustments for quote page */
@media (max-width: 768px) {
    .tiq-quote-logo {
        width: 48px;
        height: 48px;
    }
    
    #tiq-live-price {
        font-size: 2rem !important;
    }
    
    .tiq-quote-header-card .card-body {
        padding: 1.5rem !important;
    }
}

/* Related Articles */
.tiq-sidebar-card .border-bottom {
    border-color: rgba(37, 99, 235, 0.1) !important;
    transition: all var(--tiq-transition);
}

.tiq-sidebar-card .border-bottom:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
}

.tiq-sidebar-card a {
    transition: all var(--tiq-transition);
}

.tiq-sidebar-card a:hover {
    color: var(--tiq-primary) !important;
    transform: translateX(2px);
}

/* Price Target Cards */
.tiq-price-targets {
    margin-top: 2rem;
}

.tiq-price-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(37, 99, 235, 0.1);
    transition: all var(--tiq-transition);
    box-shadow: var(--tiq-shadow-sm);
    position: relative;
    overflow: hidden;
}

.tiq-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tiq-primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--tiq-transition);
}

.tiq-price-entry::before {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.tiq-price-stop::before {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tiq-price-target::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.tiq-price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tiq-shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.tiq-price-card:hover::before {
    transform: scaleX(1);
}

.tiq-price-entry:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.tiq-price-stop:hover {
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.tiq-price-target:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .tiq-article-title {
        font-size: 2rem;
    }
    
    .tiq-article-subtitle {
        font-size: 1.25rem;
    }
    
    .tiq-article-body {
        font-size: 1.0625rem;
    }
    
    .tiq-price-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .tiq-article-image-container {
        height: 300px !important;
    }
    
    .tiq-share-btn {
        font-size: 0.875rem;
        padding: 0.4rem 0.75rem;
    }
    
    .tiq-share-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .tiq-article-title {
        font-size: 1.75rem;
    }
    
    .tiq-article-subtitle {
        font-size: 1.125rem;
    }
}

/* Tracked Trades Table Styling */
.tiq-tracked-trades-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.tiq-tracked-trades-table thead {
  background-color: #f8fafc;
}

.tiq-tracked-trades-table thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #64748b;
  background-color: #f8fafc;
  border-bottom: 2px solid rgba(15, 23, 42, 0.1);
  border-top: none;
  padding: 0.875rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  white-space: nowrap;
}

.tiq-tracked-trades-table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.tiq-tracked-trades-table tbody tr:last-child {
  border-bottom: none;
}

/* Ensure table container has proper spacing */
.tiq-card-body .table-responsive {
  border-radius: 0;
}

.tiq-card-body .table-responsive .table {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tiq-tracked-trade-row {
    font-size: 0.875rem;
  }
  
  .tiq-tracked-trade-row:hover {
    transform: none;
  }
  
  .tiq-pulse-indicator {
    width: 6px;
    height: 6px;
  }
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 0.5rem;
  color: #94a3b8;
  font-weight: 400;
}

.breadcrumb-item a {
  color: #64748b;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: #2563eb;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #1e293b;
  font-weight: 500;
}

.breadcrumb-item.active::before {
  color: #94a3b8;
}
    .modal.show .modal-dialog {
  transform: none;
  margin-top: 90px;
}
    