/*
 *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree.
 */

.hidden {
  display: none;
}

.highlight {
  background-color: #eee;
  font-size: 1.2em;
  margin: 0 0 30px 0;
  padding: 0.2em 1.5em;
}

.warning {
  color: red;
  font-weight: 400;
}

@media screen and (min-width: 1000px) {
  /* hack! to detect non-touch devices */
  div#links a {
    line-height: 0.8em;
  }
}

audio {
  max-width: 100%;
}

body {
  font-family: Segoe UI, SegoeUI, Segoe WP, Tahoma, Arial, sans-serif;
  font-weight: 400;
  margin: 0;
  height: 100%;
  word-break: break-word;
  background-image: url("../images/pexels-ian-beckley-2440024.png");
  background-repeat: no-repeat;
  background-size: cover;
  overflow: auto;
}

#loginOverlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("../images/pexels-ian-beckley-2440024.png");
  background-repeat: no-repeat;
  background-size: cover;
}

#gradientOverlay {
  background: linear-gradient(
    180deg,
    rgba(43, 78, 98, 0.09) 0%,
    rgba(34, 63, 81, 0.8) 18.23%
  );
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none !important;
}

.loginCard {
  display: flex;
  width: 300px;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 1.78px 3.56px 0px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(26.665000915527344px);
  align-items: stretch;
  padding: 20px 65px 20px 65px;
}

.loginCard__header {
  color: #000;
  font-family: Segoe UI;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px; /* 118.182% */
}

.main {
  padding: 1em;
  padding-bottom: 0px;
  height: fit-content;
  display: flex;
  gap: 10px;
  justify-content: space-around;
  z-index: 10;
}

.overlay {
  background: linear-gradient(
    180deg,
    rgba(43, 78, 98, 0.09) 0%,
    rgba(34, 63, 81, 0.8) 18.23%
  );
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: 1;
}

.main-block {
  width: 40%;
  height: 500px;
  overflow: auto;
  scrollbar-width: none;
}

.avatar-block {
  width: 350px;
  overflow: hidden;
  border-radius: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
}

button {
  background-color: #0078d4;
  border: none;
  border-radius: 2px;
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 0.8em;
  margin: 10px 0 1em 0;
  padding: 0.5em 0.7em 0.6em 0.7em;
}

.outerbutton {
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background-color: lightblue;
  margin: 0 0 0 0;
}

.round-button {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin: 6px 0 0 6px;
}

.round-button i {
  font-size: 18px;
}

.round-button-hide {
  display: none;
}

#playVideo {
  display: flex;
  padding: 6px 20px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 2px;
  background: linear-gradient(274deg, #558eae 0%, #07e997 124.9%);
  font-weight: 600px;
}

.playVideo__text {
  color: var(--neutrals-white-ffffff, #fff);
  text-align: center;
  font-family: Segoe UI;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px; /* 142.857% */
}

#loadingIcon {
  position: absolute;
  left: 175px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

button:active {
  background-color: #0078d4;
}

button:hover {
  background-color: #0078d4;
  cursor: pointer;
}

button[disabled] {
  color: #ccc;
}

button[disabled]:hover {
  background-color: #0078d4;
}

.record-card {
  --card-width: 350px;
  --card-height: 108;
  padding: 10px;
  margin-top: -4px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px 10px 10px 10px;
}

.record-card label {
  font-size: large;
  font-weight: 400;
}

canvas {
  background-color: #ccc;
  max-width: 100%;
  width: 100%;
}

code {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

div#container {
  margin: 0 auto 0 auto;
  max-width: 60em;
  padding: 1em 1.5em 1.3em 1.5em;
}

div#links {
  padding: 0.5em 0 0 0;
}

h3 {
  border-bottom: 0px solid #ccc;
  font-family: Segoe UI, SegoeUI, Segoe WP, Tahoma, Arial, sans-serif;
  font-weight: 600;
  margin: 0 0 0.8em 0;
  padding: 0 0 0.2em 0;
  text-align: center;
  font-size: 38pt;
}

h2 {
  margin-bottom: 0px;
  font-size: 20px;
  font-weight: 600;
}

h3 {
  color: white;
  font-weight: 500;
  margin: 10px 0 10px 0;
  white-space: nowrap;
}

li {
  margin: 0 0 0.4em 0;
}

html {
  /* avoid annoying page width change
    when moving from the home page */
  overflow-y: hidden;
  height: 100%;
}

img {
  border: none;
  max-width: 100%;
}

input[type="radio"] {
  position: relative;
  top: -1px;
}

p {
  color: #444;
  font-weight: 300;
}

p#data {
  border-top: 1px dotted #666;
  font-family: Courier New, monospace;
  line-height: 1.3em;
  max-height: 1000px;
  overflow-y: auto;
  padding: 1em 0 0 0;
}

p.borderBelow {
  border-bottom: 1px solid #aaa;
  padding: 0 0 20px 0;
}

section p:last-of-type {
  margin: 0;
}

section {
  border-bottom: 1px solid #eee;
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
}

section:last-of-type {
  border-bottom: none;
  padding: 0 0 1em 0;
}

select {
  margin: 0 1em 1em 0;
  position: relative;
  top: -1px;
}

h3 span {
  white-space: nowrap;
}

a {
  color: #1d6eee;
  font-weight: 300;
  text-decoration: none;
}

h1 a {
  font-weight: 300;
  margin: 0 10px 0 0;
  white-space: nowrap;
}

a:hover {
  color: #3d85c6;
  text-decoration: underline;
}

a#viewSource {
  display: block;
  margin: 1.3em 0 0 0;
  border-top: 1px solid #999;
  padding: 1em 0 0 0;
}

div#errorMsg p {
  color: #f00;
}

div#links a {
  display: block;
  line-height: 1.3em;
  margin: 0 0 1.5em 0;
}

div.outputSelector {
  margin: -1.3em 0 2em 0;
}

p.description {
  margin: 0 0 0.5em 0;
}

strong {
  font-weight: 500;
}

textarea {
  font-family: "Roboto", sans-serif;
}

#remoteVideo {
  /* margin-left: -225px; */
  /* margin-right: auto; */
  width: 100%;
  min-height: 540px;
  align-items: center;
  justify-content: center;
}

video {
  /* background: #FFF; */
  margin: 0 0 0 0;
  --width: 100%;
  width: var(--width);
  height: calc(var(--width) * 0.75);
}

ul {
  margin: 0 0 0.5em 0;
}

@media screen and (max-width: 650px) {
  .highlight {
    font-size: 1em;
    margin: 0 0 20px 0;
    padding: 0.2em 1em;
  }

  h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 550px) {
  button:active {
    background-color: darkRed;
  }

  h3 {
    font-size: 22px;
  }
}

@media screen and (max-width: 450px) {
  h3 {
    font-size: 20px;
  }
}

textarea {
  width: 800px;
  min-height: 60px;
  margin-bottom: 10px;
}

#webrtc textarea {
  width: 800px;
  min-height: 100px;
  resize: none;
}

#knownIssues {
  color: red;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #d84a38;
}

input:focus + .slider {
  box-shadow: 0 0 1px #d84a38;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.switchLabel {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin-top: 5px;
}

.header {
  color: #fff;
  display: flex;
  padding: 20px;
}

.header__title {
  font-size: 12px;
  font-weight: 600;
  margin-left: 3px;
}

.menu-items {
  display: flex;
  list-style: none;
  padding: 10px;
  margin: auto;
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translate(-50%, -50%);
}

.menu-items li {
  margin-right: 30px;
  font-size: 14px;
  font-weight: 400;
}

.suggested-questions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin-top: 20px;
  list-style: none;
}

.suggested-questions button {
  color: white;
  background: none;
  font-size: 20px;
  font-weight: 400;
  display: block;
  outline: 2px solid white;
  border-radius: 6px;
  padding: 5px 10px 5px 10px;
  text-align: start;
  margin-bottom: 16px;
  margin-top: 0px;
}

.suggested-questions button:hover {
  background: #292929;
  transition: 0.7s;
}

.suggested-questions button:active {
  background: #212020;
  transition: 0.7s;
}

.chat-history {
  list-style: none;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding-left: 0;
  max-width: 650px;
  justify-content: flex-end;
  height: fit-content;
}

.chat-history li {
  border-radius: 6px;
}

.message {
  padding: 8px 16px 8px 16px;
}

.message--light {
  background-color: #f7f7f7;
}

.message--dark {
  background-color: black;
  color: white;
  align-self: flex-end;
}

.product {
  padding: 10px 10px 10px 10px;
  background-color: #f7f7f7;
}

.product-card {
  width: 200px;
  padding: 10px;
}

.product-card__header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 10px;
}

.product-card__content {
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-card__price {
  color: var(--solid-orange-60-primary-light, #d63600);
  font-family: Segoe UI;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 19.556px;
}

.product-card__old-price {
  color: var(--neutral-foreground-neutral-foreground-hover, #7a7a7a);
  font-family: Segoe UI;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 12.445px;
  text-decoration: line-through;
}

.product-card__best-buy {
  font-weight: 600;
}
