useifabdelhady's picture
Create style.css
af61076 verified
Raw History Blame Contribute Delete
1.38 kB
.main-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 2rem 1rem;
border-radius: 15px;
margin-bottom: 2rem;
text-align: center;
color: white;
box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}
.sidebar-nav {
background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
padding: 1rem;
border-radius: 10px;
margin-bottom: 1rem;
color: white;
}
.metric-card, .processing-card, .feature-card, .upload-area {
background: #2e2e33;
color: #e0e0e0;
padding: 1.5rem;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
margin-bottom: 1rem;
height: 100%;
}
.fraud-alert {
background: linear-gradient(135deg, #ff6b6b, #ee5a24);
color: white;
padding: 1rem;
border-radius: 10px;
text-align: center;
font-weight: bold;
font-size: 1.2rem;
margin-top: 1rem;
animation: pulse 2s infinite;
}
.safe-alert {
background: linear-gradient(135deg, #51cf66, #40c057);
color: white;
padding: 1rem;
border-radius: 10px;
text-align: center;
font-weight: bold;
font-size: 1.2rem;
margin-top: 1rem;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.02); }
100% { transform: scale(1); }
}
/* Fix Streamlit's dark theme overrides */
.st-emotion-cache-16txtl3 {
color: #e0e0e0;
}