/**
 * Ultra Premium Visual Cards - DF.cl Inspired Design
 * Cream/Beige color scheme with maximum legibility
 * 10/10 Premium Quality - Wide format for chat integration
 */

/* Interactive Option Cards - Premium Bloomberg Terminal Style */
.sffc-interactive-options {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sffc-options-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.sffc-options-title {
    font-size: 16px;
    font-weight: 600;
    color: #4CAF50;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.sffc-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.sffc-option-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(76, 175, 80, 0.1);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.sffc-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

.sffc-option-card:hover {
    background: rgba(76, 175, 80, 0.05);
    border-color: rgba(76, 175, 80, 0.3);
    transform: translateX(4px);
}

.sffc-option-card:hover::before {
    left: 100%;
}

.sffc-option-card:active {
    transform: translateX(2px);
}

.sffc-option-icon {
    color: #4CAF50;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
    font-family: monospace;
}

.sffc-option-content {
    flex: 1;
}

.sffc-option-label {
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .sffc-options-grid {
        grid-template-columns: 1fr;
    }
    
    .sffc-option-card {
        padding: 12px 14px;
    }
}

:root {
    /* DF.cl Inspired Color Palette */
    --sffc-cream-bg: #FBF9F6;
    --sffc-card-bg: #FFFFFF;
    --sffc-warm-gray: #6B6B6B;
    --sffc-dark-text: #1A1A1A;
    --sffc-accent-gold: #D4A574;
    --sffc-border-light: #E8E4DE;
    --sffc-border-medium: #D1CCC5;
    --sffc-success-green: #4A7C59;
    --sffc-warning-orange: #E07A2E;
    --sffc-subtle-blue: #5B7C99;
    --sffc-hover-cream: #F5F1EB;
}

/* ========================================
   PROFESSIONAL SVG ICONS
   ======================================== */

.sffc-visual-card-container svg {
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

.icon-clock,
.icon-chart,
.icon-download {
    width: 14px;
    height: 14px;
}

.icon-check,
.icon-alert {
    width: 16px;
    height: 16px;
}

/* ========================================
   BASE VISUAL CARD CONTAINER
   ======================================== */

.sffc-visual-card-container {
    width: 100%;
    max-width: none;
    margin: 24px 0;
    background: var(--sffc-cream-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ========================================
   SECTOR PERFORMANCE EXPLAINER - WSJ/Barron's Style
   ======================================== */

.sffc-message-content .sffc-sector-explainer-card,
.sffc-welcome-content .sffc-sector-explainer-card,
.sffc-sector-explainer-card {
    background: #FFFFFF !important;
    border: 1px solid #E5E5E5 !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    margin: 16px 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
}

.sffc-message-content .sffc-sector-explainer-header,
.sffc-welcome-content .sffc-sector-explainer-header,
.sffc-sector-explainer-header {
    background: #F8F9FA !important;
    padding: 20px 24px 16px 24px !important;
    border-bottom: 1px solid #E5E5E5 !important;
    position: relative !important;
}

.sffc-sector-explainer-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
}

.sffc-message-content .sffc-sector-explainer-title,
.sffc-welcome-content .sffc-sector-explainer-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: -0.2px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    line-height: 1.2 !important;
}

.sffc-message-content .sffc-sector-explainer-subtitle,
.sffc-welcome-content .sffc-sector-explainer-subtitle {
    font-size: 11px !important;
    color: #666666 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

/* ======= WSJ/BARRON'S PREMIUM SECTOR PERFORMANCE STYLING ======= */

/* Sectors Performance Grid - Compact Vogue Style */
.sffc-message-content .sffc-sectors-performance-grid,
.sffc-welcome-content .sffc-sectors-performance-grid,
.sffc-sectors-performance-grid {
    background: #ffffff !important;
    padding: 16px 20px !important;
}

/* Individual Sector Items - Compact Premium Layout */
.sffc-message-content .sffc-sector-performance-item,
.sffc-welcome-content .sffc-sector-performance-item,
.sffc-sector-performance-item {
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #F0F0F0 !important;
    background: #ffffff !important;
}

.sffc-message-content .sffc-sector-performance-item:last-child,
.sffc-welcome-content .sffc-sector-performance-item:last-child {
    border-bottom: none !important;
}

/* Sector Header - Vogue Style */
.sffc-message-content .sffc-sector-performance-header,
.sffc-welcome-content .sffc-sector-performance-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 6px !important;
    background: #ffffff !important;
}

/* Sector Name - Modern Typography */
.sffc-message-content .sffc-sector-performance-name,
.sffc-welcome-content .sffc-sector-performance-name {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
}

.sffc-message-content .sffc-sector-icon,
.sffc-welcome-content .sffc-sector-icon {
    font-size: 12px !important;
    color: #999999 !important;
    width: 12px !important;
    text-align: center !important;
}

.sffc-message-content .sffc-sector-name-text,
.sffc-welcome-content .sffc-sector-name-text {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000000 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: #ffffff !important;
    line-height: 1.3 !important;
}

/* Sector Returns - Compact Financial Data */
.sffc-message-content .sffc-sector-return,
.sffc-welcome-content .sffc-sector-return {
    font-size: 13px !important;
    font-weight: 600 !important;
    font-family: "SF Mono", Monaco, "Cascadia Code", monospace !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
    min-width: 48px !important;
    text-align: right !important;
    background: #F8F9FA !important;
}

.sffc-message-content .sffc-sector-return.positive,
.sffc-welcome-content .sffc-sector-return.positive {
    color: #1B5E20 !important;
    background: #E8F5E9 !important;
}

.sffc-message-content .sffc-sector-return.negative,
.sffc-welcome-content .sffc-sector-return.negative {
    color: #C62828 !important;
    background: #FFEBEE !important;
}

/* Sector Driver - Subtle Commentary */
.sffc-message-content .sffc-sector-driver,
.sffc-welcome-content .sffc-sector-driver {
    font-size: 12px !important;
    color: #757575 !important;
    font-style: normal !important;
    line-height: 1.3 !important;
    padding-left: 20px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: #ffffff !important;
    margin-top: 2px !important;
}

/* Lagging Sectors */
.sffc-message-content .sffc-lagging-sectors,
.sffc-welcome-content .sffc-lagging-sectors {
    background: #ffffff !important;
    border-top: 2px solid #e8e4de !important;
    padding-top: 16px !important;
}

/* Footer Section - Minimal Style */
.sffc-message-content .sffc-sector-explainer-footer,
.sffc-welcome-content .sffc-sector-explainer-footer {
    background: #FAFAFA !important;
    padding: 14px 20px 16px 20px !important;
    border-top: 1px solid #F0F0F0 !important;
}

/* Market Drivers Section */
.sffc-message-content .sffc-market-drivers,
.sffc-welcome-content .sffc-market-drivers {
    background: #FAFAFA !important;
    margin-bottom: 12px !important;
}

.sffc-message-content .sffc-drivers-title,
.sffc-welcome-content .sffc-drivers-title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #333333 !important;
    margin-bottom: 6px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: #FAFAFA !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.sffc-message-content .sffc-drivers-list,
.sffc-welcome-content .sffc-drivers-list {
    font-size: 11px !important;
    color: #666666 !important;
    line-height: 1.4 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background: #FAFAFA !important;
}

/* Analysis Date and Premium Badge - Vogue Style */
.sffc-message-content .sffc-analysis-date,
.sffc-welcome-content .sffc-analysis-date {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 10px !important;
    color: #999999 !important;
    background: #FAFAFA !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-weight: 400 !important;
}

.sffc-message-content .sffc-wsj-badge,
.sffc-welcome-content .sffc-wsj-badge {
    background: #000000 !important;
    color: #ffffff !important;
    padding: 3px 8px !important;
    border-radius: 1px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* === END SECTOR EXPLAINER STYLING === */

.sffc-sector-performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.sffc-sector-performance-name {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sffc-sector-icon {
    font-size: 18px;
    color: #d4a574;
    font-weight: bold;
    width: 20px;
    text-align: center;
}

.sffc-sector-name-text {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.sffc-sector-return {
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-family: "SF Mono", Monaco, Menlo, monospace;
}

.sffc-sector-return.positive {
    color: #2d5a3d;
}

.sffc-sector-return.negative {
    color: #8b2635;
}

.sffc-sector-driver {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 8px 0 0 32px;
    font-style: italic;
}

.sffc-sector-explainer-footer {
    padding: 20px 28px;
    background: #faf9f7;
    border-top: 1px solid #e8e4de;
}

.sffc-market-drivers {
    margin-bottom: 16px;
}

.sffc-drivers-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #666;
    margin-bottom: 8px;
}

.sffc-drivers-list {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.sffc-analysis-date {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
    padding-top: 12px;
    border-top: 1px solid #e8e4de;
}

.sffc-wsj-badge {
    background: #1a1a1a;
    color: #d4a574;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Lagging sectors styling */
.sffc-lagging-sectors {
    background: #fff9f7;
    border-top: 1px solid #f0e8e0;
}

.sffc-lagging-sectors .sffc-sector-performance-item {
    background: #fff9f7;
}

.sffc-lagging-sectors .sffc-sector-performance-item:hover {
    background: #fdf6f3;
}

/* ========================================
   MARKET INTELLIGENCE CARD - DF.cl Style
   ======================================== */

.sffc-market-card {
    background: var(--sffc-card-bg);
    border: 1px solid var(--sffc-border-light);
    border-radius: 12px;
    overflow: hidden;
}

.sffc-market-card-header {
    background: linear-gradient(135deg, var(--sffc-cream-bg) 0%, #F5F1EB 100%);
    padding: 20px 24px;
    border-bottom: 2px solid var(--sffc-accent-gold);
}

.sffc-market-card-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.sffc-market-card-subtitle {
    font-size: 13px;
    color: var(--sffc-warm-gray);
    font-weight: 400;
}

.sffc-market-sectors-grid {
    padding: 0;
}

.sffc-market-sector-item {
    padding: 20px 24px;
    border-bottom: 1px solid var(--sffc-border-light);
    background: var(--sffc-card-bg);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sffc-market-sector-item:hover {
    background: var(--sffc-hover-cream);
    padding-left: 28px;
}

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

.sffc-sector-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sffc-sector-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-dark-text);
}

.sffc-sector-performance {
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.sffc-sector-performance.positive {
    color: var(--sffc-success-green);
}

.sffc-sector-performance.negative {
    color: var(--sffc-warning-orange);
}

.sffc-sector-metrics {
    display: flex;
    gap: 32px;
    padding: 12px 0;
    border-top: 1px solid var(--sffc-border-light);
    border-bottom: 1px solid var(--sffc-border-light);
}

.sffc-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sffc-metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sffc-warm-gray);
    font-weight: 500;
}

.sffc-metric-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--sffc-dark-text);
}

.sffc-sector-insight {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--sffc-warm-gray);
}

.sffc-market-card-footer {
    padding: 16px 24px;
    background: var(--sffc-hover-cream);
    border-top: 1px solid var(--sffc-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sffc-update-time {
    font-size: 12px;
    color: var(--sffc-warm-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sffc-live-indicator {
    width: 6px;
    height: 6px;
    background: var(--sffc-success-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

/* ========================================
   OPPORTUNITIES CARD - Premium Job Listings
   ======================================== */

.sffc-opportunities-card {
    background: var(--sffc-card-bg);
    border: 1px solid var(--sffc-border-light);
    border-radius: 12px;
    overflow: hidden;
}

.sffc-opportunities-header {
    background: var(--sffc-cream-bg);
    padding: 20px 24px;
    border-bottom: 1px solid var(--sffc-border-medium);
}

.sffc-opportunities-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin: 0;
}

.sffc-opportunities-list {
    padding: 0;
}

.sffc-opportunity-item {
    padding: 24px;
    border-bottom: 1px solid var(--sffc-border-light);
    background: var(--sffc-card-bg);
    transition: all 0.2s ease;
    display: flex;
    gap: 20px;
}

.sffc-opportunity-item:hover {
    background: var(--sffc-hover-cream);
}

.sffc-opportunity-match {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--sffc-accent-gold), #C4915D);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.sffc-match-percentage {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.sffc-match-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.sffc-opportunity-details {
    flex: 1;
}

.sffc-company-name {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sffc-warm-gray);
    margin-bottom: 4px;
}

.sffc-role-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin-bottom: 8px;
}

.sffc-role-location {
    font-size: 14px;
    color: var(--sffc-warm-gray);
    margin-bottom: 12px;
}

.sffc-role-compensation {
    font-size: 16px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin-bottom: 12px;
}

.sffc-role-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sffc-tag {
    padding: 6px 12px;
    background: var(--sffc-cream-bg);
    border: 1px solid var(--sffc-border-light);
    border-radius: 6px;
    font-size: 12px;
    color: var(--sffc-warm-gray);
    font-weight: 500;
}

/* ========================================
   FINANCIAL MODELS CARD - Educational Style
   ======================================== */

.sffc-models-card {
    background: var(--sffc-card-bg);
    border: 1px solid var(--sffc-border-light);
    border-radius: 12px;
    overflow: hidden;
}

.sffc-models-header {
    background: linear-gradient(135deg, var(--sffc-cream-bg), #F5F1EB);
    padding: 24px;
    border-bottom: 1px solid var(--sffc-accent-gold);
}

.sffc-models-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin: 0 0 4px 0;
}

.sffc-models-subtitle {
    font-size: 13px;
    color: var(--sffc-warm-gray);
}

.sffc-models-list {
    padding: 0;
}

.sffc-model-item {
    padding: 24px;
    border-bottom: 1px solid var(--sffc-border-light);
    background: var(--sffc-card-bg);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sffc-model-item:hover {
    background: var(--sffc-hover-cream);
    transform: translateX(4px);
}

.sffc-model-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.sffc-model-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--sffc-dark-text);
}

.sffc-model-complexity {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sffc-model-complexity.beginner {
    background: #E8F5E9;
    color: var(--sffc-success-green);
}

.sffc-model-complexity.intermediate {
    background: #FFF3E0;
    color: var(--sffc-warning-orange);
}

.sffc-model-complexity.advanced {
    background: #FFEBEE;
    color: #C62828;
}

.sffc-model-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sffc-warm-gray);
    margin-bottom: 12px;
}

.sffc-model-stats {
    display: flex;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--sffc-border-light);
}

.sffc-model-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--sffc-warm-gray);
}

/* ========================================
   STRATEGIC ANALYSIS CARD - Pros/Cons Matrix
   ======================================== */

.sffc-analysis-card {
    background: var(--sffc-card-bg);
    border: 1px solid var(--sffc-border-light);
    border-radius: 12px;
    overflow: hidden;
}

.sffc-analysis-header {
    background: var(--sffc-cream-bg);
    padding: 24px;
    border-bottom: 2px solid var(--sffc-accent-gold);
    text-align: center;
}

.sffc-analysis-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sffc-dark-text);
    margin: 0 0 4px 0;
}

.sffc-analysis-subtitle {
    font-size: 13px;
    color: var(--sffc-warm-gray);
}

.sffc-analysis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
}

.sffc-analysis-column {
    padding: 24px;
}

.sffc-analysis-column:first-child {
    border-right: 1px solid var(--sffc-border-light);
}

.sffc-column-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sffc-pros-title {
    color: var(--sffc-success-green);
}

.sffc-cons-title {
    color: var(--sffc-warning-orange);
}

.sffc-analysis-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sffc-analysis-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--sffc-border-light);
    font-size: 14px;
    line-height: 1.6;
    color: var(--sffc-dark-text);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

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

.sffc-item-marker {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.sffc-pros-column .sffc-item-marker {
    background: #E8F5E9;
    color: var(--sffc-success-green);
}

.sffc-cons-column .sffc-item-marker {
    background: #FFF3E0;
    color: var(--sffc-warning-orange);
}

.sffc-analysis-recommendation {
    padding: 24px;
    background: var(--sffc-hover-cream);
    border-top: 1px solid var(--sffc-border-light);
}

.sffc-recommendation-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--sffc-warm-gray);
    margin-bottom: 8px;
}

.sffc-recommendation-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--sffc-dark-text);
    font-style: italic;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .sffc-analysis-content {
        grid-template-columns: 1fr;
    }
    
    .sffc-analysis-column:first-child {
        border-right: none;
        border-bottom: 1px solid var(--sffc-border-light);
    }
    
    .sffc-sector-metrics {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .sffc-opportunity-item {
        flex-direction: column;
    }
    
    .sffc-opportunity-match {
        width: 100%;
        height: 48px;
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
}

/* ========================================
   CHAT INTEGRATION STYLES
   ======================================== */

.sffc-message-visual {
    width: 100%;
    max-width: none;
    margin: 16px 0;
}

.sffc-message-content .sffc-visual-card-container,
.sffc-welcome-content .sffc-visual-card-container {
    margin-left: 0;
    margin-right: 0;
}

/* Ensure cards span full width of chat */
.sffc-premium-chat .sffc-visual-card-container {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .sffc-visual-card-container {
        background: #2A2926;
    }
    
    .sffc-market-card,
    .sffc-opportunities-card,
    .sffc-models-card,
    .sffc-analysis-card {
        background: #1F1E1C;
        border-color: #3A3835;
    }
    
    .sffc-card-bg {
        background: #1F1E1C;
    }
    
    .sffc-dark-text {
        color: #E8E4DE;
    }
    
    .sffc-warm-gray {
        color: #9B9691;
    }
}