/**
 * ForexCracked Portal Styles
 * Glassmorphism + Dark Mode + Animations
 */

/* ============================================================================
   CSS VARIABLES
   ============================================================================ */
:root {
    --fc-dark: #0f172a;
    --fc-card: #1e293b;
    --fc-teal: #14b8a6;
    --fc-purple: #a855f7;
    --fc-orange: #f97316;
    /* New solid white card system */
    --card-bg: rgba(255, 255, 255, 0.98);
    --card-border: rgba(0, 0, 0, 0.08);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --card-text: #1e293b;
    --card-text-muted: #64748b;
    --card-inner-bg: #f8fafc;
    --card-inner-border: #e2e8f0;
    /* Legacy glass (for header/footer only) */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-solid: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.15);
    --blur: blur(12px);
    --blur-heavy: blur(20px);
}

/* ============================================================================
   POST-TAILWIND CDN FIX: Critical Responsive Overrides
   These ensure responsive classes work after migrating from CDN to local build
   ============================================================================ */

/* Hide utility */
.hidden {
    display: none !important;
}

/* Responsive visibility - md: breakpoint (768px) */
@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }

    .md\:flex {
        display: flex !important;
    }

    .md\:hidden {
        display: none !important;
    }

    .md\:inline-flex {
        display: inline-flex !important;
    }
}

/* Responsive visibility - lg: breakpoint (1024px) */
@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:flex {
        display: flex !important;
    }

    .lg\:hidden {
        display: none !important;
    }
}

/* Footer link color override (parent theme sets a { color: #333; }) */
footer a,
footer ul a,
footer li a {
    color: inherit !important;
}

footer a:hover {
    color: #fff !important;
}

/* Footer text colors (opacity variants) */
.text-white\/50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.text-white\/60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-white\/70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white\/80 {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Background opacity variants */
.bg-white\/5 {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-white\/15 {
    background-color: rgba(255, 255, 255, 0.15) !important;
}

/* Border opacity variants */
.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* GTtranslate selector gap fix */
.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector {
    margin-bottom: 0 !important;
    vertical-align: middle;
}

/* Disable slow AOS fade animation on single posts */
#single[data-aos="fade"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* ============================================================================
   GLOBAL FORM STYLING
   Use .fc-form-dark for dark theme forms (footer newsletter, dark pages)
   Use .fc-form-light for light theme forms (DMCA, About, Share Indicator)
   ============================================================================ */

/* Override parent theme input styles ONLY for search boxes */
.fc-portal .fc-search-box input[type="text"],
.fc-portal .fc-search-box input[type="search"] {
    display: inline-block !important;
    background: transparent !important;
    border: none !important;
    height: auto !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font: inherit !important;
}

/* Search placeholder text */
.fc-portal .fc-search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

/* ============================================================================
   DARK THEME FORMS (Newsletter, dark background pages)
   ============================================================================ */
.fc-form-dark input[type="text"],
.fc-form-dark input[type="email"],
.fc-form-dark input[type="url"],
.fc-form-dark textarea,
.fc-form-dark select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.875rem;
}

.fc-form-dark input::placeholder,
.fc-form-dark textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fc-form-dark input:focus,
.fc-form-dark textarea:focus,
.fc-form-dark select:focus {
    outline: none;
    border-color: #14b8a6;
}

.fc-form-dark select {
    appearance: auto;
}

.fc-form-dark textarea {
    min-height: 120px;
    resize: vertical;
}

.fc-form-dark input[type="file"] {
    color: rgba(255, 255, 255, 0.6);
}

.fc-form-dark input[type="submit"],
.fc-form-dark button[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #14b8a6, #a855f7);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.fc-form-dark input[type="submit"]:hover,
.fc-form-dark button[type="submit"]:hover {
    box-shadow: 0 10px 30px -10px rgba(20, 184, 166, 0.5);
    transform: translateY(-2px);
}

/* ============================================================================
   LIGHT THEME FORMS (DMCA, About, Share Indicator - white cards)
   ============================================================================ */
.fc-form-light input[type="text"],
.fc-form-light input[type="email"],
.fc-form-light input[type="url"],
.fc-form-light textarea,
.fc-form-light select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background: white;
    color: #1e293b;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.fc-form-light input::placeholder,
.fc-form-light textarea::placeholder {
    color: #94a3b8;
}

.fc-form-light input:focus,
.fc-form-light textarea:focus,
.fc-form-light select:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.fc-form-light select {
    appearance: auto;
}

.fc-form-light textarea {
    min-height: 120px;
    resize: vertical;
}

.fc-form-light input[type="file"] {
    color: #64748b;
}

.fc-form-light input[type="submit"],
.fc-form-light button[type="submit"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #14b8a6, #a855f7);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.fc-form-light input[type="submit"]:hover,
.fc-form-light button[type="submit"]:hover {
    box-shadow: 0 10px 30px -10px rgba(20, 184, 166, 0.5);
    transform: translateY(-2px);
}

/* CF7 response messages */
.fc-form-light .wpcf7-response-output,
.fc-form-dark .wpcf7-response-output {
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1rem 0 0;
}

.fc-form-light .wpcf7-not-valid-tip,
.fc-form-dark .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Mobile spacing fixes for homepage sections */
@media (max-width: 1023px) {

    /* Page-specific card container padding - 10px each side on mobile */
    .fc-portal .fc-cards-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Override parent Breek theme's grid padding (adds 20px) - global for all grids */
    .fc-portal [class^="grid"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Reduce vertical padding on major sections */
    .fc-portal .pt-12 {
        padding-top: 2rem !important;
    }

    .fc-portal .pb-20 {
        padding-bottom: 2.5rem !important;
    }

    .fc-portal .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .fc-portal .py-12 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Reduce grid gaps on mobile - smaller to not double up with container padding */
    .fc-portal .fc-cards-container .gap-8 {
        gap: 8px !important;
    }

    .fc-portal .fc-cards-container .gap-6 {
        gap: 6px !important;
    }

    .fc-portal .fc-cards-container .gap-4 {
        gap: 4px !important;
    }

    /* Partner items - tighter spacing */
    .fc-portal .partner-item {
        padding: 0.5rem !important;
    }

    /* Partner 4 cards - reduce inner padding from 1.5rem (p-6) to 1rem on mobile */
    .fc-portal .glass-card-dark.p-6 {
        padding: 1rem !important;
    }

    .fc-portal .space-y-3>*+* {
        margin-top: 0.5rem !important;
    }

    /* Section margins */
    .fc-portal .mb-5 {
        margin-bottom: 0.75rem !important;
    }

    .fc-portal .mb-4 {
        margin-bottom: 0.5rem !important;
    }
}

/* ============================================================================
   BASE OVERRIDES
   ============================================================================ */
body.fc-portal {
    background: #0f172a;
    min-height: 100vh;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Simple Background Mode - solid dark, overrides everything */
body.fc-portal.fc-simple-bg,
body.fc-simple-bg {
    background: #0a0f1a !important;
    background-image: none !important;
}

/* Override parent theme body::before gradient */
body.fc-simple-bg::before {
    display: none !important;
    background: none !important;
}

body.fc-simple-bg #fc-gradient-canvas {
    display: none !important;
}

/* ============================================================================
   TAILWIND TEXT COLOR OVERRIDES FOR TOOL PAGES
   Make text more readable on gradient background
   ============================================================================ */
.fc-portal .text-gray-600,
body.fc-portal .text-gray-600 {
    color: rgba(255, 255, 255, 0.4) !important;
}

.fc-portal .text-gray-500,
body.fc-portal .text-gray-500 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.fc-portal .text-gray-400,
body.fc-portal .text-gray-400 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.fc-portal .text-gray-300,
body.fc-portal .text-gray-300 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================================================
   PROTECT THEME CONTENT FROM TAILWIND RESETS
   ============================================================================ */
/* Ensure article cards and main content preserve their original text colors */
#fc-main .entry-content,
#fc-main .post-content,
#fc-main article,
#fc-main .archive-posts,
#fc-main .posts-wrapper,
#fc-main .grid-posts,
#fc-main .post-grid,
#fc-main .excerpt,
#fc-main .entry-excerpt,
#fc-main .post-excerpt,
#fc-main .card-content,
#fc-main .card-excerpt,
#fc-main .card-text,
#fc-main .post-summary,
#fc-main p.excerpt,
#fc-main .item-content p,
#fc-main .grid-item .content,
#fc-main .archive-item p {
    color: inherit !important;
}

/* Specifically target common WordPress grid/archive excerpt classes */
body.fc-portal .post-item .excerpt,
body.fc-portal .grid-item .excerpt,
body.fc-portal .archive-post p,
body.fc-portal .loop-post p,
body.fc-portal .card p:not(.entry-title):not(.post-title) {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* If cards have light backgrounds, ensure proper contrast */
body.fc-portal .card[style*="background: #fff"],
body.fc-portal .card[style*="background-color: white"],
body.fc-portal .post-card.light,
body.fc-portal .article-card.light {
    color: #1e293b !important;
}

body.fc-portal .card[style*="background: #fff"] p,
body.fc-portal .card[style*="background-color: white"] p {
    color: #64748b !important;
}

/* Breek Theme Specific: Article card excerpts */
/* The article cards have .article-wrapper with white background, 
   but body has text-white from Tailwind which makes text invisible */
body.fc-portal .article-wrapper,
body.fc-portal .article-wrapper .post-excerpt,
body.fc-portal .article-wrapper .post-excerpt p,
body.fc-portal .articles .post-excerpt,
body.fc-portal .articles .post-excerpt p,
body.fc-portal .grid-posts .post-excerpt,
body.fc-portal .grid-posts .post-excerpt p,
body.fc-portal div.articles article .post-excerpt,
body.fc-portal div.articles article .post-excerpt p {
    color: #555 !important;
}

/* Article card titles and meta should stay dark on white cards */
body.fc-portal .article-wrapper .title,
body.fc-portal .article-wrapper .main-title,
body.fc-portal .article-wrapper h2,
body.fc-portal .article-wrapper time,
body.fc-portal .article-wrapper .author-name,
body.fc-portal .article-wrapper .meta-info,
body.fc-portal .article-wrapper a:not(.tag-link-8):not(.tag-link-4988):not(.tag-link-9) {
    color: #333 !important;
}

/* Reset colors for elements inside white card backgrounds */
body.fc-portal .article-wrapper .author-meta {
    color: #595959 !important;
}

body.fc-portal .article-wrapper .views-counter,
body.fc-portal .article-wrapper .comments {
    color: #595959 !important;
}

/* Ensure icon colors are preserved */
body.fc-portal .article-wrapper .remixicon,
body.fc-portal .article-wrapper i.fa {
    color: inherit !important;
}

/* ============================================================================
   SINGLE POST CONTENT - FIX WHITE TEXT ON WHITE BACKGROUND
   ============================================================================ */
/* Single post main content area - ensure dark text on light backgrounds */
body.fc-portal.single .entry-content,
body.fc-portal.single .entry-content p,
body.fc-portal.single .entry-content li,
body.fc-portal.single .entry-content span,
body.fc-portal.single .entry-content div,
body.fc-portal.single .post-content,
body.fc-portal.single .post-content p,
body.fc-portal.single article .content,
body.fc-portal.single article .content p,
body.fc-portal.single .text-wrapper,
body.fc-portal.single .text-wrapper p,
body.fc-portal.single .article-content,
body.fc-portal.single .article-content p,
body.single .entry-content,
body.single .entry-content p,
body.single .entry-content li,
body.single .entry-content span,
body.single .post-content,
body.single .post-content p,
body.single article .content p {
    color: #333 !important;
}

/* Single post headings */
body.fc-portal.single .entry-content h1,
body.fc-portal.single .entry-content h2,
body.fc-portal.single .entry-content h3,
body.fc-portal.single .entry-content h4,
body.fc-portal.single .entry-content h5,
body.fc-portal.single .entry-content h6,
body.single .entry-content h1,
body.single .entry-content h2,
body.single .entry-content h3,
body.single .entry-content h4,
body.single .entry-content h5,
body.single .entry-content h6 {
    color: #1e293b !important;
}

/* Single post links */
body.fc-portal.single .entry-content a,
body.single .entry-content a {
    color: #14b8a6 !important;
}

body.fc-portal.single .entry-content a:hover,
body.single .entry-content a:hover {
    color: #0d9488 !important;
}

/* Single post blockquotes */
body.fc-portal.single .entry-content blockquote,
body.fc-portal.single .entry-content blockquote p,
body.single .entry-content blockquote,
body.single .entry-content blockquote p {
    color: #555 !important;
}

/* Single post code blocks */
body.fc-portal.single .entry-content code,
body.fc-portal.single .entry-content pre,
body.single .entry-content code,
body.single .entry-content pre {
    color: #333 !important;
    background: #f1f5f9 !important;
}

/* Fix for main content wrapper that might have white bg */
body.fc-portal.single .main,
body.fc-portal.single #content,
body.fc-portal.single .content-wrapper,
body.single .main,
body.single #content,
body.single .content-wrapper {
    color: #333;
}

/* ============================================================================
   PAGE CONTENT - FIX WHITE TEXT ON WHITE BACKGROUND
   Same as single post fix, but for WordPress pages (body.page)
   ============================================================================ */
body.fc-portal.page .entry-content,
body.fc-portal.page .entry-content p,
body.fc-portal.page .entry-content li,
body.fc-portal.page .entry-content span,
body.fc-portal.page .entry-content div,
body.fc-portal.page .post-content,
body.fc-portal.page .post-content p,
body.fc-portal.page article .content,
body.fc-portal.page article .content p,
body.fc-portal.page .text-wrapper,
body.fc-portal.page .text-wrapper p,
body.fc-portal.page .article-content,
body.fc-portal.page .article-content p,
body.page .entry-content,
body.page .entry-content p,
body.page .entry-content li,
body.page .entry-content span,
body.page .post-content,
body.page .post-content p,
body.page article .content p {
    color: #333 !important;
}

/* Page headings */
body.fc-portal.page .entry-content h1,
body.fc-portal.page .entry-content h2,
body.fc-portal.page .entry-content h3,
body.fc-portal.page .entry-content h4,
body.fc-portal.page .entry-content h5,
body.fc-portal.page .entry-content h6,
body.page .entry-content h1,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.page .entry-content h5,
body.page .entry-content h6 {
    color: #1e293b !important;
}

/* Page links */
body.fc-portal.page .entry-content a,
body.page .entry-content a {
    color: #14b8a6 !important;
}

body.fc-portal.page .entry-content a:hover,
body.page .entry-content a:hover {
    color: #0d9488 !important;
}

/* Page blockquotes */
body.fc-portal.page .entry-content blockquote,
body.fc-portal.page .entry-content blockquote p,
body.page .entry-content blockquote,
body.page .entry-content blockquote p {
    color: #555 !important;
}

/* Page code blocks */
body.fc-portal.page .entry-content code,
body.fc-portal.page .entry-content pre,
body.page .entry-content code,
body.page .entry-content pre {
    color: #333 !important;
    background: #f1f5f9 !important;
}

/* Fix for main content wrapper that might have white bg */
body.fc-portal.page .main,
body.fc-portal.page #content,
body.fc-portal.page .content-wrapper,
body.page .main,
body.page #content,
body.page .content-wrapper {
    color: #333;
}

/* ============================================================================
   CANVAS GRADIENT BACKGROUND
   ============================================================================ */
#fc-gradient-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ============================================================================
   GLASS PANELS
   ============================================================================ */
.glass-panel {
    background: var(--glass-bg-solid);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
    color: var(--card-text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: var(--card-bg);
}

/* Calculator cards - prevent transparency on hover */
.glass-card.calculator-card:hover {
    background: var(--card-bg) !important;
}

/* Fix testimonial overflow */
.testimonial-section {
    overflow: visible !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.testimonial-section .testimonial-track {
    overflow: visible !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.testimonial-section .glass-card-dark {
    position: relative;
    z-index: 1;
}

.testimonial-section .glass-card-dark:hover {
    z-index: 10;
}

/* Dark glass card variant - for Partners/Testimonials sections */
.glass-card-dark {
    background: rgba(30, 41, 59, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-dark:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.glass-card-dark h1,
.glass-card-dark h2,
.glass-card-dark h3,
.glass-card-dark h4,
.glass-card-dark h5,
.glass-card-dark h6 {
    color: #ffffff !important;
}

.glass-card-dark p,
.glass-card-dark span,
.glass-card-dark div {
    color: rgba(255, 255, 255, 0.8) !important;
}

.glass-card-dark .text-white\/50,
.glass-card-dark .text-white\/60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Disable hover effects on FAQ sections */
.tcl-faq-section.glass-card-dark:hover,
.tcl-archive-faq-section.glass-card-dark:hover {
    transform: none;
    background: rgba(30, 41, 59, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Partner item cards - lighter background */
.partner-item {
    background: rgba(255, 255, 255, 0.08) !important;
}

.partner-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Badge colors - stronger visibility */
.badge-green {
    background: rgba(34, 197, 94, 0.3) !important;
    color: #4ade80 !important;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.3) !important;
    color: #60a5fa !important;
}

.badge-yellow {
    background: rgba(234, 179, 8, 0.3) !important;
    color: #fbbf24 !important;
}

.badge-purple {
    background: rgba(168, 85, 247, 0.3) !important;
    color: #c084fc !important;
}

/* Testimonial track auto-scroll animation */
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: testimonialSlide 60s linear infinite;
    width: max-content;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes testimonialSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Tools Marquee Track - Continuous Scroll */
.fc-tools-track {
    display: flex;
    gap: 1rem;
    animation: toolsSlide 120s linear infinite;
    width: max-content;
    padding: 0.5rem 1rem;
}

.fc-tools-track:hover {
    animation-play-state: paused;
}

@keyframes toolsSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-65.5%);
        /* 19 tools out of 29 total (19 + 10 duplicates) */
    }
}

/* Tool Card - 4:2 Aspect Ratio (Wide) */
.fc-tool-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 280px;
    max-width: 280px;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.75rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.fc-tool-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.fc-tool-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fc-tool-content {
    flex: 1;
    min-width: 0;
}

.fc-tool-content h3 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.125rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fc-tool-content p {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Dark text overrides for white cards */
.glass-card h1,
.glass-card h2,
.glass-card h3,
.glass-card h4,
.glass-card h5,
.glass-card h6 {
    color: #0f172a !important;
}

.glass-card p,
.glass-card li,
.glass-card span,
.glass-card label {
    color: var(--card-text-muted) !important;
}

.glass-card strong,
.glass-card b {
    color: var(--card-text) !important;
}

/* Inner cards - for nested content with subtle distinction */
.card-inner {
    background: var(--card-inner-bg);
    border: 1px solid var(--card-inner-border);
    border-radius: 0.75rem;
}

.card-inner:hover {
    background: #f1f5f9;
}

/* Legacy glass style - use .glass-dark for header/footer */
.glass-dark {
    background: var(--glass-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border: 1px solid var(--glass-border);
}

.glass-dark:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Archive page header override - hide parent theme circle icon */
.tag-description .icon {
    display: none !important;
}

.fc-archive-header {
    margin-top: 100px;
}

/* ============================================================================
   DROPDOWN MENUS
   ============================================================================ */
.fc-dropdown {
    position: relative;
}

.fc-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: var(--blur-heavy);
    -webkit-backdrop-filter: var(--blur-heavy);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.fc-dropdown:hover .fc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.fc-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.15s ease;
    text-decoration: none;
}

.fc-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.fc-dropdown-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.fc-dropdown-item:hover svg {
    opacity: 1;
}

.fc-dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 8px 0;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fc-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.fc-shimmer {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: fc-shimmer 2s infinite;
}

@keyframes fc-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fc-float {
    animation: fc-float 6s ease-in-out infinite;
}

@keyframes fc-pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================================================================
   GLOW EFFECTS
   ============================================================================ */
.glow-teal {
    box-shadow: 0 0 30px rgba(20, 184, 166, 0.3);
}

.glow-purple {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

/* ============================================================================
   MOBILE MENU
   ============================================================================ */
#fc-mobile-menu {
    display: none;
}

#fc-mobile-menu.open {
    display: block;
}

/* ============================================================================
   TESTIMONIALS SLIDER
   ============================================================================ */
.fc-testimonial-track {
    display: flex;
    gap: 1.5rem;
    animation: fc-slide 25s linear infinite;
}

.fc-testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes fc-slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.fc-gradient-text {
    background: linear-gradient(135deg, #14b8a6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-gradient-btn {
    background: linear-gradient(135deg, #14b8a6 0%, #a855f7 100%);
}

.fc-gradient-btn:hover {
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
    .fc-desktop-nav {
        display: none !important;
    }

    .fc-mobile-toggle {
        display: flex !important;
    }
}

@media (min-width: 1025px) {
    .fc-mobile-toggle {
        display: none !important;
    }

    #fc-mobile-menu {
        display: none !important;
    }
}

/* Mobile article layout handled by parent theme */

/* ============================================================================
   GTRANSLATE LANGUAGE SELECTOR
   ============================================================================ */
.gtranslate_wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Style the trigger button/link */
.gtranslate_wrapper a,
.gtranslate_wrapper .gt-current-lang {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 11px !important;
    padding: 4px 10px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gtranslate_wrapper a:hover,
.gtranslate_wrapper .gt-current-lang:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Dropdown select styling */
.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 11px !important;
    padding: 4px 8px !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gtranslate_wrapper select:hover,
.gtranslate_wrapper .gt_selector:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.gtranslate_wrapper select option {
    background: #1e293b;
    color: white;
}

/* Popup/Modal styling - ensure it appears centered on page */
.gt_white_content,
.gt_languages_popup,
#gt_wrapper,
.gt-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999999 !important;
    max-height: 80vh !important;
    overflow-y: auto !important;
}

/* Popup overlay */
.gt_white_overlay,
.gt-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    z-index: 999998 !important;
}

/* Hide GTranslate branding if present */
.gtranslate_wrapper .gt_float_switcher,
.gtranslate_wrapper a[href*="gtranslate.io"] {
    display: none !important;
}

/* ============================================================================
   SEARCH PAGE OVERRIDES
   ============================================================================ */

/* Search bar - Simple redesign */
.fc-portal .fc-search-bar {
    display: table !important;
    width: 100% !important;
    background: white !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    border: none !important;
    overflow: hidden !important;
}

.fc-portal .fc-search-bar>* {
    display: table-cell !important;
    vertical-align: middle !important;
}

.fc-portal .fc-search-bar svg,
.fc-portal .fc-search-bar i[data-lucide="search"] {
    width: 50px !important;
    padding-left: 20px !important;
    color: #94a3b8 !important;
}

.fc-portal .fc-search-bar input {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 16px 10px !important;
    font-size: 16px !important;
    color: #1e293b !important;
    outline: none !important;
}

.fc-portal .fc-search-bar input::placeholder {
    color: #94a3b8 !important;
}

.fc-portal .fc-search-bar button {
    background: #14b8a6 !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 28px !important;
    margin: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
}

.fc-portal .fc-search-bar button:hover {
    background: #0d9488 !important;
}

/* Search result cards */
.fc-portal .fc-result-card {
    background: white !important;
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.fc-portal .fc-result-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.fc-portal .fc-result-card img {
    border: none !important;
}

/* Pagination */
.fc-portal .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.fc-portal .page-numbers li {
    display: inline-block;
}

.fc-portal .page-numbers a,
.fc-portal .page-numbers span.current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fc-portal .page-numbers a {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-portal .page-numbers a:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    color: #14b8a6;
}

.fc-portal .page-numbers span.current {
    background: #14b8a6;
    color: white;
    border: 1px solid #14b8a6;
}

.fc-portal .page-numbers .prev,
.fc-portal .page-numbers .next {
    gap: 0.5rem;
}

/* ============================================================================
   FOREXCRACKED TRADING TOOLS
   Unique design system with teal/purple brand identity
   ============================================================================ */

/* Category Pills - Horizontal filter buttons */
.fc-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fc-category-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.fc-category-pill.active {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(168, 85, 247, 0.2));
    border-color: rgba(20, 184, 166, 0.4);
    color: white;
}

/* Tool Tile Card - Main clickable card */
.fc-tool-tile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fc-tool-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(20, 184, 166, 0.3);
    box-shadow: 0 12px 40px rgba(20, 184, 166, 0.15);
    background: rgba(30, 41, 59, 0.7);
}

.fc-tool-tile.hidden {
    display: none;
}

/* Tool Icon */
.fc-tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Tool Icon Color Variants */
.fc-tool-icon.purple {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.fc-tool-icon.teal {
    background: rgba(20, 184, 166, 0.2);
    color: #5eead4;
}

.fc-tool-icon.blue {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

.fc-tool-icon.green {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.fc-tool-icon.orange {
    background: rgba(249, 115, 22, 0.2);
    color: #fdba74;
}

.fc-tool-icon.red {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.fc-tool-icon.cyan {
    background: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
}

.fc-tool-icon.yellow {
    background: rgba(234, 179, 8, 0.2);
    color: #fde047;
}

.fc-tool-tile:hover .fc-tool-icon.purple {
    background: #a855f7;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.teal {
    background: #14b8a6;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.blue {
    background: #3b82f6;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.green {
    background: #22c55e;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.orange {
    background: #f97316;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.red {
    background: #ef4444;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.cyan {
    background: #06b6d4;
    color: white;
}

.fc-tool-tile:hover .fc-tool-icon.yellow {
    background: #eab308;
    color: white;
}

/* Tool Tile Content */
.fc-tool-tile h3 {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.fc-tool-tile p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Tool Search Input */
.fc-tool-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 14px 20px;
    border-radius: 14px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.fc-tool-search::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fc-tool-search:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.5);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Empty State */
.fc-tools-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 24px;
    color: rgba(255, 255, 255, 0.5);
}

.fc-tools-empty i {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ============================================================================
   FOREXCRACKED CALCULATOR PAGES
   Individual tool page styling
   ============================================================================ */

/* Unified Tool Container - All tool types use this */
.fc-tool-container,
.fc-calc-container,
.heatmap-container,
.correlation-container,
.calendar-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Session/Info Cards */
.session-card,
.info-card {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.session-card:hover,
.info-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Exchange/Timeline Rows */
.exchange-row,
.timeline-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.exchange-row {
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.exchange-row:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Tool Text Colors - Unified */
.fc-tool-text,
.fc-calc-guide p,
.fc-calc-guide li {
    color: #b8c5d6;
    line-height: 1.8;
}

/* Tool Labels */
.fc-tool-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calculator Grid Layout */
.fc-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .fc-calc-grid {
        grid-template-columns: 1fr;
    }
}

/* Input Panel - Darker */
.fc-calc-inputs {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
}

.fc-calc-inputs h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Form Elements */
.fc-form-group {
    margin-bottom: 18px;
}

.fc-form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-form-input,
.fc-form-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.fc-form-input:focus,
.fc-form-select:focus {
    outline: none;
    border-color: rgba(20, 184, 166, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

.fc-input-addon-wrap {
    display: flex;
}

.fc-input-addon-wrap .fc-form-input {
    border-radius: 12px 0 0 12px;
    border-right: none;
}

.fc-input-addon {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    padding: 14px 16px;
    color: #14b8a6;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 12px 12px 0;
    min-width: 60px;
    text-align: center;
}

/* Results Panel */
.fc-calc-results {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.9) 0%, rgba(168, 85, 247, 0.9) 100%);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Override white result cards inside calculator results */
.fc-calc-results .fc-result-card {
    background: rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: none !important;
    margin-bottom: 16px;
}

/* Result details section styling */
.fc-calc-results .fc-result-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.fc-calc-results .fc-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-calc-results .fc-result-item:last-child {
    border-bottom: none;
}

.fc-calc-results .fc-result-item span:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.fc-calc-results .fc-result-item span:last-child {
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.fc-calc-results::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.fc-result-main {
    position: relative;
    margin-bottom: 24px;
}

.fc-result-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.fc-result-value {
    font-size: 56px;
    font-weight: 800;
    color: white;
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: block;
}

.fc-result-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    display: block;
}

/* Result Details Grid */
.fc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 16px;
    position: relative;
}

.fc-result-item {
    text-align: center;
    padding: 8px;
}

.fc-result-item-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-result-item-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-top: 4px;
}

/* How To Use Guide - Darker */
.fc-calc-guide {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    margin-top: 32px;
}

.fc-calc-guide h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.fc-calc-guide ol {
    color: rgba(255, 255, 255, 0.7);
    padding-left: 24px;
    line-height: 1.8;
    margin: 0;
}

.fc-calc-guide li {
    margin-bottom: 8px;
}

.fc-calc-guide strong {
    color: #14b8a6;
}

.fc-calc-guide .fc-tip {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-calc-guide .fc-tip i {
    color: #c084fc;
}

/* Breadcrumb Bar - Full Width with Share */
.fc-breadcrumb-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-breadcrumb-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fc-breadcrumb-left a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.fc-breadcrumb-left a i {
    font-size: 12px;
    opacity: 0.7;
}

.fc-breadcrumb-left a:hover {
    color: #14b8a6;
}

.fc-breadcrumb-left>i {
    font-size: 10px;
    opacity: 0.4;
}

.fc-breadcrumb-left span {
    color: white;
    font-weight: 500;
}

.fc-breadcrumb-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fc-breadcrumb-right .share-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-right: 4px;
}

.fc-breadcrumb-right .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 14px;
}

.fc-breadcrumb-right .share-btn:hover {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    transform: translateY(-1px);
}

.fc-breadcrumb-right .share-btn.copied {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    color: #10b981;
}

/* Legacy breadcrumb (keep for backwards compat) */
.fc-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-breadcrumb a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.fc-breadcrumb a i {
    font-size: 12px;
    opacity: 0.7;
}

.fc-breadcrumb a:hover {
    color: #14b8a6;
}

.fc-breadcrumb>i {
    font-size: 10px;
    opacity: 0.4;
}

.fc-breadcrumb span {
    color: white;
    font-weight: 500;
}

@media (max-width: 640px) {
    .fc-breadcrumb-bar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .fc-breadcrumb-left {
        width: 100%;
        justify-content: center;
    }

    .fc-breadcrumb-right {
        width: 100%;
        justify-content: center;
    }

    .fc-breadcrumb-right .share-label {
        display: none;
    }
}

/* Single Post Breadcrumb Wrapper */
.fc-single-breadcrumb-wrapper {
    padding: 50px 0 8px;
    margin-bottom: 0px;
}

/* ============================================================================
   TOOL-SPECIFIC STYLES
   Unique styles for individual tool pages (consolidated from inline)
   ============================================================================ */

/* Currency Converter - Swap Button */
.swap-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #10B981;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px auto;
    transition: transform 0.3s;
}

.swap-btn:hover {
    transform: rotate(180deg);
}

/* Rate Badge */
.rate-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #b8c5d6;
    margin-top: 8px;
}

/* Lot Size Optimizer - Risk Slider */
.risk-slider-container {
    margin-bottom: 20px;
}

.risk-slider-container input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, #10B981, #f97316, #ef4444);
    border-radius: 3px;
    outline: none;
}

.risk-slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.risk-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* Risk Reward Visualizer - RR Bar */
.rr-bar-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 16px;
    margin-top: 24px;
}

.rr-bar {
    height: 24px;
    border-radius: 6px;
    display: flex;
    overflow: hidden;
}

.rr-bar-risk {
    background: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: white;
    font-weight: 600;
}

.rr-bar-reward {
    background: #10B981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: white;
    font-weight: 600;
}

/* Heat Map - Strength Bar */
.strength-bar-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.open {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Toggle Button */
.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.4);
    color: #94a3b8;
}

.toggle-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.toggle-btn.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

/* Timezone Select */
.tz-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 32px 8px 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.tz-select:focus {
    outline: none;
    border-color: #10b981;
}

/* Pairs Tag */
.pairs-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b8c5d6;
    margin: 2px;
}

/* ============================================================================
   MARKET HOURS PAGE STYLES
   ============================================================================ */

/* Session Colors */
.session-sydney {
    --session-color: #f97316;
}

.session-tokyo {
    --session-color: #ec4899;
}

.session-london {
    --session-color: #3b82f6;
}

.session-newyork {
    --session-color: #10b981;
}

/* Session Card Enhancements */
.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--session-color);
    opacity: 0.5;
}

.session-card.open {
    border-color: var(--session-color);
    box-shadow: 0 0 30px -10px var(--session-color);
}

.session-card.open::before {
    opacity: 1;
}

/* Pulse Animation */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.open .pulse-dot {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Session Progress */
.session-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 12px;
}

.session-progress-bar {
    height: 100%;
    background: var(--session-color);
    border-radius: 3px;
    transition: width 1s ease;
}

/* Timeline */
.timeline-session {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
    opacity: 0.8;
}

.timeline-session.active {
    opacity: 1;
}

.timeline-now {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.timeline-now::before {
    content: 'NOW';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 700;
    color: white;
    background: rgba(16, 185, 129, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

.timeline-now::after {
    content: '▼';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #10b981;
}

/* Stacked Timeline */
.stacked-timeline {
    position: relative;
    padding: 20px 0;
}

.stacked-row {
    position: relative;
    height: 28px;
    margin-bottom: 4px;
}

.stacked-bar {
    position: absolute;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: white;
    opacity: 0.7;
}

.stacked-bar.active {
    opacity: 1;
    box-shadow: 0 0 12px -2px currentColor;
}

.stacked-bar span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.stacked-now {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: white;
    z-index: 20;
}

/* Weekend Banner */
.weekend-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
}

/* Exchange Row */
.exchange-row.open {
    border-left: 3px solid #10b981;
}

.exchange-row.closed {
    opacity: 0.6;
}

/* ============================================================================
   HEAT MAP & CORRELATION MATRIX STYLES
   ============================================================================ */

/* Controls Bar */
.controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

/* Timeframe Toggle */
.timeframe-toggle {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tf-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c5d6;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tf-btn:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.tf-btn.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10B981;
    color: #10B981;
}

/* Display Toggle */
.display-toggle {
    display: flex;
    gap: 8px;
}

.display-toggle button {
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8c5d6;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.display-toggle button.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3B82F6;
    color: #3B82F6;
}

/* Heat Map Grid */
.heatmap-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .heatmap-grid {
        grid-template-columns: repeat(4, 1fr);
        font-size: 11px;
    }
}

.heatmap-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    transition: transform 0.2s;
    min-height: 60px;
}

.heatmap-cell:hover {
    transform: scale(1.05);
    z-index: 10;
}

.heatmap-cell.header {
    background: rgba(255, 255, 255, 0.05);
    color: #b8c5d6;
    font-weight: 700;
    font-size: 12px;
}

.heatmap-cell.strong-buy {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.heatmap-cell.buy {
    background: rgba(16, 185, 129, 0.4);
}

.heatmap-cell.neutral {
    background: rgba(100, 116, 139, 0.3);
}

.heatmap-cell.sell {
    background: rgba(239, 68, 68, 0.4);
}

.heatmap-cell.strong-sell {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.cell-pair {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
    text-align: center;
}

.cell-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

/* Strength Bars Section */
.strength-section {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.strength-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.strength-item {
    display: grid;
    grid-template-columns: 50px 70px 1fr;
    align-items: center;
    gap: 12px;
}

.strength-currency {
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.strength-value {
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.strength-value.positive {
    color: #10B981;
}

.strength-value.negative {
    color: #EF4444;
}

.strength-value.neutral {
    color: #64748b;
}

.strength-bar.positive {
    background: linear-gradient(90deg, #10B981, #34D399);
}

.strength-bar.negative {
    background: linear-gradient(90deg, #EF4444, #F87171);
}

/* Loading & Updates */
.loading-message {
    text-align: center;
    color: #64748b;
    padding: 40px;
    font-size: 14px;
}

.last-update {
    text-align: center;
    color: #64748b;
    font-size: 12px;
    margin-top: 16px;
}

/* Correlation Matrix */
.correlation-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 2px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .correlation-grid {
        font-size: 10px;
    }
}

.correlation-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    min-height: 40px;
}

.correlation-cell.header {
    background: rgba(255, 255, 255, 0.05);
    color: #b8c5d6;
    font-weight: 700;
}

.correlation-cell.positive-strong {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.correlation-cell.positive {
    background: rgba(16, 185, 129, 0.5);
}

.correlation-cell.positive-weak {
    background: rgba(16, 185, 129, 0.25);
}

.correlation-cell.neutral {
    background: rgba(100, 116, 139, 0.3);
}

.correlation-cell.negative-weak {
    background: rgba(239, 68, 68, 0.25);
}

.correlation-cell.negative {
    background: rgba(239, 68, 68, 0.5);
}

.correlation-cell.negative-strong {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

.correlation-cell.same {
    background: rgba(59, 130, 246, 0.3);
}

/* Correlation Matrix Grid (JS-rendered) */
.correlation-matrix {
    display: grid;
    gap: 2px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .correlation-matrix {
        font-size: 9px;
        gap: 1px;
    }
}

.matrix-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    min-height: 50px;
    padding: 4px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.matrix-cell:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.matrix-cell.header {
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-weight: 700;
    font-size: 10px;
}

.matrix-cell.diagonal {
    background: rgba(59, 130, 246, 0.4);
    color: #93c5fd;
}

.matrix-cell.positive-strong {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.matrix-cell.positive {
    background: rgba(16, 185, 129, 0.5);
}

.matrix-cell.positive-weak {
    background: rgba(16, 185, 129, 0.25);
}

.matrix-cell.neutral {
    background: rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

.matrix-cell.negative-weak {
    background: rgba(239, 68, 68, 0.25);
}

.matrix-cell.negative {
    background: rgba(239, 68, 68, 0.5);
}

.matrix-cell.negative-strong {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
}

/* ============================================================================
   TOOLS HUB PAGE (page-tools.php)
   ============================================================================ */

/* Tools List Container */
#tools-list {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Tool Icon backgrounds */
.tool-icon {
    background: rgba(0, 0, 0, 0.4) !important;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Tools Search Box */
.fc-tools-search {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
    width: 260px !important;
    transition: all 0.2s ease !important;
}

.fc-tools-search:focus-within {
    border-color: rgba(20, 184, 166, 0.5) !important;
    background: rgba(0, 0, 0, 0.5) !important;
}

.fc-tools-search-icon {
    width: 18px !important;
    height: 18px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0 !important;
}

.fc-tools-search-input {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: white !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

.fc-tools-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Live Rate Indicator */
.fc-live-rate {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.fc-live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Toggle Buttons */
.fc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-toggle:hover {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.fc-toggle.active {
    background: rgba(20, 184, 166, 0.25);
    border-color: rgba(20, 184, 166, 0.4);
    color: #5eead4;
}

/* Tool Row */
.tool-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.tool-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.tool-row:hover .tool-icon {
    transform: scale(1.1);
}

.tool-row:hover>i:last-child {
    color: #14b8a6;
    transform: translateX(4px);
}

.tool-row.hidden {
    display: none !important;
}

.tool-info {
    flex: 1;
    min-width: 0;
}

.tool-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.tool-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.tool-row>i:last-child {
    flex-shrink: 0;
    transition: all 0.2s ease;
}

/* Calendar Impact Indicators */
.impact-high {
    color: #ef4444;
}

.impact-medium {
    color: #f97316;
}

.impact-low {
    color: #22c55e;
}

/* ============================================================================
   POST CARD STYLES (matches parent Breek theme)
   ============================================================================ */

.fc-post-card {
    /* Bottom padding for card spacing - grids control the rest */
    padding: 0 0 16px;
}

.fc-post-card .article-wrapper {
    background: #fff;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px 20px 0;
    box-shadow: 0 3px 12px -1px rgba(7, 10, 25, 0.05), 0 22px 27px -20px rgba(7, 10, 25, 0.05);
}

/* Featured Image */
.fc-post-card .thumb-link {
    display: block;
    margin: -20px -20px 0;
    position: relative;
    z-index: 2;
}

.fc-post-card .featured-image {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: hidden;
    min-height: 200px;
    background: #f1f5f9;
}

.fc-post-card .cover-img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    transition: all 600ms ease;
}

.fc-post-card .thumb-link:hover .cover-img {
    opacity: 0.85;
    transform: scale(1.02);
}

.fc-post-card .no-thumb-placeholder {
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #94a3b8;
    font-size: 48px;
}

/* Category Badge */
.fc-post-card .category-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.fc-post-card .category-badge a {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.fc-post-card .category-badge a:hover {
    transform: translateY(-2px);
}

/* Meta/Date */
.fc-post-card .meta {
    margin: 20px 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.fc-post-card .meta time {
    display: inline-block;
    text-transform: capitalize;
}

.fc-post-card .meta i {
    margin-right: 6px;
    color: #14b8a6;
}

/* Title with Gradient Effect (matches parent theme) */
.fc-post-card .main-title {
    font-size: 20px;
    margin-bottom: 10px;
    margin-top: 5px;
    line-height: 1.35;
}

.fc-post-card .main-title a {
    color: #1e293b;
    text-decoration: none;
    padding-bottom: 5px;
    background-image: linear-gradient(to right, #14b8a6 0%, #14b8a6 100%);
    background-size: 0px 4px;
    background-repeat: no-repeat;
    background-position: left 87%;
    transition: all 400ms ease;
}

.fc-post-card .main-title a:hover {
    color: #0f172a;
    background-size: 100% 4px;
}

/* Post Excerpt */
.fc-post-card .post-excerpt {
    padding-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
}

/* Author Footer */
.fc-post-card .author-meta {
    border-top: 2px solid #f1f5f9;
    margin: 0 -20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
}

.fc-post-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fc-post-card .author:hover {
    color: #14b8a6;
}

.fc-post-card .author-image {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.15);
}

.fc-post-card .author-name {
    letter-spacing: 0.3px;
}

/* Meta Stats */
.fc-post-card .meta-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fc-post-card .meta-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #94a3b8;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.fc-post-card .meta-info:hover {
    color: #14b8a6;
}

.fc-post-card .meta-info i {
    font-size: 14px;
}

/* ============================================================================
   VIP PRICING CARDS
   ============================================================================ */
.fc-pricing-card {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.fc-pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.15);
}

.fc-pricing-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(rgba(30, 41, 59, 0.9), rgba(30, 41, 59, 0.9)) padding-box,
        linear-gradient(135deg, #14b8a6, #a855f7) border-box;
}

.fc-pricing-card.featured:hover {
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.2);
}

.fc-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #14b8a6, #a855f7);
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    color: white;
}

.fc-price {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-price-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.fc-feature-check {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.fc-feature-check i {
    width: 20px;
    height: 20px;
    color: #14b8a6;
    flex-shrink: 0;
}

.fc-cta-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.fc-cta-button.primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
}

.fc-cta-button.primary:hover {
    box-shadow: 0 12px 30px rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

.fc-cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fc-cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Mobile responsive pricing */
@media (max-width: 768px) {
    .fc-pricing-card {
        padding: 24px;
    }

    .fc-price {
        font-size: 40px;
    }
}

/* ============================================================================
   MARKET HOURS PAGE (page-market-hours.php)
   ============================================================================ */

/* Session Cards */
.session-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.session-card.open {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.15);
}

.session-card.session-sydney {
    border-left: 3px solid #f97316;
}

.session-card.session-tokyo {
    border-left: 3px solid #ec4899;
}

.session-card.session-london {
    border-left: 3px solid #3b82f6;
}

.session-card.session-newyork {
    border-left: 3px solid #10b981;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.open {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.closed {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status-badge.open .pulse-dot {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Session Progress */
.session-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 12px;
    overflow: hidden;
}

.session-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #14b8a6);
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.timeline-session {
    position: absolute;
    top: 8px;
    height: 44px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: white;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.timeline-session.active {
    opacity: 1;
    box-shadow: 0 0 10px currentColor;
}

.timeline-overlap {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-left: 1px dashed rgba(255, 255, 255, 0.2);
    border-right: 1px dashed rgba(255, 255, 255, 0.2);
}

.timeline-now {
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    z-index: 10;
}

/* Stacked Timeline */
.stacked-timeline {
    position: relative;
}

.stacked-row {
    position: relative;
    height: 28px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
}

.stacked-bar {
    position: absolute;
    top: 4px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding-left: 8px;
    font-size: 10px;
    font-weight: 600;
    color: white;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.stacked-bar.active {
    opacity: 1;
}

.stacked-now {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    z-index: 10;
}

/* Exchange Rows */
.exchange-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.exchange-row.open {
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10b981;
}

.exchange-row.closed {
    opacity: 0.7;
}

/* Toggle Button */
.toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.toggle-btn.active {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    color: #14b8a6;
}

/* Timezone Select */
.tz-select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 14px;
    cursor: pointer;
}

.tz-select:focus {
    outline: none;
    border-color: #14b8a6;
}

.tz-select option {
    background: #1e293b;
    color: white;
}

/* Pairs Tags */
.pairs-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 6px;
    color: #c084fc;
    font-size: 12px;
    font-weight: 600;
    margin: 4px;
}

/* Weekend Banner */
.weekend-banner {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 16px 20px;
}

/* ============================================================================
   FIBONACCI CALCULATOR (page-fibonacci-calculator.php)
   ============================================================================ */

/* Fibonacci Levels */
.fib-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.fib-level:hover {
    transform: translateX(4px);
}

.level-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.level-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
    font-family: 'Fira Code', monospace;
}

/* Fib level colors */
.fib-0,
.fib-100 {
    background: rgba(100, 116, 139, 0.3);
}

.fib-236 {
    background: rgba(59, 130, 246, 0.2);
    border-left: 3px solid #3b82f6;
}

.fib-382 {
    background: rgba(168, 85, 247, 0.2);
    border-left: 3px solid #a855f7;
}

.fib-500 {
    background: rgba(236, 72, 153, 0.2);
    border-left: 3px solid #ec4899;
}

.fib-618 {
    background: rgba(245, 158, 11, 0.25);
    border-left: 3px solid #f59e0b;
}

.fib-786 {
    background: rgba(239, 68, 68, 0.2);
    border-left: 3px solid #ef4444;
}

.fib-ext {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid #10b981;
}

/* Section Title */
.section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin: 16px 0 8px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Toggle Buttons (Uptrend/Downtrend) */
.fc-toggle {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 4px;
}

.fc-toggle-option {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fc-toggle-option:hover {
    color: white;
}

.fc-toggle-option.active {
    background: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}

/* ============================================================================
   PIVOT POINT CALCULATOR (page-pivot-point-calculator.php)
   ============================================================================ */

/* Pivot Levels */
.pivot-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.pivot-level:hover {
    transform: translateX(4px);
}

.pivot-level .level-name {
    font-size: 13px;
    font-weight: 700;
}

.pivot-level .level-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
    font-family: 'Fira Code', monospace;
}

/* Resistance levels */
.pivot-level.resistance {
    background: rgba(239, 68, 68, 0.15);
    border-left: 3px solid #ef4444;
}

.pivot-level.resistance .level-name {
    color: #ef4444;
}

/* Support levels */
.pivot-level.support {
    background: rgba(59, 130, 246, 0.15);
    border-left: 3px solid #3b82f6;
}

.pivot-level.support .level-name {
    color: #3b82f6;
}

/* Pivot point (center) */
.pivot-level.pivot {
    background: rgba(16, 185, 129, 0.25);
    border-left: 3px solid #10b981;
}

.pivot-level.pivot .level-name {
    color: #10b981;
}

/* ============================================================================
   LOADING STATES
   ============================================================================ */

.loading-message {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
}

.loading-message i {
    margin-right: 8px;
}

/* ============================================================================
   DATA SOURCE BADGE
   ============================================================================ */

.data-source {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    margin-top: 16px;
}

.data-source i {
    margin-right: 6px;
}

/* ============================================================================
   CORRELATION LEGEND
   ============================================================================ */

.correlation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

/* Rate badge for currency converter */
.rate-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(20, 184, 166, 0.2);
    border-radius: 12px;
    font-size: 11px;
    color: #14b8a6;
    margin-top: 8px;
}

/* ============================================================================
   RISK REWARD VISUALIZER (page-risk-reward-visualizer.php)
   ============================================================================ */

/* Direction Buttons */
.direction-btns {
    display: flex;
    gap: 8px;
}

.direction-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.direction-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.direction-btn.buy.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.direction-btn.sell.active {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

/* Quick Ratio Buttons */
.quick-ratios {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.quick-ratio-btn {
    padding: 8px 14px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 6px;
    color: #c084fc;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-ratio-btn:hover {
    background: rgba(168, 85, 247, 0.3);
    border-color: #a855f7;
    color: white;
}

/* R:R Visual Container */
.rr-visual {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
}

/* R:R Chart */
.rr-chart {
    position: relative;
    height: 300px;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%, rgba(239, 68, 68, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.rr-bar-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 100%;
}

.rr-bar {
    position: absolute;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.rr-bar.tp {
    background: linear-gradient(180deg, #10b981 0%, #047857 100%);
}

.rr-bar.sl {
    background: linear-gradient(0deg, #ef4444 0%, #dc2626 100%);
}

.rr-entry-line {
    position: absolute;
    left: 20px;
    right: 20px;
    height: 3px;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.rr-entry-label {
    position: absolute;
    left: -5px;
    top: -24px;
    background: #3b82f6;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.rr-pip-label {
    position: absolute;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
}

/* R:R Results */
.rr-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.rr-result-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.rr-result-card.highlight {
    background: rgba(20, 184, 166, 0.15);
    border-color: rgba(20, 184, 166, 0.3);
}

.rr-result-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.rr-result-value {
    font-size: 20px;
    font-weight: 700;
    color: white;
    font-family: 'Fira Code', monospace;
}

.rr-result-value.positive {
    color: #10b981;
}

.rr-result-value.negative {
    color: #ef4444;
}

.rr-result-value.neutral {
    color: #14b8a6;
}

/* ============================================================================
   PIVOT POINT - IMPROVED VISIBILITY
   ============================================================================ */

/* Override with brighter, more visible colors */
.pivot-level.resistance {
    background: rgba(239, 68, 68, 0.25);
    border-left: 4px solid #f87171;
}

.pivot-level.resistance .level-name {
    color: #f87171;
}

.pivot-level.support {
    background: rgba(59, 130, 246, 0.25);
    border-left: 4px solid #60a5fa;
}

.pivot-level.support .level-name {
    color: #60a5fa;
}

.pivot-level.pivot {
    background: rgba(16, 185, 129, 0.35);
    border-left: 4px solid #34d399;
}

.pivot-level.pivot .level-name {
    color: #34d399;
}

/* ============================================================================
   MARKET HOURS FIXES - Ensure Session Cards Display Properly
   ============================================================================ */

/* Override bg-fc-card if needed */
.bg-fc-card {
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
}

/* Session card open state glow */
.session-card.open .session-progress-bar {
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Ensure weekend banner is visible */
.weekend-banner:not(.hidden) {
    display: block !important;
}

/* ============================================================================
   LOT SIZE OPTIMIZER (page-lot-size-optimizer.php)
   ============================================================================ */

/* Main Optimizer Result */
.opt-result-main {
    text-align: center;
    padding: 24px;
    margin-bottom: 20px;
}

.opt-result-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.opt-result-value {
    font-size: 48px;
    font-weight: 800;
    color: white;
    font-family: 'Fira Code', monospace;
    line-height: 1;
}

.opt-result-unit {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Breakdown Grid */
.opt-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.opt-breakdown-item {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.opt-breakdown-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.opt-breakdown-value {
    font-size: 18px;
    font-weight: 700;
    color: white;
    font-family: 'Fira Code', monospace;
}

/* Risk Labels */
.risk-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 10px;
    color: #64748b;
}

/* Scenarios Table */
.scenarios-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
}

.scenarios-table th,
.scenarios-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.scenarios-table th {
    background: rgba(0, 0, 0, 0.3);
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scenarios-table td {
    font-size: 14px;
    color: white;
}

.scenarios-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.scenarios-table .highlight {
    background: rgba(20, 184, 166, 0.1);
}

.scenarios-table .positive {
    color: #10b981;
}

.scenarios-table .negative {
    color: #ef4444;
}

/* ============================================================================
   SIMILAR TOOLS SECTION (partials/similar-tools.php)
   ============================================================================ */

.similar-tools-section {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.similar-tool-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.similar-tool-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-2px);
}

.similar-tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.similar-tool-info {
    flex: 1;
    min-width: 0;
}

.similar-tool-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
}

.similar-tool-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.similar-tool-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    transition: all 0.2s ease;
}

.similar-tool-card:hover .similar-tool-arrow {
    color: #14b8a6;
    transform: translateX(3px);
}

/* ============================================================================
   TOOL SEO CONTENT SECTION (partials/tool-seo-content.php)
   ============================================================================ */

.tool-seo-section .tool-content-text {
    font-size: 15px;
    line-height: 1.75;
}

.tool-seo-section .tool-content-text p {
    margin-bottom: 1em;
    display: block;
}

.tool-seo-section .tool-content-text p:last-child {
    margin-bottom: 0;
}

.tool-seo-section .tool-content-text strong,
.tool-seo-section .tool-content-text b {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.tool-seo-section .tool-content-text em,
.tool-seo-section .tool-content-text i:not([class]) {
    font-style: italic;
}

.tool-seo-section .tool-content-text a {
    color: #2dd4bf;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tool-seo-section .tool-content-text a:hover {
    color: #5eead4;
}

.tool-seo-section .tool-content-text ul,
.tool-seo-section .tool-content-text ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.tool-seo-section .tool-content-text li {
    margin-bottom: 0.5em;
}

.tool-features-grid {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
}

.tool-features-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tool-features-grid li {
    font-size: 14px;
}

/* ============================================================================
   FAQ ACCORDION (partials/tool-faq.php)
   ============================================================================ */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: white;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: #14b8a6;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 20px 18px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
}

.faq-answer-content p {
    margin: 0 0 1em 0;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* ============================================================================
   TOOL CUSTOMIZE MODAL (Pair/Currency Selector)
   ============================================================================ */

/* Modal Overlay */
.fc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fc-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.fc-modal {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

.fc-modal-overlay.active .fc-modal {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.fc-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-modal-header h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.fc-modal-header .selection-count {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.fc-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Modal Body */
.fc-modal-body {
    padding: 1.5rem;
    max-height: calc(80vh - 140px);
    overflow-y: auto;
}

.fc-modal-body::-webkit-scrollbar {
    width: 6px;
}

.fc-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.fc-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

/* Category Group */
.fc-symbol-category {
    margin-bottom: 1.5rem;
}

.fc-symbol-category:last-child {
    margin-bottom: 0;
}

.fc-symbol-category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-symbol-category-header h4 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.fc-symbol-category-header .category-count {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

/* Symbol Grid */
.fc-symbol-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Symbol Chip (Checkbox style) */
.fc-symbol-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.fc-symbol-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.fc-symbol-chip.selected {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
    color: #14b8a6;
}

.fc-symbol-chip .chip-check {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transition: all 0.2s;
}

.fc-symbol-chip.selected .chip-check {
    background: #14b8a6;
    border-color: #14b8a6;
    color: white;
}

.fc-symbol-chip.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Currency Toggle (larger chips for Heat Map) */
.fc-currency-chip {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
}

/* Modal Footer */
.fc-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.fc-modal-footer .btn-reset {
    padding: 0.625rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.fc-modal-footer .btn-reset:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.fc-modal-footer .btn-group {
    display: flex;
    gap: 0.75rem;
}

.fc-modal-footer .btn-cancel {
    padding: 0.625rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.fc-modal-footer .btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.fc-modal-footer .btn-apply {
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.fc-modal-footer .btn-apply:hover {
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
    transform: translateY(-1px);
}

.fc-modal-footer .btn-apply:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Validation Message */
.fc-modal-validation {
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 0.8125rem;
    display: none;
}

.fc-modal-validation.visible {
    display: block;
}

/* Customize Button (in controls bar) */
.btn-customize {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 8px;
    color: #a855f7;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-customize:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}

.btn-customize i {
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .fc-modal {
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        transform: translateY(100%);
    }

    .fc-modal-overlay.active .fc-modal {
        transform: translateY(0);
    }

    .fc-modal-body {
        max-height: calc(90vh - 140px);
    }

    .fc-symbol-chip {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
    }

    .fc-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .fc-modal-footer .btn-reset {
        width: 100%;
        text-align: center;
    }

    .fc-modal-footer .btn-group {
        width: 100%;
    }

    .fc-modal-footer .btn-cancel,
    .fc-modal-footer .btn-apply {
        flex: 1;
    }
}

/* ============================================================================
   FAQ SECTION STYLES
   ============================================================================ */

.tcl-faq-section {
    max-width: 1024px;
    margin: 3rem auto 0;
    padding: 2rem 1rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tcl-faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tcl-faq-title::before {
    content: '\f059';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #14b8a6;
}

/* FAQ Accordion */
.tcl-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tcl-faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.tcl-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.tcl-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tcl-faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tcl-faq-q-text {
    flex: 1;
}

.tcl-faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.tcl-faq-question[aria-expanded="true"] .tcl-faq-toggle {
    transform: rotate(180deg);
}

.tcl-faq-answer {
    padding: 0 1.25rem 1.25rem;
    animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tcl-faq-answer-content {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.tcl-faq-answer-content p {
    margin: 0;
}

.tcl-faq-answer-content p+p {
    margin-top: 0.75rem;
}

/* Ask Question Button */
.tcl-faq-ask-wrapper {
    margin-top: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.tcl-faq-ask-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tcl-faq-ask-btn:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.4);
    transform: translateY(-2px);
}

.tcl-faq-ask-btn i {
    font-size: 1.1rem;
    color: #14b8a6;
}

/* Ask Question Modal */
.tcl-faq-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

/* Ensure hidden attribute works (CSS display overrides it by default) */
.tcl-faq-modal-overlay[hidden] {
    display: none !important;
}

.tcl-faq-modal {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 1.5rem;
    position: relative;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.tcl-faq-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tcl-faq-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.tcl-faq-modal h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem;
}

.tcl-faq-modal-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0 0 1.25rem;
}

.tcl-faq-modal textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

.tcl-faq-modal textarea:focus {
    outline: none;
    border-color: #14b8a6;
}

.tcl-faq-modal textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tcl-faq-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.tcl-faq-char-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.tcl-faq-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tcl-faq-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.tcl-faq-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success State */
.tcl-faq-success {
    text-align: center;
    padding: 2rem 1rem;
}

.tcl-faq-success i {
    font-size: 3rem;
    color: #14b8a6;
    margin-bottom: 1rem;
}

.tcl-faq-success p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .tcl-faq-modal {
        max-height: 90vh;
        overflow-y: auto;
    }

    .tcl-faq-modal-footer {
        flex-direction: column;
        gap: 0.75rem;
    }

    .tcl-faq-submit-btn {
        width: 100%;
        justify-content: center;
    }
}