.ecalate-container {
  width: 100%;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: space-between;
  max-width: 90rem;
}
.audio-preview {
  transition-duration: 0.1s;
  transition-property: all;
  height: 4px;
  max-width: 100%;
  border-radius: 2px;
  margin-bottom: 16px;
  background-color: lightgrey;
}

.video-preview {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 2px;
  overflow: hidden;
  transform: scaleX(-1);
  background-color: black;
}
.video-preview video {
  width: 100%; /* Make the video element fill its parent width */
  height: 100%; /* Make the video element fill its parent height */
  /* object-fit: cover; */
  position: absolute; /* Position the video element within its container */
  top: 0;
  left: 0;
}
.escalate-logo {
  display: flex;
  width: 100%;
  background-color: transparent;
  justify-content: end;
  align-items: center;
  margin: 2rem 0;
}
.escalate-logo img {
  width: 4rem;
  margin: 0 2rem;
}
.escalate-popup {
  font-size: 11pt;
  line-height: normal;
  position: absolute;
  bottom: 40px;
  left: -115px;
  cursor: default;
  text-transform: none;
  text-shadow: none;
}

.arrow_box {
  position: relative;
  background: black;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  top: -11px;
  box-shadow: 1px 1px 8px black;
}

.arrow_box:before,
.arrow_box:after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.arrow_box:before {
  border-color: transparent;
  border-top-color: rgba(255, 255, 255, 0.2);
  border-width: 11px;
  margin-left: -11px;
}
.arrow_box:after {
  border-color: transparent;
  border-top-color: black;
  border-width: 10px;
  margin-left: -10px;
}
#dialog-call-esclate {
  height: 100%;
  width: 100%;
  background-color: #272527;
  color: white;
}
#call-esclate-video {
  height: 10rem;
  text-align: center;
}
.test-audio {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  color: #fbb03a;
  text-decoration: none;
  background-color: transparent;
  border: none;
  align-items: center;
}
#video-component-container {
  height: 14rem;
}
.ecalate-content {
  display: flex;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  margin: 0 auto;
  height: 50%;
}
.escalate-components {
  flex: 1;
  width: 1rem;
}
.escalate-video {
  flex: 1;
}
.escalate-alert-actions {
  width: 40%;
  margin: 0 auto 4rem auto;
}
.sel-escalate-start {
  flex: 2;
}
.sel-escalate-video-close {
  flex: 1;
}
.sel-escalate-camera,
.sel-escalate-microphone,
.sel-escalate-output {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("../../../assets/img/bottom-arrow.svg");
  background-position: left 1rem center;
  background-repeat: no-repeat;
  background-size: 12px; /* Adjust the size as needed */
  padding-right: 3rem;
  padding-left: 2.5rem;
  width: 100%;
  border: none;
  outline: none;
  background-color: #272527;
  color: white;
}
.sel-escalate-camera option {
  width: 80%;
}
.escalate-title {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.showVideo {
  display: none;
}
.hideVideo {
  display: block;
}
.escalate-input-camera,
.escalate-input-audio,
.escalate-input-audioOutput {
  position: absolute;
  top: 8px;
  right: 15px;
  width: 1.5rem;
}
@media screen and (min-width: 64em) {
}
@media screen and (max-width: 27em) {
  #dialog-call-esclate {
    padding: 0.5rem 1rem 0.5rem;
  }
}
@media screen and (max-height: 44em) {
  #dialog-call-esclate:has(input, label, div, select, button) {
    font-size: 0.8rem;
  }
  #call-esclate-video {
    height: 6rem;
  }
}
/* For tablets in portrait mode */
@media screen and (min-width: 38.5em) and (max-width: 48em) {
  /* Your tablet-specific CSS styles here */
  .ecalate-content {
    flex-direction: column;
    height: 30rem;
  }
  .escalate-components {
    width: 100%;
  }
  .escalate-title {
    margin: 0.5rem 0;
  }
  .showVideo {
    display: block;
  }
  .hideVideo {
    display: none;
  }
  .hideBtn {
    display: none;
  }
  .escalate-alert-actions {
    width: 60%;
  }
  .escalate-components * {
    font-size: 0.8rem;
  }
  .audio-bars-test {
    gap: 1rem;
  }
}
@media screen and (max-width: 38.5em) {
  .ecalate-content {
    flex-direction: column;
    height: 23rem;
  }
  .escalate-components {
    width: 100%;
  }
  .escalate-title {
    margin: 0.5rem 0;
  }
  .showVideo {
    display: block;
  }
  .hideVideo {
    display: none;
  }
  .escalate-logo {
    margin: 1rem 0;
    margin-bottom: 0;
  }
  .escalate-components * {
    font-size: 0.6rem;
  }
  .escalate-alert-actions {
    width: 100%;
    margin: 0;
  }
  .login-error-container {
    width: 100%;
  }
  .audio-bars-test {
    gap: 0.5rem;
  }
}

/* For tablets in landscape mode */
@media screen and (min-width: 64em) {
  /* Your tablet-specific CSS styles here */
}

/* @media screen and (max-height: 43.75em) {
  .escalate-checkbox {
    position: absolute;
    top: 29rem;
    left: 12rem;
  }
} */
