@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --bgColor: #E3E4F7;
  --mainColor: #7F00FF;
  --borderColor: #FCFEFF;
  --whiteColor: #F8F8FF;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: var(--whiteColor);
}

::-webkit-scrollbar-thumb {
  background: var(--mainColor);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s;
  -ms-transition: .3s;
  -o-transition: .3s;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  height: 100vh;
  max-height: 720px;
  width: 100%;
  max-width: 425px;
  position: relative;
  overflow: hidden;
  background: var(--mainColor);
  border: 1.5px solid var(--mainColor);
}

.head {
  height: 5rem;
  width: 100%;
  position: absolute;
  display: flex;
  padding: 0 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  max-width: 120px;
}

.loggedUser {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--whiteColor);
  border: 1px solid var(--borderColor);
  border-radius: .25rem;
  align-items: center;
  justify-content: center;
  display: flex;
  font-size: 1.1rem;
  cursor: pointer;
  -webkit-border-radius: .25rem;
  -moz-border-radius: .25rem;
  -ms-border-radius: .25rem;
  -o-border-radius: .25rem;
}

.body {
  width: 100%;
  top: 5rem;
  height: calc(100% - 5rem);
  position: absolute;
  background: var(--bgColor);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  padding: 1rem;
  border-top: 1.5px solid var(--borderColor);
  overflow: hidden;
}

#searchInput {
  border: none;
  outline: none;
  width: 100%;
  height: 2rem;
  padding: 0 .75rem;
  border-radius: .25rem;
  caret-color: var(--mainColor);
  -webkit-border-radius: .25rem;
  -moz-border-radius: .25rem;
  -ms-border-radius: .25rem;
  -o-border-radius: .25rem;
}

.usersSec {
  height: calc(100% - 2rem);
}

.titleSec {
  height: 3rem;
  text-transform: uppercase;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.titleSec span {
  border-left: 2px solid var(--mainColor);
  padding-left: .35rem;
}

.users {
  height: calc(100% - 3rem);
}

.users:hover {
  overflow-y: auto;
}

.user {
  display: flex;
  background: var(--whiteColor);
  border: 1.5px solid var(--borderColor);
  padding: .5rem;
  justify-content: space-between;
  align-items: center;
  border-radius: .5rem;
  margin-bottom: .75rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
}

.user:last-child {
  margin-bottom: 0;
}

.user .infoSec {
  display: flex;
  align-items: center;
}

.user .infoSec .uIcon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bgColor);
  border: 1px solid var(--borderColor);
  border-radius: 50%;
  margin-right: .5rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.user .infoSec .info span {
  font-size: .9rem;
  font-weight: 600;
}

.user .infoSec .info p {
  font-size: .75rem;
}

.user .actionBtn {
  display: flex;
}

.user .actionBtn .btn {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--mainColor);
  margin-right: .5rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.user .actionBtn .btn:hover {
  background: var(--bgColor);
}

.user .actionBtn .btn:last-child {
  margin-right: 0;
}

.user .actionBtn .btn.dec {
  background: rgb(252, 29, 8);
  color: var(--whiteColor);
}

.user .actionBtn .btn.dec i {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
}

.user .actionBtn .btn.ans {
  background: rgb(43, 255, 0);
  color: var(--whiteColor);
}

/* popupbox css */
.popupBox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.05);
  z-index: 99;
  align-items: center;
  justify-content: center;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -ms-transform: scale(0.5);
  -o-transform: scale(0.5);
}

.popupBox.open {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
}


.popupBox .mainContent {
  width: 60%;
  background: var(--whiteColor);
  height: auto;
  min-height: 5rem;
  border: 1.5px solid var(--borderColor);
  padding: 0 .75rem;
  padding-bottom: 1rem;
  border-radius: .5rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
}

.popupBox.incoming .mainContent {
  width: 80%;
}

.popupBox .mainContent .calling {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-bottom: 1rem;
}

.popupBox .mainContent .calling .userIcon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bgColor);
  border: 1.5px solid var(--borderColor);
  font-size: 1.35rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.popupBox .mainContent .calling .name {
  margin-top: .5rem;
  font-weight: 600;
  font-size: .9rem;
}

.popupBox .mainContent .calling .status {
  font-size: .8rem;
}

.popupBox .mainContent .calling .decBtn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--mainColor);
  background: rgb(252, 29, 8);
  color: var(--whiteColor);
  margin-top: 2rem;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.popupBox .mainContent .calling .decBtn i {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
}

.card {
  border: 1.5px solid var(--borderColor);
  background: var(--whiteColor);
  border-radius: .5rem;
  padding: 0 .75rem;
  -webkit-border-radius: .5rem;
  -moz-border-radius: .5rem;
  -ms-border-radius: .5rem;
  -o-border-radius: .5rem;
}

.loginBox {
  height: 100%;
}

.input {
  padding: 0;
  height: 2.25rem;
  position: relative;
}

.input input {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  outline: none;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  padding-left: .75rem;
}

.input label {
  position: absolute;
  font-size: .9rem;
  top: .35rem;
  left: .75rem;
  z-index: 99;
}

.input input:hover~label,
.input input:valid~label {
  top: -.7rem;
  background: var(--whiteColor);
  padding: 0 .35rem;
}

.subBtn {
  float: right;
  margin-top: 1rem;
  border: none;
  outline: none;
  background: var(--mainColor);
  padding: .35rem .7rem;
  text-transform: uppercase;
  font-size: .75rem;
  cursor: pointer;
  color: #fff;
}

.noFound {
  font-size: .75rem;
}
#latestRecording{
  border: none;
  padding-left: 0;
  cursor: pointer;
  background: var(--mainColor);
  color: var(--whiteColor);
  padding: 0 .25rem;
}
#latestRecording i{
  margin-right: .1rem;
}