/* Outlier Analysis Component Styles - Single Line Layout */
.outlier-analysis {
    background: white;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #f59e0b;
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
}

/* Outliers List - Stack items vertically */
.outliers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Outlier Item - Single line layout */
.outlier-item {
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.outlier-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

/* Confidence-based left border colors */
.outlier-item[data-confidence="high"] {
    border-left: 4px solid #dc2626;
}

.outlier-item[data-confidence="medium"] {
    border-left: 4px solid #d97706;
}

.outlier-item[data-confidence="low"] {
    border-left: 4px solid #16a34a;
}

/* Main content container - horizontal flexbox */
.outlier-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* Game Info Section */
.game-info-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
}

.team-matchup {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.matchup-text {
    white-space: nowrap;
}

.game-status {
    margin-top: 2px;
}

.status-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-badge.completed {
    background: #dcfce7;
    color: #16a34a;
}

.status-badge.live {
    background: #fee2e2;
    color: #dc2626;
    animation: pulse 2s infinite;
}

.status-badge.upcoming {
    background: #f1f5f9;
    color: #64748b;
}

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

/* Prediction Comparison Section */
.prediction-comparison-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.your-prediction,
.actual-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.prediction-label,
.line-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
}

.prediction-value,
.line-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 13px;
    white-space: nowrap;
}

.vs-separator {
    color: #94a3b8;
    font-weight: 500;
    font-size: 12px;
    padding: 0 8px;
}

/* Difference Section */
.difference-section {
    display: flex;
    align-items: center;
    min-width: 60px;
    justify-content: center;
}

.difference-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.difference-badge.high {
    background: #fee2e2;
    color: #dc2626;
}

.difference-badge.medium {
    background: #fef3c7;
    color: #d97706;
}

.difference-badge.low {
    background: #dcfce7;
    color: #16a34a;
}

/* Action Section */
.action-section {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: flex-end;
}

.bet-action-btn {
    background: #16a34a;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bet-action-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(22, 163, 74, 0.3);
    color: white;
    text-decoration: none;
}

.result-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.result-badge.win {
    background: #dcfce7;
    color: #16a34a;
}

.result-badge.loss {
    background: #fee2e2;
    color: #dc2626;
}

.live-indicator {
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.no-action {
    color: #64748b;
    font-size: 12px;
    font-style: italic;
}

/* No Outliers State */
.no-outliers-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.no-outliers-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-outliers-state h4 {
    margin: 0 0 8px 0;
    color: #334155;
    font-weight: 600;
}

.no-outliers-state p {
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.5;
}

.no-outliers-state .hint {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
}

/* Affiliate Disclaimer */
.affiliate-disclaimer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.disclaimer-text {
    text-align: center;
    margin: 0;
}

.disclaimer-text small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .outlier-analysis {
        padding: 16px;
    }
    
    .outlier-item {
        padding: 12px 16px;
    }
    
    .outlier-content {
        gap: 12px;
    }
    
    .game-info-section {
        min-width: 140px;
    }
    
    .team-matchup {
        font-size: 13px;
    }
    
    .team-logo {
        width: 18px;
        height: 18px;
    }
    
    .prediction-comparison-section {
        gap: 8px;
    }
    
    .prediction-value,
    .line-value {
        font-size: 12px;
    }
    
    .bet-action-btn {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .outlier-content {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .game-info-section,
    .prediction-comparison-section,
    .difference-section,
    .action-section {
        min-width: auto;
        justify-content: center;
    }
    
    .game-info-section {
        align-items: center;
    }
    
    .team-matchup {
        justify-content: center;
    }
    
    .prediction-comparison-section {
        padding: 8px 0;
        background: #f8fafc;
        border-radius: 6px;
        margin: 0 -4px;
    }
    
    .difference-section {
        order: -1;
        margin-bottom: 4px;
    }
    
    .action-section {
        margin-top: 4px;
    }
}

/* Show More/Less Functionality */
.show-more-container {
    margin-top: 16px;
    text-align: center;
}

.show-more-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
}

.show-more-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.show-more-btn:active {
    transform: translateY(0);
}

.expand-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.show-more-btn[data-action="hide"] .expand-icon {
    transform: rotate(180deg);
}

/* Additional outliers container */
.additional-outliers {
    margin-top: 12px;
}

.additional-outliers .outlier-item {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.additional-outliers.expanded .outlier-item {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for multiple items */
.additional-outliers.expanded .outlier-item:nth-child(1) {
    transition-delay: 0.05s;
}

.additional-outliers.expanded .outlier-item:nth-child(2) {
    transition-delay: 0.1s;
}

.additional-outliers.expanded .outlier-item:nth-child(3) {
    transition-delay: 0.15s;
}

.additional-outliers.expanded .outlier-item:nth-child(4) {
    transition-delay: 0.2s;
}

.additional-outliers.expanded .outlier-item:nth-child(5) {
    transition-delay: 0.25s;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .show-more-container {
        margin-top: 12px;
    }
    
    .show-more-btn {
        padding: 6px 12px;
        font-size: 13px;
        gap: 6px;
    }
    
    .expand-icon {
        width: 14px;
        height: 14px;
    }
} 