/* AUTO-GENERATED by scripts/build-css-bundle.php — do not edit by hand. */
/* Concatenation of the chrome stylesheets, in cascade order. */

/* ===================== css/style.css ===================== */
/*
======================
Base Styles & Variables
======================
*/
:root {
    /* Professional Blue Color Scheme */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-lighter: #dbeafe;
    --secondary: #1e3a8a;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --text-muted: #94a3b8;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-section: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #10b981;
    --success-light: #d1fae5;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --warning: #f59e0b;
    --info: #06b6d4;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Enhanced Spacing Scale */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-xxxl: 4rem;

    /* Border Radius */
    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Enhanced Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;

    /* Z-index scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --breakpoint-xxl: 1400px;
}

/*
======================
Reset & Global Styles
======================
*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea {
    font-family: var(--font-family);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-lg) 0;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 1.8rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
}

ul {
    list-style: none;
}

/*
======================
Header & Navigation
======================
*/
/* Only the main navigation header should be sticky */
body > header:first-of-type {
    background-color: var(--background);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 9999;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.logo-text {
    color: var(--secondary);
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: none; /* Hidden on mobile by default */
}

.contact-btn {
    background-color: var(--primary);
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--secondary);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 10px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 20px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 999;
    padding-top: 70px;
    height: 100vh;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: none; /* Hide on desktop by default */
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
}

.mobile-menu a {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 500;
}

.mobile-contact-btn {
    background-color: var(--primary);
    color: white !important;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    margin-top: var(--spacing-md);
    display: inline-block;
}

/*
======================
Mobile Tab Navigation
======================
*/
.mobile-nav {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-tabs {
    display: flex;
    white-space: nowrap;
    padding: var(--spacing-xs) var(--spacing-md);
}

.mobile-nav-tab {
    background: none;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    color: var(--text-light);
    font-weight: 500;
    border-bottom: 2px solid transparent;
    cursor: pointer;
}

.mobile-nav-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Tab Content */
.mobile-tab-content {
    display: none;
}

.mobile-tab-content.active {
    display: block;
}

/*
======================
Hero Section
======================
*/
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xxxl) 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
    font-weight: var(--font-weight-normal);
    color: rgba(255, 255, 255, 0.95);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.95);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.8);
}

/* Search Section */
.search-section {
    position: relative;
    z-index: 2;
    margin-bottom: var(--spacing-lg);
}

.search-container {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    margin-bottom: var(--spacing-lg);
}

.search-container .ticker-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-container input {
    width: 100%;
    padding: var(--spacing-lg) 3.5rem var(--spacing-lg) var(--spacing-lg);
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl);
    outline: none;
    transition: var(--transition);
    color: var(--text-dark);
    backdrop-filter: blur(10px);
}

.search-container input::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.search-container input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 1);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.search-container button {
    position: absolute;
    right: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-light);
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.search-container button:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.05);
    box-shadow: var(--shadow-md);
}

.quick-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.quick-links-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-medium);
    font-size: 0.9rem;
    margin-right: var(--spacing-sm);
}

.quick-links nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

.quick-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

.quick-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    color: white;
}

/*
======================
Featured Results Section
======================
*/
.featured-results {
    background-color: var(--background);
}

/* Horizontal Scrolling Cards for Mobile */
.scrolling-cards {
    display: flex;
    overflow-x: auto;
    padding: var(--spacing-xs) 0;
    margin: 0 -1rem;
    padding: 0 1rem var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.scrolling-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.result-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    min-width: 270px;
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

.result-card:last-child {
    margin-right: 0;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.company-info h3 {
    margin-bottom: 0;
    font-size: 1rem;
}

.ticker {
    color: var(--text-lighter);
    font-size: 0.8rem;
}

.quarter-badge {
    background-color: var(--background-alt);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.7rem;
    color: var(--text-lighter);
    margin-bottom: var(--spacing-xs);
}

.metric-value {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.metric-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.metric-change.positive {
    color: var(--success);
}

.metric-change.negative {
    color: var(--danger);
}

.view-details {
    display: block;
    text-align: center;
    padding: var(--spacing-sm) 0 0;
    color: var(--primary);
    border-top: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.9rem;
}

.view-all-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.view-all-btn {
    display: inline-block;
    background-color: white;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.view-all-btn:hover {
    background-color: var(--primary);
    color: white;
}

/*
======================
Sectors Section
======================
*/
.sectors {
    background-color: var(--background-alt);
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.sector-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-dark);
}

.sector-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.sector-icon {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
}

.sector-card h3 {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.sector-card p {
    color: var(--text-lighter);
    font-size: 0.8rem;
    margin-bottom: 0;
}

/*
======================
Earnings Calendar Section
======================
*/
.earnings-calendar {
    background-color: var(--background);
}

.calendar-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    padding-bottom: var(--spacing-xs);
}

.calendar-nav-btn {
    background-color: white;
    border: 1px solid var(--border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.calendar-nav-btn.active,
.calendar-nav-btn:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Calendar periods */
.calendar-period {
    display: none;
}

.calendar-period.active {
    display: block;
}

.calendar-message {
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-xl) 0;
}

.calendar-day {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: var(--spacing-md);
}

.calendar-day:last-child {
    margin-bottom: 0;
}

.calendar-day h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    font-size: 1rem;
}

.calendar-companies {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.calendar-company {
    display: flex;
    flex-direction: column;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--border);
}

.calendar-company:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.calendar-time {
    font-size: 0.8rem;
    color: var(--text-lighter);
    margin-bottom: var(--spacing-xs);
}

.calendar-name {
    font-weight: 500;
}

.calendar-cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.view-full-calendar,
.set-alerts {
    display: block;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
}

.view-full-calendar {
    background-color: var(--primary);
    color: white;
}

.view-full-calendar:hover {
    background-color: var(--primary-dark);
    color: white;
}

.set-alerts {
    background-color: white;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.set-alerts:hover {
    background-color: var(--primary);
    color: white;
}

/*
======================
About Section
======================
*/
.about {
    background-color: var(--background-alt);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    text-align: center;
    font-size: 0.95rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.feature-icon {
    background-color: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0;
    text-align: left;
}

.about-more {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.about-more a {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

/*
======================
Newsletter Section
======================
*/
.newsletter {
    background-color: var(--primary);
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.newsletter p {
    margin-bottom: var(--spacing-lg);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.newsletter-form input {
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--radius-md);
    outline: none;
}

.newsletter-form button {
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #000;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/*
======================
Contact Section
======================
*/
.contact {
    background-color: var(--background);
}

.contact-container.mobile-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info {
    background-color: white;
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.contact-method {
    margin-bottom: var(--spacing-lg);
}

.contact-method:last-child {
    margin-bottom: 0;
}

.contact-method h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    justify-content: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary);
    color: white;
}

.contact-cta {
    text-align: center;
}

.contact-form-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: var(--transition);
}

.contact-form-btn:hover {
    background-color: var(--primary-dark);
}

/*
======================
Footer
======================
*/
footer {
    background-color: var(--secondary);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-col h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo a {
    font-size: 1.1rem;
    color: white;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.footer-col ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}


/*
======================
TICKER RESULTS
======================
*/
.ticker-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 10000000; /* Ensure visibility */
}

.ticker-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    color: var(--text-dark);
}

.ticker-results-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: var(--text-dark);
}

.ticker-results-table tr {
    cursor: pointer;
    transition: var(--transition);
}

.ticker-results-table tr:hover {
    background-color: var(--background-alt);
}

.ticker-results-table p {
    margin: 0;
    color: var(--text-dark);
    font-weight: var(--font-weight-normal);
}

.ticker-results-table p b {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

.ticker-results-table tr:hover p {
    color: var(--primary);
}

.ticker-results-table .exchange-col {
    color: var(--text-light);
    font-size: 0.85em;
    font-weight: var(--font-weight-medium);
}

.ticker-results-table .flag-cell {
    width: 40px;
    padding-right: 8px;
}

/*
======================
Tablet Styles
======================
*/
@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .mobile-nav-tabs {
        justify-content: center;
    }

    .sector-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .calendar-day {
        padding: var(--spacing-lg);
    }

    .newsletter-form {
        flex-direction: row;
    }

    .newsletter-form button {
        padding: 0 var(--spacing-xl);
    }

    .calendar-cta {
        flex-direction: row;
        justify-content: center;
    }

    .calendar-cta a {
        min-width: 200px;
    }

    .about-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*
======================
Desktop Styles
======================
*/
@media (min-width: 992px) {
    section {
        padding: var(--spacing-xxl) 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    /* Show desktop navigation and hide mobile elements */
    .nav-links {
        display: flex;
        gap: var(--spacing-xl);
    }

    .nav-links a {
        color: var(--text-dark);
        font-weight: 500;
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu {
        display: none !important; /* Force hide mobile menu on desktop */
    }

    .mobile-nav {
        display: none; /* Hide mobile tab navigation on desktop */
    }

    /* Show all sections on desktop without tab behavior */
    .mobile-tab-content {
        display: block !important; /* Force show all sections on desktop */
    }

    /* Fix card layout for desktop */
    .scrolling-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .result-card {
        margin-right: 0;
        min-width: auto;
    }

    .sector-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .calendar-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-md);
    }

    .contact-container.mobile-contact {
        flex-direction: row;
        gap: var(--spacing-xl);
    }

    .contact-info {
        flex: 1;
    }

    .contact-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/*
======================
Smart Authentication Dropdown
======================
*/

/* Smart Authentication Dropdown */
.auth-dropdown {
    position: relative;
    display: inline-block;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.auth-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.auth-btn.active {
    box-shadow: var(--shadow-lg);
}

.auth-btn svg {
    transition: transform 0.2s ease;
}

.auth-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 320px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: var(--z-dropdown);
    margin-top: 12px;
    padding: 12px 0;
}

.auth-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.auth-dropdown-item {
    display: block;
    padding: 18px 24px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    border-radius: var(--radius-md);
    margin: 6px 12px;
    position: relative;
}

.auth-dropdown-item:hover {
    background: var(--background-alt);
    color: var(--primary);
}

.auth-dropdown-item.auth-highlight {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    border: none !important;
}

.auth-dropdown-item.auth-highlight:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%) !important;
    color: white;
    transform: translateY(-2px);
}

.auth-item-main {
    font-weight: var(--font-weight-semibold);
    font-size: 1.05rem;
    margin-bottom: 4px;
    line-height: 1.4;
}

.auth-item-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
    margin-top: 2px;
}

.auth-highlight .auth-item-desc {
    color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 600;
}

.auth-highlight:hover .auth-item-desc {
    color: rgba(255, 255, 255, 0.95) !important;
}

.auth-divider {
    height: 1px;
    background: var(--border-light);
    margin: 12px 20px;
}

/* Profile Dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.profile-btn:hover {
    background: var(--background-alt);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.profile-btn.active {
    background: var(--primary-lighter);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.profile-btn .dropdown-arrow {
    transition: transform 0.2s ease;
}

.profile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 340px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: var(--z-dropdown);
    margin-top: 12px;
    padding: 8px 0;
}

.profile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(230, 242, 255, 0.5) 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: var(--font-weight-bold);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-email {
    font-size: 0.875rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    border-radius: var(--radius-md);
    margin: 6px 12px;
    position: relative;
}

.profile-dropdown-item:hover {
    background: var(--background-alt);
    color: var(--primary);
    transform: translateX(4px);
}

.profile-dropdown-item.profile-logout {
    color: var(--danger);
}

.profile-dropdown-item.profile-logout:hover {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.profile-item-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.profile-dropdown-item:hover .profile-item-icon {
    background: var(--primary-lighter);
    color: var(--primary);
}

.profile-logout:hover .profile-item-icon {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.profile-item-content {
    flex: 1;
    min-width: 0;
}

.profile-item-main {
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-item-desc {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-dropdown-item:hover .profile-item-desc {
    color: var(--text-muted);
}

.profile-logout:hover .profile-item-desc {
    color: rgba(220, 53, 69, 0.8);
}

.profile-divider {
    height: 1px;
    background: var(--border-light);
    margin: 8px 16px;
}

/* Legacy User Dashboard & Logout Buttons - Replaced by Profile Dropdown */
/* Kept for backward compatibility - can be removed if no longer needed */
.nav-links .user-dashboard {
    color: var(--success);
    font-weight: var(--font-weight-semibold);
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
}

.nav-links .user-dashboard:hover {
    color: var(--success);
    border-bottom-color: var(--success);
}

.nav-links .logout-btn {
    color: var(--text-light);
    padding: 8px 0;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.nav-links .logout-btn:hover {
    color: var(--danger);
}

/* Mobile Authentication Styling */
.mobile-auth-primary {
    padding: 12px 20px;
    margin: 8px 16px;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
}

.mobile-auth-primary:hover {
    background: var(--primary);
    color: white;
}

.mobile-auth-secondary {
    padding: 14px 20px;
    margin: 12px 16px 8px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    box-shadow: var(--shadow-sm);
}

.mobile-auth-secondary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu a[href*="/users/dashboard.php"] {
    color: var(--success);
    font-weight: var(--font-weight-semibold);
}

.mobile-menu a[href*="/users/logout.php"] {
    color: var(--danger);
    font-weight: var(--font-weight-medium);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .auth-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .auth-dropdown-menu {
        min-width: 300px;
        padding: 10px 0;
    }

    .auth-dropdown-item {
        padding: 16px 20px;
        margin: 4px 10px;
    }
}

@media (max-width: 768px) {
    .auth-dropdown {
        display: none; /* Hide dropdown on mobile, use mobile menu instead */
    }

    .profile-dropdown {
        display: none; /* Hide profile dropdown on mobile, use mobile menu instead */
    }

    /* Show profile dropdown on mobile only when specifically needed */
    .profile-dropdown.mobile-show {
        display: inline-block;
    }

    .profile-dropdown-menu {
        min-width: 300px;
        right: -20px; /* Adjust for mobile margins */
        padding: 6px 0;
    }

    .profile-header {
        padding: 18px 20px;
    }

    .profile-dropdown-item {
        padding: 14px 20px;
        margin: 4px 10px;
        gap: 12px;
    }
}

/*
======================
Account Registration CTA Section
======================
*/

.account-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: var(--spacing-xxxl) 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.account-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxxl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.account-cta-text h2 {
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: white;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.account-cta-text p {
    font-size: 1.125rem;
    color: white;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.account-benefits {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.benefit-icon {
    font-size: 1.5rem;
    min-width: 24px;
}

.benefit-text {
    font-weight: var(--font-weight-medium);
    color: white;
    font-size: 0.95rem;
    line-height: 1.4;
}

.account-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    text-align: center;
}

.cta-primary-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.cta-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary-btn:hover::before {
    left: 100%;
}

.cta-primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.cta-btn-text {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
}

.cta-btn-subtext {
    font-size: 0.875rem;
    opacity: 0.9;
    font-weight: var(--font-weight-medium);
}

.cta-secondary-btn {
    color: white;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.cta-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-trust-indicators {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: white;
    font-weight: var(--font-weight-medium);
    opacity: 0.9;
}

.trust-icon {
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .account-cta-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .account-cta-text h2 {
        font-size: 2rem;
    }

    .account-benefits {
        max-width: 500px;
        margin: var(--spacing-xl) auto;
    }
}

@media (max-width: 768px) {
    .account-cta {
        padding: var(--spacing-xl) 0;
    }

    .account-cta-text h2 {
        font-size: 1.75rem;
    }

    .account-cta-text p {
        font-size: 1rem;
    }

    .benefit-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .benefit-text {
        font-size: 0.875rem;
    }

    .cta-primary-btn {
        min-width: 240px;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .cta-btn-text {
        font-size: 1.125rem;
    }

    .cta-trust-indicators {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ===================== css/mobile-ux-global.css ===================== */
/*
===============================================
Global Mobile UX Guardrails
Loaded on all pages to improve touch usability
and prevent horizontal overflow regressions.
===============================================
*/

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
}

pre,
code {
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .company-earnings-table,
    .companies-table-container,
    .reports-container,
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 900px) {
    .reports-filters {
        position: static;
        top: auto;
    }

    .filter-form {
        padding: 14px;
    }

    .filter-group {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-filter,
    .btn-clear {
        width: 100%;
    }
}

@media (max-width: 768px) {
    input,
    select,
    textarea,
    button {
        font-size: 16px;
    }

    a,
    button,
    input[type="button"],
    input[type="submit"],
    .pagination-btn,
    .btn-page {
        min-height: 44px;
    }

    .pagination,
    .pagination-container,
    .pagination-controls {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-pages,
    .az-nav,
    .sector-nav {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .company-name,
    .ticker,
    .sector-tag,
    .metric-value {
        overflow-wrap: anywhere;
    }
}

/* ===================== css/header-professional.css ===================== */
body > header:first-of-type {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    border-bottom: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
}

body > header:first-of-type > .container {
    position: relative;
}

body > header:first-of-type nav {
    min-height: 78px;
    gap: 1rem;
    padding: 0.95rem 0 0.85rem;
}

.logo {
    min-width: 0;
}

.logo a {
    gap: 0.7rem;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(191, 219, 254, 0.95) 0%, rgba(96, 165, 250, 0.88) 28%, rgba(29, 78, 216, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 10px 24px rgba(37, 99, 235, 0.24);
    position: relative;
    flex-shrink: 0;
}

.logo-icon::before {
    content: 'Q';
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.logo-icon::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.logo-text,
.logo-dot {
    position: relative;
    top: 1px;
}

.logo-text {
    color: #0f172a;
}

.logo-dot {
    color: #2563eb;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.nav-links > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.01em;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.nav-links > a:hover {
    color: #0f172a;
    background: rgba(241, 245, 249, 0.92);
    transform: translateY(-1px);
}

.nav-links > a.active {
    color: #0f172a;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.98) 0%, rgba(219, 234, 254, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.85);
}

/* Language Selector */
.lang-dropdown {
    position: relative;
    margin-left: 0.5rem;
    margin-right: 0.35rem;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.lang-btn {
    min-height: 42px;
    padding: 0.35rem 0.55rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(203, 213, 225, 0.9);
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.lang-btn:hover {
    transform: translateY(-1px);
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.9);
    background: rgba(255, 255, 255, 0.96);
}

.lang-btn.active {
    color: #0f172a;
    border-color: rgba(147, 197, 253, 0.95);
    background: #eff6ff;
}

.lang-flag img {
    display: block;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.14);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    z-index: 1000;
    padding: 0.5rem;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.lang-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.lang-item.active {
    background: #eff6ff;
    color: #3b82f6;
    font-weight: 600;
}

/* Mobile adjustments */
@media (max-width: 991px) {
    .lang-dropdown {
        display: flex; /* Always visible in header */
        margin-right: 15px; /* Spacing from hamburger */
    }
    
    /* Ensure dropdown doesn't go off-screen on mobile */
    .lang-dropdown-menu {
        right: -50px; /* Adjust if needed */
    }
}
/* Auth Dropdown Styling */
.auth-dropdown {
    position: relative;
    margin-left: 1rem;
    flex: 0 0 auto;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    min-height: 42px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 14px 26px rgba(30, 64, 175, 0.18);
}

.auth-btn:hover {
    background: linear-gradient(135deg, #111827 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(30, 64, 175, 0.24);
}

.auth-btn.active {
    background: linear-gradient(135deg, #111827 0%, #1e40af 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    transform: translateY(0);
}

.auth-btn svg {
    transition: transform 0.2s ease;
}

/* Dropdown Menu */
.auth-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15), 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    overflow: hidden;
}

.auth-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Header inside dropdown */
.auth-dropdown-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.auth-welcome-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.auth-welcome-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0;
}

/* Dropdown Items */
.auth-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: background 0.2s ease;
    border-left: 3px solid transparent;
}

.auth-dropdown-item:hover {
    background: #f8fafc;
    border-left-color: #3b82f6;
}

.auth-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #eff6ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    transition: all 0.2s ease;
}

.auth-dropdown-item:hover .auth-item-icon {
    background: #3b82f6;
    color: white;
}

.auth-item-content {
    flex: 1;
}

.auth-item-main {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.auth-item-desc {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

/* Highlight Item (Register) */
.auth-highlight {
    background: #fff;
}

.auth-highlight .auth-item-icon {
    background: #f0fdf4;
    color: #10b981;
}

.auth-highlight:hover {
    border-left-color: #10b981;
}

.auth-highlight:hover .auth-item-icon {
    background: #10b981;
    color: white;
}

/* Divider */
.auth-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 0;
}

/* Header nav usability improvements */
@media (min-width: 1281px) {
    nav {
        justify-content: flex-start;
        gap: 1rem;
    }

    .logo a {
        white-space: nowrap;
    }

    .nav-links {
        margin-left: auto;
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: clamp(0.25rem, 0.6vw, 0.7rem);
        flex-wrap: nowrap;
    }

    .nav-links > a {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        line-height: 1.2;
        font-size: clamp(0.82rem, 0.42vw + 0.48rem, 0.93rem);
        padding: 0.72rem 0.8rem;
    }

    .nav-links > * {
        flex-shrink: 0;
    }

    .notification-bell-container {
        margin-right: clamp(0.35rem, 0.8vw, 0.75rem);
        flex: 0 0 auto;
    }

    .auth-dropdown {
        margin-left: clamp(0.45rem, 0.8vw, 0.9rem);
    }

    .auth-btn,
    .profile-btn {
        white-space: nowrap;
    }
}

@media (max-width: 1280px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu.show {
        transform: translateY(0);
    }

    .lang-dropdown {
        margin-right: 0.75rem;
    }
}

body > header:first-of-type .notification-bell,
body > header:first-of-type .profile-btn {
    min-height: 42px;
    border-radius: 12px;
}

body > header:first-of-type .notification-bell {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body > header:first-of-type .notification-bell:hover {
    border-color: rgba(147, 197, 253, 0.9);
    background: #ffffff;
}

body > header:first-of-type .profile-btn {
    padding: 0.55rem 0.8rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body > header:first-of-type .profile-btn:hover,
body > header:first-of-type .profile-btn.active {
    background: #ffffff;
}

body > header:first-of-type .auth-dropdown-menu,
body > header:first-of-type .profile-dropdown-menu,
body > header:first-of-type .lang-dropdown-menu {
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

body > header:first-of-type .mobile-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body > header:first-of-type .mobile-menu-btn:hover {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.9);
}

body > header:first-of-type .mobile-menu-btn span {
    left: 10px;
    width: 22px;
    height: 2px;
    background: #0f172a;
}

body > header:first-of-type .mobile-menu-btn span:nth-child(1) {
    top: 13px;
}

body > header:first-of-type .mobile-menu-btn span:nth-child(2) {
    top: 20px;
}

body > header:first-of-type .mobile-menu-btn span:nth-child(3) {
    top: 27px;
}

body > header:first-of-type .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

body > header:first-of-type .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

body > header:first-of-type .mobile-menu {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(18px);
}

body > header:first-of-type .mobile-menu nav {
    gap: 0.65rem;
    padding: 1.35rem 0 1.6rem;
}

body > header:first-of-type .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.95);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

body > header:first-of-type .mobile-menu a:hover {
    color: #0f172a;
    border-color: rgba(147, 197, 253, 0.95);
    background: #ffffff;
}

body > header:first-of-type .mobile-auth-primary {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    color: #ffffff !important;
    border-color: transparent;
    box-shadow: 0 16px 28px rgba(30, 64, 175, 0.18);
}

body > header:first-of-type .mobile-auth-secondary {
    background: #eff6ff;
    color: #1d4ed8 !important;
    border-color: rgba(147, 197, 253, 0.95);
}

@media (max-width: 991px) {
    body > header:first-of-type nav {
        min-height: 72px;
        padding: 0.7rem 0;
    }

    .logo a {
        font-size: 1.02rem;
        gap: 0.55rem;
    }

    .logo-icon {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: 12px;
    }

    .logo-icon::before {
        font-size: 1rem;
    }

    .lang-dropdown {
        margin-left: auto;
    }

    body > header:first-of-type .lang-btn,
    body > header:first-of-type .mobile-menu-btn {
        min-height: 40px;
    }
}

/* ==========================================
   HEADER PROFESSIONAL REDESIGN
   ========================================== */

body > header:first-of-type > .container {
    padding-top: 0.2rem;
    padding-bottom: 0.7rem;
}

body > header:first-of-type nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.25rem;
}

.nav-links {
    justify-self: center;
    justify-content: center;
    padding: 0.32rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 28px rgba(15, 23, 42, 0.05);
}

.nav-links > a {
    min-height: 40px;
    padding: 0.72rem 0.88rem;
    border-radius: 12px;
}

.header-utilities {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.header-session-controls {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.3rem;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 28px rgba(15, 23, 42, 0.05);
}

.header-session-controls:empty {
    display: none;
}

.notification-bell-container,
.profile-dropdown,
.auth-dropdown {
    margin: 0;
}

.notification-bell-container {
    flex: 0 0 auto;
}

.notification-bell {
    width: 42px;
    min-width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-btn {
    padding: 0.62rem 1rem;
}

.profile-btn {
    min-width: 44px;
    justify-content: center;
}

.lang-dropdown {
    margin: 0;
}

.lang-btn {
    min-width: 48px;
    justify-content: center;
}

body > header:first-of-type .mobile-menu-btn {
    display: none;
}

.header-company-search {
    margin-top: 0.35rem;
}

@media (min-width: 1281px) {
    .nav-links {
        max-width: 100%;
    }
}

@media (max-width: 1280px) {
    body > header:first-of-type nav {
        grid-template-columns: auto 1fr auto;
    }

    .nav-links {
        display: none;
    }

    .header-utilities {
        gap: 0.6rem;
    }

    .header-session-controls {
        display: none;
    }

    body > header:first-of-type .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    body > header:first-of-type > .container {
        padding-bottom: 0.5rem;
    }

    body > header:first-of-type nav {
        grid-template-columns: auto 1fr auto;
        column-gap: 0.85rem;
    }

    .header-utilities {
        gap: 0.5rem;
    }

    .header-session-controls {
        display: none;
    }

    .lang-btn {
        min-width: 44px;
    }

    .header-company-search {
        margin-top: 0.2rem;
    }
}

/* Prevent desktop nav collisions by only showing the full nav
   when there is enough horizontal space for it to breathe. */
@media (min-width: 1441px) {
    .nav-links {
        width: max-content;
        max-width: none;
        flex-wrap: nowrap;
        gap: 0.28rem;
    }

    .nav-links > a {
        white-space: nowrap;
        flex: 0 0 auto;
        font-size: 0.86rem;
        padding: 0.68rem 0.78rem;
    }

    .header-session-controls {
        display: flex;
    }
}

@media (max-width: 1440px) {
    .nav-links {
        display: none !important;
    }

    .header-session-controls {
        display: none !important;
    }

    body > header:first-of-type .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* ===================== css/ux-phase1.css ===================== */
/*
========================================
Phase 1 UX
Global company discovery + company status
========================================
*/

.header-company-search {
    margin: 0.1rem auto 0.95rem;
    max-width: 860px;
    padding: 0.85rem 1rem 0.95rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.94) 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px rgba(15, 23, 42, 0.05);
}

.header-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search-form .ticker-input {
    width: 100%;
    height: 52px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 3.65rem 0 1rem;
    font-size: 0.98rem;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.header-search-form .ticker-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), 0 14px 26px rgba(37, 99, 235, 0.08);
}

.header-search-form button {
    position: absolute;
    right: 8px;
    height: 36px;
    width: 36px;
    border: none;
    border-radius: 11px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.header-search-form button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #38bdf8 100%);
}

.header-company-search .ticker-results {
    margin-top: 10px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    border-radius: 16px;
    max-height: min(62vh, 420px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
}

.header-company-search .ticker-suggestion-header,
.mobile-menu-search .ticker-suggestion-header {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    padding: 0.5rem 0.75rem 0.2rem;
    font-weight: 700;
}

.ticker-source-badge {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.65rem;
    color: #475569;
    background: #e2e8f0;
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
    vertical-align: middle;
}

.header-search-hint {
    margin: 0.55rem 0 0;
    text-align: center;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.mobile-menu-search {
    margin: 0.25rem 0 1.1rem;
    padding: 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-form .ticker-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    padding: 0 3rem 0 0.95rem;
    font-weight: 600;
}

.mobile-search-form button {
    position: absolute;
    right: 6px;
    height: 32px;
    width: 32px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.company-status-summary {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    padding: 1rem;
    margin: 0 0 1.35rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.company-mobile-status-strip {
    display: none;
}

.company-status-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.company-status-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.company-status-subtitle {
    margin: 0.15rem 0 0;
    color: #64748b;
    font-size: 0.86rem;
}

.company-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
}

.company-status-pill.reported {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.company-status-pill.scheduled {
    color: #92400e;
    background: #ffedd5;
    border: 1px solid #fdba74;
}

.company-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.company-status-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 0.7rem 0.75rem;
    min-height: 90px;
}

.company-status-label {
    margin: 0 0 0.35rem;
    font-size: 0.74rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.company-status-value {
    margin: 0;
    font-weight: 700;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
}

.company-status-value.positive {
    color: #166534;
}

.company-status-value.negative {
    color: #b91c1c;
}

.company-status-meta {
    margin: 0.3rem 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

.company-status-meta.positive {
    color: #166534;
    font-weight: 600;
}

.company-status-meta.negative {
    color: #b91c1c;
    font-weight: 600;
}

.company-status-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.9rem;
}

.company-follow-feedback {
    margin: 0;
    font-size: 0.83rem;
    color: #334155;
}

.company-follow-buttons {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.company-follow-action {
    border: 1px solid #1d4ed8;
    background: #1d4ed8;
    color: #ffffff;
    border-radius: 10px;
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    min-height: 42px;
}

.company-follow-action:hover {
    background: #1e40af;
}

.company-follow-action.is-following {
    background: #166534;
    border-color: #166534;
}

.company-manage-alerts {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 0.55rem 0.9rem;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    background: #ffffff;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
}

.company-manage-alerts:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.company-mobile-action-bar {
    display: none;
}

@media (max-width: 991px) {
    .header-company-search {
        margin: 0.2rem 0 0.7rem;
        padding: 0.75rem 0.8rem 0.8rem;
    }

    .header-search-hint {
        font-size: 0.74rem;
        text-align: left;
        padding-left: 0.35rem;
    }
}

@media (max-width: 575px) {
    .header-company-search {
        padding: 0.65rem 0.65rem 0.7rem;
        border-radius: 15px;
    }

    .header-search-form .ticker-input {
        height: 48px;
        font-size: 0.95rem;
        padding-right: 3.3rem;
    }

    .header-search-form button {
        width: 34px;
        height: 34px;
    }

    .mobile-menu-search {
        padding: 0.65rem;
    }
}

@media (max-width: 768px) {
    .company-mobile-status-strip {
        display: flex;
        align-items: center;
        gap: 0.45rem;
        overflow-x: auto;
        white-space: nowrap;
        margin: -0.3rem 0 0.95rem;
        padding-bottom: 0.15rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .company-mobile-status-strip::-webkit-scrollbar {
        display: none;
    }

    .company-mobile-status-chip {
        border: 1px solid #cbd5e1;
        background: #ffffff;
        color: #0f172a;
        border-radius: 999px;
        padding: 0.35rem 0.65rem;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .company-mobile-status-chip.reported {
        color: #166534;
        border-color: #86efac;
        background: #dcfce7;
    }

    .company-mobile-status-chip.scheduled {
        color: #92400e;
        border-color: #fdba74;
        background: #ffedd5;
    }

    .company-mobile-status-chip.positive {
        color: #166534;
        border-color: #86efac;
        background: #f0fdf4;
    }

    .company-mobile-status-chip.negative {
        color: #b91c1c;
        border-color: #fca5a5;
        background: #fef2f2;
    }

    .company-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-status-actions {
        display: none;
    }

    .company-mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10040;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.1);
        padding: 0.55rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
        display: flex;
        gap: 0.6rem;
    }

    .company-mobile-action-bar .company-follow-action,
    .company-mobile-action-bar .company-manage-alerts {
        flex: 1;
        justify-content: center;
        text-align: center;
        min-height: 44px;
    }

    .company-enhanced-page {
        padding-bottom: 92px;
    }
}

@media (max-width: 480px) {
    .company-status-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================== css/footer-professional.css ===================== */
/* Footer Language Selector */
.footer-lang {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-lang select {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8125rem;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

.footer-lang select:hover {
    border-color: rgba(59, 130, 246, 0.5);
    color: #cbd5e1;
}

.footer-lang select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.footer-lang option {
    background: #1e293b;
    color: #cbd5e1;
}

/* ===================== css/consent.css ===================== */
/* Cookie consent banner — Quarter Results
   Paired with js/consent.js and the Consent Mode v2 defaults in header.php */

.qr-consent-banner {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%) translateY(0);
    width: min(960px, calc(100% - 2rem));
    background: #ffffff;
    color: #1f2933;
    border: 1px solid rgba(0, 82, 204, 0.18);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    z-index: 12000;
    padding: 1rem 1.25rem;
    animation: qrConsentIn 0.28s ease;
}

.qr-consent-banner[hidden] { display: none; }

@keyframes qrConsentIn {
    from { opacity: 0; transform: translateX(-50%) translateY(16px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.qr-consent-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.qr-consent-text { flex: 1 1 360px; min-width: 240px; }
.qr-consent-text strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.qr-consent-text p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: #52606d; }
.qr-consent-text a { color: #0052cc; text-decoration: underline; }

.qr-consent-actions {
    display: flex;
    gap: 0.6rem;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.qr-consent-btn {
    font: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 9px;
    cursor: pointer;
    border: 2px solid #0052cc;
    transition: background 0.18s ease, color 0.18s ease;
    white-space: nowrap;
}

.qr-consent-accept { background: #0052cc; color: #fff; }
.qr-consent-accept:hover { background: #003d99; border-color: #003d99; }

.qr-consent-reject { background: #fff; color: #0052cc; }
.qr-consent-reject:hover { background: #eef4ff; }

.qr-consent-btn:focus-visible { outline: 3px solid rgba(0, 82, 204, 0.4); outline-offset: 2px; }

.footer-cookie-settings {
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.5rem;
    color: inherit;
    opacity: 0.8;
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
}
.footer-cookie-settings:hover { opacity: 1; }

@media (max-width: 600px) {
    .qr-consent-banner { bottom: 0; border-radius: 14px 14px 0 0; width: 100%; left: 0; transform: none; }
    @keyframes qrConsentIn {
        from { opacity: 0; transform: translateY(16px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .qr-consent-actions { width: 100%; }
    .qr-consent-actions .qr-consent-btn { flex: 1 1 auto; }
}
