* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  min-height: 100vh;
  width: 100%;
  width: 100vw;
  font-family: system-ui, -apple-system, sans-serif;
  background-color: #fff;
  color: #323232;

  ::-webkit-scrollbar {
    width: 24px;
    height: 24px;
  }

  ::-webkit-scrollbar-track {
    background: #d3d3d3;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #a7a7a7;
    border-radius: 0;
  }
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.radio > .radio__input + .radio__label {
  cursor: pointer;
}

.radio > .radio__label {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 4px;
}

.radio > .radio__label > .radio__icon {
  height: 28px;
  width: 28px;
  background-image: url("../assets/unselected-radio.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.radio > .radio__input:checked + .radio__label > .radio__icon {
  background-image: url("../assets/selected-radio.png");
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background-image: url(../assets/background.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: cover;
  overflow-y: auto;
}

.container > * {
  flex-shrink: 0;
}

.navigation {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 8px 32px 0;
}

.navigation > .navigation__list {
  flex: 1;
  display: flex;
  align-items: center;
  list-style: none;
}

.navigation > .navigation__list > .navigation__item > .navigation__button {
  display: flex;
  justify-content: flex-start;
  background-color: #4d355d;
  border: none;
  padding: 4px;
  width: 140px;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  height: 32px;
}

.navigation
  > .navigation__list
  > .navigation__item
  > .navigation__button:disabled {
  background-color: #d1ceca;
  color: #323232;
}

.navigation__logo {
  display: flex;
  height: 40px;
  width: auto;
  margin-bottom: 8px;
}

.navigation__logo > .navigation__image {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.stepper {
  display: flex;
  background-color: #4d355d;
  position: relative;
  padding: 0 16px;
  height: 32px;
}

.stepper > .stepper__point {
  position: absolute;
  height: 18px;
  width: 18px;
  border-radius: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  background-color: #30c66e;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stepper > .stepper__point:nth-of-type(2) {
  left: 50%;
  transform: translate(-50%, -50%);
}

.stepper > .stepper__point:nth-of-type(3) {
  left: unset;
  right: 32px;
  background-color: #d1ceca;
}

.stepper__line {
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
  height: 4px;
  width: calc(100% - 64px);
  background-color: #d0b8d6;
}

.stepper__line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background-color: #639b8b;
}

.message-type {
  margin: 64px 0 48px;
}

.message-type > .message-type__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px 140px;
  list-style: none;
}

.message-type
  > .message-type__list
  > .message-type__item
  > .message-type__label {
  font-size: 28px;
}

.content {
  display: flex;
  padding: 0 32px;
  margin-bottom: 32px;
  max-height: 320px !important;
}

.content > .message {
  display: flex;
  width: 55%;
  overflow-y: auto;
}

.content > .message > .message__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.content > .message > .message__table > .message__table-head {
  color: #fff;
}

.content
  > .message
  > .message__table
  > .message__table-head
  > .message__table-row-head {
  border: 1px solid #4d355d;
  border-bottom: none;
}

.content
  > .message
  > .message__table
  > .message__table-head
  > .message__table-row-head
  > .message__table-col-head {
  background-color: #4d355d;
  font: inherit;
  text-align: left;
  padding: 5px 12px;
  font-weight: 400;
  font-size: 18px;
  vertical-align: middle;
  position: sticky;
  top: 0;
  z-index: 1;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row {
  border: 1px solid #a2a2a2;
  background-color: #fff;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row:first-of-type {
  border-top: none;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row:nth-of-type(even) {
  background-color: #d1ceca;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row:hover,
.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row[data-selected="true"] {
  background-color: #343434;
  color: #fff;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row
  > .message__table-col {
  padding: 8px 12px;
  font-size: 18px;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row
  > .message__table-col
  > .message__table-col-content {
  display: flex;
  align-items: baseline;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row
  > .message__table-col
  > .message__table-col-content
  > .message__table-col-caret {
  height: 18px;
  width: 0;
  margin-right: 4px;
  position: relative;
  transition: width 200ms ease-in-out;
  overflow: hidden;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row
  > .message__table-col
  > .message__table-col-content
  > .message__table-col-caret::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("../assets/caret-right.svg");
  width: 20px;
  height: 20px;
}

.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row:hover
  > .message__table-col
  > .message__table-col-content
  > .message__table-col-caret,
.content
  > .message
  > .message__table
  > .message__table-body
  > .message__table-row[data-selected="true"]
  > .message__table-col
  > .message__table-col-content
  > .message__table-col-caret {
  width: 18px;
}

.content > .custom-message {
  display: flex;
  flex-direction: column;
  width: 45%;
}

.content > .custom-message > .custom-message__title {
  width: 100%;
  color: #fff;
  font-size: 18px;
  background-color: #4d355d;
  padding: 4px 12px;
  height: 32px;
  flex-shrink: 0;
}

.content > .custom-message > .custom-message__input {
  resize: none;
  height: 100% !important;
  width: 100% !important;
  padding: 8px 12px;
  border: 1px solid #a2a2a2;
  border-top: none;
  border-left: none;
  font-size: 16px;
}

.content > .custom-message > .custom-message__input:focus-visible {
  outline: none;
}

.actions {
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 48px;
  margin-bottom: 32px;
}

.actions > .split-screen {
  display: flex;
  flex-direction: column;
  width: fit-content;
  grid-row: 1 / -1;
}

.actions > .split-screen > .split-screen__title {
  font-size: 28px;
  font-weight: 100;
  margin-bottom: 24px;
}

.actions > .split-screen > .split-screen__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.actions > .split-screen > .split-screen__actions > .split-screen__action {
  display: flex;
  border: none;
  background-color: transparent;
}

.actions
  > .split-screen
  > .split-screen__actions
  > .split-screen__action
  > .split-screen__icon {
  height: 56px;
  width: 56px;
}

.actions > .language {
  display: flex;
  justify-content: center;
  font-size: 18px;
}

.actions > .language > .language__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.actions > .message-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.actions > .message-actions > .message-actions__list {
  display: flex;
  gap: 8px;
}

.actions
  > .message-actions
  > .message-actions__list
  > .message-actions__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #343434;
  color: #fff;
  border: none;
  padding: 8px 12px;
  min-width: 140px;
  font-size: 18px;
}

.actions
  > .message-actions
  > .message-actions__list
  > .message-actions__button
  > .message-actions__icon {
  height: 24px;
  width: 24px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #343434;
  color: #fff;
  font-size: 14px;
  padding: 8px 12px;
  margin-top: auto;
}

.footer > .footer__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer > .footer__left > .footer__provider {
  height: 12px;
  width: auto;
}

.footer > .footer__left > .footer__provider > .footer__image {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.footer > .footer__left > .footer__status {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer > .footer__left > .footer__status > .footer__status-indicator {
  height: 10px;
  width: 10px;
  background-color: #418d5c;
  border-radius: 8px;
}
