
.primary-click-effect:active {
  transform: scale(0.95); /* Slightly shrink the button */
}
/*
.primary-click-effect:hover {
  background-color: #2fc5dc;
}
*/

/* ------------------- sidebar cust css  ------------------- */

/* ---------------- sidebar cust css ends  ----------------- */


/* --------- Sidebar cas **important** --------- */

/* .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper {

    width: 290px;
} */

/* -------------- Sidebar css ends -------------- */


/* ------------------- Message css  -------------------- */

.cust-alert {
  position: fixed;
  top: 10px; /* Distance from the top of the viewport */
  left: 50%;
  transform: translateX(-50%); /* Centers the message */
  z-index: 9999; /* Makes sure the message appears above other elements */
  width: 80%;
  max-width: 600px;
  margin: 0;
  opacity: 0;
  display: none; /* Initially hidden */
  transition: opacity 0.5s ease-in-out;
  padding: 15px;
  border-radius: 5px;
  font-size: 16px;
}

.cust-alert.show {
  display: block; /* Shows the cust-alert */
  opacity: 1;
}

/* Custom close button styling */
.cust-alert .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #000;
  background: transparent;
  border: none;
  cursor: pointer;
}

.cust-alert .close:hover {
  color: red;
}
/* ------------------ Message css ends ------------------ */


/* ------------------ Message color css ------------------ */

/* Success Message */
.cust-alert-success {
  background-color: #3aaf47e7; /* Green */
  color: white;
  border-left: 5px solid#25ec54;
}

/* Error Message */
.cust-alert-danger {
  background-color: #dc3545; /* Red */
  color: white;
  border-left: 5px solid #c82333;
}

/* Info Message */
.cust-alert-info {
  background-color: #17a2b8; /* Blue */
  color: white;
  border-left: 5px solid #138496;
}

/* Warning Message */
.cust-alert-warning {
  background-color: #ffc107; /* Yellow */
  color: black;
  border-left: 5px solid #e0a800;
}

/* Light or Custom variant */
.cust-alert-light {
  background-color: #f8f9fa; /* Light gray */
  color: black;
  border-left: 5px solid #d6d8db;
}

/* Dark Message */
.cust-alert-dark {
  background-color: #343a40; /* Dark */
  color: white;
  border-left: 5px solid #23272b;
}


.test1 {
  color: blue;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 40px;
}

/* ---------------- Message color css ends ----------------- */

.custom-side-bar-icon {
  width: 18px !important;
  height: 18px !important;
}

.side-bar-main-logo {
  height: 40px !important;
}


.custom-form-dimension {
  width: 85%;
  padding: 20px;
}

@media screen and (max-width: 480px) {
  .custom-form-dimension {
    width: 95%;
    padding: 0px;
  }
}

/* input focus highlighter */
.inpt-fcs:focus {
}

.inpt-fcs:focus {
  border-color: #48b0c0 !important; /* Green border */
  box-shadow: 0 0 10px rgba(76, 140, 175, 0.5) !important;
}

.inpt-fcs:active {
  border-color: #48b0c0 !important; /* Green border */
  box-shadow: 0 0 10px rgba(76, 140, 175, 0.5) !important;
}


/* Checkmark icon using background */
/* input:focus::after {
  content: '\2714' !important; 
  font-size: 18px !important;
  color: #4c63af !important;
  position: absolute !important;
  right: 10px !important;
  top: 12px !important;
} */

/* input focus highlighter ends */


/* Radio button for active-inactive section css */

.cust-form-check {
    cursor: pointer;
}

.cust-rdb-active-label {
    color: #036e27 !important;
}

.cust-rdb-inactive-label {
    color: #85030a !important;
}
.cust-rdb-active-label:focus {
    color: green;
}

.cust-rdb-inactive-label:focus {
    color: red;
}

/* Custom button css  */

.cust-btn-primary {
}

.cust-btn-primary:hover{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(30,144,255,1) 0%, rgba(0,212,255,1) 100%);
}

.cust-btn-primary:active {
    transform: translate(0em, 0.2em);
}


.cust-btn-warning {
}

.cust-btn-warning:hover{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgb(255, 193, 7) 0%, rgb(252, 200, 44) 100%);
}

.cust-btn-warning:active {
    transform: translate(0em, 0.2em);
}


.cust-btn-secondary {
}

.cust-btn-secondary:hover{
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgb(250, 31, 122) 0%, rgb(255, 185, 214) 100%);
}

.cust-btn-secondary:active {
    transform: translate(0em, 0.2em);
}



/* Custom button css ends */


/*  */

.sticky-table {
  width: 100%;
  border-collapse: collapse;
}

.sticky-table thead th {
  position: sticky;
  top: 0; /* This makes the header stick to the top of the table */
  background-color: #f1f1f1; /* Optional: adds a background color to the header */
  z-index: 1; /* Ensures the header stays above the other rows */
  padding: 10px;
  border: 1px solid #ddd;
}

.sticky-table td, .sticky-table th {
  border: 1px solid #ddd;
  padding: 10px;
}

/* 
  table css
*/

/* #basic-9_filter{
  display: none;
} */

.container-query-inpt {
  margin-bottom: 20px;
  display: flex;
  overflow-x: auto;
}

.column-selector {
  display: flex;
  gap: 20px
}

.ld-inptr-rows {
  border-radius: 7px;
  border-color: #d5d5d5;
  border-width: 0.5px;
  width: 5rem;
  height: 30px;
   padding: 10px;
}

.srh-ipt, .srh-btn{
  height: 40px; 
  border-radius: 10px;
  border-color: #d5d5d5;
  border-width: 0.5px;
}

.load-btn {
  height: 29px;
  margin-top: -4px;
  margin-left: 10px;
  background-color: rgb(44, 144, 251);
  color: white;
  padding-top: 5px;
  font-weight: 500;
  border: none;
  border-radius: 7px;
}


.ld-inptr-rows:focus, .srh-ipt:focus {
  border-style: solid;
  border-radius: 5px;
  border-color: #d5d5d5;
  border-width: 0.5px;
 
}

.container-load-rows {
  margin-right: 60px;
}

.heading-ld-rs {
  font-size: .9rem;
  font-weight: 600;
}

/*  */

.table-wrapper {
max-height: 35rem!important; 
overflow-y: auto!important;
position: relative!important;
}

.table-wrapper .table thead tr th {
position: sticky!important;
top: -5px!important;
background-color: #1e1e2d; 
color: #e7e7e7;
z-index: 1;
}


.table th, .table td {
padding: 15px;
text-align: left;
vertical-align: middle;
}

.table {
width: 100%;
}

/* .table-striped tbody tr:nth-of-type(odd) {
background-color: #f9f9f9;
} */

.sorting_asc {
padding-right: 40px;
}

.sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
bottom: 12px !important;
display: math;

}

table.dataTable.table thead th.sorting:after, table.dataTable.table thead th.sorting_asc:after, table.dataTable.table thead th.sorting_desc:after, table.dataTable.table thead td.sorting:after, table.dataTable.table thead td.sorting_asc:after, table.dataTable.table thead td.sorting_desc:after {
  position: absolute;
  top: 6px;
  right: 6px;
  display: block;
  font-family: Icons;
  content: "↓";
  font-size: 1.3em;
}

/* entires shown css */
/* div.dataTables_wrapper div.dataTables_paginate {
  margin: 0;
  white-space: nowrap;
  text-align: right;
  position: unset;
  z-index: 1;
  bottom: 2.8rem;
  right: 2rem;
}

div.dataTables_wrapper div.dataTables_info {
  padding-top: 8px;
  white-space: nowrap;
  bottom: 3.3rem;
  position: unset;
} */


@media screen and (max-width: 750px) {
  table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    bottom: 12px !important;
      top: 10px;
  }

  table.dataTable.table thead th.sorting:after, table.dataTable.table thead th.sorting_asc:after, table.dataTable.table thead th.sorting_desc:after, table.dataTable.table thead td.sorting:after, table.dataTable.table thead td.sorting_asc:after, table.dataTable.table thead td.sorting_desc:after {
      position: absolute;
      /* top: 6px; */
      right: 6px;
      display: block;
      font-family: Icons;
      content: "↓";
      font-size: 1.3em;
      top: 12px;
  }

  body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) .dataTables_wrapper table.dataTable thead th, body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) .dataTables_wrapper table.dataTable thead td {
      border-bottom: 2px solid #333843;
      padding-right: 40px;
  }

  table.dataTable.table thead th.sorting, table.dataTable.table thead th.sorting_asc, table.dataTable.table thead th.sorting_desc, table.dataTable.table thead td.sorting, table.dataTable.table thead td.sorting_asc, table.dataTable.table thead td.sorting_desc {
    padding-right: 41px;
  }
}

/* list entries edit and delete button css */


/* Common button base */


.btn-ed-del {
  background-color: inherit;
  border: none;
  margin: 2px;
  cursor: pointer;
}

.btn-ed-del:hover {
  transition: 0.3s;
}

/* ---------------------------
   EDIT (Pencil)
---------------------------- */
.icon-pencil-alt:before {
  color: rgb(2, 15, 74);
  padding: 10px;
  padding-top: 8px;
  border: solid 1.4px rgb(36, 61, 174);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.icon-pencil-alt:hover:before {
  color: #ffffff !important;
  background-color: rgba(8, 8, 132, 0.886);
  padding-top: 8px;
  padding-bottom: 10px;
  border-radius: 4px;
}

/* ---------------------------
   DELETE (Trash)
---------------------------- */
.icon-trash:before {
  color: rgb(74, 2, 40);
  padding: 10px;
  padding-top: 8px;
  border: solid 1.4px rgb(192, 57, 124);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.icon-trash:hover:before {
  color: #ffffff !important;
  background-color: rgb(240, 15, 42);
  padding-top: 8px;
  padding-bottom: 10px;
  border-radius: 4px;
}

/* ---------------------------
   LINK (🔗 icon-link)
---------------------------- */
.icon-link:before {
  color: rgb(0, 53, 102);
  padding: 10px;
  padding-top: 8px;
  border: solid 1.4px rgb(0, 119, 204);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.icon-link:hover:before {
  color: #ffffff !important;
  background-color: rgb(0, 119, 204);
  padding-top: 8px;
  padding-bottom: 10px;
  border-radius: 4px;
}

/* ---------------------------
   DOWNLOAD (⬇ icon-download)
---------------------------- */
.icon-download:before {
  color: rgb(22, 92, 0);
  padding: 10px;
  padding-top: 8px;
  border: solid 1.4px rgb(72, 171, 0);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.icon-download:hover:before {
  color: #ffffff !important;
  background-color: rgb(72, 171, 0);
  padding-top: 8px;
  padding-bottom: 10px;
  border-radius: 4px;
}

/* Fix spacing */
div .action .edit {
  margin-right: -10px;
}


.icofont-eye-alt:before {
    color: rgb(2, 15, 74);
    padding: 10px;
    padding-top: 8px;
    border: solid 1.4px rgb(36, 61, 174);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.icofont-eye-alt:hover:before {
    color: rgb(241, 237, 237) !important;
    background-color: rgba(8, 8, 132, 0.886);
    padding-top: 8px;
    padding-bottom: 10px;
    border-radius: 4px;
}

.clear-search-button {
  background-color: #6c757d; color:#fff;
}
 
.clear-search-button:hover {
  background-color: #85898c; color:#fff;
}
 

/* ---------- Nav button css ---------- */
.container-nav-btn {
  margin-right: 10px;
}
.cust-nav-btn {
  margin-left: 10px
}
/* ------- Nav button css ends -------- */

/* ------------------------------------------------- Custom button -------------------------------------------------- */

.custom-nav-btn {
    transition: all 0.3s ease;
    margin-right: 20px;
}

/* Hover effect */
.custom-nav-btn:hover {
    background-color: #0dcaf0; /* Slightly lighter blue */
    color: white;
    transform: scale(1.05); /* Slight grow effect */
}

/* Click (active) effect */
.custom-nav-btn:active {
    background-color: #0aa2c0; /* Slightly darker blue */
    transform: scale(0.95); /* Slight shrink effect */
}

/* ----------------------------------------------- Custom button ends ----------------------------------------------- */

/* -------------------------------------------------- Custom loader ------------------------------------------------- */
/* 
#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 15, 0.85); 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ccc;
  border-top-color: #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
} */


/* ------------------------------------------------- Custom loader ends ----------------------------------------------- */
/* 
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #e9ecef; 
  color: #000;
  border: 1px solid #ccc;
  font-weight: 500;
}

*/

/* Badge css*/

.badge {
    padding: 7px 13px;
    font-weight: 700;
    line-height: 1.1;
    font-size: 12px;
}

.badge-success {
    background-color: #13de46;
}

/* Css for ckeditor to change hight dynamically */

.ck-editor__editable_inline {
    resize: vertical !important;
    min-height: 150px;
    overflow: auto !important;
  }


  /* svg side bar icon css */

  .cust-icon1 {
    color: white;
  }

  .cust-icon1:hover {
    color: rgb(1, 151, 174);
  }
  
  .cust-icon-hvr:hover {
    color: rgb(1, 151, 174);

  }

  /* Select 2 gap fix  */

  
.select2-container--open .select2-dropdown--below {
    margin-top: -19px;
}

.page-wrapper .page-header .header-wrapper {
    width: 100%;
    align-items: center;
    padding: 0px 25px;
    position: unset;
}

.clear-search-button {
  background-color: #6c757d; color:#fff;
}

.clear-search-button:hover {
  background-color: #85898c; color:#fff;
}