/* Custom styling for ontology-RAG application */ /* Main container styles */ .main-container { padding: 20px; max-width: 1200px; margin: 0 auto; } /* Enhance visualization elements */ .vis-network { border: 1px solid #ddd; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } /* Custom tooltip styling */ .vis-tooltip { position: absolute; background-color: rgba(255, 255, 255, 0.95); border: 1px solid #ccc; border-radius: 5px; padding: 12px; font-family: Arial, sans-serif; font-size: 13px; color: #333; max-width: 350px; z-index: 9999; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); } /* Enhance legend appearance */ .graph-legend { background-color: rgba(255, 255, 255, 0.9) !important; border: 1px solid #eee !important; border-radius: 8px !important; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important; } /* Styling for entity detail cards */ .entity-detail-card { border: 1px solid #eee; border-radius: 5px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } /* Highlight for central entities */ .central-entity { border-left: 4px solid #ff7f0e; padding-left: 12px; } /* Enhanced path visualization */ .path-step { padding: 8px; margin: 8px 0; border-left: 3px solid #1f77b4; background-color: #f8f9fa; } /* Customization for Streamlit components */ .stButton button { border-radius: 20px; padding: 5px 15px; } .stSelectbox label { font-weight: 500; } /* Tabs customization */ .streamlit-tabs .stTabs [role="tab"] { font-size: 15px; padding: 8px 16px; } /* Expander customization */ .streamlit-expanderContent { border-left: 1px solid #ddd; padding-left: 10px; }