@charset "UTF-8";
@import url("../bootstrap-icons.min-d4e6b78eb8123c8233aeac7d500e7262.css");
.m-none {
  margin: 0 !important;
}

.m-xs {
  margin: 0.25rem !important;
}

.m-sm {
  margin: 0.5rem !important;
}

.m-md {
  margin: 1rem !important;
}

.m-lg {
  margin: 1.25rem !important;
}

.m-xl {
  margin: 2rem !important;
}

.m-xxl {
  margin: 2.5rem !important;
}

.m-xxxl {
  margin: 4rem !important;
}

.mt-none {
  margin-top: 0 !important;
}

.mt-xs {
  margin-top: 0.25rem !important;
}

.mt-sm {
  margin-top: 0.5rem !important;
}

.mt-md {
  margin-top: 1rem !important;
}

.mt-lg {
  margin-top: 1.25rem !important;
}

.mt-xl {
  margin-top: 2rem !important;
}

.mt-xxl {
  margin-top: 2.5rem !important;
}

.mt-xxxl {
  margin-top: 4rem !important;
}

.mb-none {
  margin-bottom: 0 !important;
}

.mb-xs {
  margin-bottom: 0.25rem !important;
}

.mb-sm {
  margin-bottom: 0.5rem !important;
}

.mb-md {
  margin-bottom: 1rem !important;
}

.mb-lg {
  margin-bottom: 1.25rem !important;
}

.mb-xl {
  margin-bottom: 2rem !important;
}

.mb-xxl {
  margin-bottom: 2.5rem !important;
}

.mb-xxxl {
  margin-bottom: 4rem !important;
}

.ml-none {
  margin-left: 0 !important;
}

.ml-xs {
  margin-left: 0.25rem !important;
}

.ml-sm {
  margin-left: 0.5rem !important;
}

.ml-md {
  margin-left: 1rem !important;
}

.ml-lg {
  margin-left: 1.25rem !important;
}

.ml-xl {
  margin-left: 2rem !important;
}

.ml-xxl {
  margin-left: 2.5rem !important;
}

.ml-xxxl {
  margin-left: 4rem !important;
}

.mr-none {
  margin-right: 0 !important;
}

.mr-xs {
  margin-right: 0.25rem !important;
}

.mr-sm {
  margin-right: 0.5rem !important;
}

.mr-md {
  margin-right: 1rem !important;
}

.mr-lg {
  margin-right: 1.25rem !important;
}

.mr-xl {
  margin-right: 2rem !important;
}

.mr-xxl {
  margin-right: 2.5rem !important;
}

.mr-xxxl {
  margin-right: 4rem !important;
}

.p-none {
  padding: 0 !important;
}

.p-xs {
  padding: 0.25rem !important;
}

.p-sm {
  padding: 0.5rem !important;
}

.p-md {
  padding: 1rem !important;
}

.p-lg {
  padding: 1.25rem !important;
}

.p-xl {
  padding: 2rem !important;
}

.p-xxl {
  padding: 2.5rem !important;
}

.p-xxxl {
  padding: 4rem !important;
}

.pt-none {
  padding-top: 0 !important;
}

.pt-xs {
  padding-top: 0.25rem !important;
}

.pt-sm {
  padding-top: 0.5rem !important;
}

.pt-md {
  padding-top: 1rem !important;
}

.pt-lg {
  padding-top: 1.25rem !important;
}

.pt-xl {
  padding-top: 2rem !important;
}

.pt-xxl {
  padding-top: 2.5rem !important;
}

.pt-xxxl {
  padding-top: 4rem !important;
}

.pb-none {
  padding-bottom: 0 !important;
}

.pb-xs {
  padding-bottom: 0.25rem !important;
}

.pb-sm {
  padding-bottom: 0.5rem !important;
}

.pb-md {
  padding-bottom: 1rem !important;
}

.pb-lg {
  padding-bottom: 1.25rem !important;
}

.pb-xl {
  padding-bottom: 2rem !important;
}

.pb-xxl {
  padding-bottom: 2.5rem !important;
}

.pb-xxxl {
  padding-bottom: 4rem !important;
}

.pl-none {
  padding-left: 0 !important;
}

.pl-xs {
  padding-left: 0.25rem !important;
}

.pl-sm {
  padding-left: 0.5rem !important;
}

.pl-md {
  padding-left: 1rem !important;
}

.pl-lg {
  padding-left: 1.25rem !important;
}

.pl-xl {
  padding-left: 2rem !important;
}

.pl-xxl {
  padding-left: 2.5rem !important;
}

.pl-xxxl {
  padding-left: 4rem !important;
}

.pr-none {
  padding-right: 0 !important;
}

.pr-xs {
  padding-right: 0.25rem !important;
}

.pr-sm {
  padding-right: 0.5rem !important;
}

.pr-md {
  padding-right: 1rem !important;
}

.pr-lg {
  padding-right: 1.25rem !important;
}

.pr-xl {
  padding-right: 2rem !important;
}

.pr-xxl {
  padding-right: 2.5rem !important;
}

.pr-xxxl {
  padding-right: 4rem !important;
}

/* Alerts colors */
:root {
  --brand-color: #e41f27;
  --light-grey: #aaa;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 1600px;
}

h1, h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
  color: #e41f27;
}

a {
  color: #e41f27;
  text-decoration: none;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: 1em;
  border-bottom: 1px solid #ccc;
  margin-left: 0;
    input {
        width: calc(100% - 70px);
        font-size: 1em;
        border: 1px solid #aaa;
    }
}

img, svg, object, video {
  max-width: 100%;
}

button, a {
  cursor: pointer;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  th {
    text-align: inherit;
  }
  th, td {
    padding: 0.75em;
  }
}

.brand {
  color: #e41f27;
  font-size: 2.4em;
  font-weight: bolder;
}
.brand ~ p {
  margin: 0;
}

.highlighted {
  color: #e41f27;
}

.help {
  font-size: smaller;
  font-style: italic;
}

.user-select-all {
  user-select: all;
  -moz-user-select: all;
  -ms-user-select: all;
  -webkit-user-select: all;
}

.container {
  padding: 0 0.75em;
}

@media screen and (min-width: 1024px) {
  .two-columns {
    display: flex;
    gap: 2ch;
  }
  .two-columns > * {
    flex-basis: 50%;
  }
}

.main-card {
  padding: 0.75em;
  article {
    padding: 2em 2em;
    border: 1px solid #dddddd;
    border-radius: 0.5em;
  }
}

.alert {
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 15px;
  &.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
  }
  &.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
  }
  &.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
  }
  &.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
  }
  > * {
    vertical-align: middle;
  }
}

.text-center {
  text-align: center;
}

.attendance {
  table-layout: fixed;
  width: 100%;
  max-width: 996px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  th, td {
    padding: 0.5em 1em;
    border: 1px solid #2d2d2d;
  }
  tbody tr:nth-child(odd) {
    background-color: #ddd;
  }
  canvas {
    border: 1px solid #aaa;
    border-radius: 3px;
  }
  > div {
    display: flex;
    flex-direction: row;
    border-right: 1px solid;
    border-left: 1px solid;
    margin-left: -1px;

    &.today {
      background: #fdecec;
    }

    &:first-child {
      background-color: #eaeaea;
    }

    > * {
      padding: 20px;
      border-top: 1px solid #2d2d2d;
      border-bottom: 1px solid #2d2d2d;
      border-left: 1px solid #2d2d2d;
      margin: 0 0 -1px -1px;
      min-width: 125px;
      text-align: center;

      &:first-child {
        background-color: #eaeaea;
      }

      &.disabled {
        color: #aaa;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  .attendance {
    flex-direction: row;
    > div {
      flex-direction: column;
    }
  }
}

[name=augmented_session_report] {
  input[type=radio] {
    position: absolute;
    height: 1px;
    width: 1px;
    opacity: 0;
  }

  input[type=radio] + label {
    cursor: pointer;
    color: #aaa;
    border-bottom: 1px solid #aaa;
    box-shadow: 0 0 5px -2px grey;
    margin: 0.25em 0;
    padding: 0.2em 0.5em;
  }

  input[type=radio]:checked + label {
    background: #ddd;
    color: black;
    box-shadow: 0 0 3px black inset;

    &:before {
      content: "✓";
      color: darkgreen;
    }
  }

  .inline {
    display: flex;
    align-items: center;
    label {
      display: inline-block;
      margin: 0 1ch;
    }
  }
}

.card {
  position: relative;
  width: 40ch;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  padding: 0;
  padding-bottom: 1rem;
  box-shadow: 5px 5px 10px -10px #7a7a7a;
  header {
    margin-bottom: 15px;
    padding: 0 20px 10px 20px;
    border-bottom: 5px solid #e41f27;
  }
  .avatar {
    font-size: 60px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #ccc;
    background: #fff;
    border-radius: 50%;
  }

  h2 {
    padding: 0 1rem;
    margin-top: 0;
    color: #2d2d2d;
    font-size: 20px;
  }
  h2 ~ p {
    margin-top: 0;
  }
  h2 ~ p.help {
    margin-top: -15px;
  }
  h4 {
    margin-top: 0;
  }
  .user-info {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
    a:hover {
      text-decoration: underline;
    }
    p.identifier {
      margin: 0;
      display: flex;
      align-items: center;
      gap: 0.4rem;

      &:not(:last-child) {
        margin-bottom: 1rem;
      }
      span {
        font-size: 15px;
      }
    }
    .participant-needs {
      dl {
        margin: 0;
        padding-top: 1rem;
        border-top: 1px solid #ccc;
      }
      dt {
        margin-bottom: 5px;
      }
    }
    .participant-infos p {
      margin-top: 0;
      margin-bottom: 0.5rem;
    }
    i.completed {
      color: #0f5132;
    }
    i.missing {
      color: #842029;
    }
    ul {
      width: 100%;
      list-style-type: none;
      display: inline-flex;
      justify-content: space-evenly;
      padding: 1rem 0;
      margin: 0;
      border-top: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }
    form {
      &:last-of-type {
        padding-bottom: 15px;
        border-bottom: 2px dashed #ccc;
      }
      .form-input {
        background: #f5f5f5;
      }
    }
    .absence-btn {
      display: flex;
      align-items: center;
      gap: 0.5em;
      transition: background-color 0.3s ease;
      padding: 1rem;
      border-radius: 0.25em;
      border: 1px solid #e41f27;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      font-size: 15px;
      align-self: center;
      margin: 10px 0;
      &:hover {
        color: #fff;
        background: #e41f27 !important;
        text-decoration: none;
        a {
          color: #fff;
        }
      }
    }
  }
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 2ch;
  align-items: center;
  justify-content: flex-start;
}
@media screen and (min-width: 1024px) {
  .cards-grid {
    flex-flow: row wrap;
    gap: 2ch;
    align-items: unset;
  }
}

.copy-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 0.4rem;
}

.copy-text {
  flex-grow: 1;
  user-select: all;
}

.btn-clipboard {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #aaa;
  &:hover {
    color: #919191;
  }
}

.dashboard tr {
  th {
    border-bottom: 3px solid #e41f27;
  }
  td:last-child {
    text-align: right;
  }
}

.table-feedbacks {
  .feedback-header {
    background-color: #ddd;
    border-top: 1px solid #ccc;
  }

  .feedback-header:last-child {
    border-right: 1px solid #ccc;
  }

  tr {
    border-bottom: none;
    th, td {
      border-left: 1px solid #ccc;
      border-bottom: 1px solid #ccc;
    }
    td:last-child, .feedback-header:last-child {
      border-right: 1px solid #ccc;
    }
  }
  tr:has(.feedback-header) > th:first-child {
    border-bottom: 1px solid #ccc;
    border-left: none;
  }
}

.page-footer {
  margin: 1rem 0;
  text-align: center;
  img {
    height: 8em;
  }
}

label {
  display: block;
  &.required::after {
    content: " *";
    color: red;
  }
}

.form-input {
  display: block;
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  padding: 0.5rem;
  border-radius: 0.25em;
  border: 1px solid #ccc;
}

.btn {
  border-radius: 3px;
  padding: 0.5rem 1rem;
  border: 1px solid #aaa;
  background-color: white;
  color: #e41f27;
  text-align: center;
  cursor: pointer;
  &:enabled:hover {
    border-color: #e41f27;
    outline: none;
  }
  &:disabled {
    color: #aaa;
  }
}

.form-row {
  margin-bottom: 1rem;
}

.authentication-form-container button {
  width: 100%;
}

canvas {
  border: 1px solid #aaa;
}

select {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}

input[type=file]::file-selector-button {
  border-radius: 3px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--light-grey);
  background-color: white;
  margin-bottom: 5px;
  color: var(--brand-color);
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
}

.page-header {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1em;
  .h1 {
    font-size: 2rem;
  }
  .help object {
    height: 2rem;
  }
}

.headline h1 {
  font-weight: normal;
}
@media screen and (min-width: 1024px) {
  .headline {
    text-align: center;
  }
}

a[target=_blank]:after {
  padding-right: 1em;
  content: "";
}

@media screen and (min-width: 768px) {
  .authentication-form-container {
    width: 500px;
    margin: auto;
    .authentication-form-footer > a {
      display: block;
      padding: 0.25rem 0;
      text-align: center;
    }  }
}

.authentication-form-container {
  form {
    border: 1px solid #ccc;
  }

  .btn {
    width: auto;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    background-color: #e41f27;
    border: 1px solid #e41f27;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;

    &:hover {
      background-color: #b11821;
      border: 2px solid #8e141b;
    }
  }
}
.navbar {
  border-bottom: 1px solid #ccc;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-bottom: 1em;

  ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    li {
      list-style-type: none;
      text-transform: lowercase;
      font-variant: small-caps;
      width: 100%;
      a {
        color: #333;
        display: flex;
        padding: 10px;
        justify-content: center;
        align-items: center;
        gap: 5px;
      }
    }
  }
}

@media screen and (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-content: baseline;
    > * {
      flex: 0 0 auto;
    }
    ul {
      flex-direction: row;
      li {
        margin: 0 0.75rem;
        width: auto;
      }
      a {
        padding-left: 0;
        padding-right: 0;
        &:hover, &:focus, &.active {
          color: #e41f27;
          box-shadow: 0 3px #e41f27;
          outline: none;
          background-color: transparent;
        }
      }
    }
  }
}

.report {
  border-collapse: collapse;
  thead tr {
    background-color: #dddddd;
  }
  tr {
    border: 1px solid #aaa;
    &:nth-child(even) {
      background-color: #f7f7f7;
    }
    th, td {
      border: 1px solid #ccc;
    }
  }
  textarea {
    width: 100%;
    height: 130px;
  }
  label {
    white-space: nowrap;
  }
}

.submitReport {
  padding: 10px;
  margin: 10px auto;
  display: block;
  font-size: 1.3em;
  border-radius: 5px;
  border: 1px solid #e41f27;
  color: #e41f27;
  background-color: transparent;
  cursor: pointer;
  margin-bottom: 100px;
}

.responsive-table {
  max-width: 100%;
  overflow-x: auto;
}

tr {
  border-bottom: 1px solid #aaa;
}

.table-danger {
  background-color: #f5c6cb;
}

