/* Toast animation */
/* Spinner fade-in/out */
button .spinner-border {
  opacity: 0;
  transition: opacity 0.3s ease;
}
button.loading .spinner-border {
  opacity: 1;
}

/* Shake effect on error */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}
.form-error {
  animation: shake 0.5s ease;
}

/* Table fade-in rows */
.table-row {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.table-row.show {
  opacity: 1;
  transform: translateY(0);
}
/* Green pulse highlight */
@keyframes pulse {
  0%   { background-color: #d4edda; }  /* light green */
  50%  { background-color: #a3e6b5; }
  100% { background-color: transparent; }
}

.table-row.pulse {
  animation: pulse 2s ease-out;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* animate toast when showing */
.toast.slide-in {
  animation: slideInRight 0.5s ease forwards;
}

/* animate toast when removing */
.toast.slide-out {
  animation: slideOutRight 0.5s ease forwards;
}


/*submenu hide */
input[type="checkbox"] {
  width: 18px;
  height: 18px;
}
/* Hide the default length menu */
.dataTables_length {
  display: none;
}
.userCard{
  padding: 20px;
}

 /* Custom CSS for the custom length dropdown */
 .custom-length-container {
  display: flex;
  align-items: center;
  font-size: 16px;
}
.custom-length-container label {
  margin-right: 8px;
  margin-left: 8px;
}


/* Ensures the container fits into the table controls */
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 10px;
}

.dataTableLength select {
  margin-left: 1px; /* Add space between the label and select box */
  width: 80px; /* Adjust the width to your preference */
  height: 35px; /* Adjust the height for larger appearance */
  font-size: 16px; /* Increase the font size */
  padding: 5px; /* Add padding for better appearance */
}

 /* Custom CSS */
 .custom-length {
  margin: 10px 0;
  display: flex;
  align-items: center;
  font-size: 16px;
}

.custom-length label {
  margin-right: 10px;
}

.custom-length select {
  width: 80px;
  height: 35px;
  font-size: 16px;
  padding: 5px;
}

/* add fee head css */
.highlight-row {
  background-color: #d4edda !important; /* light green */
  transition: background-color 2s ease; /* fade out */
}
.delete-row {
  background-color: #f8d7da !important; /* light red */
  transition: background-color 0.8s ease;
}
/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
/* color code*/

.menu .app-brand {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.menu-link > :not(.menu-icon) {
  flex: 0 1 auto;
  opacity: 1;
  transition: ease-in-out;
}

/*  aside id theme

.layout-menu .toggle{
  position: absolute;
  top: 6%;
  right: -13px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background:var(--primary-color);
  border: 1px solid #043f82;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sidebar-color);
  font-size: 22px;
} */

/*  toggle switch

.mode{
   background: var(--primary-color-light);
   cursor: pointer;
}
.moon-sun{
height: 50px;
width: 50px;
display: flex;
align-items: center;
position: relative;
}

.mode i{
  position: absolute;
}
.mode i.moon{
  opacity: 100px;
}
 .toggle-switch{
  display: inline-block;
  width: 60px;
  height: 30px;
  background: #FFCC70;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  margin-left: 0px;
}
.toggle-switch .switch {
  display: block;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  position: relative;
  top: 3px;
  left: 4px;
  right: 3px;
  transition: all 0.3s;
}
.switch::before{
  content: '';
  position: relative;
  height: 15px;
  width: 15px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  transition: all 0.3s;
  cursor: pointer;
}*/
.toggle-switch.active {
  background: #4CAF50; /* Change this color to whatever you prefer */
}

.toggle-switch.active .switch {
  left: 32px;
}

.icon {
  margin-right: 5px;
}

/*  aside id dark   */

.layout-navbar {
  background-color: #ffffffe0 !important;
  backdrop-filter: saturate(200%) blur(6px);
}

.navbar-detached {
  box-shadow: 0 0 0.375rem 0.25rem rgba(213, 213, 213, 0.15);
}

.layout-navbar-fixed .layout-page:before {
  backdrop-filter: saturate(200%) blur(10px);
  background: rgba(245, 245, 249, 0.6);
}

.form-control{
  background-color: #ffffff !important;
  color: rgb(5, 5, 5);
}
/*  aside id light   */
/* Hide the moon icon by default */
.icon.moon {
  display: none;
}

/* Show the moon icon in dark mode */
body.dark-mode .icon.moon {
  display: inline;
}

/* Hide the sun icon in dark mode */
body.dark-mode .icon.sun {
  display: none;
}
/*  aside id menu   */

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 52px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-placeholder img {
  width: 900px;
}

.layout-info {
  text-align: center;
  margin-top: 1rem;
}

.label {
  font-size: 14px;
  /* Adjust the size as needed */
}

.custom-h4 {
  font-size: 28px;
  /* Adjust the font size as needed */
  margin-bottom: 8px;
}

.custom-h5 {
  font-size: 18px;
  /* Adjust the font size as needed */
  margin-bottom: 8px;
}

.custom-h6 {
  font-size: 14px;
  /* Adjust the font size as needed
  margin-top: 12px;*/
}


.card-title {
  font-size: 14px;
  /* Adjust the font size as needed */

}

.custom-card {
  height: 125px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-c {
  height: 125px;
  width: 275px;
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  transition: background-color 0.3s ease-in, box-shadow 0.3s ease-out;

}
.custom-c::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(35deg, rgba(34,193,195,1) 0%, rgba(91,45,253,1) 100%);
  z-index: -1;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.custom-c:hover::before {
  opacity: 1;
}

/*
.custom-card:hover {
  background: rgb(131,58,180);
background: -moz-linear-gradient(35deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
background: -webkit-linear-gradient(35deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
background: linear-gradient(35deg, rgba(131,58,180,1) 0%, rgba(253,29,29,1) 50%, rgba(252,176,69,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#833ab4",endColorstr="#fcb045",GradientType=1);
  box-shadow: 1px 2px 4px 3px #7b5cf8;
}
*/
.custom-hover::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(35deg, rgba(34,193,195,1) 0%, rgba(91,45,253,1) 100%);
  z-index: -1;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease-in;
}

.custom-hover:hover::before {
  opacity: 1;
}


.custom-card::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(35deg, rgba(34,193,195,1) 0%, rgba(91,45,253,1) 100%);
  z-index: -1;
  filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-card:hover::before {
  opacity: 1;
}

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

.col-sm-3 {
  flex: 0 0 auto;
  width: 22%;
}

.card-body {
  padding: 0.937rem;
  margin-left: 5px;
}

.custom-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 30%;
}

/*********css for input group off-canvas****/
.canvas {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}


.input-group.custom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 120%;
}

.button-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.btn {
  margin-right: 35px;
  /* Adjust this value to increase or decrease the space between buttons */
}

.btn.custom {
  margin-left: 75px;
  margin-right: 15px;
  /* Adjust this value to increase or decrease the space between buttons */
}

#submitButton {
  margin-left: auto;
  /* This pushes the submit button to the right end */
}

.table-responsive {
  overflow-x: auto;
  /* Enables horizontal scrolling */
}

.table {
  min-width: 1000px;
  table-layout: auto;
  /* Allows the table to adjust column widths based on content */

}

th,
td {
  white-space: nowrap;
  /* Prevents text from wrapping */
  font-size: 14px;
  /* Adjust this value to your desired font size */
}

.table-table {
  padding: 0.937rem;
  margin: 10px;
}

.layout-navbar.navbar-detached {
  width: calc(100% - 1.625rem* 2);
  border-radius: 0.375rem;
  padding: 0 1.5rem;
  margin-top: 0rem; /* 👈 force consistent gap across browsers */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* optional for floating look */
  background-color: #fff; /* ensure it looks like a floating card */
}

/* custom column padding */
.custom-col-padding {

  padding-right: 2px; /* Adjust as needed */
}

.card-bg-transport {
  background-color: #6c757d; /* Gray */
}

.card-bg-admin {
  background-color: #007bff; /* Blue */
}

.card-bg-user {
  background-color: #28a745; /* Green */
}

.card-bg-support {
  background-color: #dc3545; /* Red */
}

.card-bg-total {
  background-color: #ffc107; /* Yellow */
}

/* css loader p-1 */
/* Overlay styling
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(231, 3, 3, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
  color: #fff;
}

/* Spinner animation *
.spinner {
  width: 50px;
  height: 50px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Loading text styling
.loading-text {
  margin-top: 10px;
  font-size: 18px;
  color: #fff;
}
*/
/* CSS Loader part-2 */
/* Loading container styles
#loadingContainer {
  display: block !important; /* Use !important temporarily to override any other styles *
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgba(248, 0, 0, 0.5);
  color: white;
  padding: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  z-index: 1000;
}  */

/* Loading container styles */
#loadingContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.903); /* Fullscreen semi-transparent overlay */
  color: rgba(200, 152, 255, 0.892);
  z-index: 1000; /* High z-index to sit above all other elements */
}

#progressBar {
  width: 30%;
  height: 20px;
  appearance: none;
  background: linear-gradient(to right, #4caf50, #f0e662, #64b9fe);
  border-radius: 5px;
  margin-top: 10px;
}

/* Percentage display */
#progressPercentage {
  font-size: 16px;
  margin-top: 10px;
  font-weight: bold;
  color: #b46eff;
}


#progressBar::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 5px;
}

#progressBar::-webkit-progress-value {
  background-image: linear-gradient(to right, #6de071, #d7e386, #a75fff);
  border-radius: 5px;
}

/* pagination css*/
.pagination-controls {
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

.pagination .btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  min-width: 36px;
  margin: 0 2px;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
}

.page-numbers .btn {
  margin: 0 2px;
}

.page-numbers .disabled {
  pointer-events: none;
  background-color: transparent;
  border-color: #dee2e6;
}

#records-per-page {
  width: 70px !important;
}

.showing-entries {
  color: #697a8d;
}

/*check mark*/
/* Style for mixed state */
#select-all.mixed {
  background-color: #f0ad4e; /* Light orange to indicate mixed state */
  color: white;
  position: relative;
}

/* Optional: Style for the checkbox itself to make it clear */
#select-all {
  position: relative;
}
#select-all.unchecked {
  background-color: #f8d7da; /* Light red to indicate not all are selected */
  color: #721c24; /* Darker color for text */
}

/* Table head bold */
.thead-lights th {
  font-weight: bold;
  white-space: nowrap;
  width: 1%;
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fafafa;
  table-layout: auto; /* Allows columns to auto-fit content */
}

.custom-table th,
.custom-table td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
  white-space: nowrap; /* Auto-fit content */
}

.custom-table thead th {
  background-color: #eeeeee8b;
  font-weight: bold;
  text-transform: uppercase;

}

.custom-table tbody tr:nth-child(even) {
  background-color: #ffffff; /* Alternate row color */
}

.custom-table tbody tr:hover {
  background-color: #e2e2e2; /* Highlight row on hover */
}

.custom-table input[type="checkbox"] {
  cursor: pointer;
}

/* table border to hode border*/
.customs-table {
  width: 100%;
}

.customs-table th,
.customs-table td {
    padding: 5px;
    border: none; /* Removes border */
}


/* fee plan drop down height */
.form-check-label {
  margin-left: 10px; /* Adjust this value to set the space between the checkbox and the label */
}
/*
.scrollable-checkboxes {
  max-height: 300px; /* Set the maximum height of the scrollable area
  overflow-y: auto; /* Enable vertical scrolling if content exceeds the max height
  padding-right: 10px; /* Add padding to the right to ensure scroll bar is visible
}*/
#dropdownMenu {
  max-height: 250px; /* Set the maximum height for the dropdown */
  overflow-y: auto; /* Enable vertical scrolling */
  padding-right: 10px; /* Optional: ensures scrollbar doesn't overlap content */
}

 /* Custom CSS for the header on the border */
 .border-section-header {
  top: -12px; /* Adjust to position the header */
  left: 15px; /* Align with the padding of the border */
  font-size: .9rem;
  font-weight: bold;
 }

 /* Custom CSS for the search card on the border */

 .card-container {
  display: none;  /* Initially hidden, will be displayed when search is focused */
  position: absolute;
  top: 100%;  /* Position the cards just below the input field */
  left: 0;
  width: 500px; /* Set the width for the card container */
  max-height: 400px; /* Limit the height for scrolling */
  background-color: #fff;  /* White background for the card container */
  border: 1px solid #ddd;  /* Light border for the container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow */
  border-radius: 8px;  /* Rounded corners for a smooth look */
  overflow-y: auto;  /* Enable vertical scrolling if the list exceeds max height */
  z-index: 1000; /* Ensure the card container is on top of other elements */
}

.student-card {
  padding: 12px;
  margin: 5px 0;
  margin-bottom: 10px;
  cursor: pointer;
  background-color: #f9f9f9; /* Light grey background for cards */
  border: 1px solid #eee;  /* Light border for each card */
  border-radius: 8px;  /* Rounded corners for each card */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow on each card */
  transition: background-color 0.3s ease; /* Smooth hover effect */
  transition: transform 0.2s, box-shadow 0.3s; /* Smooth hover effects */
}

.student-card:hover {
  background-color: #e9f7fe;
  border-color: #0056b3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.student-card h3 {
  margin: 0;
  font-size: 18px;
  color: #007bff;
}

.student-card p {
  margin: 5px 0;
  color: #555;
  font-size: 14px;
}

.no-results {
  text-align: center;
  color: #999;
  font-size: 16px;
  margin-top: 100px;
}

#results {
  max-height: 300px;
  overflow-y: auto;
}

#student_data {
  margin-top: 2px;
}

/* active student fee add button css*/
.amount-button {
  display: flex;
  flex-direction: column; /* Stack the amount and button vertically */
  align-items: center; /* Center the content horizontally */
  justify-content: center; /* Center the content vertically */
  height: 100%; /* Make sure the container takes up full height of the cell */
}

.amount-button .amount {
  margin-bottom: 10px; /* Space between the amount and button */
}

.amount-button button {
  width: 35px;  /* Button size */
  height: 35px;
  padding: 0;
  font-size: 18px;
  border-radius: 50%;  /* Circular button */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;  /* Center the button horizontally */
}

/* bulk student header css*/

  #dataTable thead th {
    background-color: #4CAF50; /* Green background color */
    color: white; /* White text color */
    text-align: center; /* Center-align text */
    font-weight: bold; /* Bold text */
    padding: 10px; /* Add padding for spacing */
    border: 1px solid #ddd; /* Border for the header cells */
  }

  /* Add hover effect for better interactivity */
  #dataTable thead th:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    cursor: pointer; /* Change cursor to pointer */
  }

  #dataTable {
    border-collapse: collapse; /* Collapse borders */
    width: 100%; /* Ensure table takes up full width */
  }

  #dataTable tbody td {
    border: 1px solid #ddd; /* Add borders to body cells */
    padding: 8px; /* Add padding */
  }

  /* Alternate row colors for better readability */
  #dataTable tbody tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  #dataTable tbody tr:hover {
    background-color: #ddd; /* Highlight row on hover */
  }

  /* sweet alert fee design css*/
  .fee-plan-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }

  .input-field,
  .select-field {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }

  .input-field.readonly {
    background-color: #f9f9f9;
  }

  .select-field {
    background-color: #fff;
  }

  .input-field:focus,
  .select-field:focus {
    border-color: #007bff;
    outline: none;
  }

  .input-field::placeholder {
    color: #888;
  }
  /* fee table selection fee design css*/
  /* Table header styles */
#student_fee_table thead th {
  background-color: #788798; /* Blue background */
  color: #fff;              /* White text */
  text-align: center;       /* Center align text */
  padding: 6px;            /* Add spacing */
  border: 1px solid #ddd;   /* Light border */
}

/* Table body styles */
#student_fee_table tbody td {
  padding: 10px;            /* Add spacing to table cells */
  border: 1px solid #ddd;   /* Light border for clarity */
  text-align: center;       /* Center align text */
}

/* Bank account table styles
#bankDropdown {
  display: none;
}*/

/* Hostel Table styles */
/* General table styles */
#hostelTable {
  width: 100%;
  table-layout: auto;
  /* Auto-adjust column widths */
  border-collapse: collapse;
  /* Merge borders for a cleaner look */
}

#hostelTable th,
#hostelTable td {
  text-align: center;
  vertical-align: middle;
  padding: 8px;
  white-space: nowrap;
  /* Prevent text wrapping for smaller content */
}

/* Responsive behavior */
.table-responsive {
  overflow-x: auto;
  /* Horizontal scrolling on smaller screens */
}

@media (max-width: 768px) {

  #hostelTable th,
  #hostelTable td {
    font-size: 12px;
    /* Adjust font size for smaller screens */
    white-space: normal;
    /* Allow text wrapping for narrow displays */
  }
}

/* Custom width for the off-canvas */
#CustomEditOffcanvas {
  width: 800px;
  /* Adjust the width to your desired size */
}

/* collect fee loader hidden */
.invisible {
  display: none ;
  /* Use !important to override other potential styles */
}

/*hover effect on action icon*/
.tf-icons{
  transition: color 0.3s ease, transform 0.3s ease;
    /* Smooth color and size transitions */
}
 /* Change color and slightly scale the icon when hovered */
 .tf-icons:hover {
   color: #00d0ff;
   /* Change to your desired hover color */
   transform: scale(1.2);
   /* Slightly increase the size */
   cursor: pointer;
   /* Show pointer cursor */
 }

 /*short column active
 .sort-active {
   text-decoration: underline;
   font-weight: bold;
   color: #f7e781e0;
 }*/
/* Loading spinner when user status changed styles */

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background-color: rgba(235, 220, 85, 0.7);
  color: white;
  border-radius: 8px;
}

.highlight {
  background-color: #c2f5ff !important;
  transition: background-color 1s ease-out;
}

/*after edit save*/
.highlight-success {
  background-color: #d4edda !important;
  /* Light green */
  transition: background-color 0.8s ease-in-out;
}

.fade-out {
  background-color: transparent !important;
}


/* custom avatar */
.avatar-container {
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.avatar-preview {
  width: 160px;
  /* Custom width */
  height: 160px;
  /* Custom height */
  object-fit: fill;
  border: 2px solid #ddd;
  transition: transform 0.2s ease-in-out;
}

.avatar-container:hover .avatar-preview {
  transform: scale(1.1);
  border-color: #7700ff;
}


/*css loader for saving button*/
@keyframes highlight {
  from {
    background-color: #d4edda;
  }

  /* Light green */
  to {
    background-color: transparent;
  }
}

.highlight-success {
  animation: highlight 3s ease-in-out;
}

.highlighted-row {
  background-color: #ffeeba !important;
  /* Light yellow */
  transition: background-color 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tr-animate {
  animation: fadeIn 0.8s ease-in-out;
}

/* Improve loading bar animation */
@keyframes progressBar {
  0% {
    width: 10%;
  }

  50% {
    width: 50%;
  }

  100% {
    width: 100%;
  }
}

.loading-bar {
  height: 4px;
  background-color: #007bff;
  transition: width 0.5s ease-in-out;
}

/*pulse effect*/
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  z-index: 9999;
}

.disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* 🔊 Toast Notification Styles */
.custom-toast {
  position: fixed;
  bottom: 20px;
  right: -300px;
  background: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  transition: all 0.5s ease-in-out;
}

.custom-toast.show {
  right: 20px;
}

.toast-success {
  background: #28a745;
}

.toast-error {
  background: #dc3545;
}

.flash {
  background-color: yellow;
  transition: background-color 1s ease-in-out;
}

.flash-img {
  border: 3px solid yellow;
  transition: border 1s ease-in-out;
}
