/* Fix for AI Summary Tab Panes - Ensure Content is Visible */

#summaryTabContent {
    display: block !important;
    min-height: 400px !important;
    height: auto !important;
}

#summaryTabContent .tab-pane {
    min-height: 400px !important;
    height: auto !important;
    padding: 1rem;
}

#comprehensive-summary-container,
#soap-summary-container {
    min-height: 300px !important;
    height: auto !important;
}

/* Ensure tab content is visible */
.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block !important;
}

/* Fix white text on white background issue - Apply to ALL card headers in patient chart */
#patientChartContent .card-header,
#summaryTabContent .card-header,
.tab-pane .card-header {
    color: #2d3748 !important;
    background-color: #f7fafc !important;
}

#patientChartContent .card-header h5,
#summaryTabContent .card-header h5,
.tab-pane .card-header h5,
#patientChartContent .card-header h6,
#summaryTabContent .card-header h6,
.tab-pane .card-header h6 {
    color: #2d3748 !important;
}

#patientChartContent .card-header small,
#summaryTabContent .card-header small,
.tab-pane .card-header small {
    color: #718096 !important;
}

#patientChartContent .card-header i,
#summaryTabContent .card-header i,
.tab-pane .card-header i {
    color: #4a5568 !important;
}

/* Ensure Edit and Regenerate buttons are visible */
#summaryTabContent .btn-light {
    color: #2d3748 !important;
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

#summaryTabContent .btn-light:hover {
    background-color: #edf2f7 !important;
}
