* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  outline: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

input {
  appearance: none;
  border-radius: 0;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto/Roboto-Regular.ttf");
}
@font-face {
  font-family: "Roboto Bold";
  font-weight: bold;
  src: url("/fonts/roboto/Roboto-Bold.ttf");
}
@font-face {
  font-family: "Roboto Italic";
  font-style: italic;
  src: url("/fonts/roboto/Roboto-Italic.ttf");
}
button,
a.button {
  background-color: transparent;
  text-decoration: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border: transparent;
  box-shadow: 0 0 0 1px #e0e0e0;
  transition: background-color 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
}
button:hover,
a.button:hover {
  background-color: rgba(38, 103, 255, 0.05);
}
button:focus,
a.button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2667FF;
}
button:active,
a.button:active {
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: 0 0 0 2px #2667FF;
}

button.light,
a.button.light {
  color: #333333;
  border-color: #e0e0e0;
  background-color: #FFFFFF;
}
button.light:hover,
a.button.light:hover {
  background-color: rgba(255, 255, 255, 0.6);
}
button.light:focus,
a.button.light:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2667FF;
}
button.light:active,
a.button.light:active {
  background-color: rgba(255, 255, 255, 0.7);
}

button.primary,
a.button.primary {
  color: #333333;
  background-color: transparent;
}
button.primary:hover,
a.button.primary:hover {
  background-color: rgba(38, 103, 255, 0.05);
}
button.primary:focus,
a.button.primary:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2667FF;
}
button.primary:active,
a.button.primary:active {
  background-color: rgba(38, 103, 255, 0.1);
}

button.danger,
a.button.danger {
  color: #fff;
  box-shadow: 0 0 0 1px #D52941;
  background-color: #D52941;
}
button.danger:hover,
a.button.danger:hover {
  background-color: #c0253a;
}
button.danger:focus,
a.button.danger:focus {
  outline: none;
  box-shadow: 0 0 0 2px #D52941;
}
button.danger:active,
a.button.danger:active {
  background-color: #aa2134;
  box-shadow: 0 0 0 2px #D52941;
}

div.card {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(51, 51, 51, 0.1);
  padding: 16px;
  background-color: #FFFFFF;
}

div.buttons-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.small-vertical-margins {
  margin-top: 8px;
  margin-bottom: 8px;
}

ul.listbox {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 8px 0;
  min-height: 48px;
  padding: 0;
  background-color: #FFFFFF;
}

ul.listbox.scrollable {
  overflow: auto;
  max-height: 128px;
}

li.listitem {
  height: 48px;
  padding: 8px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}
li.listitem:hover {
  background-color: rgba(38, 103, 255, 0.03);
}
li.listitem:focus, li.listitem:active {
  background-color: rgba(38, 103, 255, 0.05);
}

li.placeholder {
  font-family: "Roboto Italic", sans-serif;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333333;
}

li.listitem:last-of-type {
  border: none;
}

div.stretch {
  flex: 1;
}

.icon-button,
.icon-button:visited {
  cursor: pointer;
  color: #333333;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.icon-button:hover,
.icon-button:visited:hover {
  color: #2667FF;
}
.icon-button:focus,
.icon-button:visited:focus {
  outline: none;
  box-shadow: 0 0 0 2px #2667FF;
}
.icon-button:active,
.icon-button:visited:active {
  transform: scale(0.95);
}

.clickable {
  cursor: pointer;
}

input[type=text] {
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333333;
  background-color: #FFFFFF;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input[type=text]:focus {
  border-color: #2667FF;
  box-shadow: 0 0 0 2px rgba(38, 103, 255, 0.2);
  outline: none;
}

div.input-row {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.tab-bar-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1rem;
}

.tab-bar {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

.tab-button {
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  font-weight: 400;
  box-shadow: none;
  color: #333333;
  opacity: 0.6;
  transition: opacity 0.2s, background-color 0.2s;
}
.tab-button:hover {
  opacity: 0.8;
  background-color: rgba(38, 103, 255, 0.03);
}
.tab-button:focus {
  outline: none;
  box-shadow: none;
  background-color: rgba(38, 103, 255, 0.05);
}
.tab-button:active {
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: none;
}
.tab-button:not(:last-child) {
  border-right: 1px solid #e0e0e0;
}
.tab-button.active {
  opacity: 1;
  background-color: rgba(38, 103, 255, 0.05);
}

.tab-button.active {
  color: inherit;
}

.nav-bar {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  top: 0;
  left: 0;
  z-index: 10;
  height: 56px;
  min-height: 56px;
  width: 100%;
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 16px;
}
.nav-bar a.nav-title,
.nav-bar a.nav-title:visited {
  color: #333333;
  text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.6);
  font-family: "Roboto Bold", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  align-self: center;
  margin-right: 32px;
  text-decoration: none;
}
.nav-bar a.nav-item,
.nav-bar a.nav-item:visited {
  margin: 8px;
  text-decoration: none;
  text-transform: capitalize;
  position: relative;
  background-color: transparent;
  color: #333333;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}
.nav-bar a.nav-item:hover,
.nav-bar a.nav-item:active,
.nav-bar a.nav-item.active {
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: inset 0 0 5px rgba(38, 103, 255, 0.15);
}
.nav-bar a.nav-item:focus {
  outline: none;
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: inset 0 0 5px rgba(38, 103, 255, 0.15), 0 0 0 2px rgba(38, 103, 255, 0.4);
}

.nav-content {
  width: min(980px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.nav-row {
  display: flex;
  align-items: center;
}

.nav-hide-condensed {
  display: inherit;
}

.hav-hide-wide {
  display: inherit;
}

@media (max-width: 600px) {
  .nav-hide-condensed {
    display: none;
  }
}
@media (min-width: 600px) {
  .hav-hide-wide {
    display: none;
  }
}
@media (max-width: 1012px) {
  .nav-bar {
    padding: 0 16px;
  }
}
.nav-bar {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  top: 0;
  left: 0;
  z-index: 10;
  height: 56px;
  min-height: 56px;
  width: 100%;
  background-color: #FFFFFF;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  padding: 0 16px;
}
.nav-bar a.nav-title,
.nav-bar a.nav-title:visited {
  color: #333333;
  text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.6);
  font-family: "Roboto Bold", sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
  align-self: center;
  margin-right: 32px;
  text-decoration: none;
}
.nav-bar a.nav-item,
.nav-bar a.nav-item:visited {
  margin: 8px;
  text-decoration: none;
  text-transform: capitalize;
  position: relative;
  background-color: transparent;
  color: #333333;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}
.nav-bar a.nav-item:hover,
.nav-bar a.nav-item:active,
.nav-bar a.nav-item.active {
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: inset 0 0 5px rgba(38, 103, 255, 0.15);
}
.nav-bar a.nav-item:focus {
  outline: none;
  background-color: rgba(38, 103, 255, 0.1);
  box-shadow: inset 0 0 5px rgba(38, 103, 255, 0.15), 0 0 0 2px rgba(38, 103, 255, 0.4);
}

.nav-content {
  width: min(980px, 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.nav-row {
  display: flex;
  align-items: center;
}

.nav-hide-condensed {
  display: inherit;
}

.hav-hide-wide {
  display: inherit;
}

@media (max-width: 600px) {
  .nav-hide-condensed {
    display: none;
  }
}
@media (min-width: 600px) {
  .hav-hide-wide {
    display: none;
  }
}
@media (max-width: 1012px) {
  .nav-bar {
    padding: 0 16px;
  }
}
.header {
  position: absolute;
  top: 0;
  width: 100%;
  height: 56px;
  background-color: #2b2b2b;
  display: flex;
  align-items: center;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/landing-header.svg");
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  /* Enables parallax scrolling */
  z-index: -1;
  /* Places the image behind the content */
}
.hero .hero-content {
  padding: 20px;
}
.hero .hero-title {
  font-size: 2.5rem;
  margin-bottom: 32px;
}
.hero .hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.buttons-center {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.main-container {
  padding: 40px 20px;
  margin: 0 auto;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section {
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 40px;
}
.section.light {
  background-color: #FFFFFF;
  color: #333333;
}
.section.dark {
  background-color: #0d1b2a;
  color: white;
}
.section.dark code {
  background-color: white;
  color: #0d1b2a;
}
.section.dark a {
  color: white;
  text-decoration: underline;
}
.section.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.section .section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: left;
}
.section .section-subtitle {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: left;
}
.section .section-body {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.section .section-body .section-img {
  max-width: 40%;
  border-radius: 4px;
}
.section .section-body .img-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.section .section-body .section-text {
  font-size: 1.1rem;
  line-height: 1.6;
  flex: 1;
}
.section .section-text {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.feature-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}
.feature-list li {
  margin-bottom: 8px;
}

.landing-footer {
  position: relative;
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.landing-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/img/landing-header.svg");
  background-size: cover;
  background-position: top;
  background-attachment: fixed;
  /* Enables parallax scrolling */
  z-index: -1;
  /* Places the image behind the content */
}
.landing-footer .footer-content {
  z-index: 1;
}
.landing-footer .footer-title {
  font-size: 2rem;
}

@media (max-width: 800px) {
  .section-body {
    flex-direction: column;
  }
  .section-body .section-img {
    max-width: 100% !important;
    order: -1;
  }
}
div.loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: fadeIn 0.2s forwards 0.5s;
  width: 32px;
  height: 32px;
}

.pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background-color: #e0e0e0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 1s infinite ease-in-out;
}

.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  background: rgba(224, 224, 224, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 2s infinite ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}
@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  outline: 0;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

input {
  appearance: none;
  border-radius: 0;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto/Roboto-Regular.ttf");
}
@font-face {
  font-family: "Roboto Bold";
  font-weight: bold;
  src: url("/fonts/roboto/Roboto-Bold.ttf");
}
@font-face {
  font-family: "Roboto Italic";
  font-style: italic;
  src: url("/fonts/roboto/Roboto-Italic.ttf");
}
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

body {
  background-color: #FFFFFF;
  color: #333333;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  flex: 1;
}

span.small-space {
  margin-right: 0.25em;
}

span.medium-space {
  margin-right: 0.5em;
}

div.content-container {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  justify-content: space-around;
  flex: 1;
  margin-bottom: 16px;
}

div.content {
  width: 100%;
  max-width: 980px;
  flex: 1;
}

section {
  padding: 24px 16px;
}

a,
a:visited {
  color: #2667FF;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover,
a:focus {
  color: #0048f2;
  outline: none;
}

p {
  margin: 1em 0;
}

h1 {
  font-family: "Roboto Bold", sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 2rem;
}

h2 {
  font-family: "Roboto Bold", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-family: "Roboto Bold", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

h4 {
  font-family: "Roboto Bold", sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

h5 {
  font-family: "Roboto Bold", sans-serif;
  font-size: 0.875rem;
  margin-bottom: 0.8rem;
}

h6 {
  font-size: 0.85rem;
  color: #999999;
  margin-bottom: 0.75rem;
}

b {
  font-family: "Roboto Bold", sans-serif;
  font-weight: bold;
}

i {
  font-style: italic;
}

table {
  margin-bottom: 8px;
  border-collapse: collapse;
}

th {
  text-align: left;
  font-weight: bold;
  padding-bottom: 4px;
  padding-right: 8px;
}

td {
  padding-bottom: 4px;
  padding-right: 8px;
}

code {
  font-family: monospace;
  font-size: 0.9em;
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 4px;
}

ul,
ol {
  margin: 1em 0;
  padding-left: 1.5em;
  list-style-position: outside;
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

/* Styles for nested lists */
ul ul,
ol ol,
ul ol,
ol ul {
  margin: 0;
  padding-left: 1.5em;
}

@media (max-width: 1012px) {
  div.content-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 16px;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

.modal.visible {
  display: block;
}

.modal-content {
  background-color: #FFFFFF;
  margin: 5% auto;
  padding: 16px;
  border-radius: 8px;
  width: min(80%, 980px);
  box-shadow: 0 4px 12px rgba(51, 51, 51, 0.15);
}

.modal-close {
  float: right;
  cursor: pointer;
  transition: transform 0.2s;
}
.modal-close:hover {
  transform: scale(1.1);
}
.modal-close:focus {
  outline: none;
}

.footer {
  background-color: #FFFFFF;
  padding: 16px 0;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid #e0e0e0;
}
.footer .footer-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}
.footer .footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 8px;
}
.footer .footer-title {
  font-size: 1rem;
  color: #2667FF;
  text-decoration: none;
  cursor: pointer;
  transition: text-decoration 0.2s;
}

.prompts-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.prompts-list .prompt-item {
  list-style: none;
  margin: 0;
  padding: 0;
}
.prompts-list .prompt-item .prompt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75em 1em;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.prompts-list .prompt-item .prompt-header .prompt-icon {
  margin-left: auto;
  color: #999999;
  font-size: 1em;
}
.prompts-list .prompt-item.active .prompt-header {
  position: sticky;
  top: 0;
  z-index: 1;
  background-color: #FFFFFF;
}
.prompts-list .prompt-item .message-list {
  margin: 0;
  padding: 0.5em 1.5em;
  background-color: #FFFFFF;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.prompts-list .prompt-item:not(:first-child) .prompt-header {
  border-top: none;
}

.message-item {
  list-style: none;
  margin: 0;
  padding: 0.5em 0;
}
.message-item b {
  font-weight: bold;
  color: #333333;
}
.message-item p {
  margin: 0.5em 0;
}
.message-item > * {
  margin: 0.25em 0;
}
.message-item .message-content {
  overflow-x: auto;
}

.follow-prompt-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background-color: #2667FF;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.follow-prompt-fab:hover {
  background-color: #0d55ff;
}
.follow-prompt-fab i {
  margin: 0;
  color: #fff;
}

span.task-status.completed {
  color: #45CB85;
}

span.task-status.failed {
  color: #D52941;
}

.logs-container {
  width: 100%;
  padding: 16px;
  margin: 0;
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.role-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  margin-right: 0.5rem;
  border-radius: 0.8rem;
  background-color: #eaeaea;
  color: #555;
  font-size: 0.85rem;
}
