/* styles.css */

.login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-left: auto; /* Push the container to the right */
}

.login-card {
    max-width: 350px; /* Optionally set a max-width to limit the card width */
}


.register-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-left: auto; /* Push the container to the right */
}

.register-card {
  max-width: 350px; /* Optionally set a max-width to limit the card width */
}

.text-danger {
  color: red;
}

.navbar {
  position: relative;
}

.user-profile-icon {
  cursor: pointer;
  position: absolute;
  top: -90px;
  right: 15px;
  font-size: 24px;
  color: #333;
}

.user-profile-dropdown {
  position: absolute;
  top: -40px;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  display: none;
  min-width: 150px;
}

.user-profile-dropdown.active {
  display: block;
}

/* Styling for the layout */
.page-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.form-container {
  flex: 1;
  padding-right: 20px;
}

.response-container {
  flex: 1;
  padding-left: 20px;
  border-left: 1px solid #ccc;
}

/* Adjustments for responsiveness */
@media (max-width: 768px) {
  .page-container {
      flex-direction: column;
      align-items: center;
  }

  .form-container,
  .response-container {
      width: 100%;
      padding: 0;
      border: none;
  }
}

/* for chatbot_input.html */
.custom-input-field {
  width: 100%;
  border-radius: 16px;
  padding: 10px;
  border: 1px solid #664dc9;
  background-color: f3f3f3;
  color: #201e1e;
}
.dark-mode .custom-input-field {
  border: 1px solid #664dc9;
  color: #fff;
  background-color: #151636
}

.custom-select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
  border-radius: 16px; /* Add border-radius property */
}

.custom-select2-container .custom-select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 28px;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 16px;
}



.checkbox-chatbot-group {
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  padding-bottom: 30px;
}

.custom-checkbox {
  margin-right: 10px;
}

.custom-tabs .nav-link {
  color: #664dc9;
}

.custom-tabs .nav-item.show .nav-link, .custom-tabs .nav-link.active {
  background-color: #664dc9;
  color: #fff;
}
.mtop21{margin-top: 21px}
#body {

  min-height: 150vh;
  text-transform: captalize;
  letter-spacing: 1px;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  #body {
    padding: 1px;
  }
}
@media only screen and (max-width: 767px) {
  #body {
    padding: 1px;
  }
}
#body, #body * {
  transition: all 0.25s;
}
#body .out-wrap {
  position: relative;
  padding: 30px;
  box-shadow: 0 6px 10px -2px rgba(0, 0, 0, 0.25);
  margin: -30px auto;

}
#body .out-wrap #tabs {
  border-bottom: 0;
  margin: 0 -30px 20px;
  background: #303030;
  display: flex;
  overflow-x: scroll;
  overflow-y: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  flex-wrap: nowrap !important;
}
#body .out-wrap #tabs::-webkit-scrollbar {
  display: none;
}

#body .out-wrap #tabs li {
  width: auto;
  white-space: nowrap;
  flex: 1;
}
#body .out-wrap #tabs li a {
  border: 0;
  border-radius: 0;
  cursor: pointer;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  position: relative;
  display: block;
  padding: 10px 15px;

}
#body .out-wrap #tabs li a:hover {
  background: #ddd;
  color: #303030;
}
/* #body .out-wrap #tabs li.active a {
  background: #fff;
  color: #433b3b;
} */
#body .out-wrap .tab-content {
  /* overflow: hidden !important; */
}

.custom-chat-tabs .nav-link.active {
  background-color: #664dc9;
}

.custom-button-group {
    margin-right: 10px;
}

.field:not(:last-child) {
    margin-bottom: 15px;
}

/* CSS for the loading spinner */
#loading-spinner {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(255, 255, 255, 0.7);
z-index: 9999;
}

.spinner-img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
/* Add size reduction here */
width: 200px; /* Adjust as needed */
height: 200px; /* Adjust as needed */
}

.spinner-text {
margin-top: 10px;
font-size: 16px;
}

#response-card {
  display: flex;
  flex-direction: column;
}

#responseTabContent {
  flex: 1;
  overflow-y: auto; /* Add scrollbar when content overflows */
}

#response-card .card-body {
  flex: 1;
  overflow-y: auto; /* Add scrollbar when content overflows */
}
/* end of chatbot styling */


/* for logo */
.custom-logo {
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  color: #f7f3f3;
  padding-left: 50px;
}


/* for login card body */
.custom-card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin: 0;
  padding: 1.5rem 1.5rem 8.2rem;
  position: relative;
}

.custom-logo-text {
  color: #664dc9;
}

.custom-logo-email {
  text-decoration: none;
  font-weight: bold;
  font-size: 24px;
  color: #f7f3f3;
  padding-left: 76px;
}

.custom-logo-email-text {
  color: #fff;
}
.side-menu__item i{font-size:16px;}
.select2{min-width:150px;}

.asterisk {
  color: red;
}

/* dark mode select number of records */
.dark-mode select{
  color:#fff !important;
}
.dark-mode select option {
  background-color: grey;
}
/* Target multiple DataTables by their IDs */
#users-list.dataTable thead > tr > th.sorting_disabled::before,
#subjects-list.dataTable thead > tr > th.sorting_disabled::before,
#grades-list.dataTable thead > tr > th.sorting_disabled::before,
#users-list.dataTable thead > tr > th.sorting_disabled::after,
#subjects-list.dataTable thead > tr > th.sorting_disabled::after,
#grades-list.dataTable thead > tr > th.sorting_disabled::after {
    content: "";
}

.side-menu .custom_icon {
  font-size: 1.24rem;
  line-height: 30px;
  text-align: center;
  vertical-align: middle;
  width: 31px;
  height: 36px;
  padding: 8px;
  margin-inline-end: 0.5rem;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:none!important;
    border: none!important;
}
