@import "/common/css/base.css";
@import "/common/css/card.css";

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--c-neutral-500);
  box-sizing: border-box;
  font-family: sans-serif;
  margin: 0;
  padding: 24px;
  height: 100%;
}

.card--live-feed {
  display: flex;
  flex-direction: column;
}

.live-feed {
  flex: 1 1 0;
  margin: 0 32px;
  overflow-y: scroll;
  padding: 0 32px 32px
}

.live-feed__controls {
  display: flex;
  justify-content: space-between;
  padding: 18px 64px 16px;
}

.toggle-list {
  align-items: center;
  border: 1px solid hsl(216, 16%, 84%);
  border-radius: 8px;
  display: flex;
  font-size: 16px;
  line-height: 26px;
}

.toggle-list__option {
  color: hsla(150, 10%, 69%, 1);
  cursor: pointer;
  padding: 10px 16px;
}

.toggle-list__option--active {
  background-color: hsl(73, 83%, 77%);
  color: hsla(230, 33%, 18%, 1);
  font-weight: 600;
}

.toggle-list__option:first-child {
  border-radius: 8px 0 0 8px; 
}

.toggle-list__option:last-child {
  border-radius: 0 8px 8px 0; 
}

.toggle-list__option +
.toggle-list__option {
  border-left: 1px solid hsl(216, 16%, 84%);
}

.live-feed__control-question {
  border: 1px solid hsl(216, 16%, 84%);
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  max-width: 300px;
  padding: 10px 14px;
  width: 100%;
}

.responses-list {
  border-collapse: collapse;
  box-sizing: border-box;
  /*display: grid;
  grid-auto-flow: dense;
  grid-template-columns: 44px 30% 1fr 250px;
  */
  max-height: 100%;
  margin: 0 auto;
  padding: 16px;
  /*overflow-y: scroll;*/
  width: 100%;
}

/*
.live-feed__responses-list thead,
.live-feed__responses-list tbody {
  display: contents;
}

.live-feed__response {
  display: contents;
}
*/

.responses-list__header {
  border-bottom: 1px solid #9F9FA5;
  color: hsl(210, 4%, 44%);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 14px;
  padding: 20px 10px;
  text-align: left;
  text-transform: uppercase;
}

.responses-list__header--avatar {
  padding: 0;
  width: 58px;
}

.responses-list__header--question {
  width: 30%;
}

.responses-list__header--date {
  padding-right: 20px;
  text-align: right;
  width: 200px;
}

.live-feed__response > * {
  background-color: hsla(0, 0%, 100%, 1);
  border-bottom: 1px solid hsl(230, 7%, 84%);
  box-sizing: border-box;
  color: hsl(230, 33%, 18%);
  font-size: 16px;
  line-height: 24px;
  padding: 18px 10px;
  vertical-align: top;
}

.live-feed__response-customer {
  padding: 16px 10px 18px 20px
}

.live-feed__response-avatar {
  border-radius: 50%;
  display: block;
  height: 28px;
  width: 28px;
}

.live-feed__response-timestamp {
  padding-right: 20px;
  text-align: right;
}

.live-feed__status {
  box-sizing: border-box;
  font-size: 14px;
  line-height: 20px;
  min-height: 164px;
  padding: 16px 64px 128px;
  text-align: right;
}
