* {
  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% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
.main-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 25px;
  overflow: auto;
  padding-left: 0;
}

.button {
  display: flex;
  align-items: center;
  color: var(--primary-text);
  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 {
  background: var(--card-color);
  padding: 40px 30px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  max-height: 100%;
  max-width: 100%;
  height: 600px;
  width: 100%;
  overflow-y: scroll;

}
.card .title {
  font-size: 16px;
  font-weight: 500;
}
.card .subtitle {
  font-size: 13px;
  line-height: 1.6em;
}
.card + .card {
  margin-left: 20px;
}

@-webkit-keyframes turn {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes turn {
  100% {
    transform: rotate(1turn);
  }
}
.studentList {
  max-height: 100%;
  max-width: 100%;
  height: 400px;
  width: 100%;
  overflow-y: scroll;
}
.parentList {
  max-height: 100%;
  max-width: 100%;
  height: 400px;
  width: 100%;
  overflow-y: scroll;
}
.table {
  text-align: left;
  padding: 0;
  padding-left: 10px;
  max-height: 20px;
}
.table th {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 30px;
}

th + th {
  margin: 5px 0px;
}
.table td {
  vertical-align: middle;
  padding: 20px 0;
}
.table input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #9b9ca7;
  vertical-align: middle;
  background-color: transparent;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 16px;
  transition: 0.25s;
  background-size: 0;
  background-position: center;
}
.table input:checked {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-color: #252954;
  background-size: 12px;
  background-repeat: no-repeat;
}
.cards-header {
  background: var(--header-color);
  border-radius: 6px 6px 0 0;
  padding: 20px 45px;
  font-size: 14px;
  font-weight: 500;
  align-items:flex-start;
  color: var(--header-text);
}
.list:hover {
  cursor: pointer;
  animation-name: fadeItIn;
  animation-duration: 1s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}
form {
  display: flex;
  flex-direction: row;
  gap: 5px; /* Space between form rows */
}
.form-row {
  display: flex;
  gap: 5px; /* Space between columns */
}

.modalform-group {
  display: flex;
  flex-direction: row; /* Label and input arranged vertically */
  flex: 1; /* Make each group take equal space */
}
.modalform {
  display: flex;
  flex-direction: row;
  gap: 5px; /* Space between form rows */
}
.modalform-row {
  display: flex;
  gap: 5px; /* Space between columns */
}

.modalform-group {
  display: flex;
  flex-direction: row; /* Label and input arranged vertically */
  flex: 1; /* Make each group take equal space */
}
.modalBtn{
  background-color: #4255d4;
  color: #e7e8ea;
  padding: 10px 15px;
  width: 100%;
  border: none;
}
.modalSections{
  display: flex;
  flex-direction: row;
  gap: 5px; /* Space between form rows */
}


.textType {
  font-size: 13px;
  color: var(--inputTextColor);
  background: var(--inputBackground);
  border: none;
  padding: 10px 15px;
}
.dateType {
  color: #9b9ca7;
  background: #1a1b3c;
  border: none;
  padding: 10px 15px;
}
/*.dateType:hover{
  animation-name: fadeItIn;
  animation-duration: 1s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}*/
.textType:hover{
  cursor: pointer;
  /*animation-name: fadeItIn;*/
  animation-duration: 1s;
  animation-delay: 0s;
  /*animation-fill-mode: forwards;*/
}
.myBtn_multi{
  background-color: var(--button);
  color: var(--button-text);
  padding: 10px 15px;
  border: none;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  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: 10% auto; /* 15% from the top and centered */
  padding: 50px;
  border: 1px solid #888;
  width: 100%;
  height: 100%; /* 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;
}
.modalbtnSubmit
{
  margin-bottom: 20px;
}
.parentList{
  margin-bottom: 200px;

}

/* 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;
}
/* Animations to fade the snackbar in and out */
@-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;}
}
@keyframes fadeItIn {
  0% {
    background: rgb(28,36,68);
  }
  100% {
    background: #1a1b3c;
  }
}
@-webkit-keyframes fly {
  40% {
    transform: translate(-6px, -6px);
  }
  60% {
    transform: translate(-12px, -2px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes fly {
  40% {
    transform: translate(-6px, -6px);
  }
  60% {
    transform: translate(-12px, -2px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}

table {
  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-size: .8em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.TableTitle{
  font-size:15px;
}
.modalformpair {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between form rows */
}

.modalformpair-row {
  display: flex;
  gap: 10px; /* Space between columns */
}

.modalformpair-group {
  display: flex;
  flex-direction: column; /* Label and input arranged vertically */
  flex: 3; /* Make each group take equal space */
}
.form1, .form2 {
  display: flex;
  flex-direction: row;
  gap: 5px; /* Space between form rows */
}
.form1-row, .form2-row {
  display: flex;
  gap: 5px; /* Space between columns */
}

.form1-group, .form2-group {
  display: flex;
  flex-direction: row; /* Label and input arranged vertically */
  flex: 1; /* Make each group take equal space */
}
.searchbutton{
  background-color: var(--button);
  color: var(--header-text);
  border: none;
  width: 100px;
}
@media(max-width:4000px){
  .modal-content {
    width: 60%;
  }  
  .modalform {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between form rows */
  }
  
  .modalform-row {
    display: flex;
    gap: 10px; /* Space between columns */
  }
  
  .modalform-group {
    display: flex;
    flex-direction: column; /* Label and input arranged vertically */
    flex: 3; /* Make each group take equal space */
  }
  
}
@media(max-width:2560px){
  .modal-content {
    width: 40%;
    height: 60%; /* Could be more or less, depending on screen size */
    padding: 60px;
  }
}
@media(max-width:1024px){
  .modal-content {
    margin: 15% auto; /* 15% from the top and centered */
    width: 70%;
    height: 60%; /* Could be more or less, depending on screen size */
  }
}

@media screen and (max-width: 960px) {
  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 {
    font-size: 13px;
    border-bottom: 1px solid #ddd;
    display: block;
    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 (max-width: 946px) {
  .right-heading{
    display: none;
  }
}
@media (max-width: 768px) {
  .modal-content {
  margin: 20% auto; /* 15% from the top and centered */
  border: 1px solid #888;
  width: 75%;
  height: 60%; /* Could be more or less, depending on screen size */
}

  .textType, .searchbutton{
    font-size: 10px;
  }
  .form1, .form2 {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between form rows */
  }
  
  .form1-row, .form2{
    display: flex;
    gap: 10px; /* Space between columns */
  }
  
  .form1-group {
    width: 320px;
    display: flex;
    flex-direction: column; /* Label and input arranged vertically */
    flex: 3; /* Make each group take equal space */
  }
  .form2-group {
    width: 320px;
    display: flex;
    flex-direction: column; /* Label and input arranged vertically */
    flex: 3; /* Make each group take equal space */
  }


}
.smallDisplay{
  display: none;
}
@media (max-width: 430px) {
  .modal-content {
    margin: 35% auto; /* 15% from the top and centered */
    width: 90%;
    height: auto; /* Could be more or less, depending on screen size */
  }
  .studentList{
    height: 200px;
  }
  .parentList{
    height: 200px;
  }
  .today{
    font-size: 10px;
  }
  .modal-content .modalform-container .textType {
    font-size: 10px;
    width: 0px;
  }
  .form1-group {
    width: 140px;
  }
  .form2-group {
    width: 160px;
  }
  .modalSections{
    display: flex;
    flex-direction: column;
    gap: 5px; /* Space between form rows */
    width: 100%;
    text-align: center;
  }
  .smallDisplay{
    display: inline;
    width: 100%;

  }
  .bigDisplay{
    display: none;
  }
  .RPsizeInput{
    width: 100%;
  }
  
}


              




