@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  color: #1f315c;
}

body {
  display: flex;
}

main {
  flex: 1;
  padding: 2rem;
  margin-left: calc(150px + 4rem);
}

.header {
  display: flex;
  margin-bottom: 2rem;
  justify-content: space-between;
  align-items: flex-end;
}

.header__buttons {
  display: flex;
  margin-left: 1rem;
}

.header__buttons a:not(:last-child) {
  margin-right: 1rem;
}

.sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background-color: #1F315C;
  color: #ffffff;
  padding: 2rem 2rem 1rem;
  width: calc(150px + 4rem);  
  position: fixed;
}

.sidebar * {
  color: #ffffff;
  text-decoration: none;
}

.sidebar .sidebar__link {
  margin-bottom: 1rem;
}

.sidebar .sidebar__link--logout {
  margin-top: auto;
}

.btn {
  text-decoration: none;
  background-color: #1F315C;
  padding: 0.5rem 1rem;
  color: #ffffff;
  display: flex;
  width: max-content;
}

.btn.btn--alert {
  background-color: #D0342C;
}

.btn.btn--black {
  background-color: #cdcdcd;
}

.btn--linked {
  text-decoration: none;
  color: #1F315C;
  display: block;
  width: max-content;
}

.btn--delete.btn--linked, .btn--linked.btn--delete * {
  color: #D0342C;
}

.btn.btn--delete, .btn.btn--delete * {
  background-color: #D0342C;
  color: #ffffff;
}

.form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin: 1em auto;
}

.form h4 {
  text-align: center;
  margin-bottom: 1em;
}

.form label {
  font-size: 12px;
  margin-bottom: 0.5em;
}

.form input, .form select {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
}

.form input[type='submit'] {
  cursor: pointer;
  margin-bottom: 0;
}

.file__title {
  margin: 3em 0;
  display: flex;
  align-items: center;
}

.file__title h4 {
  margin-right: 1rem;
}

.table {
  table-layout: fixed;
  width: 100%;
  margin: 1em auto;
  border-radius: 10px;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-collapse: collapse;
}

.table th, .table td {
  padding: 0.5em 1em;
  text-align: left;
}

.table thead {
  background-color: #1f315c;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.table thead th {
  color: #ffffff;
}

.table thead th:last-child {
  border-top-right-radius: 10px;
}

.table thead th:first-child {
  border-top-left-radius: 10px;
}
.table th *, .table td *{
  text-overflow: ellipsis;
  overflow: hidden;
}

.table tbody tr:nth-child(even) {
  background-color: #1f315c16;
}

progress {
  display: none;
  margin: 1em 0 0;
  width: 100%;
}

.form__error {
  color: #D0342C;
  margin-bottom: 1em;
}

.form__success {
  color: #33a746;
  margin-bottom: 1em;
}

.iframe {
  border: none;
  margin: 1em auto;
  display: flex;
  width: 100%;
  max-width: 500px;
}

i {
  margin-right: 0.35em;
}
#form__download {
  position: relative;
}

#form__download .loader{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff71;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#form__download.loaded .loader {
  display: none;
  visibility: hidden;
}