lirony's picture
Update
ff5e06a
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wdth,wght,[email protected],87.2,1..1000,69&display=swap');
body {
font-family: "Google Sans Flex", sans-serif;;
margin: 0;
background-color: #fff;
background-image: url(background.jpg);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* Dim overlay for better text readability */
body:not(.intro-active)::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(255, 255, 255, 0.8);
z-index: -1;
}
body.intro-active::before {
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to right, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,1) 100%);
z-index: -1;
}
.container {
max-width: 800px;
margin: 0 auto;
}
.form-group {
margin-bottom: 20px;
}
#question-select {
width: 100%;
padding: 10px;
}
#run-agent-btn {
padding: 10px 20px;
cursor: pointer;
}
.result-container {
margin-top: 20px;
border: 1px solid #ccc;
padding: 20px;
}
#output {
white-space: pre-wrap;
}
/* Introduction page styles */
.intro-page {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
position: relative;
z-index: 1;
}
.intro-header {
display: flex;
justify-content: flex-end;
padding: 20px 0;
}
.logo {
height: 25px;
}
.intro-content {
display: flex;
gap: 80px;
align-items: center;
min-height: 70vh;
padding: 0 5%;
}
.diagram-section {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.diagram-section img {
max-width: 100%;
height: auto;
}
.text-section {
flex: 1;
}
.text-section h1 {
margin-top: 0;
font-weight: normal;
font-size: 2.5em;
color: #202124;
}
.text-section ul {
list-style: disc;
padding-left: 20px;
line-height: 1.8;
color: #3c4043;
}
.disclaimer {
margin: 30px 0;
font-size: 0.85em;
line-height: 1.6;
color: #5f6368;
}
.disclaimer-badge {
background-color: #5f6368;
color: white;
padding: 2px 12px 2px 12px;
border-radius: 16px;
font-size: 1em;
font-weight: 500;
white-space: nowrap;
margin-right: 6px;
display: inline-block;
transform: translateY(-1px);
}
.disclaimer p {
margin: 0;
}
.view-demo-button {
background-color: #202124;
color: white;
padding: 12px 28px;
border: none;
border-radius: 25px;
cursor: pointer;
font-size: 1em;
}
.view-demo-button:hover {
opacity: 0.9;
}
.agent-page-container {
max-width: 1200px;
min-height: 100vh;
margin: 0 auto;
display: flex;
flex-direction: column;
}
/* Agent page styles */
.demo-frame {
border-radius: 28px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
overflow: hidden;
border: 7px #292929 solid;
backdrop-filter: blur(20px);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.10) 100%);
border-bottom: none;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
flex: 1;
}
@media (max-width: 800px) {
.agent-container {
flex-direction: column;
align-items: center;
}
}
.demo-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
.back-button, .details-button {
background: none;
border: none;
cursor: pointer;
font-size: 0.9em;
}
.back-button {
color: #5f6368;
}
.details-button {
background-color: #0B57D0;
border-radius: 16px;
padding: 8px 16px;
display: flex;
align-items: center;
gap: 6px;
color: white;
font-size: 14px;
font-weight: 500;
line-height: 20px;
}
.details-button .material-symbols-outlined {
font-size: 14px;
background-color: #fff;
color: #0B57D0;
border-radius: 4px;
padding: 3px;
line-height: 1;
font-weight: 700;
}
.agent-container {
display: flex;
min-height: 700px;
}
/*fhir-arrow*/
.agent-fhir-arrow .dashed{
stroke-dasharray: 5,12;
}
.left-panel {
width: 300px;
border-right: 2px white solid;
padding: 30px;
text-align: center;
}
.left-panel h4 {
margin-top: 0;
margin-bottom: 20px;
font-size: 1.1em;
font-weight: 500;
color: #202124;
}
.left-panel h5 {
margin-top: 30px;
margin-bottom: 15px;
font-size: 1em;
font-weight: 500;
color: #3c4043;
}
.clinician-image {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 20px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}
.task-list {
display: flex;
flex-direction: column;
gap: 10px;
}
.task-button {
background-color: #fff;
border: 1px solid #dadce0;
border-radius: 20px;
padding: 12px 18px;
cursor: pointer;
text-align: left;
font-size: 0.9em;
line-height: 1.5;
color: #3c4043;
transition: background-color 0.2s ease;
}
.task-button:hover {
background-color: #f1f3f4;
}
.task-button.running {
background-color: #e8f0fe;
border-color: #d2e3fc;
color: #1967d2;
}
.right-panel {
flex-grow: 1;
padding: 30px;
width: 100%;
overflow-y: auto;
display: grid;
grid-template-columns: 1fr 150px 100px 150px 100px 150px 1fr;
grid-template-rows: 20px 150px 250px 1fr;
grid-template-areas:
" . . . agent-header . . ."
". agent-vertex-arrow agent-vertex-arrow agent agent-fhir-arrow agent-fhir-arrow ."
". vertex event-log event-log event-log fhir ."
". answer answer answer answer answer .";
justify-items: stretch;
align-items: stretch;
justify-content: stretch;
align-content: stretch;
}
.right-panel .agent-header {
grid-area: agent-header;
text-align: center;
}
.right-panel .agent-vertex-arrow {
grid-area: agent-vertex-arrow;
}
.right-panel .agent-fhir-arrow {
grid-area: agent-fhir-arrow;
}
.right-panel .agent {
grid-area: agent;
}
.right-panel .vertex {
grid-area: vertex;
text-align: center;
}
.vertex.working .gcp-resource-frame {
animation: shadow-wobble 2s infinite ease-in-out 2s;
}
.right-panel .gcp-resource-frame {
display: flex;
align-items: center;
gap: 10px;
background: radial-gradient(ellipse 72.15% 73.35% at 50.24% 46.53%, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.20) 100%); border-radius: 28px; border: 2px white solid;
backdrop-filter: blur(20px);
flex-direction: column;
padding-bottom: 10px;
margin-top: 10px;
padding: 15px;
}
.right-panel .gcp-resource-frame img {
max-width: 100%;
height: auto;
}
.right-panel .event-log {
margin: 15px;
grid-area: event-log;
overflow-y: hidden;
display: flex;
flex-direction: column;
gap: 5px;
}
.event-item {
line-height: 1.6;
color: #3c4043;
animation: slideIn 0.3s ease-out;
opacity: 0;
padding: 5px 10px;
border-radius: 8px;
overflow: hidden;
transition: opacity 0.5s ease-out, transform 0.5s ease-out, background-color 0.5s ease;
transform-origin: top center;
min-height: fit-content;
background-color: rgba(200, 200, 200, 0.3);
text-align: center;
}
.event-item:nth-child(1) { font-weight: bold; opacity: 1; background-color: skyblue; }
.event-item:nth-child(n+2) { opacity: 0.9; transform: scale(0.9); }
.event-item:nth-child(n+5) { opacity: 0.1; transform: scale(0.9); }
.right-panel .answer {
grid-area: answer;
background-color: #ECFAFF;
padding: 15px;
border-radius: 8px;
height: fit-content;
overflow-y: auto;
animation: fadeInSlideUp 0.5s ease-out forwards;
}
.right-panel .fhir {
grid-area: fhir;
text-align: center;
}
.right-panel h4 {
margin-top: 0;
margin-bottom: 20px;
font-size: 1.1em;
font-weight: 500;
color: #202124;
}
@keyframes slideIn {
from {
max-height: 0;
opacity: 0;
padding-top: 0;
padding-bottom: 0;
}
to {
max-height: 3em;
opacity: 1;
padding-top: 5px;
padding-bottom: 5px;
}
}
@keyframes shadow-wobble {
0%, 100% {
box-shadow: 0 0 8px 4px rgba(66, 133, 244, 0.5);
}
50% {
box-shadow: 0 0 16px 8px rgba(66, 133, 244, 0.8);
}
}
@keyframes fadeInSlideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
justify-content: center;
align-items: center;
z-index: 1000;
}
.popup-content {
background-color: white;
padding: 20px 30px;
border-radius: 18px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
position: relative;
color: #3c4043;
}
.popup-content .dialog-title-text {
font-weight: 400;
padding-right: 20px;
margin-bottom: 1.5em;
}
.popup-close-button {
position: absolute;
top: 10px;
right: 10px;
background: none;
border: none;
font-size: 2em;
cursor: pointer;
color: #5f6368;
}
.popup-button {
margin-top: 15px;
padding: 10px 24px;
border: none;
border-radius: 100px;
background-color: #0B57D0;
color: white;
cursor: pointer;
font-size: 0.9em;
}
.hf-logo {
height: 1.1em;
vertical-align: text-bottom;
margin-left: 1px;
}
.popup-content p,
.popup-content li {
line-height: 1.6;
margin-bottom: 1em;
}
.popup-content a {
color: #0B57D0;
text-decoration: none;
}
.popup-content a:hover {
text-decoration: underline;
}
.popup-content ul {
margin-top: 0;
padding-left: 20px;
}
.popup-content li {
margin-bottom: 0.5em;
}
.popup-footer {
display: flex;
justify-content: flex-end;
margin-top: 20px;
}