@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Figtree', sans-serif;
  margin: 0;
  background-color: #F8F6F9;
}

.da-container {
  display: flex;
  flex-direction: column;
}

.mdl-layout__drawer-button {
  /* TODO: Remove after bug is fixed. */
  display: flex;
  align-items: center;
  justify-self: center;
}

.flex-center {
  display: flex;
  justify-content: center;
}

.logo {
  height: 60px;
}

.tabs {
  display: flex;
  gap: 0 !important;
  justify-content: flex-start !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}


.tab {
  padding: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  margin-bottom: -1px;
}

.tab:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.tab-active {
  font-weight: 700;
  border-bottom: 3px solid #fafafa;
  z-index: 22;
}

.bg-gray {
  background-color: rgba(0, 0, 0, 0.1);
}

.bg-white {
  background-color: white;
}

.mdl-layout__header {
  background-color: #fd7065 !important;
}

.mdl-layout__container{
  height: auto !important;
}

.page-content {
  min-height: calc(100vh - 56px);
}

.submission-page-content{
  display: table;
  background-color: #212529 !important;
  width: 100%;
}

.submission-page-body{
  display: table;
  height: auto;
  overflow: auto;
}

.submission-spacing{
  padding: 32px 32px 32px 16px !important;
}

h1 {
  color: #124658;
  text-align: center;
  font-weight: 800;
  line-height: 67.2px;
  font-size: 56px;
}

form {
  display: flex;
}

.card {
  border-radius: 20px;
  /* box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  background-color: white;
}

.card-header {
  background: #fd7065;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  margin-bottom: 8px;
  padding: 24px 8px;
}

.bg-dark {
  background-color: #192d35;
  color: white;
}

.bg-blue {
  background-color: #5294f7;
  color: white;
}

.bg-green {
  background-color: #309f2f !important;
  color: white;
}

.card-body {
  padding: 24 40px;
}

.mb-16 {
  margin-bottom: 16px;
}

input,
.submission-answer {
  border: 1px solid #99ACB3;
  border-radius: 20px;
  padding: 19px 16px;
  font-size: 18px;
}

.submission-answer {
  padding: 19px 32px;
  background-color: #495057;
}

.submission-answer-error {
  font-size: 22px;
  font-weight: bold;
  color: red;
}

input::placeholder,
.submission-answer::placeholder {
  color: #99ACB3;
}

button,
input[type="submit"] {
  background: #fd7065;
  color: #fff;
  text-decoration: none;
  width: fit-content;
  display: flex;
  justify-content: center;
  border: 0;
  border-radius: 100px;
  padding: 16px 40px;
  font-size: var(--fs0);
  line-height: var(--lh0);
  font-weight: 600;
  flex: none;
  cursor: pointer;
}

button:hover {
  background: #f79189;
}

button:disabled,
input[type="submit"]:disabled {
  background-color: gray !important;
  cursor: not-allowed;
}

.width-100 {
  width: 100%;
}

.long-link {
  max-width: 200px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

th,
td {
  text-align: left !important;
}

.center {
  display: flex;
  align-items: center;
}

.mr-8 {
  margin-right: 8px;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 32px 100px;
  color: white;
  align-items: stretch;
}

p {
  font-size: 16px;
}

p a {
  color: #bdebff;
  text-decoration: none;
}

.message-container {
  display: flex;
  justify-content: flex-end;
}

.message {
  padding: 14px 16px;
  border-radius: 8px;
  background-color: #343A40;
  color: white;
  margin-bottom: 16px;
  width: 60%;
  position: relative;
  font-size: 16px;
}

.message b{
  color: rgb(187, 157, 255);
}

.message-date {
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 12px;
}

.message a {
  color: #bdebff;
  text-decoration: none;
}

.message a:hover {
  text-decoration: underline;
}

.message-text {
  word-break: break-word;
  white-space: pre-line;
  padding-bottom: 12px;
  color: white;
}

.message-text b {
  color: white;
}

.message-answer {
  background-color: #495057;
}

.message-answer-area {
  overflow: hidden;
  resize: none;
  border-radius: 20px;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

.d-flex {
  display: flex;
}

.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-grow {
  flex: 1;
}
