html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
#sidebar {
    height: 100vh;
    width: 60px;
    background-color: #f8f9fa;
    position: fixed;
    z-index: 10000; 
}
#main-content {
    margin-left: 60px;
    padding: 20px;
}
.icon-btn {
    width: 100%;
    padding: 10px;
    text-align: center;
    border: none;
    background: none;
    cursor: pointer;
}
.icon-btn:hover {
    background-color: #e9ecef;
}
.icon-btn.active {
    background-color: #dee2e6;
}

#view2Header {
    font-size: 0.75rem;
    font-weight: normal;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    position: fixed; 
    left: 15%; 
    top: 10px; 
    width: 70%; 
    z-index: 9999; 
    border-radius: 10px; 
}

.view {
    margin-top: 20px; 
}
body {
    padding-bottom: 50px; 
}

#promptList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; 
}

.prompt-item {
    background-color: #f8f9fa; 
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
    width: 150px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.prompt-item:hover {
    background-color: #e2e6ea; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.prompt-item.selected {
    background-color: #007bff; 
    color: white;
}
#selectedPromptsList {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.prompt-selected-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    text-align: center;
    width: 200px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.prompt-selected-item:hover {
    background-color: #e2e6ea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.response-box {
    background-color: #f9f9f9;;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    text-align: left;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.prompt-selected-item.selected {
    background-color: #007bff;
    color: white;
}
.message-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.message-left {
    align-items: flex-start; 
    text-align: left;
}

.message-right {
    align-items: flex-end;  
    text-align: right;
    margin-left: auto; 
}

.message-box {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f1f1f1;
    text-align: left;
    max-width: 70%; 
}

.message-right .message-box {
    background-color: #d4edda;
}

.state-label {
    display: inline-block;
    background-color: #e1ecf4;
    color: #0052cc;
    font-weight: bold;
    border-radius: 5px;
    padding: 0.2rem 0.6rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.message-author {
    font-weight: bold;
    margin-bottom: 0.5rem;
    cursor: pointer;
}
#metrics-container,#flow-container, #graph-container {
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    align-items: start;
}

#tandem-flow-container, #tandem-metrics-container{
    gap: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    align-items: start;
}

#aggregated-metrics-container,#aggregated-graph-container, #prompt-data-container{
    gap: 20px;
    display: grid;
    align-items: start;
}

#aggregated-graph-container svg, #graph-container svg, #tandem-graph-container svg, #complete-graph-container svg{
    justify-self: center; 
}

.flow-section {
    flex: 1 1 calc(33% - 20px); 
    min-width: 300px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.flow-section h5 {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: #343a40;
}
.interviewer-color {
    background-color: #f0f0f0;
}
.interviewee-color {
    background-color: #cce5ff;
}

.modal-content {
    border-radius: 15px; 
}


.interviewer-color .modal-content {
    border-radius: 15px;
}


.interviewee-color .modal-content {
    border-radius: 15px;
}

.card {
    margin-bottom: 20px;
}
.card-header {
    background-color: #007bff;
    color: white;
}
.evaluation-label {
    font-weight: bold;
    display: inline;
    position: relative;
}
.icon-true {
    color: green;
    margin-left: 10px;
}
.icon-false {
    color: red;
    margin-left: 10px;
}
.tooltip-icon {
    margin-left: 5px;
    color: #007bff;
    cursor: pointer;
    position: relative;
}
.tooltip-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -5px;
    left: 120%;
    background-color: #000;
    color: #fff;
    padding: 5px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 10;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.summary-box {
    box-sizing: border-box;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.summary-box h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: bold;
}
.summary-metric {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}
.summary-metric span {
    font-weight: bold;
}
.summary-metric .score {
    font-size: 1.25rem;
    font-weight: bold;
    border-radius: 4px;
    padding: 5px 10px;
}
.setup-metric {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}
.setup-metric span {
    font-weight: bold;
}
.setup-metric .score {
    border-radius: 4px;
    padding: 5px 10px;
}

.score-good {
    background-color: #28a745;
    color: white;
}
.score-average {
    background-color: #ffc107;
    color: white;
}
.score-poor {
    background-color: #dc3545;
    color: white;
}

.metrics-box {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.conversation-container, .tandem-conversation-container {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 15px;
    width: 100%;
    border: 1px solid #e0e0e0;
}


.response-box {
  width: 100%;
}
.gold-star {
    color: gold;
    margin-right: 5px;
}
.tooltip-icon {
    cursor: pointer;
    margin-right: 5px;
}
  
.btn-link {
  color: #007bff; 
}
  
.btn-link:hover {
  text-decoration: underline;
}
a.gold-star-link {
    text-decoration: none; 
}

.material-icons {
    font-size: 200%; 
}

pre {
    max-width: 100%; 
    overflow-x: auto; 
}


.icon-thumb-up {
    color: green;
}
  
.icon-smart-toy {
    color: blue;
}

.icon-auto-awesome {
    color: purple;
}

.icon-thumb-down {
    color: red;
}


.node ellipse {
    stroke: #000; /* Define a stroke color */
    stroke-width: 3;
    fill: none; /* Ensure no fill color if you want only the stroke visible */
    stroke-dasharray: 1000; /* Default value; this will be overridden dynamically */
    stroke-dashoffset: 1000; /* Start hidden */
    animation: stroke-in 14s linear forwards;
}

.node path, .edge path, .node ellipse {
    stroke-width: 1;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: offset 14s linear forwards;
}

/* Attribute selector for specific nodes */
[id^="node"] ellipse {
    animation: stroke-animation 14s linear forwards;
}

@keyframes stroke-in {
    0% {
        stroke-dashoffset: 1000; /* Start hidden */
    }
    100% {
        stroke-dashoffset: 0; /* Fully visible */
    }
}

@keyframes offset {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes stroke-animation {
    100% {
        stroke-dashoffset: 0;
    }
}
