* {
  margin: 0;

  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

:root {
  --delay: 0s;
  --body-background-color: #0b5793;
  --wrapper-background-color: #ececec;
  --card-color: #ffffff;
  --header-color: #0b5793;
  --header-text: #ffffff;
  --headerlinkhover:#21659c;
  --svg-logo-color: #ffffff;
  --leftsvg-logo: #0b5793;
  --leftsvg-logohover: #ffffff;
  --title-text: #234b6b;
  --button: #21659c;
  --button-text:  #ffffff;
  --inputBackground: #ffffff;
  --inputTextColor: #1a1b3c;


  }
  .darkmode{
  --body-background-color: #03051f;
  --wrapper-background-color: #0e0e23;
  --card-color: radial-gradient(circle, #1a2049 0%, #13162f 100%);
  --header-color: radial-gradient(circle, #141834 0%, #13162f 100%);
  --headerlinkhover: #abb5ff;
  --svg-logo-color: rgba(155,156,167,255);
  --leftsvg-logo: #9898a0;
  --leftsvg-logohover: #0b5793;
  --title-text: #9b9ca7;
  --button: #141530;
  --button-text:  #ffffff;
  --inputBackground:#1a1b3c;
  --inputTextColor: #9b9ca7;
  }
* {
  outline: none;
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--body-background-color);
    color: #9b9ca7;
    cursor: default;
}

.wrapper {
  max-width: 1600px;
  background-color: var(--wrapper-background-color);
  display: flex;
  height: 100vh;
  overflow: hidden;
  margin: 0 auto;
}


.left-side {
display: flex;
flex-direction: column;
flex-shrink: 0;
align-items: center;
padding: 100px 0 30px;
-webkit-animation: left 1s var(--delay) both;
        animation: left 1s var(--delay) both;
}
.left-side svg {
cursor: pointer;
margin-left:6px;
}
.left-side svg + svg {
margin-top: 34px;
}
.left-side a:last-child {
margin-top: auto;
}
.left-side svg.active, .left-side svg:hover {
color: #4255d4;
}

@-webkit-keyframes left {
0% {
  transform: translateX(-30px);
  opacity: 0;
}
100% {
  opacity: 1;
  transform: none;
}
}

@keyframes left {
0% {
  transform: translateX(-30px);
  opacity: 0;
}
100% {
  opacity: 1;
  transform: none;
}
}
@-webkit-keyframes top {
0% {
  transform: translateY(-30px);
  opacity: 0;
}
100% {
  opacity: 1;
  transform: none;
}
}
@keyframes top {
0% {
  opacity: 0;
}
100% {
  opacity: 1;
  transform: none;
}
}
.main-container {
display: flex;
flex-direction: column;
flex-grow: 1;
padding: 25px;
overflow: auto;
padding-left: 0;
}
.textType {
  color: var(--inputTextColor);
  background: var(--inputBackground);
  border: none;
  padding: 10px 15px;
}
.textType:hover{
  cursor: pointer;

}
.searchbutton{
  color: var(--button-text);
  background: var(--button);
  border: none;
  padding: 12px 18px;
  border-radius: 4px;
  margin-right: 20px;
  }
  .searchbutton:hover{
    background-color: rgb(28,36,68);
    cursor: pointer;
  }

.button {
display: flex;
align-items: center;
color: #9b9ca7;
background: #1a1b3c;
border: none;
padding: 2px 12px;
border-radius: 4px;
margin-right: 20px;
}
.button svg {
margin-left: 10px;
width: 16px;
}
.user-box {
margin-top: 25px;
display: flex;
}

.user-box + .user-box {
margin-top: 20px;
}
.user-box + .user-box .cards-wrapper {
margin-left: 0;
flex-grow: 1;
max-width: none;
}
.user-box + .user-box .today {
margin-left: 30px;
}
.user-box + .user-box .cards-header {
padding: 20px 30px;
justify-content: space-between;
}
.user-box .cards-header,
.user-box .cards-view {
display: flex;
align-items: center;
justify-content: center;
}
.user-box .cards-header svg,
.user-box .cards-view svg {
width: 24px;
}
.user-box .cards-header .title,
.user-box .cards-view .title {
margin: 0 16px;
font-size: 15px;
}
.user-box .cards-header-date svg,
.user-box .cards-view-date svg {
width: 30px;
}
.user-box .cards-header .cards-button,
.user-box .cards-view .cards-button {
padding: 10px 16px;
margin-right: 0;
}
.cards-button:hover {
background-color: rgb(28,36,68);
cursor: pointer;
}
.user-box .cards-header .cards-button svg,
.user-box .cards-view .cards-button svg {
width: 16px;
margin: 0 2px 0 0;
}
.user-box .cards-header .date-wrapper,
.user-box .cards-view .date-wrapper {
display: flex;
align-items: center;
margin: auto;
}
.user-box .cards-header .date-wrapper .title,
.user-box .cards-view .date-wrapper .title {
margin: 0 16px;
}

.card {
overflow-y: scroll;
background: var(--card-color);
padding: 40px 30px;
border-radius: 6px;
display: flex;
flex-direction: column;
flex-grow: 1;
max-height: 430px;
width: 100%;

}
.card .title {
font-size: 16px;
font-weight: 500;
}
.card .subtitle {
font-size: 13px;
line-height: 1.6em;
}
.card + .card {
margin-left: 20px;
}
.textbox{
  width: 500px;
  height: 300px;
  padding: 20px;
  resize: none;
  overflow: scroll;
}

table {
  overflow-y: scroll; 
  white-space: nowrap;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-weight: bold;
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.TableTitle{
  font-size:15px;
}
.formModal {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between form rows */
}

.formModal-row {
  display: flex;
  gap: 10px; /* Space between columns */
}

.formModal-group {
  display: flex;
  flex-direction: column; /* Label and input arranged vertically */
  flex: 3; /* Make each group take equal space */
}

    .cards-header {
      background: var(--header-color);
      color: var(--header-text);
      border-radius: 6px 6px 0 0;
      padding: 20px 45px;
      font-size: 14px;
      font-weight: 500;
    }
    .list:hover {
      animation-name: fadeItIn;
      animation-duration: 1s;
      animation-delay: 0s;
      animation-fill-mode: forwards;
    }
    .table svg{
      cursor: pointer;
      
    }
    .table svg:hover{
      cursor: pointer;
    }
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  margin-top: 50px;
  z-index: 1; /* Sit on top */
  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 */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  padding: 40px;
  border: 1px solid #888;
  width: 40%;
  height: 50%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modalBtn{
  background-color: #4255d4;
  color: #e7e8ea;
  padding: 10px 15px;
  width: 100%;
  border: none;
}
/* Styling for the snackbar */
#snackbar {
  visibility: hidden; /* Hidden by default */
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 16px;
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  font-size: 17px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  opacity: 0; /* Initially transparent */
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

/* Show the snackbar */
#snackbar.show {
  visibility: visible; /* Show snackbar */
  opacity: 1; /* Fully opaque */
  transition: opacity 0.5s ease;
}

  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-moz-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-o-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  @-ms-keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes fadeItIn {
    0% {
      background: rgb(28,36,68);
    }
    100% {
      background: #1a1b3c;
    }
  }

  @media screen and (max-width: 1440px){
    .modal-content {
      margin: 10% auto; /* 15% from the top and centered */
      padding: 40px;
      width: 40%;
      height: auto; /* Could be more or less, depending on screen size */
    }
    .textbox{
      width: 500px;
      height: 300px;
      padding: 20px;
      resize: none;
      overflow-y: scroll;
    }
  }
  @media screen and (max-width: 1200px) {
    table {
      border: 0;
    }
  
    table caption {
      font-size: 1.3em;
    }
    
    table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow-y: scroll;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table tr {
      border: 1px solid #ddd;
      border-bottom: 3px solid #2d34ee;
      display: block;
      margin-bottom: .625em;
    }
    
    table td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: left;
    }
    
    table td::before {
  
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table td:last-child {
      border-bottom: 0;
    }
  }
  @media screen and (max-width: 1024px) {
    .modal-content {
      margin: 15% auto; /* 15% from the top and centered */
      padding: 40px;
      width: 55%;
      height: auto; /* Could be more or less, depending on screen size */
    }
    .textbox{
      width: 500px;
      height: 280px;
      padding: 20px;
      resize: none;
      overflow-y: scroll;
    }
    
    
  }
  @media screen and (max-width: 772px) {
    .modal-content {
      margin:20% auto; /* 15% from the top and centered */
      padding: 40px;
      width: 60%;
      height: auto; /* Could be more or less, depending on screen size */
    }
    .textbox{
      width: 380px;
      height: 250px;
      padding: 20px;
      resize: none;
      overflow-y: scroll;
    }
  }
  @media screen and (max-width: 425px) {
    .modal-content {
      margin: 25% auto; /* 15% from the top and centered */
      padding: 40px;
      width: 80%;
      height: auto; /* Could be more or less, depending on screen size */
    }
    .textbox{
      width: 250px;
      height: 250px;
      padding: 20px;
      resize: none;
      overflow-y: scroll;
    }
    .audioInput{
      width: auto;
    }
  }
  .user-box > * {
    -webkit-animation: top 1s var(--delay) both;
            animation: top 1s var(--delay) both;
  }