ayush200399391001's picture
Create style.css
c1fc50a verified
/* Color Variables */
:root {
--primary: #3498db; /* Blue */
--secondary: #2c3e50; /* Dark accent */
--accent: #f1c40f; /* Yellow */
--success: #2ecc71; /* Positive actions */
--light: #ffffff; /* White backgrounds */
--dark: #000000; /* Black text/elements */
}
/* Add to existing CSS */
.priority-banner {
padding: 1.5rem;
margin: 1rem 0;
border-radius: 10px;
background: linear-gradient(45deg, #ff4444, #ff914d);
color: white;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.priority-banner strong {
font-size: 1.2em;
text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.doctor-card {
padding: 1.5rem;
margin: 1rem 0;
border-radius: 10px;
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
transition: transform 0.2s;
}
.doctor-card:hover {
transform: translateY(-3px);
}
/* Main container styling */
.stApp {
background: linear-gradient(135deg, #3498db 0%, #e0e0e0 100%);
font-family: 'Arial', sans-serif;
}
/* Headers styling */
h1, h2, h3 {
color: var(--dark) !important;
border-bottom: 3px solid var(--primary);
padding-bottom: 0.3em;
}
/* Form containers */
.stForm {
background: #000000;
border: 1px solid rgba(44, 62, 80, 0.2);
border-radius: 15px;
padding: 2rem;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
margin: 1rem 0;
}
/* Input fields */
.stTextInput input, .stNumberInput input,
.stSelectbox select, .stTextArea textarea {
border: 2px solid #00FFFF !important;
border-radius: 10px !important;
padding: 1rem !important;
background: #00FFFF !important;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
color: var(--dark) !important;
}
.stTextInput input:focus, .stNumberInput input:focus,
.stSelectbox select:focus, .stTextArea textarea:focus {
border-color: var(--primary) !important;
box-shadow: 0 0 12px rgba(52, 152, 219, 0.2) !important;
background: white !important;
color: var(--dark) !important;
}
/* Buttons styling */
.stButton>button {
background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%) !important;
color: var(--dark) !important;
border: none !important;
border-radius: 10px !important;
padding: 1rem 2rem !important;
font-size: 1rem !important;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.stButton>button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
opacity: 0.95;
}
.stButton>button:active {
transform: translateY(0);
opacity: 1;
}
/* Progress indicator */
.progress-bar {
display: flex;
justify-content: space-between;
margin: 2rem 0;
padding: 1rem;
background: #f0f2f6;
border-radius: 10px;
}
.step {
flex: 1;
text-align: center;
padding: 0.5rem;
color: #666;
font-weight: bold;
}
.step.active {
color: #000;
border-bottom: 3px solid #4CAF50;
}
/* Chat bubbles */
.dr-message {
background: linear-gradient(135deg, var(--primary) 0%, #2980b9 100%);
color: white;
border-radius: 20px 20px 20px 4px;
padding: 1.2rem 1.5rem;
margin: 1rem 0;
max-width: 80%;
width: fit-content;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}
.user-message {
background: linear-gradient(135deg, #f1c40f 0%, #e1b800 100%);
margin-left: auto;
border-radius: 20px 20px 4px 20px;
color: var(--dark) !important;
}
/* Emergency alert */
.emergency-alert {
background: linear-gradient(135deg, var(--accent) 0%, #c0392b 100%);
color: white;
padding: 2rem;
border-radius: 15px;
animation: pulse 1.5s infinite;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.02); }
100% { transform: scale(1); }
}
/* Download button */
.download-btn {
background: linear-gradient(135deg, var(--success) 0%, #27ae60 100%) !important;
}
/* Enhanced Data Visualization Contrast */
.stDataFrame {
border: 1px solid rgba(0, 0, 0, 0.1);
border-radius: 12px;
overflow: hidden;
background: #f0f0f0;
color: var(--dark) !important;
}
/* Tabbed Interface Styling */
.stTabs [role="tablist"] {
gap: 10px;
padding: 8px;
background: rgba(240, 240, 240, 0.9);
border-radius: 12px;
color: var(--dark) !important;
}
.stTabs [role="tab"] {
background: #ffffff !important;
border-radius: 8px !important;
transition: all 0.3s ease;
color: var(--dark) !important;
}
.stTabs [role="tab"][aria-selected="true"] {
background: var(--primary) !important;
color: white !important;
transform: scale(1.05);
}