* {
  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:#ffffff;
  --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: auto;
  width: 100%;

}

/* 1st module */
.searchStudent{
  margin-bottom: 20px;
}
.textType {
  color: #9b9ca7;
  background: #1a1b3c;
  border: none;
  padding: 10px 15px;
}
.SMSPage {
  max-height: 100%;
  max-width: 100%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;
  margin-top: 1%;
  margin-left: 20%;
  margin-right: 20%;
}
.boxcard {
  position: relative;
  padding: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.boxcard-content {
  padding-top: 20px;
}

.svg-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.svg-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.svg-button svg {
  fill: #555;
}

.svg-button:hover svg {
  fill: #000;
}


.title{
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
  }
.titlelabel{
    font-size: 15px;
    font-weight: 500;
  }
th {
  text-align: left;
}
.SearchStudentBar {
  color: var(--inputTextColor);
  background: var(--inputBackground);
  border: 1px;
  padding: 10px 15px;
  width: 200px;
  font-size: 13px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}   

.message .title {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: bold;

}

.message .titlelabel{
  font-size: 15px;
  font-weight: 500;
}
.message .searchBar {
  width : 35%;
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: var(--inputBackground);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border: none;
}

.message .messageTextBox {
  width: 100%;
  height: 400px;
  resize: none;
  padding: 20px 20px;
  font-size: 16px;
  margin-bottom: 5px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;


}

.buttons {
  padding: 10px 15px;
  background-color: var(--button);
  color:var(--button-text);
  border: none;
}
.buttons:hover{
  background-color: #4f64eb;
  cursor:pointer;
}
/* 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 */
  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: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 35%; /* Could be more or less, depending on screen size */
  height: auto; /* Could be more or less, depending on screen size */
  overflow-y: scroll;

}
.th-modal {
  width: 400px;
  font-weight: bold;
}
.modal1 {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.modal-content1 {
  background-color: #fefefe;
  margin: 5% auto; /* 15% from the top and centered */
  border: 1px solid #888;
  width: 35%; /* Could be more or less, depending on screen size */
  height: auto; /* Could be more or less, depending on screen size */
  overflow-y: scroll;
  max-height: 1000px;
}

.modal-header {
  background-color: #3f51b5;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
}

.close-btn {
  font-size: 20px;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  text-align: center;
  font-weight: bold;
}
/* table responsive */

/* Basic Styling */
.datepicker {
  padding: 10px;
  font-size: 16px;
  color: var(  --inputTextColor);
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: var(  --inputBackground);
  outline: none;
  transition: all 0.3s ease;
  margin-bottom:20px;
}

/* Hover Effect */
.datepicker:hover {
  border-color: #888;
}

/* Focus Effect */
.datepicker:focus {
  border-color: #555;
  box-shadow: 0 0 5px rgba(85, 85, 85, 0.3);
}

/* Placeholder Style */
.datepicker::placeholder {
  color: #aaa;
  font-style: italic;
}

/* Calendar Icon */
.datepicker::-webkit-calendar-picker-indicator {
  color: #555;
  cursor: pointer;
  margin-right: 5px;
}

/* Disabled Style */
.datepicker:disabled {
  background-color: #eee;
  color: #888;
}



/* 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;
}
 .notice{
  font-size: 13px;

}

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;
}

@keyframes fadeItIn {
0% {
  background: rgb(28,36,68);
}
100% {
  background: #11132c;
}
}

@media (max-width: 1440px) 
{
    .notice{
    font-size: 13px;

  }
  .message .messageTextBox {
    height: 350px;
    font-size: 14px;
  }
}

@media screen and (max-width: 2000px) {

  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: 1024px) 
 {
  .modal-content {
    margin: 20% auto 10% auto; /* 18% from the top and centered */
    width: 37%; /* Could be more or less, depending on screen size */
    height: 52%; /* Could be more or less, depending on screen size */
  
  }
  .SearchStudentBar {
    width: 170px;
    font-size: 12px;

  }   
  .title {
    font-size: 23px;

    }
  .notice{
    font-size: 10px;
  }
  .SMSPage {
    margin-left: 10%;
    margin-right: 10%;
  }

}
@media (max-width: 768px) 
 {
  .modal-content {
    margin: 20% auto; /* 15% from the top and centered */
    width: 52%; /* Could be more or less, depending on screen size */
    height: 55%; /* Could be more or less, depending on screen size */
  
  }
  .SearchStudentBar {
    width: 200px;
    font-size: 10px;
  }   
  .SMSPage {
    margin-top: 0%;
    margin-left: 0%;
    margin-right: 0%;
  }
  /* Basic Styling */
  .datepicker {
    width: 30%;
    height: 10%;
    font-size: 11px;
  }
  .message .messageTextBox {
    height: 200px;
    font-size: 12px;
  }
  .message .searchBar {
    width: 200px;
    font-size: 10px;
  }

}
@media (max-width: 438px) 
 {
  .modal-content {
    margin: 40% auto; /* 15% from the top and centered */ 
    width: 75%; /* Could be more or less, depending on screen size */
    height: 65%; /* Could be more or less, depending on screen size */
  
  }
  .SearchStudentBar, .input {
    width: 170px;
    font-size: 10px;
  }   
  .buttons{
    font-size: 10px;
  }
  .message .messageTextBox {
    height: 250px;
    font-size: 10px;
    width: 100%;
  }
  .datepicker {
    width: 70%;
    height: 7%;
    font-size: 11px;
  }
  .message .searchBar {
    width: 100%;
    font-size: 10px;
  }
}
