danhtran2mind's picture
Upload 258 files
20cf96a verified
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: linear-gradient(145deg, #e2e8f0 0%, #b8c6db 100%);
margin: 0;
padding: 0;
min-height: 100vh;
color: #1a202c;
}
.gradio-container {
max-width: 1280px;
margin: 0 auto;
padding: 2.5rem 1.5rem;
box-sizing: border-box;
}
h1 {
color: #1a202c;
font-size: 2.75rem;
font-weight: 800;
text-align: center;
margin-bottom: 2.5rem;
letter-spacing: -0.025em;
background: linear-gradient(to right, #2b6cb0, #4a90e2);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.section-title {
color: #1a202c;
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 1rem;
border-bottom: 2px solid #4a90e2;
padding-bottom: 0.5rem;
letter-spacing: -0.015em;
}
.section-group {
background: rgba(255, 255, 255, 0.95);
border-radius: 0.5rem;
padding: 1.5rem;
border: 1px solid rgba(226, 232, 240, 0.5);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.results-container {
display: flex;
flex-direction: column;
gap: 1.75rem;
padding: 2rem;
background: rgba(255, 255, 255, 0.95);
border-radius: 1.25rem;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(226, 232, 240, 0.5);
backdrop-filter: blur(8px);
}
.result-card {
background: linear-gradient(145deg, #f7fafc, #edf2f7);
border-radius: 1rem;
padding: 2.25rem;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
position: relative;
overflow: hidden;
}
.result-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
background: linear-gradient(145deg, #ffffff, #e6eefa);
}
.result-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(to right, #4a90e2, #63b3ed);
transition: height 0.3s ease;
}
.result-card:hover::before {
height: 8px;
}
.result-title {
color: #1a202c;
font-size: 1.875rem;
font-weight: 700;
margin-bottom: 1.5rem;
border-bottom: 3px solid #4a90e2;
padding-bottom: 0.75rem;
letter-spacing: -0.015em;
}
.result-item {
display: flex;
justify-content: space-between;
align-items: center;
margin: 1rem 0;
font-size: 1.125rem;
color: #2d3748;
line-height: 1.6;
}
.label {
font-weight: 600;
color: #2b6cb0;
text-align: left;
text-transform: uppercase;
font-size: 0.95rem;
letter-spacing: 0.05em;
flex: 0 0 auto;
}
.value {
color: #1a202c;
font-weight: 500;
text-align: right;
flex: 0 0 auto;
}
.value.confirmed-true {
color: #2f855a;
font-weight: 600;
background: #c6f6d5;
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
}
.value.confirmed-false {
color: #c53030;
font-weight: 600;
background: #fed7d7;
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
}
.error-message {
background: #fef2f2;
color: #9b2c2c;
padding: 1.75rem;
border-radius: 0.875rem;
margin: 1.25rem 0;
font-size: 1.125rem;
font-weight: 500;
border: 1px solid #e53e3e;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.centered-button {
display: block;
margin: 1rem auto;
background: #4a90e2;
color: white;
padding: 0.75rem 1.5rem;
border-radius: 0.5rem;
border: none;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
position: relative;
padding-left: 2.5rem;
width: 30%;
}
.centered-button:hover {
background: #2b6cb0;
}
.centered-button::after {
content: '🤔';
position: absolute;
left: 0.75rem;
top: 50%;
transform: translateY(-50%);
font-size: 1.2rem;
}
@media (max-width: 768px) {
.gradio-container {
padding: 1.5rem;
}
h1 {
font-size: 2rem;
}
.results-container {
padding: 1.5rem;
}
.result-card {
padding: 1.5rem;
}
.result-title {
font-size: 1.5rem;
}
.result-item {
font-size: 1rem;
flex-direction: column;
align-items: flex-start;
gap: 0.5rem;
}
.label, .value {
text-align: left;
}
.section-title {
font-size: 1.25rem;
}
.section-group {
padding: 1rem;
}
.centered-button {
padding: 0.5rem 1rem;
font-size: 0.9rem;
}
}
/*Components for Gradio App*/
.quote-container {
border-left: 5px solid #007bff;
padding-left: 15px;
margin-bottom: 15px;
font-style: italic;
}
.attribution p {
margin: 10px 0;
}
.badge {
display: inline-block;
border-radius: 4px;
text-decoration: none;
font-size: 14px;
transition: background-color 0.3s;
}
.badge:hover {
background-color: #0056b3;
}
.badge img {
vertical-align: middle;
margin-right: 5px;
}
.source {
font-size: 14px;
}
/* Gradio Examples */
.example-table {
width: 100%;
max-width: 800px;
}
.example-table img {
max-width: 100px;
height: auto;
}
.example-table .cell {
vertical-align: middle;
text-align: center;
}