|
|
|
|
|
|
|
|
:root {
|
|
|
--background-fill-primary: #FFFFFF !important;
|
|
|
--background-fill-secondary: #F7FAFC !important;
|
|
|
--text-color-primary: #1A202C !important;
|
|
|
--text-color-secondary: #4A5568 !important;
|
|
|
--color-accent: #E53E3E !important;
|
|
|
--color-accent-soft: #FED7D7 !important;
|
|
|
--block-background-fill: #FFFFFF !important;
|
|
|
--block-border-color: #E2E8F0 !important;
|
|
|
--block-title-text-color: #1A202C !important;
|
|
|
--block-label-text-color: #1A202C !important;
|
|
|
--block-info-text-color: #4A5568 !important;
|
|
|
--input-background-fill: #FFFFFF !important;
|
|
|
--input-border-color: #CBD5E0 !important;
|
|
|
--input-text-color: #1A202C !important;
|
|
|
--button-primary-background-fill: #E53E3E !important;
|
|
|
--button-primary-text-color: #FFFFFF !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gradio-container,
|
|
|
.gradio-container *,
|
|
|
.gr-app,
|
|
|
.gr-app * {
|
|
|
color-scheme: light !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.gradio-container,
|
|
|
.gradio-container *:not(.gr-button):not(.medical-header *),
|
|
|
.gr-app,
|
|
|
.gr-app *:not(.gr-button):not(.medical-header *) {
|
|
|
color: #1A202C !important;
|
|
|
background-color: transparent !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-block,
|
|
|
.gr-form,
|
|
|
.gr-box,
|
|
|
.gr-panel {
|
|
|
background-color: #FFFFFF !important;
|
|
|
color: #1A202C !important;
|
|
|
border: 1px solid #E2E8F0 !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-textbox,
|
|
|
.gr-textbox input,
|
|
|
.gr-dropdown,
|
|
|
.gr-dropdown select,
|
|
|
.gr-number,
|
|
|
.gr-number input,
|
|
|
.gr-file,
|
|
|
.gr-radio,
|
|
|
.gr-checkbox {
|
|
|
background-color: #FFFFFF !important;
|
|
|
color: #1A202C !important;
|
|
|
border: 2px solid #CBD5E0 !important;
|
|
|
border-radius: 8px !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
label,
|
|
|
.gr-input-label,
|
|
|
.gr-radio label,
|
|
|
.gr-checkbox label,
|
|
|
[data-testid="block-label"],
|
|
|
.gr-form label,
|
|
|
.gr-markdown,
|
|
|
.gr-markdown *,
|
|
|
.gr-output,
|
|
|
.gr-output * {
|
|
|
color: #1A202C !important;
|
|
|
background-color: transparent !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
button.gr-button,
|
|
|
button.gr-button-primary {
|
|
|
background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%) !important;
|
|
|
color: #FFFFFF !important;
|
|
|
border: none !important;
|
|
|
border-radius: 8px !important;
|
|
|
font-weight: 600 !important;
|
|
|
padding: 12px 24px !important;
|
|
|
min-height: 44px !important;
|
|
|
font-size: 1rem !important;
|
|
|
letter-spacing: 0.3px !important;
|
|
|
}
|
|
|
|
|
|
button.gr-button:hover,
|
|
|
button.gr-button-primary:hover {
|
|
|
background: linear-gradient(135deg, #C53030 0%, #B91C1C 100%) !important;
|
|
|
transform: translateY(-1px) !important;
|
|
|
box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3) !important;
|
|
|
}
|
|
|
|
|
|
button.gr-button:disabled {
|
|
|
background: #CBD5E0 !important;
|
|
|
color: #1A202C !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gradio-container {
|
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
|
|
|
background: #FFFFFF !important;
|
|
|
color: #1A202C !important;
|
|
|
line-height: 1.6 !important;
|
|
|
font-size: 16px !important;
|
|
|
text-rendering: optimizeLegibility !important;
|
|
|
-webkit-font-smoothing: antialiased !important;
|
|
|
-moz-osx-font-smoothing: grayscale !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
footer { display: none !important; }
|
|
|
|
|
|
|
|
|
.medical-header {
|
|
|
background: linear-gradient(135deg, #1b5fc1 0%, #174ea6 100%) !important;
|
|
|
padding: 24px !important;
|
|
|
text-align: left !important;
|
|
|
border-radius: 16px !important;
|
|
|
margin-bottom: 32px !important;
|
|
|
box-shadow: 0 8px 24px rgba(27, 95, 193, 0.2) !important;
|
|
|
display: flex !important;
|
|
|
align-items: center !important;
|
|
|
flex-wrap: wrap !important;
|
|
|
}
|
|
|
|
|
|
.medical-header h1 {
|
|
|
color: #FFFFFF !important;
|
|
|
font-size: 2.75rem !important;
|
|
|
font-weight: 700 !important;
|
|
|
margin: 0 !important;
|
|
|
line-height: 1.2 !important;
|
|
|
letter-spacing: -0.025em !important;
|
|
|
}
|
|
|
|
|
|
.medical-header p {
|
|
|
color: #FFFFFF !important;
|
|
|
font-size: 1.125rem !important;
|
|
|
margin: 8px 0 0 0 !important;
|
|
|
font-weight: 400 !important;
|
|
|
line-height: 1.5 !important;
|
|
|
opacity: 0.95 !important;
|
|
|
}
|
|
|
|
|
|
.logo-container {
|
|
|
display: flex !important;
|
|
|
align-items: center !important;
|
|
|
justify-content: flex-start !important;
|
|
|
flex-wrap: wrap !important;
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
width: 64px !important;
|
|
|
height: 64px !important;
|
|
|
margin-right: 24px !important;
|
|
|
border-radius: 16px !important;
|
|
|
background: white !important;
|
|
|
padding: 8px !important;
|
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
|
|
|
flex-shrink: 0 !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.disclaimer-box {
|
|
|
border: 2px solid #FEB2B2 !important;
|
|
|
background-color: #FFF5F5 !important;
|
|
|
padding: 24px !important;
|
|
|
border-radius: 16px !important;
|
|
|
margin: 24px 0 !important;
|
|
|
box-shadow: 0 2px 8px rgba(254, 178, 178, 0.1) !important;
|
|
|
}
|
|
|
|
|
|
.disclaimer-box h3 {
|
|
|
margin-top: 0 !important;
|
|
|
margin-bottom: 12px !important;
|
|
|
color: #C53030 !important;
|
|
|
font-size: 1.25rem !important;
|
|
|
font-weight: 700 !important;
|
|
|
line-height: 1.4 !important;
|
|
|
}
|
|
|
|
|
|
.disclaimer-box p {
|
|
|
color: #1A202C !important;
|
|
|
margin-bottom: 0 !important;
|
|
|
font-size: 1rem !important;
|
|
|
line-height: 1.6 !important;
|
|
|
font-weight: 400 !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.medical-card-title {
|
|
|
background: white !important;
|
|
|
border-radius: 16px !important;
|
|
|
padding: 24px !important;
|
|
|
box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
|
|
|
border: 1px solid #E2E8F0 !important;
|
|
|
margin: 20px 0 !important;
|
|
|
color: #1A202C !important;
|
|
|
font-size: 1.5rem !important;
|
|
|
font-weight: 600 !important;
|
|
|
line-height: 1.4 !important;
|
|
|
text-align: center !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-markdown {
|
|
|
background-color: #FFFFFF !important;
|
|
|
color: #1A202C !important;
|
|
|
padding: 16px !important;
|
|
|
border-radius: 8px !important;
|
|
|
border: 1px solid #E2E8F0 !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown h1,
|
|
|
.gr-markdown h2,
|
|
|
.gr-markdown h3,
|
|
|
.gr-markdown h4,
|
|
|
.gr-markdown h5,
|
|
|
.gr-markdown h6 {
|
|
|
color: #1A202C !important;
|
|
|
font-weight: 700 !important;
|
|
|
line-height: 1.3 !important;
|
|
|
margin-top: 1.5em !important;
|
|
|
margin-bottom: 0.5em !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown h1 { font-size: 2rem !important; }
|
|
|
.gr-markdown h2 { font-size: 1.75rem !important; }
|
|
|
.gr-markdown h3 { font-size: 1.5rem !important; }
|
|
|
.gr-markdown h4 { font-size: 1.25rem !important; }
|
|
|
|
|
|
.gr-markdown p,
|
|
|
.gr-markdown li,
|
|
|
.gr-markdown span,
|
|
|
.gr-markdown div {
|
|
|
color: #1A202C !important;
|
|
|
font-size: 1rem !important;
|
|
|
line-height: 1.7 !important;
|
|
|
margin-bottom: 1em !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown ul,
|
|
|
.gr-markdown ol {
|
|
|
padding-left: 1.5em !important;
|
|
|
margin-bottom: 1em !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown li {
|
|
|
margin-bottom: 0.5em !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown strong,
|
|
|
.gr-markdown b {
|
|
|
color: #1A202C !important;
|
|
|
font-weight: 700 !important;
|
|
|
}
|
|
|
|
|
|
.gr-markdown em,
|
|
|
.gr-markdown i {
|
|
|
color: #1A202C !important;
|
|
|
font-style: italic !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-image {
|
|
|
border: 3px dashed #CBD5E0 !important;
|
|
|
border-radius: 16px !important;
|
|
|
background-color: #F7FAFC !important;
|
|
|
transition: all 0.2s ease !important;
|
|
|
}
|
|
|
|
|
|
.gr-image:hover {
|
|
|
border-color: #E53E3E !important;
|
|
|
background-color: #FFF5F5 !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-radio input[type="radio"] {
|
|
|
margin-right: 8px !important;
|
|
|
transform: scale(1.2) !important;
|
|
|
}
|
|
|
|
|
|
.gr-radio label {
|
|
|
display: flex !important;
|
|
|
align-items: center !important;
|
|
|
padding: 8px 0 !important;
|
|
|
font-size: 1rem !important;
|
|
|
line-height: 1.5 !important;
|
|
|
cursor: pointer !important;
|
|
|
color: #1A202C !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-tab {
|
|
|
color: #1A202C !important;
|
|
|
font-weight: 500 !important;
|
|
|
font-size: 1rem !important;
|
|
|
padding: 12px 20px !important;
|
|
|
background-color: #F7FAFC !important;
|
|
|
}
|
|
|
|
|
|
.gr-tab.selected {
|
|
|
color: #E53E3E !important;
|
|
|
font-weight: 600 !important;
|
|
|
border-bottom: 2px solid #E53E3E !important;
|
|
|
background-color: #FFFFFF !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.medical-footer {
|
|
|
text-align: center !important;
|
|
|
padding: 24px !important;
|
|
|
color: #4A5568 !important;
|
|
|
font-size: 0.95rem !important;
|
|
|
line-height: 1.6 !important;
|
|
|
border-top: 1px solid #E2E8F0 !important;
|
|
|
margin-top: 40px !important;
|
|
|
background-color: #F7FAFC !important;
|
|
|
border-radius: 12px !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
.medical-header {
|
|
|
padding: 20px !important;
|
|
|
text-align: center !important;
|
|
|
}
|
|
|
|
|
|
.medical-header h1 {
|
|
|
font-size: 2.25rem !important;
|
|
|
}
|
|
|
|
|
|
.medical-header p {
|
|
|
font-size: 1rem !important;
|
|
|
}
|
|
|
|
|
|
.logo {
|
|
|
margin-right: 16px !important;
|
|
|
margin-bottom: 16px !important;
|
|
|
}
|
|
|
|
|
|
.medical-card-title {
|
|
|
font-size: 1.25rem !important;
|
|
|
padding: 20px !important;
|
|
|
}
|
|
|
|
|
|
.gr-button {
|
|
|
padding: 12px 24px !important;
|
|
|
font-size: 0.95rem !important;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
.gr-button:focus {
|
|
|
outline: 3px solid rgba(229, 62, 62, 0.5) !important;
|
|
|
outline-offset: 2px !important;
|
|
|
}
|
|
|
|
|
|
.gr-textbox:focus,
|
|
|
.gr-dropdown:focus,
|
|
|
.gr-file:focus,
|
|
|
.gr-number:focus {
|
|
|
outline: 3px solid rgba(229, 62, 62, 0.3) !important;
|
|
|
outline-offset: 2px !important;
|
|
|
border-color: #E53E3E !important;
|
|
|
}
|
|
|
|
|
|
|
|
|
.status-success {
|
|
|
color: #22C55E !important;
|
|
|
background-color: #F0FDF4 !important;
|
|
|
border: 1px solid #BBF7D0 !important;
|
|
|
padding: 12px !important;
|
|
|
border-radius: 8px !important;
|
|
|
}
|
|
|
|
|
|
.status-error {
|
|
|
color: #EF4444 !important;
|
|
|
background-color: #FEF2F2 !important;
|
|
|
border: 1px solid #FECACA !important;
|
|
|
padding: 12px !important;
|
|
|
border-radius: 8px !important;
|
|
|
}
|
|
|
|