/* ---------------------------- Global Styles ------------------------------- */

body {
  padding-top: 4.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
  background-color: rgb(245, 245, 245);
}

a {
  color: #0d0d0d;
}

a:hover {
  color: #1595fe;
}

/* -------------------------------- navbar ---------------------------------- */

.navbar {
  background-color: rgb(245, 245, 245, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 0.25px solid #999;
  -webkit-backdrop-filter: blur(10px);
}

.navbar li {
  transition: 0.3s background-color;
  text-align: center;
  background-color: transparent;
  padding: 0rem 1rem;
  text-decoration: none;
  border-radius: 0.3rem;
}

.navbar li:hover {
  background-color: #d0cccd;
}

.navbar li .nav-link {
  color: #0d0d0d;
}

/* ----------------------- Cards and card columns --------------------------- */

.row > [class^="col-"] {
  display: flex;
}

.card {
  flex: 1;
}

.card-body p {
  margin-bottom: 0;
  margin-top: 0;
}

.card-title {
  margin-bottom: 0.4rem;
}

/* ------------------------------ Index ------------------------------------- */

.progress-bar-container {
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  height: 20px;
  overflow: hidden;
  position: relative;
}

.progress-bar-index {
  display: inline-block;
  color: white;
  height: 100%;
  line-height: 20px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

/* ------------------------------ Metadata ---------------------------------- */

table {
  border-collapse: collapse;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
}
th {
  background-color: #d6d6d6;
}
hr {
  color: #f4f4f4;
}
td[data-label="warnings"], td[data-label="lint"] {
  text-align: right;
}

@media screen and (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }
  th {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  tr {
    border: 1px solid #ccc;
    margin-bottom: 5px;
  }
  td {
    border: none;
    border-bottom: 1px solid #eee;
    padding-left: 50%;
    position: relative;
  }
  td:before {
    content: attr(data-label);
    font-weight: bold;
    left: 10px;
    position: absolute;
  }
}
