.hidden-until-load {
  display: none;
}

* {
  box-sizing: border-box;
}

html,
body,
#app,
.content {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Lexend Deca', sans-serif;
  background-color: #f5f5f5;
}

img {
  max-width: 100%;
}

img.illustration {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

.material-symbols-outlined {
  margin-right: 6px;
  vertical-align: middle;
  line-height: 1px !important;
}

/* Style the side navigation */
.sidenav {
  height: 100%;
  width: 220px;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: left 0.3s ease-in-out;
}

.closeBtn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  background-color: #333;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 6;
  transition: background-color 0.3s;
}

.closeBtn:hover {
  background-color: #555;
}

/* Side navigation links */
.sidenav a {
  color: #eee;
  padding: 8px;
  margin: 8px;
  text-decoration: none;
  display: block;
}

.sidenav>a {
  border-radius: 8px;
  background-color: #111;
  background-image: linear-gradient(45deg, #11111100, #11111177);
  transition: background-color 0.3s;
}

/* Change color on hover */
.sidenav>a.active {
  background: var(--background-gradient);
}

.sidenav>a.active .badge {
  background-color: #11111155;
}

.sidenav>a:hover {
  background-color: #444;
}

.sidenav>a .badge {
  background-color: var(--color);
  font-size: 13px;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  float: right;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 1);
}

.sidenav h1 {
  position: relative;
  text-align: center;
  padding: 4px
}

.sidenav h1 a img {
  position: absolute;
  width: 100px;
  height: 100px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.25;
  z-index: 1;
}

.sidenav h1 a .title {
  position: relative;
  z-index: 2;
}

/* Style the content */
.content {
  padding-top: 52px;
  margin-left: 220px;
  background-color: #f5f5f5;
  transition: margin-left 0.3s ease-in-out;
}

.page {
  padding: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-gap: 20px;
  margin: 20px auto;
}

.card {
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s, transform 0.3s;
  will-change: box-shadow, transform;
}

.card[href]:hover {
  cursor: pointer;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.3);
  transform: translate(-3px, -3px);
}

.card .card-image {
  width: 100%;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
}

.card .card-image img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto;
}

.card .card-content h3 {
  margin: 0;
}

.card .card-content h5 {
  margin: 4px 0;
  color: #888;
}

.card .card-content p.summarize {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  float: right;
  margin-right: -15px;
  margin-top: -15px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

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

.card .card-footer .card-footer-item {
  display: flex;
  align-items: center;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.pagination button {
  border: none;
  font-size: 1.5em;
  padding: 0 10px;
  background-color: #111;
  color: #eee;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.material-symbols-outlined.without-text {
  margin-right: 0;
}

.pagination button:hover {
  background-color: #444;
}

.pagination button.active {
  background: var(--background-gradient);
}

.ribbon {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
  overflow: hidden;
  width: 150px;
  height: 150px;
  text-align: right;
}

.ribbon span {
  font-size: 14px;
  font-weight: bold;
  color: #FFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 20px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  width: 200px;
  display: block;
  background: var(--color);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
  position: absolute;
  top: 48px;
  left: -42px;
}

.ribbon span::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid var(--color);
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-top: 3px solid var(--color);
}

.ribbon span::after {
  content: "";
  position: absolute;
  right: 0px;
  top: 100%;
  z-index: -1;
  border-left: 3px solid transparent;
  border-right: 3px solid var(--color);
  border-bottom: 3px solid transparent;
  border-top: 3px solid var(--color);
}

ul.topnav {
  position: fixed;
  top: 0;
  left: 220px;
  right: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 52px;
  background-color: #111;
  z-index: 3;
  transition: left 0.3s ease-in-out;
}

ul.topnav li {
  float: left;
}

ul.topnav li a,
ul.topnav .nav-dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  cursor: pointer;
}

ul.topnav li a:hover,
ul.topnav .nav-dropdown:hover .dropbtn {
  background-color: #444;
}

ul.topnav li.nav-dropdown {
  display: inline-block;
}

ul.topnav .nav-dropdown-content {
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s 0.3s;
}

ul.topnav .nav-dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

ul.topnav .nav-dropdown-content a:hover {
  background-color: #ddd;
}

ul.topnav .nav-dropdown:hover .nav-dropdown-content {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}

header h2 {
  margin: 0;
}

header h2 a {
  color: #555;
  text-decoration: none;
}

header h2 a:hover {
  color: black;
  border-bottom: 1px dotted black;
}

:root {
  --color-primary: #d9449b;
  --background-gradient: linear-gradient(45deg, #d9449b, #bd3cb9);
  --background-gradient-hover: linear-gradient(45deg, #444, #333);
}

/* Style The Dropdown Button */
.dropbtn {
  background: var(--background-gradient);
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  display: block;
  font-family: 'Lexend Deca', sans-serif;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2;
  right: 0;
  width: max-content;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s 0.3s;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.list-complete-item {
  transition: all 0.5s;
  display: inline-block;
}

.list-complete-enter,
.list-complete-leave-to

/* .list-complete-leave-active below version 2.1.8 */
  {
  opacity: 0;
  transform: translateY(30px);
}

.list-complete-leave-active {
  position: absolute;
}


.menuBtn {
  display: none;
}

@media screen and (max-width: 800px) {
  .sidenav {
    left: -220px;
  }

  ul.topnav {
    left: 0;
  }

  .content {
    margin-left: 0;
  }

  .sidenav.open {
    left: 0;
  }

  .menuBtn {
    display: block;
  }

  .closeBtn {
    display: flex;
  }
}

/* The Modal (background) */
.modal {
  visibility: hidden;
  opacity: 0;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 6;
  /* Sit on top */
  padding-top: 70px;
  padding-bottom: 30px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */

  transition: opacity 0.3s, visibility 0.3s;

  display: flex;
}

.modal.shown {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: shrink;
  animation-duration: 0.4s;

  border-radius: 8px;
  overflow: hidden;
  max-width: 550px;
}

@media screen and (max-width: 480px) {
  .modal {
    padding-top: 0;
    padding-bottom: 0;
  }

  .modal-content {
    width: 100%;
    min-height: 100%;
    border-radius: 0;
  }
}

.modal.shown .modal-content {
  animation-name: appear;
}

@keyframes appear {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes shrink {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

.modal-header {
  padding: 12px;
  background: var(--color-primary);
  background: var(--background-gradient);
  color: white;

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

.modal-title {
  font-size: 22px;
  font-weight: bold;
}

.modal-title .material-symbols-outlined {
  font-size: 28px;
  vertical-align: sub;
}

.modal-close {
  background-color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-close:hover {
  transform: rotate(180deg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.modal-body {
  padding: 16px;
}

.modal-actions {
  padding: 2px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fab {
  position: fixed;
  bottom: 10px;
  right: 10px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  background: var(--background-gradient);
  color: white;
  font-size: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  transition: opacity 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.fab .material-symbols-outlined {
  font-size: 32px;
}

.btn {
  background: var(--background-gradient);
  color: white;
  padding: 10px 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  display: block;
  margin: 4px;
  transition: opacity 0.2s, box-shadow 0.2s;
  font-family: 'Lexend Deca', sans-serif;
}

.btn:hover,
.fab:hover {
  opacity: 0.8;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.btn:active,
.fab:active {
  transform: scale(0.97);
}

.btn-outline {
  border: 3px solid var(--color-primary);
  padding: 7px 13px;
  background: white;
  color: var(--color-primary);
}

.btn-icon {
  padding: 8px 6px;
}

.btn-outline.btn-icon {
  padding: 5px 3px;
}

.btn-value {
  font-size: 16px;
  padding: 7px 10px 7px 0;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form {
  display: grid;
  align-items: center;
  grid-gap: 8px;
}

@media screen and (min-width: 630px) {
  .form {
    grid-template-columns: auto 1fr;
  }

  .form> :nth-child(2n+1) {
    justify-self: end;
    align-self: flex-start;
    padding-top: 10px;
  }
}

.input-container .material-symbols-outlined {
  line-height: 34px !important;
}

.input-container {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  border: 3px solid var(--color-primary);
  border-radius: 8px;
  padding-left: 8px;
  vertical-align: bottom;
  margin: 0 4px;
  flex: 1;
}

.input-container input,
.input-container textarea {
  border: none;
  padding: 8px 6px 6px 0px;
  font-size: 16px;
  border-radius: 8px;
  outline: none;
  font-family: 'Lexend Deca', sans-serif;
  flex: 1;
}

/* Disabled input */
.input-container input:disabled,
.input-container textarea:disabled {
  cursor: not-allowed;
}

.input-container textarea {
  resize: vertical;
}


.select {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select select {
  font-family: 'Lexend Deca', sans-serif;
  display: inline-block;
  width: 100%;
  cursor: pointer;
  padding: 8px 28px 8px 0px;
  outline: 0;
  border: 0px hidden #000000;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 16px;
  transition: color 0.3s;
}

.select select:invalid:not(:hover) {
  color: #757575;
}

.select select::-ms-expand {
  display: none;
}

.select select:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.select_arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 0px;
  height: 0px;
  border: solid #7b7b7b;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.select select:hover~.select_arrow,
.select select:focus~.select_arrow {
  border-color: #000000;
}

.select select:disabled~.select_arrow {
  border-top-color: #cccccc;
}

input[type=checkbox] {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

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

.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
  margin: auto;
  margin-bottom: 10px;
}

.card-icon .material-symbols-outlined {
  font-size: 160px;
  margin-right: 0;
  color: white;
}

.card-icon-content {
  color: white;
  text-align: center;
}

.vue-notification .notification-title {
  font-size: 17px;
  font-weight: bold;
}

.vue-notification .notification-content {
  font-size: 15px;
}

code {
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
  display: block;
  margin-top: 8px;
  overflow-x: auto;
}

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

.sql-request {
  display: none;
}

.show-sql-requests .sql-request {
  display: block;
}

img.avatar {
  width: 46px;
  margin: -16px 8px -16px -4px;
  border-radius: 50%;
  background-color: #444;
}