@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed: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&family=Bebas+Neue&family=Cinzel:wght@400..900&family=Oswald:wght@200..700&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");
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;

  font-size: 14px;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background-color: var(--bg);
  font-family: "Barlow Condensed", sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}
button,
input,
select,
textarea {
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}
img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  line-height: 1;
  margin: 0;
  padding: 0;
}

:root {
  font-size: 16px;
  color-scheme: light dark;
  font-family: "Barlow Condensed", sans-serif;
}

#root,
#__next {
  isolation: isolate;
}

.wrapper {
  padding: 0px;
  margin: 0px;
  height: 100vh;
  width: 100%;
  background-color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.header {
  margin-top: 60px;
  text-align: center;
}

.header .logo img {
  height: 100px;
  margin: 0 auto;
}

.header h1 {
  font-weight: 600;
  margin-top: 10px;
  font-size: 1.4rem;
}

.content {
  width: 100%;
  border: solid 1px #c9c9c9;
  border-radius: 5px;
  padding: 20px 20px 5px 20px;
  position: relative;
}

.content h3 {
  font-family: "Oswald", sans-serif;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.icon {
  display: flex;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
  gap: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.icon img {
  height: 25px;
  background: #ffe0e0;
  padding: 5px;
  border-radius: 50%;
}

.icon p {
  color: #d61010;
}

pre#log {
  background: #ffffff;
  color: rgb(62, 81, 98);
  padding: 10px 25px;
  border: solid 1px #d8d8d8;
  height: 200px;
  overflow: auto;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  word-wrap: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

pre#ws_log {
  background: #ffffff;
  color: rgb(62, 81, 98);
  padding: 10px 25px;
  border: solid 1px #d8d8d8;
  height: 200px;
  overflow: auto;
  margin-top: 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  word-wrap: break-word;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.msg {
  margin-bottom: 5px;
  padding: 10px 35px;
  border-radius: 15px;
  word-wrap: break-word;
  font-weight: 500;
  position: relative;
  max-width: 70%;
  font-size: 0.9rem;
}

.msg.incoming {
  align-self: flex-start;
  color: #33444e;
  background-color: #dcf2ff;
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.2);
}

.msg.incoming::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 20px solid #dcf2ff;
  filter: drop-shadow(-7px 3px 2px rgba(0, 0, 0, 0.2));
}

.msg.outgoing {
  align-self: flex-end;
  color: #17621e;
  background-color: #f2fff2;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.msg.outgoing::after {
  content: "";
  position: absolute;
  top: 10px;
  right: -15px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 20px solid #f2fff2;
  filter: drop-shadow(7px 3px 2px rgba(0, 0, 0, 0.15));
}

.select2-container--bootstrap-5 .select2-selection--single {
  height: 38px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection__rendered {
  line-height: 1.5;
}

.select2-container--bootstrap-5 .select2-selection__arrow {
  height: 38px;
}

.input-group > .select2-container,
.input-group > input.form-control {
  height: 38px;
}
.form-control {
  height: 38px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: solid 1px #ced4da !important;
}

.form-select {
  height: 38px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border: solid 1px #ced4da !important;
}

.select2-container .select2-dropdown {
  border-color: #ced4da;
  box-shadow: 2px 3px 3px 2px rgba(0, 0, 0, 0.05);
}

.form-label {
  margin-bottom: 0px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none !important;
}

.select2-container--bootstrap-5 .select2-selection--single:focus,
.select2-container--bootstrap-5
  .select2-selection--single.select2-selection--focus,
.select2-container--bootstrap-5.select2-container--open
  .select2-selection--single {
  outline: none !important;
  box-shadow: none !important;
  border-color: #ced4da;
}
.btn:focus {
  box-shadow: none !important;
}
.input-group .btn {
  flex: 0 0 120px;
  text-align: center;
  white-space: nowrap;
}

.input-group .form-select,
.input-group .form-control,
.input-group .select2-container {
  flex: 1 1 auto !important;
  width: 1% !important;
}
.btn-primary:disabled,
.btn-success:disabled,
.btn-danger:disabled {
  background-color: #e9ecef;
  border-color: #e9ecef;
  color: #6c757d;
  opacity: 0.5;
  cursor: not-allowed !important;
}

.form-control:disabled {
  background-color: #e9ecef;
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #e9ecef !important;
  color: #6c757d;
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection {
  background-color: #e9ecef;
  cursor: not-allowed;
  opacity: 0.5;
  border-color: #e9ecef !important;
  color: #6c757d;
}

.select2-container--bootstrap-5.select2-container--disabled
  .select2-selection__placeholder {
  color: #6c757d;
}
