/* These styles are generated from project.scss. */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: #fdfdfb;
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #bd312e;
  background-color: #f2dede;
  border-color: #eed3d7;
}

#id_password_helptext,
#id_password1_helptext {
  display: none;
}

.header_logo {
  display: flex;
  align-items: center;
  gap: var(--gutter);
  box-shadow: var(--unfocus);
  border-radius: 4px;
}

a {
  color: #1f3394; /* Bootstrap's default primary color */
  text-decoration: none; /* Optional: removes underline from links */
}

a:visited {
  color: #800080; /* Change this to the desired color when clicked */
}

.spinner {
  display: inline-block;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#body-container {
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#body-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
  z-index: 1; /* Position the vignette above the background but below the content */
}
/* interact/learn pages */

.blurred-area {
  filter: blur(4px);
}

/* Center the spinner */
.spinner-area {
  border: 6px solid rgba(0, 0, 0, 0.1);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border-left-color: white;
  animation: spin 1s linear infinite;
  z-index: 100000;
  position: absolute;
  top: 40%;
  left: 40%;
}

/* Ensure .all-area is positioned relatively to place the spinner correctly */
.all-area {
  position: relative;
  /* Other styles as needed */
}

.custom-input {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="28px" height="28px"><text x="0" y="15" font-size="15" fill="black" fill-opacity="0.5">»</text></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.sender-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.user-text-area-response {
  border-top-left-radius: 10px;
  max-width: 70%;
}

.persona-text-area-response {
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  max-width: 70%;
}

#div_id_remember {
  display: none;
}

.custom-modal-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Example Media Query for Large Devices (Desktops) */
@media (min-width: 901px) {
  #body-container {
    min-height: 60vh; /* Adjusted min-height for large devices */
  }
}

.scroll-down-btn {
  display: none;
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  border: none;
  z-index: 1000;
}

.btn-outline-custom {
  color: #1f3394;
  border-color: #1f3394;
  background-color: transparent;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  color: white;
  background-color: #1f3394;
}

.btn-outline-custom:active {
  color: white;
  background-color: #182a75;
  border-color: #182a75;
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 1.5em;
  width: 1.5em;
}

.persona-response-container {
  display: flex;
  justify-content: flex-start;
  margin: 10px 0;
}

.persona-response-container .personatext {
  background-color: transparent;
  color: rgb(241, 243, 248);
  padding: 5px 10px;
  max-width: 70%;
  line-height: 1.4;
  transform-origin: left center;
  text-align: left;
}

.persona-name-message-label {
  color: rgb(241, 243, 248);;
}

.user-response-container {
  display: flex;
  justify-content: flex-end;
  margin: 10px 0;
  margin-top: 2em;
}

.user-response-container .usertext {
  background-color: rgb(30, 113, 252);
  color: rgb(241, 243, 248);;
  padding: 10px;
  max-width: 70%;
  line-height: 1.4;
  text-align: left;
  border-radius: 10px;
}