        :root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #dc3545;
            --stock-color-1: #4e73df;
            --stock-color-2: #1cc88a;
            --stock-color-3: #36b9cc;
            --stock-color-4: #f6c23e;
            --stock-color-5: #e74a3b;
        }
        .portfolio-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}.portfolio-table th, .portfolio-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}
.portfolio-table th {
    background-color: var(--light-gray);
    font-weight: 600;
    text-align: left;
}.portfolio-table tr:nth-child(even) {
    background-color: rgba(44, 125, 160, 0.05);
}
        
        /* Portfolio Specific Styles */
        .portfolio-section {
            margin-bottom: 1.5rem;
            padding: 1.5rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
        }
        
        .portfolio-section h5 {
            margin-bottom: 1.5rem;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }
        
        .input-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .asset-row {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
            padding: 0.75rem;
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 6px;
        }
        .portfolio{overflow:auto}
        .asset-color {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            margin-right: 0.75rem;
        }
        
        .asset-symbol {
            width: 100px;
            font-weight: 600;
        }
        
        .asset-input {
            flex-grow: 1;
            margin-right: 0.75rem;
        }
        
        .delete-btn {
            background-color: rgba(220, 53, 69, 0.1);
            border: none;
            border-radius: 4px;
            color: var(--danger-color);
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .delete-btn:hover {
            background-color: rgba(220, 53, 69, 0.2);
        }
        
        .add-asset-btn {
            margin-top: 0.5rem;
        }
        
        .chart-container {
            height: 400px;
            margin-top: 2rem;
        }
        
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
        
        .result-card {
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 1.25rem;
            text-align: center;
        }
        
        .result-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-muted);
            font-size: 0.95rem;
        }
        
        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        .result-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-top: 0.5rem;
        }
        
        .insight-card {
            background-color: rgba(255, 193, 7, 0.1);
            border-left: 4px solid var(--warning-color);
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin-top: 2rem;
        }
        
        .insight-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--warning-color);
        }
        
        .tip-card {
            background-color: rgba(40, 167, 69, 0.1);
            border-left: 4px solid var(--success-color);
            padding: 1.5rem;
            border-radius: 0 8px 8px 0;
            margin-top: 2rem;
        }
        
        .tip-title {
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--success-color);
        }
        
        .allocation-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
        }
        
        .allocation-table th, 
        .allocation-table td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid var(--border-color);
        }
        
        .allocation-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .allocation-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .allocation-table .amount {
            text-align: right;
            font-weight: 600;
        }
        
        .allocation-table .return-positive {
            color: var(--success-color);
        }
        
        .allocation-table .return-negative {
            color: var(--danger-color);
        }
        
        .color-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 0.5rem;
        }
        
        .performance-chart {
            height: 350px;
            margin-top: 2rem;
        }
        
        .benchmark-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1.5rem;
        }
        
        .benchmark-table th, 
        .benchmark-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        
        .benchmark-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        
        .benchmark-table .positive {
            background-color: rgba(40, 167, 69, 0.1);
            color: var(--success-color);
        }
        
        .benchmark-table .negative {
            background-color: rgba(220, 53, 69, 0.1);
            color: var(--danger-color);
        }
        
        .generating-indicator {
            display: none;
            padding: 1rem;
            background-color: rgba(44, 125, 160, 0.1);
            border-radius: 6px;
            margin: 1.5rem 0;
            text-align: center;
            color: var(--primary-color);
            font-weight: 600;
        }
        
        .result-container {
            display: none;
            margin-top: 2rem;
            padding: 1.5rem;
            background-color: white;
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }
        
        @media (max-width: 768px) {
            .input-row {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
            
            .asset-row {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .asset-symbol {
                width: 100%;
                margin-bottom: 0.5rem;
            }
            
            .asset-input {
                width: 100%;
                margin-right: 0;
                margin-bottom: 0.5rem;
            }
        }
        
        /* Portfolio Management FAQ Styles */
        .faq-section {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
        }
        
        .faq-header {
            margin-bottom: 2rem;
            text-align: center;
        }
        
        .faq-header h3 {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        
        .faq-header p {
            color: var(--text-muted);
            max-width: 700px;
            margin: 0 auto;
        }
        
        .faq-container {
            background-color: white;
            border-radius: 8px; 
            overflow: hidden;
        }
        
        .faq-item {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s;
        }
        
        .faq-item:last-child {
            border-bottom: none;
        }
        
        .faq-item:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        
        .faq-question {
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .faq-question i {
            transition: transform 0.3s;
        }
        
        .faq-question.collapsed i {
            transform: rotate(0deg);
        }
        
        .faq-question:not(.collapsed) i {
            transform: rotate(180deg);
        }
        
        .faq-answer {
            padding-top: 1rem;
            color: var(--text-muted);
            line-height: 1.7;
        }
        
        .faq-answer ul, .faq-answer ol {
            margin-top: 0.5rem;
            margin-bottom: 1rem;
            padding-left: 1.5rem;
        }
        
        .faq-answer li {
            margin-bottom: 0.5rem;
        }
        
        .faq-answer strong {
            color: var(--text-color);
        }
        
        .faq-formula {
            background-color: rgba(44, 125, 160, 0.05);
            border-left: 3px solid var(--primary-color);
            padding: 1rem;
            margin: 1rem 0;
            font-family: monospace;
            font-size: 1.1rem;
            border-radius: 0 4px 4px 0;
        }
        
        .faq-icon {
            background-color: rgba(44, 125, 160, 0.1);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            flex-shrink: 0;
        }
        
        .faq-icon i {
            color: var(--primary-color);
        }
        
        .faq-content {
            flex-grow: 1;
        }
        
        .faq-search {
            margin-bottom: 2rem;
            position: relative;
        }
        
        .faq-search input {
            padding-left: 3rem;
            border-radius: 50px;
        }
        
        .faq-search i {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
        }
        
        .faq-category {
            margin-bottom: 2rem;
        }
        
        .faq-category h4 {
            font-weight: 600;
            color: var(--primary-color);
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 1.5rem;
        }
        
        @media (max-width: 768px) {
            .faq-question {
                font-size: 1rem;
            }
            .portfolio-section{padding:0rem;border:0px}
            .faq-item {
                padding: 1rem;
            }
        }
        
 
        .chart-wrapper {
            position: relative;
            height: 350px;
            width: 100%;
        }
        
        .performance-chart-container {
            height: 100%;
            width: 100%;
        }
 
        .chart-container-fixed {
            height: 350px;
            position: relative;
        }
    