/* Applied UX Analytic =========================== */

#footer .eye-logo {
    /* width: 398px;
	height: auto; */
    width: 84px;
    height: auto;
    margin-bottom: 32px;
}

/* 
#footer span {
    color: var(--main-colors-foreground-f800);
} */

.footer {
    padding: 32px var(--spacing-m);
    min-height: 50vh;
}

#footer .asciiIllus {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}


.footer .footer-content>div {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
    gap: 12px;
}


.footer * {
    z-index: 500;
}

.footer .fluid-obstacle {
    width: 80%;
    height: auto;
}

/* ================================= */


.fluid-obstacle * {
    fill: var(--applied-analytic-main);
}

.applied-ux-analytic-container * {
    color: var(--applied-analytic-main);
}

.bootcamp-goal-card-above.clicked {
    opacity: 0;
    pointer-events: none;
}


.bootcamp-hero-container {
    position: relative;
    /* height: 100vh; */
    height: 100svh;
}

@media (pointer: coarse) {
    .bootcamp-hero-container {
        /* height: 70vh; */
        height: 70svh;
    }
}

#fluidCanvas {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.bootcamp-name-hero {
    /* height: 100vh; */
    height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    pointer-events: none !important;
}

.bootcamp-name-hero * {
    pointer-events: none !important;
}

.bootcamp-name-hero-hide * {
    display: none;
}

.applied-ux-analytic-name-fluid.text * {
    opacity: 0;
}

.applied-ux-analytic-name-fluid {
    transition: opacity 0.1s ease-in-out;
    position: absolute;
    overflow: visible;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96% !important;
    max-width: 600px;
    height: auto !important;
    aspect-ratio: 1/1;
    z-index: 200 !important;
}

.applied-ux-analytic-name-fluid.fluid-obstacle {
    z-index: 100 !important;
}

.applied-ux-analytic-name-fluid * {
    fill: var(--applied-analytic-main);
}

.applied-ux-analytic-name-fluid.fluid-obstacle * {
    fill: var(--applied-analytic-background);
}


.portraitLight {
    display: block;
}

.portraitDark {
    display: none;
}

.primary-text {
    color: var(--applied-analytic-main);
}

.secondary-text {
    color: var(--applied-analytic-secondary);
}

@media (prefers-color-scheme: dark) {
    .portraitLight {
        display: none;
    }

    .portraitDark {
        display: block;
    }
}

.applied-ux-analytic {
    z-index: 200;
    display: flex;
    position: relative;
    gap: 56px;
    flex-direction: column;
    overflow-x: visible;
    padding: 32px var(--spacing-m);
}


.fluid-obstacle {
    width: auto;
    /* height: 100%; */
}

.obstacle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.flex-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: nowrap;
}


.bootcamp-goal-container {
    border-bottom: 0.5px solid var(--applied-analytic-main);
    padding-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    padding-top: 24px;
}

.bootcamp-section-content {
    opacity: 1;
}

.char {
    opacity: 0;
}

#goal .bootcamp-section-content {
    border: 0.5px solid var(--applied-analytic-secondary);
    padding: 0px;
}

.syllabus-container .syllabus-ascii {
    position: relative;
    display: block;
    width: 100%;
}

.syllabus-container {
    padding: 30px 0px;
}

.syllabus-container:not(:last-child) {
    border-bottom: 0.5px solid var(--console-stroke);
}

.syllabus-container li {
    padding: 8px 0px;
}


.social-links *,
.bootcamp-name-image * {
    fill: var(--applied-analytic-main);
}

.bootcamp-name-image {
    width: 100%;
    max-width: 500px;
}

.fluid-container {
    height: fit-content;
    margin: 5px;
}

.bootcamp-goal-card-container {
    position: relative;
    height: 500px;
    border: 0.5px solid var(--applied-analytic-secondary);
    /* margin-bottom: 30px; */
}


.bootcamp-goal-card-above {
    height: 100%;
    margin: 0px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    background-color: var(--applied-analytic-background);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: opacity 0.4s ease-in-out;
}

.bootcamp-goal-card-above .asciiIllus {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* border: 0.5px solid red; */
    padding: 12px 64px;
}


.bootcamp-goal-card-below {
    height: 100%;
    margin: 0px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    color: white;
    transition: opacity 0;
    z-index: 5 !important;
    /* border: 0.5px solid var(--applied-analytic-main); */
}

.bootcamp-goal-card-container:has(.bootcamp-goal-card-above.clicked) .bootcamp-goal-card-below {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.bootcamp-goal-card-above div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.bootcamp-section-full:not(:last-child) {
    min-height: 50vh;
    padding-bottom: 10vh;
    border-bottom: 0.5px solid var(--applied-analytic-secondary);
}



.intro-section li {
    padding-top: 8px;
}

a,
button {
    pointer-events: all !important;
    text-decoration: none !important;
    cursor: pointer;
}

.bootcamp-goal-card-above {
    pointer-events: all !important;
}

svg path[fill="#0055FF"] {
    fill: var(--applied-analytic-main);
}

svg path[fill="#FF0000"],
svg path[fill="rgb(255, 0, 0)"] {
    fill: var(--applied-analytic-background);
}

.bootcamp-section-content {
    padding-top: 32px;
    padding-bottom: 72px;
}


.bootcamp-section-content:has(.lecturer-ascii) {
    display: flex;
    align-items: center;
    justify-self: center;
    justify-content: center;
}


.progress-bar-indicator {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background: var(--applied-analytic-background);
    padding: 10px 24px;
    gap: 10px;
}

#progress-indicator {
    text-align: left;
}

.progress-bar {
    width: 100%;
    border-bottom: 0.5px solid var(--applied-analytic-secondary);
}

.progress-list {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.progress-list a {
    text-decoration: none !important;
}

.ascii-row {
    height: 14px;
    white-space: nowrap;
    text-align: center;
}

.align-left .ascii-row {
    white-space: nowrap;
    text-align: left;
}

.ascii-char {
    display: inline-block;
    position: relative;
    text-align: center;
    font-family: "Chivo Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.02em;
}

.closed-bootcamp * {
    opacity: 0.5;
}


.open-bootcamp {
    background-color: var(--applied-analytic-main);
    border: 0.5px solid var(--applied-analytic-background);
}

.open-bootcamp * {
    color: var(--applied-analytic-reverse-main);
    text-decoration: none;
}

.button {
    width: 100%;
    background-color: var(--applied-analytic-main);
    color: var(--applied-analytic-reverse-main);
    padding: 10px 24px;
    margin-top: 10px;
    text-align: center;
}

.button-reverse {
    width: 100%;
    background-color: var(--applied-analytic-background);
    color: var(--applied-analytic-main);
    padding: 10px 24px;
    margin-top: 10px;
    text-align: center;
}

.open-bootcamp,
.closed-bootcamp {
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}


/* ===================================================
   UX ANALYTICS LIVE CONSOLE
=================================================== */

.ux-console {
    border: 0.5px solid var(--console-stroke);
    width: 100%;
    overflow: hidden;
    /* background: var(--applied-analytic-background); */
    z-index: 500;
}

.ux-console-topbar {
    border-bottom: 0.5px solid var(--console-stroke);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes ux-blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.ux-console-blink {
    animation: ux-blink 1s step-end infinite;
}

.ux-cursor-blink {
    animation: ux-blink 0.8s step-end infinite;
    display: inline-block;
}

.ux-console-body {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Panel */
.ux-panel {
    padding: 0;
    display: flex;
    flex-direction: column;
}

.ux-panel-left {
    border-right: none;
}

@media (min-width: 992px) {
    .ux-panel-left {
        border-right: 0.5px solid var(--console-stroke);
    }
}

@media only screen and (max-width: 600px) {
    .ascii-char {
        font-size: 9px;
        line-height: 120%;
        letter-spacing: -0.02em;
    }

    .ascii-row {
        height: 9px;
    }
}

body * {
    /* border: solid 1px red; */
}

/* Block */
.ux-block {
    border-bottom: 0.5px solid var(--console-stroke);
    padding: 12px 16px;
}

.ux-block:last-child {
    border-bottom: none;
}

.ux-block-title {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
}

.ux-dash {
    flex: 1;
    height: 1px;
    background-color: var(--console-stroke);
    margin-left: 8px;
    opacity: 0.4;
    display: inline-block;
}

/* Key-Value grid */
.ux-kv-grid {
    display: grid;
    grid-template-columns: auto 12px 1fr;
    gap: 2px 4px;
    align-items: center;
}

.ux-kv-spacer {
    padding-top: 6px;
    display: block;
}

/* Progress bar */
.ux-progress-wrap {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.ux-progress-bar {
    display: inline-block;
    width: 120px;
    height: 10px;
    border: 0.5px solid var(--console-stroke);
    position: relative;
    flex-shrink: 0;
}

.ux-progress-fill {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--console-stroke);
}

/* Attention state */
.ux-state-active {
    position: relative;
    padding-left: 12px;
}

.ux-state-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--applied-analytic-main);
    animation: ux-blink 1.2s step-end infinite;
}

/* Scroll Heatmap */
.ux-heatmap {
    padding-top: 4px;
    overflow-x: scroll;
}

.ux-heatmap-chart {
    display: flex;
    align-items: flex-start;
    /* y-axis top aligns with bar-wrap top */
    gap: 8px;
}

.ux-heatmap-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    /* must match .ux-bar-wrap height */
    text-align: right;
    flex-shrink: 0;
    gap: 0;
    /* no padding - 0 label aligns exactly with bar bottom */
}

/* .ux-heatmap-yaxis span {
    font-size: 10px !important;
    line-height: 1;
} */

.ux-heatmap-bars {
    display: flex;
    flex: 1;
    align-items: flex-start;
    /* columns start at the same top as y-axis */
    gap: 6px;
}

.ux-heatmap-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 4px;
}

.ux-heatmap-col>span {
    /* font-size: 9px !important; */
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
    display: block;
}

.ux-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* bar grows from the bottom of this box */
    width: 100%;
    height: 120px;
    /* fixed - must match .ux-heatmap-yaxis height */
}

.ux-bar {
    width: 80%;
    max-width: 28px;
    background: var(--applied-analytic-main);
    /* no min-height: 0-second sections show no bar at all */
}

/* Event stream */
.ux-event-stream {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ux-event-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    line-height: 1.5;
}

.ux-pipe {
    flex-shrink: 0;
}

.ux-event-time {
    flex-shrink: 0;
    min-width: 56px;
}

.ux-event-sep {
    flex-shrink: 0;
}

.ux-event-alert .ux-event-time,
.ux-event-alert span:last-child {
    color: var(--applied-analytic-main) !important;
    font-weight: 700;
}

/* User state grid */
.ux-state-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 0.5px solid var(--console-stroke);
}

.ux-state-cell {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 0.5px solid var(--console-stroke);
    border-bottom: 0.5px solid var(--console-stroke);
}

.ux-state-cell:nth-child(even) {
    border-right: none;
}

.ux-state-cell-full {
    grid-column: 1 / -1;
    border-right: none;
}

/* Funnel */
.ux-funnel {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ux-funnel-check {
    flex-shrink: 0;
    min-width: 28px;
}

.ux-funnel-check.done {
    color: var(--applied-analytic-main) !important;
}


.syllabus-item-title {
    margin-bottom: 12px;
}


/* ===================================================
   SURVEY HTML
=================================================== */

.sign-up-ux-analytic-bootcamp-item .bootcamp-item-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    padding: 20px 24px;
    cursor: pointer;
}


.sign-up-ux-analytic-bootcamp-item:has(input[type="radio"]),
.sign-up-ux-analytic-bootcamp-item:has(input[type="checkbox"]) {
    border-radius: 0px;
    border: 0.5px solid var(--console-stroke);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
    display: inline-block;
}

.sign-up-ux-analytic-bootcamp-item:has(input[type="radio"]:not(:checked)),
.sign-up-ux-analytic-bootcamp-item:has(input[type="checkbox"]:not(:checked)) {
    background: var(--applied-analytic-background);
    color: var(--applied-analytic-main) !important;
    opacity: 1;
    border: 0.5px solid var(--console-stroke);
}

.sign-up-ux-analytic-bootcamp-item:has(input[type="radio"]:checked) label,
.sign-up-ux-analytic-bootcamp-item:has(input[type="checkbox"]:checked) label {
    color: var(--applied-analytic-reverse-main) !important;
    background: var(--applied-analytic-main);
    border: 0.5px solid var(--applied-analytic-main);
}

.sign-up-ux-analytic-bootcamp-item:has(input[type="radio"]:not(:checked)) .is_selected,
.sign-up-ux-analytic-bootcamp-item:has(input[type="checkbox"]:not(:checked)) .is_selected {
    opacity: 0;
}

.sign-up-ux-analytic-bootcamp-item:has(input[type="radio"]:checked) .is_selected,
.sign-up-ux-analytic-bootcamp-item:has(input[type="checkbox"]:checked) .is_selected {
    opacity: 1;
}



/* Ensure inputs/buttons inherit font from class */
input,
textarea,
button,
select {
    font-family: inherit !important;
    font-size: inherit !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus {
    border: 0.5px solid var(--applied-analytic-main);
}

/* Layout */
.container {
    max-width: 1200px;
    background-color: var(--applied-analytic-background);
}

.terminal-header {
    border-bottom: 0.5px solid var(--console-stroke);
    padding-bottom: 20px;
    margin-bottom: 40px;
}



/* Form Steps */
.form-step {
    padding: 72px 0px;
    display: none;
    border-bottom: 0.5px solid var(--console-stroke);
}

.form-step:last-of-type {
    border-bottom: none;
}

.form-step.active {
    display: block;
}

/* Question Blocks */

.question-label {
    margin-bottom: 10px;
    display: block;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea {
    background: transparent;
    border: 0.5px solid var(--console-stroke);
    color: var(--applied-analytic-main);
    width: 100%;
    padding: 10px;
    outline: none;
    border-radius: 0;
}

textarea {
    min-height: 150px;
}

/* Options */
.option-item {
    border: 0.5px solid var(--console-stroke);
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.option-item:hover {
    color: var(--applied-analytic-reverse-main);
    background: var(--applied-analytic-main)
}

.option-item.selected {
    background: var(--applied-analytic-main);
    color: var(--applied-analytic-background);
}

.option-item input {
    display: none;
}

/* Matrix */
.likert-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.likert-matrix th,
.likert-matrix td {
    border: 0.5px solid var(--console-stroke);
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
}

.likert-matrix th:first-child,
.likert-matrix td:first-child {
    text-align: left;
    width: 60%;
}

.likert-matrix th {
    background: var(--applied-analytic-background);
    font-weight: normal;
}

.other-input-container {
    display: none;
    margin-top: 10px;
}

.other-input-container.active {
    display: block;
}

.other-input-container input {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 0.5px solid var(--console-stroke);
    padding: 5px 0;
    width: 100%;
}

/* Scale */
.scale-container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.scale-item {
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 4px;
    background: var(--applied-analytic-background);
    color: var(--applied-analytic-main);
    padding: 4px 8px;
}

.scale-item::before {
    content: "[ ]";
}

.scale-item.selected::before {
    content: "[•]";
}

.scale-item.selected {
    background: var(--applied-analytic-main);
    color: var(--applied-analytic-reverse-main);
}

.scale-item-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}



.btn-terminal {
    background: var(--applied-analytic-main);
    color: var(--applied-analytic-background);
    border: 0.5px solid var(--console-stroke);
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 0;
}

.btn-terminal:hover {
    background: var(--applied-analytic-background);
    color: var(--applied-analytic-main);
}

.btn-terminal:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Bootstrap Overrides for B&W */
.btn-primary,
.btn-secondary {
    background-color: var(--applied-analytic-background) !important;
    border-color: var(--console-stroke);
    color: var(--applied-analytic-main) !important;
}

.btn-primary:hover {
    background-color: var(--applied-analytic-main) !important;
    color: var(--applied-analytic-background) !important;
}


input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px var(--applied-analytic-background) inset !important;
    -webkit-text-fill-color: var(--applied-analytic-main) !important;
}

#survey-form {
    padding: 64px 8px;
}

.section-title {
    text-transform: uppercase !important;
}

tr:has(.matrix-option.selected) {
    background-color: var(--applied-analytic-background-light);
}

tr:has(.matrix-option.selected)>td:first-child {
    /* color: var(--applied-analytic-secondary); */
    opacity: 0.6;
}

tr:has(.matrix-option:hover) {
    background-color: var(--applied-analytic-main);
    color: var(--applied-analytic-reverse-main);
}


.likert-matrix .matrix-option {
    cursor: pointer;
    transition: all 0.2s ease;
    height: 100%;
    position: relative;
    font-family: inherit;
    color: var(--applied-analytic-secondary);
    background-color: var(--applied-analytic-background);
}

.likert-matrix .matrix-option::before {
    content: "[ ]";
}

.likert-matrix .matrix-option.selected::before {
    content: "[•]";
}

.likert-matrix .matrix-option:hover {
    background: var(--applied-analytic-main);
    color: var(--applied-analytic-reverse-main);
}


.likert-matrix .matrix-option.selected {
    background: var(--applied-analytic-main);
    color: var(--applied-analytic-reverse-main);
}

.likert-matrix input[type="radio"] {
    display: none;
}

.matrix-legend {
    padding-bottom: 16px;
}

.likert-matrix .matrix-section-header td {
    background-color: var(--applied-analytic-background-light);
    border-bottom: 0.5px solid var(--console-stroke);
}

.likert-matrix .matrix-section-header strong {
    color: var(--applied-analytic-reverse-main) !important;
}

.question-block {
    margin-bottom: 32px;
}

.question-invalid {
    border-left: 2px solid var(--applied-analytic-main) !important;
    padding-left: 15px !important;
    transition: all 0.3s ease;
}

.question-invalid .question-label {
    color: var(--applied-analytic-main) !important;
}