/* General body styling */ body { background: #f0f4f8; background-image: linear-gradient(to bottom right, #d0e1f9, #e1ebf9); font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; padding: 0; } .block-container { padding: 2.5rem 5rem 3rem 5rem; } /* Main header styling */ .main-header { font-size: 2em; font-weight: bold; color: #1565C0; margin-bottom: 2px; text-align: center; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); padding-top: 1px; } /* Sub-header styling */ .sub-header { font-size: 1.75em; font-weight: bold; color: #1976D2; margin-top: 20px; margin-bottom: 10px; text-align: center; } /* Enhanced Tab styling with dark red gradients */ .stTabs { margin-top: 0.5rem; background: white; padding: 0.5rem; border-radius: 2px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05); } .stTabs [data-baseweb="tab-list"] { gap: 8px; background: linear-gradient(135deg, #f8fafc, #f1f5f9); padding: 8px; border-radius: 8px; } .stTabs [data-baseweb="tab"] { height: auto; padding: 12px 20px; color: #E2E8F0; border-radius: 8px; font-weight: 600; font-size: 15px; background: linear-gradient(135deg, #4A5568, #2D3748); border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease; letter-spacing: 0.3px; background: white; border-radius: 6px; padding: 8px 16px; font-weight: 600; color: #475569; transition: all 0.2s ease; } .stTabs [data-baseweb="tab"]:hover { color: #FFFFFF; background: linear-gradient(135deg, #822727, #991B1B); border-color: rgba(255, 255, 255, 0.2); transform: translateY(-1px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); background: #f1f5f9; color: #1e293b; } .stTabs [data-baseweb="tab"][aria-selected="true"] { color: #FFFFFF; background: linear-gradient(135deg, #3182CE, #2C5282); border-color: #DC2626; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); position: relative; background: linear-gradient(135deg, #3182ce, #2c5282); color: white; } .stTabs [data-baseweb="tab"][aria-selected="true"]::after { content: ''; position: absolute; bottom: -2px; left: 10%; width: 80%; height: 2px; background: linear-gradient(90deg, transparent, #FFFFFF, transparent); border-radius: 2px; } .stTabs [data-baseweb="tab-panel"] { padding: 20px; background: linear-gradient(135deg, #FFFFFF, #F8FAFC); border-radius: 12px; margin-top: 10px; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } /* Enhanced tab content for better readability */ .stTabs [data-baseweb="tab-panel"] p { color: #1A202C; line-height: 1.7; font-size: 15px; } .stTabs [data-baseweb="tab-panel"] ul { margin-top: 1rem; margin-bottom: 1rem; padding-left: 1.5rem; } .stTabs [data-baseweb="tab-panel"] li { color: #2D3748; margin-bottom: 0.5rem; line-height: 1.6; } /* Tab content headings */ .stTabs [data-baseweb="tab-panel"] strong { color: #1A202C; font-weight: 600; font-size: 16px; } /* Success/Warning messages in tabs */ .stTabs [data-baseweb="tab-panel"] .stSuccess, .stTabs [data-baseweb="tab-panel"] .stWarning { margin-top: 1rem; margin-bottom: 1rem; border-radius: 8px; } /* Main Application Tabs */ .tab-container { background: linear-gradient(135deg, #1A202C, #2D3748); border-radius: 16px; padding: 20px; margin: 20px 0; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); } .tab-content { background: linear-gradient(135deg, #FFFFFF, #F8FAFC); border-radius: 12px; padding: 25px; margin-top: 15px; border: 1px solid rgba(226, 232, 240, 0.8); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05); } /* Tab Content Typography */ .tab-content h1, .tab-content h2, .tab-content h3 { color: #2D3748; margin-bottom: 1rem; font-weight: 600; } .tab-content p { color: #4A5568; line-height: 1.8; margin-bottom: 1rem; } /* Custom Scrollbar for Tab Content */ .tab-content::-webkit-scrollbar { width: 8px; } .tab-content::-webkit-scrollbar-track { background: #F7FAFC; border-radius: 4px; } .tab-content::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #CBD5E0, #A0AEC0); border-radius: 4px; } .tab-content::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, #A0AEC0, #718096); } /* Enhanced Tab Indicators */ .stTabs [data-baseweb="tab"][aria-selected="true"]::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 8px; z-index: -1; animation: tabPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; } @keyframes tabPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } } /* Text Inputs */ .stTextInput > div { background: #FFFFFF; } .stTextInput > div > div > input { background: #F7FAFC; border: 2px solid #E2E8F0; border-radius: 10px; padding: 12px 16px; font-size: 15px; color: #2D3748; transition: all 0.3s ease; } .stTextInput > div > div > input:hover { border-color: #CBD5E0; background: #EDF2F7; } .stTextInput > div > div > input:focus { border-color: #C53030; box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.2); background: #FFFFFF; } /* Sidebar container styling - subtle modern gradient */ [data-testid="stSidebar"] { background: linear-gradient(135deg, #f8fafc, #f1f5f9); color: #334155; padding: 20px; border-right: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05); transition: width 0.3s ease-in-out !important; } /* Collapsed sidebar styling */ [data-testid="stSidebar"][aria-expanded="false"] { margin-left: -21rem; } /* Sidebar title styling - improved contrast */ [data-testid="stSidebar"] h1, [data-testid="stSidebar"] h2, [data-testid="stSidebar"] h3 { color: #1e293b; font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.02em; border-bottom: 2px solid #e2e8f0; padding-bottom: 0.75rem; } /* Sidebar expander styling - modern and subtle */ [data-testid="stSidebar"] .st-expander { background: linear-gradient(135deg, #ffffff, #f8fafc); border: 1px solid #e2e8f0; border-radius: 8px; margin-bottom: 1rem; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03); overflow: hidden; } [data-testid="stSidebar"] .st-expander > div:first-child { color: #334155; font-weight: 600; padding: 0.875rem 1rem; background: linear-gradient(135deg, #f8fafc, #f1f5f9); border-bottom: 1px solid #e2e8f0; } /* Radio button styling - improved visibility */ [data-testid="stSidebar"] .stRadio > div { display: flex; flex-direction: column; gap: 0.625rem; } [data-testid="stSidebar"] .stRadio > div > label { background: #ffffff; color: #334155; padding: 0.75rem 1rem; border-radius: 6px; font-weight: 500; border: 1px solid #e2e8f0; transition: all 0.2s ease; } [data-testid="stSidebar"] .stRadio > div > label:hover { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); transform: translateY(-1px); border-color: #cbd5e1; } [data-testid="stSidebar"] .stRadio > div > label[data-selected="true"] { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #ffffff; border-color: #0284c7; box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2); } /* Input and select styling - improved contrast */ [data-testid="stSidebar"] input, [data-testid="stSidebar"] select { background: #ffffff; color: #334155; border: 1px solid #e2e8f0; border-radius: 6px; padding: 0.75rem; font-size: 0.875rem; margin-bottom: 0.75rem; transition: all 0.2s ease; } [data-testid="stSidebar"] input:focus, [data-testid="stSidebar"] select:focus { border-color: #0ea5e9; box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1); outline: none; } /* Button styling - modern and subtle */ [data-testid="stSidebar"] button { background: linear-gradient(135deg, #0ea5e9, #0284c7); color: #ffffff; border: none; border-radius: 6px; padding: 0.75rem 1rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } [data-testid="stSidebar"] button:hover { background: linear-gradient(135deg, #0284c7, #0369a1); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2); } /* Settings button styling */ [data-testid="stSidebar"] .stButton > button { background: linear-gradient(135deg, #3182CE, #2C5282); color: white; border: none; padding: 0.75rem 1rem; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; width: 100%; margin-bottom: 1rem; } [data-testid="stSidebar"] .stButton > button:hover { background: linear-gradient(135deg, #2C5282, #1A365D); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Scrollbar styling - subtle and modern */ [data-testid="stSidebar"]::-webkit-scrollbar { width: 8px; } [data-testid="stSidebar"]::-webkit-scrollbar-track { background: #f8fafc; } [data-testid="stSidebar"]::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; border: 2px solid #f8fafc; } [data-testid="stSidebar"]::-webkit-scrollbar-thumb:hover { background: #94a3b8; } /* Content section styling */ .content-section { padding: 20px; margin-bottom: 30px; border-radius: 10px; box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); background-color: #ffffff; } /* Custom button styling */ div.stButton > button:first-child { background: #1565C0; color: white; border: none; padding: 12px 24px; border-radius: 8px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 10px 2px; cursor: pointer; transition: background-color 0.3s ease; box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); font-weight: bold; } div.stButton > button:hover:first-child { background-color: #1976A2; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); } /* Scrollbar styling */ ::-webkit-scrollbar-track { background: #e1ebf9; } ::-webkit-scrollbar-thumb { background-color: #90CAF9; border-radius: 10px; border: 3px solid #e1ebf9; } ::-webkit-scrollbar-thumb:hover { background: #64B5F6; } ::-webkit-scrollbar { width: 16px; } /* Radio button group styling */ div.row-widget.stRadio > div { flex-direction: row; align-items: stretch; } div.row-widget.stRadio > div[role="radiogroup"] > label[data-baseweb="radio"] { background-color: #BBDEFB; padding-right: 10px; padding-left: 4px; padding-bottom: 3px; margin: 4px; } /* Radio wrapper styling */ .radio-wrapper { border: 2px solid #1565C0; border-radius: 5px; padding: 15px; margin: 10px 0; background-color: #f9f9f9; } /* Content title styling */ .content-title { font-size: 1.5em; font-weight: bold; margin-bottom: 10px; color: #333; } /* Audio player styling */ audio::-webkit-media-controls-panel, audio::-webkit-media-controls-enclosure { background-color: #532b5a; } audio::-webkit-media-controls-time-remaining-display, audio::-webkit-media-controls-current-time-display { color: white; text-shadow: none; } audio::-webkit-media-controls-timeline { background-color: #532b5a; border-radius: 25px; margin-left: 10px; margin-right: 10px; } /* Select input styling */ .stSelectbox > div[data-baseweb="select"] > div { padding: -1px; margin: 2px 0; border: 3px solid #1565C0; background-color: #ffc10794; font-size: 16px; font-weight: bold; transition: border-color 0.3s ease, box-shadow 0.3s ease; appearance: none; background-repeat: no-repeat; background-position: right 10px center; background-size: 10px; } select:focus { border-color: #1565C0; box-shadow: 0 0 5px rgba(21, 101, 192, 0.5); } select option { padding: 10px; } /* Content Planning Tools Styling */ .content-header { background: linear-gradient(135deg, #f8fafc, #f1f5f9); padding: 1rem; border-radius: 2px; margin-bottom: 2rem; border: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .content-header h2 { color: #1e293b; font-size: 1rem; font-weight: 300; margin-bottom: 0.5rem; } .content-header .subtitle { color: #475569; font-size: 1.1rem; line-height: 1; } .tool-section { background: white; padding: 1rem; border-radius: 2px; margin-bottom: 1.5rem; border: 1px solid #e2e8f0; } .tool-section h3 { color: #1e293b; font-size: 1.4rem; font-weight: 600; margin-bottom: 0.75rem; } .tool-section p { color: #475569; font-size: 1rem; line-height: 1.5; } /* Button styling */ .stButton > button { background: linear-gradient(135deg, #3182ce, #2c5282); color: white; border: none; padding: 0.75rem 1.5rem; font-weight: 600; border-radius: 8px; transition: all 0.3s ease; } .stButton > button:hover { background: linear-gradient(135deg, #2c5282, #1a365d); transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Search option containers styling */ .search-option-container { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; padding: 1rem; margin-bottom: 1rem; text-align: center; height: 100%; transition: all 0.3s ease; } .search-option-container:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } .search-option-container h4 { color: #1e293b; margin-bottom: 0.5rem; } .search-option-container p { color: #64748b; margin: 0; } /* Button styling for search options */ .stButton > button { background: linear-gradient(135deg, #3182ce, #2c5282); color: white; border: none; padding: 0.5rem 1rem; font-weight: 600; border-radius: 6px; transition: all 0.3s ease; } .stButton > button:disabled { background: linear-gradient(135deg, #94a3b8, #64748b); cursor: not-allowed; } .stButton > button:not(:disabled):hover { background: linear-gradient(135deg, #2c5282, #1e3a8a); transform: translateY(-1px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Search options styling */ .search-option { background: linear-gradient(135deg, #f8fafc, #f1f5f9); border: 1px solid rgba(148, 163, 184, 0.2); border-radius: 8px; padding: 1rem; height: 100%; transition: all 0.3s ease; text-align: center; } .search-option:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); } .search-option h4 { color: #1e293b; margin-bottom: 0.5rem; font-weight: 600; } .search-option p { color: #64748b; font-size: 0.9em; margin-bottom: 1rem; } .search-option.active { border: 2px solid #3182ce; background: linear-gradient(135deg, #ebf8ff, #e6fffa); } /* Add these to your existing search-option styles */ .search-option.disabled { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); opacity: 0.8; cursor: not-allowed; border: 1px solid #cbd5e1; } .search-option .api-missing { display: inline-block; background: #fee2e2; color: #dc2626; padding: 2px 8px; border-radius: 4px; font-size: 0.8em; margin-top: 0.5rem; } .search-option.disabled h4, .search-option.disabled p { color: #64748b; }