Spaces:
Running
Running
/* Global Styles */ | |
* { | |
font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
transition: all 0.3s ease; | |
} | |
body { | |
background-color: #f0f7ee; | |
color: #2c3e50; | |
margin: 0; | |
padding: 0; | |
} | |
/* Main container styling */ | |
.main .block-container { | |
padding: 2rem; | |
max-width: 900px; | |
margin: 0 auto; | |
background-color: #ffffff; | |
border-radius: 12px; | |
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); | |
} | |
/* Header styling */ | |
h1 { | |
font-weight: 600 ; | |
color: #2e7d32 ; | |
margin-bottom: 2rem ; | |
letter-spacing: 0.5px; | |
} | |
/* Input field styling */ | |
.stTextInput input { | |
border: 2px solid #a8d5a2; | |
border-radius: 8px; | |
padding: 12px 15px; | |
background-color: white; | |
color: #333; | |
font-size: 16px; | |
box-shadow: none; | |
transition: all 0.3s; | |
} | |
.stTextInput input:focus { | |
border-color: #2e7d32; | |
box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2); | |
} | |
/* Button styling */ | |
button[kind="primary"] { | |
background-color: #2e7d32 ; | |
color: white ; | |
border: none ; | |
border-radius: 8px ; | |
padding: 8px 24px ; | |
font-weight: 500 ; | |
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) ; | |
margin-top: 12px ; | |
margin-bottom: 20px ; | |
} | |
button[kind="primary"]:hover { | |
background-color: #1b5e20 ; | |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) ; | |
transform: translateY(-1px); | |
} | |
button[kind="primary"]:active { | |
transform: translateY(1px); | |
} | |
/* Response section styling */ | |
.stSubheader { | |
font-weight: 600; | |
color: #2e7d32; | |
margin-top: 30px; | |
border-bottom: 2px solid #d4e9d0; | |
padding-bottom: 8px; | |
} | |
/* Response text container */ | |
.stText { | |
background-color: #f4f9f2; | |
border-left: 4px solid #a8d5a2; | |
padding: 16px; | |
border-radius: 0 8px 8px 0; | |
margin-top: 10px; | |
font-size: 16px; | |
line-height: 1.6; | |
} | |
/* Sidebar */ | |
.st-emotion-cache-1cypcdb { | |
background-color: #f4f9f2; | |
} | |
/* Scrollbar styling */ | |
::-webkit-scrollbar { | |
width: 8px; | |
height: 8px; | |
} | |
::-webkit-scrollbar-track { | |
background: #f4f9f2; | |
} | |
::-webkit-scrollbar-thumb { | |
background: #a8d5a2; | |
border-radius: 10px; | |
} | |
::-webkit-scrollbar-thumb:hover { | |
background: #2e7d32; | |
} | |
/* Animation for loading */ | |
@keyframes pulse { | |
0% { opacity: 0.6; } | |
50% { opacity: 1; } | |
100% { opacity: 0.6; } | |
} | |
.stSpinner > div { | |
animation: pulse 1.5s infinite ease-in-out; | |
background-color: #2e7d32 ; | |
} | |
/* Footer styling */ | |
footer { | |
margin-top: 40px; | |
text-align: center; | |
font-size: 12px; | |
color: #888; | |
} |