/* Chart Styles */
.chart-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    height: 400px;
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.chart-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.chart-description {
    text-align: center;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: #666;
}

/* SWOT Analysis Visual */
.swot-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
    margin: 2rem 0;
}

.swot-box {
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.swot-box h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.swot-box ul {
    margin-bottom: 0;
}

.strengths {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 5px solid var(--success-color);
}

.weaknesses {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 5px solid var(--danger-color);
}

.opportunities {
    background-color: rgba(255, 153, 0, 0.1);
    border-left: 5px solid var(--accent-color);
}

.threats {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 5px solid var(--warning-color);
}

/* Bank Comparison Cards */
.bank-comparison {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 0;
}

.bank-comparison-card {
    flex: 1 1 200px;
    margin: 0.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.bank-comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.bank-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.bank-name {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.bank-metric {
    margin: 0.5rem 0;
}

.bank-metric-label {
    font-size: 0.8rem;
    color: #666;
}

.bank-metric-value {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Responsive adjustments for visualizations */
@media (max-width: 768px) {
    .swot-container {
        grid-template-columns: 1fr;
    }
    
    .chart-container {
        height: 300px;
    }
    
    .bank-comparison-card {
        flex: 1 1 100%;
    }
}
