@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Lekton:ital,wght@0,400;0,700;1,400&family=Lexend+Deca:wght@100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');


html {
  height: 100%;
  width: 100%;

}

body {
  background-color: #0a0a0a;
  width: 100%;
  padding: 0;
  margin: 0;
  font-family:  "Lexend Deca", sans-serif;
  font-weight: 300;
  font-style: normal;
  color: #c7c7c7;
}

/* Add this media query for desktop screens */
@media screen and (min-width: 768px) {
  body {
    margin: 0 12vw;
    width: auto;
  }

}

a,
button {
  cursor: pointer;
}

/* Navigation drawer styles */
.nav-drawer {
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  padding: 48px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
  border-right: 1px solid #222222;
  background-color: #0a0a0a;
  z-index: 50;
  text-align: left;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
  align-items: flex-start;
}

.user-profile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.main-content {
  margin-left: 280px;
  padding: 32px 0;
  transition: margin-left 0.3s ease;
}

/* Navigation menu styles */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 48px;
}

.nav-menu a {
  color: #c7c7c7;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 90%;
}

.nav-menu a:hover,
.nav-menu a.active {
  background-color: #103529;
  color: #21C063;
}

/* Mobile menu styles */
.hamburger {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 48;
  cursor: pointer;
  color: #21C063;
  padding: 4px;
  border-radius: 12px;
  align-items: center;
  text-align: center;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background-color: #222222;
  /* Fallback color */
  background-color: rgba(34, 34, 34, 0.4);
  /* Black w/ opacity */

  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

}

.overlay.active {
  display: block;
}

/* User profile styles */
.user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.user-profile img {
  width: 32px;
  height: auto;
  border-radius: 12px;
  display: inline-block;
  border: 2px solid #222222;
}

.user-name {
  color: #e6e6e6;
  display: inline-block;
  font-size: 1.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 115px;
}


/* Responsive styles */
@media screen and (max-width: 768px) {
  .nav-drawer {
    transform: translateX(-100%);
    z-index: 999;
  }

  .nav-drawer.active {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    margin-top: 36px;
  }

  .hamburger {
    display: block;
  }
}

.serif-400 {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}

.monospaced {
  font-family: "Lekton", monospace;
  font-weight: 400;
  font-style: normal;
}

.sans-400 {
  font-family: "Figtree", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.text-xxl {
  font-size: 2.5rem;
  font-weight: 300;
  margin-top: 0;
}

.text-xl {
  font-size: 2rem;
  font-weight: 300;
}

.text-l {
  font-size: 1.5rem;
  font-weight: 300;
}

.text-m {
  font-size: 1.25rem;
  font-weight: 300;


}

.text-sm {
  font-size: 1rem;
  font-weight: 300;
}

.text-xs {
  font-size: 0.75rem;
  font-weight: 300;
}

a{
  color: #21C063;
}

.text-headline {
  margin: 12px 0px 16px 42px;
  padding: 12px 4px;
  border-bottom: 2px solid #103529;
  display: inline-block;
  color: #e6e6e6;
}

.text-primary {
  color: #E6E6E6;
}

input,
select {
  font-family: inherit;
  font-weight: 400;
  font-size: 1rem;
  background-color: transparent;
  color: #E6E6E6;
  border: 0.5px solid #999;
  border-radius: 12px;
  margin: 4px 0vw;
  padding: 14px 24px;
  display: flex;
  width: 99%;
  box-sizing: border-box;
}

.color-primary {
  color: #21C063;
}

.margin-xl {
  margin-top: 5vh;
  margin-bottom: 5vh;
}

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

.container-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2vh;
  margin-bottom: 2vh;
  padding: 16px;

}



.card {
  background-color: #222222;
  border-radius: 12px;
  margin: 8px 6px;
  padding: 8px 18px;
  width: fit-content;
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
}


@media screen and (max-width: 768px) {
  .container-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .card {
    display: block;
    width: calc(100% - 24px) !important;
    /* Subtracting padding */
    margin-top: 12px;
    margin-left: 12px;
    box-sizing: border-box;
  }
}

.btn {
  background-color: #21C063;
  padding: 12px 22px;
  border-radius: 12px;
  color: black;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: fit-content;
  margin: 8px 0vw;
  font-weight: 400;
  cursor: pointer;
}

.btn-2 {
  background-color: #222;
  color: #aaa;

}

/* CSS */
.button-86 {
  all: unset;
  width: fit-content;
  height: 30px;
  font-size: 16px;
  background: transparent;
  border: none;
  position: relative;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  margin: 12px 0px;
}

.button-86::after,
.button-86::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.button-86::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: #222222;
  border-radius: 12px;
}

.button-86::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #ffffff15;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.button-86:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.button-86:hover::after {
  border-radius: 12px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.button-86:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

.btn-google {
  background-color: #999;
  color: #000;
  cursor: pointer;
  width: fit-content;
}

.btn-logout {
  color: #21C063;
  padding: 10px;
  cursor: pointer;
  font-size: 0.8rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  border-radius: 12px;
}

.btn-logout:hover {
  background-color: #222;
}

.justify-content-end {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-right: 24px;
}

.justify-content-center {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.btn-full-width {
  width: auto;

}

.pill-filled {
  background-color: #103529;
  border-radius: 12px;
  padding: 4px 12px;
  display: inline-flex;
  margin: 0 12px;
  width: fit-content;
  color: #21C063;
  gap: 2px;
  vertical-align: middle;
  text-align: center;
}

.notification {
  background-color: #103529;
  border-radius: 12px;
  padding: 10px 24px;
  display: inline-flex;
  width: fit-content;
  color: #21C063;
  gap: 2px;
  vertical-align: middle;
  text-align: center;
  display: flex;
}

.card-body {
  background-color: #0a0a0a;
  color: #e6e6e6;
  border-radius: 10px;
  text-align: center;
  padding: 8px 12px;
  margin: 0px -10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-width: 150px;

}

.center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
}

.table {
  width: 98%;
  border-collapse: separate;
  border-spacing: 0 8px;
  margin: 0 auto;
}

.table th {
  text-align: left;
  padding: 12px 24px;
  font-weight: 400;
  white-space: nowrap;
}

.table td {
  padding: 12px 24px;
  font-weight: 200;
}

@media screen and (max-width: 768px) {
  .table-responsive {
    padding: 12px;
    width: calc(100vw - 24px);
    margin: 0 auto;
  }

  .table thead {
    display: none;
  }

  .table tr {
    display: block;
    margin-bottom: 16px;
    border-radius: 12px;
    padding: 12px;
    border: 1.5px solid #222;

  }

  .table td {
    display: block;
    text-align: right;
    padding: 8px 12px;
    background: none;
    border: none;

  }

  .table td:before {
    content: attr(data-label);
    float: left;
    font-weight: 500;
  }
}


/*navbar

div.scrollmenu {
  background-color: #1a1a1a;
  overflow-y: hidden;
  overflow-x: auto;
  white-space: nowrap;
  border-radius: 12px;
  margin: 0vw 2vw;
  max-width: 96vw;
  display: flex;
  gap: 10px;
  bottom: 3vh;
  color: #e6e6e6;
  -ms-overflow-style: none;
  scrollbar-width: none; 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

div.scrollmenu::-webkit-scrollbar {
  display: none;
}

div.scrollmenu a {
  display: inline-flex; 
color: #e6e6e6;
  text-align: center;
  padding: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

div.scrollmenu a.active {
  border-bottom: 3px solid #EAA879;
  transform: scale(0.96);

}
div.scrollmenu a:hover {
  background: radial-gradient(circle at center, #4de6a610 60%, transparent 100%);
  border-radius: 10px;
  transform: scale(1.1);
  border-bottom: 0px;
}

*/

/*loader*/
/* HTML: <div class="loader"></div> */
.loader {
  width: 20px;
  aspect-ratio: 1;
  border-radius: 100%;
  background: #21C063;
  box-shadow: 0 0 0 0 rgba(33, 192, 99, 0.4);
  animation: l2 1.5s infinite linear;
  position: relative;
  margin: 56px auto;
  cursor: none;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(33, 192, 99, 0.4);
  animation: inherit;
  animation-delay: -0.5s;
}

.loader:after {
  animation-delay: -1s;
}

@keyframes l2 {
  100% {
    box-shadow: 0 0 0 36px rgba(176, 87, 48, 0)
  }
}


/* The Modal */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 99;
  /* Sit on top */
  padding-top: 100px;
  /* 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(25, 25, 25);
  /* Fallback color */
  background-color: rgba(25, 25, 25, 0.5);
  /* Black w/ opacity */

  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Modal Content */
.modal-content {
  z-index: 100;
  background-color: #0a0a0a;
  margin: 0 auto;
  padding: 20px;
  border: 1px solid rgb(25, 25, 25);
  width: 80%;
  border-radius: 12px;
  max-width: 450px;

  -webkit-animation-name: fadeIn;
  /* Fade in the background */
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #21C063;
  text-decoration: none;
  cursor: pointer;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  background-color: #103529;
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}


.progress-bar {
  background-color: #103529;
  border-radius: 15px;
}

.progress {
  background-color: #21C063;
  padding: 1%;
  text-align: right;
  border-radius: 15px;
  height: auto;
}