/* style.css */ :root { --primary-color: #4CAF50; /* سبز */ --secondary-color: #2196F3; /* آبی */ --accent-color: #FFC107; /* زرد */ --background-color: #2A70FC; /* خاکستری روشن */ --text-color: #333; --header-color: #1a1a1a; --card-background: #ffffff; --border-color: #00FFFF; } body { direction: rtl; text-align: right; font-family: 'Vazirmatn', sans-serif; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; } h1, h2, h3, h4, h5, h6 { direction: rtl; text-align: right; color: var(--header-color); margin-top: 1em; margin-bottom: 0.5em; } .stApp { direction: rtl; text-align: right; } /* Sidebar */ .st-emotion-cache-18ni7ap { /* Streamlit sidebar class */ direction: rtl; text-align: right; background-color: var(--card-background); padding: 1rem; border-left: 1px solid var(--border-color); } /* Download Button */ .stDownloadButton > button { width: 100%; direction: rtl; text-align: center; background-color: var(--primary-color); color: white; border: none; padding: 0.75rem 1rem; border-radius: 0.5rem; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease; } .stDownloadButton > button:hover { background-color: #43A047; /* Darker green */ } /* DataFrames */ .stDataFrame { direction: rtl; text-align: right; border: 1px solid var(--border-color); border-radius: 0.5rem; overflow: hidden; box-shadow: 0 2px 4px rgba(5 26 57 / 0.12); } /* Plotly Charts */ .stPlotlyChart { direction: rtl; text-align: right; background-color: var(--card-background); padding: 1rem; border-radius: 0.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); margin-bottom: 1rem; } /* Main Title */ .st-emotion-cache-10trblm.e1nzilvr1 { /* Specific class for h1 title */ text-align: right; width: 100%; color: var(--primary-color); font-size: 2.5rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--border-color); } /* File Uploader */ .stFileUploader { direction: rtl; text-align: right; background-color: var(--card-background); padding: 1rem; border-radius: 0.5rem; border: 1px dashed var(--border-color); } /* Error Messages */ .st-emotion-cache-10qg050 { /* Streamlit error message class */ direction: rtl; text-align: right; background-color: #ffebee; /* Light red */ color: #D32F2F; /* Darker red */ border-radius: 0.5rem; padding: 1rem; border: 1px solid #EF9A9A; } /* Normal Text */ .st-emotion-cache-zq5wmm { /* Streamlit text class */ direction: rtl; text-align: right; } /* Markdown */ .st-emotion-cache-1c7y2kd { /* Streamlit markdown class */ direction: rtl; text-align: right; } /* Subheader */ .st-emotion-cache-10trblm.e1nzilvr5 { /* Specific class for subheaders */ direction: rtl; text-align: right; color: var(--secondary-color); font-size: 1.75rem; margin-top: 1.5rem; margin-bottom: 0.75rem; } /* Tabs */ .st-emotion-cache-10trblm.e1nzilvr4 { /* Streamlit tabs container */ direction: rtl; text-align: right; background-color: var(--card-background); border-radius: 0.5rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); padding: 1rem; } .st-emotion-cache-10trblm.e1nzilvr4 button { /* Individual tab buttons */ color: var(--text-color); background-color: var(--background-color); border: 1px solid var(--border-color); border-radius: 0.5rem; margin: 0.25rem; padding: 0.5rem 1rem; transition: all 0.3s ease; } .st-emotion-cache-10trblm.e1nzilvr4 button:hover { background-color: var(--border-color); color: var(--header-color); } .st-emotion-cache-10trblm.e1nzilvr4 button[aria-selected="true"] { background-color: var(--secondary-color); color: white; border-color: var(--secondary-color); } /* Responsive adjustments */ @media (max-width: 768px) { h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } .st-emotion-cache-18ni7ap { /* Sidebar */ padding: 0.5rem; } .stDownloadButton > button { padding: 0.5rem 0.75rem; font-size: 0.9rem; } .stPlotlyChart, .stDataFrame, .stFileUploader { padding: 0.75rem; margin-bottom: 0.75rem; } } @media (max-width: 480px) { h1 { font-size: 1.75rem; } h2 { font-size: 1.25rem; } .st-emotion-cache-10trblm.e1nzilvr4 button { /* Tab buttons */ padding: 0.4rem 0.8rem; font-size: 0.8rem; } }