/* body background colour css*/
  body{
    background-color: #f9fafc;
    overflow-x: hidden;
  }
  .main_content{margin-bottom: 20px;}
/* table  css*/
.table thead tr{
  background-color: #e2e8f0 !important;
  
}
.table th, .table td{
color: #475569 !important;
}
.table tbody tr:hover {
    background-color: #f1f5f9 !important; /* Light blue-grey hover */
    transition: background-color 0.2s ease-in-out;
}
.table .tabcusbtn{
       background-color: #fff;
    border-color: #6941C6;
}

.table .tabcusbtn .fa-ellipsis-v{
       color: #000;
}
/* Wrapper */
.custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    /* Optional spacing */
    /* gap: 6px; */
}

/* Hide the native checkbox */
.custom-checkbox .custom-control-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    margin: 0;
}

/* Box (unchecked state) */
.custom-checkbox .checkmark {
    position: relative;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border-radius: 2px; /* Material style: slightly rounded */
    border: 2px solid #9e9e9e;
    background-color: #fff;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.1s ease;
}

/* Hover effect */
.custom-checkbox:hover .checkmark {
    border-color: #6200ee;
}

/* Focus (keyboard) outline */
.custom-checkbox .custom-control-input:focus + .checkmark {
    box-shadow: 0 0 0 3px rgba(98, 0, 238, 0.25);
}

/* Checked state */
.custom-checkbox .custom-control-input:checked + .checkmark {
    background-color: #6200ee;  /* Material primary color */
    border-color: #6200ee;
    transform: scale(0.96);
}

/* Check icon (tick) */
.custom-checkbox .custom-control-input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 6px;
    height: 12px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* Disabled example (optional, if you use disabled attribute) */
.custom-checkbox .custom-control-input:disabled + .checkmark {
    background-color: #f0f0f0;
    border-color: #ccc;
    cursor: not-allowed;
}
.custom-checkbox .custom-control-input:disabled + .checkmark::after {
    border-color: #e0e0e0;
}
.custom-checkbox {
    overflow: hidden;
}

.custom-checkbox .checkmark::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-color: rgba(98, 0, 238, 0.15);
    transform: scale(0);
    opacity: 0;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.custom-checkbox .custom-control-input:active + .checkmark::before {
    transform: scale(1.8);
    opacity: 1;
}

/* header area */
/* header area */

.header-area {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff !important;
    /* Soft, modern shadow */
   box-shadow: 0 4px 8px -4px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
        padding: 6px 0px;
}
/*pagination css*/
.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin-top: 10px;
}

.pagination li {
    margin: 0;
}

/* Link and Active Span Styling */
.pagination li a, 
.pagination li span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    background-color: transparent;
    border: none !important;
    border-radius: 50% !important; /* Circle shape */
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
    outline: none;
    cursor: pointer;
}

/* Hover Effect */
.pagination li a:hover {
    background-color: rgba(98, 0, 238, 0.08) !important;
    color: #6200ee;
}

/* Active State */
.pagination li.active span,
.pagination li.active a {
    background-color: #6200ee !important; /* Material Primary */
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Remove Bootstrap focus shadow */
.page-link:focus {
    box-shadow: none !important;
}


/* Ensure consistent padding for header content */
.header-area .navbar,
.header-area .container,
.header-area .container-fluid {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
/* footer css */
.footer-area{
background-color: #ffffff;
}
/* input css*/
.input{
      border:1px solid #d4d4d4 !important; border-radius:.375rem !important;
      background : #ffffff !important; outline:none !important;
      transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease !important;
      font-size: 14px !important;
      padding: 0px 15px !important;
      height: 35px !important;
    }
    .input:hover{
      border-color: #9b9cd5 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;
    }
    .input:focus{
      border-color: #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;
    }
    
    .input:active,
    .input:focus-visible{
      border-color: #6366f1 !important;
    }

/* input icon css*/
.input_icon {
      border:1px solid #d4d4d4 !important;
      border-top-right-radius: .375rem !important;
      border-bottom-right-radius: .375rem !important;
      border-top-left-radius: 0px !important;
      border-bottom-left-radius: 0px !important;
      background : #ffffff !important; outline:none !important;
      transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease !important;
      font-size: 14px !important;
      padding: 0px 15px !important;
      height: 35px !important;
    }
    .input_icon:hover{
      border-color: #9b9cd5 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;
    }
    .input_icon:focus{
      border-color: #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;
    }
    
    .input_icon:active,
    .input_icon:focus-visible{
      border-color: #6366f1 !important;
    }
    

/* ===============================
   Select2 = Bootstrap form-control
   =============================== */




 .input1{
      
      border:1px solid #d4d4d4; border-radius:.375rem;
      background : #ffffff; outline:none;
      transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
      font-size: 14px;
      padding: 0px 15px;
      height: 35px;
    }
     .input1:hover{
      border-color: #9b9cd5 !important;
      box-shadow: 0 0 0 2px #6366f1;
    }
    .input1:focus{
      border-color: #6467f2 !important;
      box-shadow: 0 0 0 2px #6366f1;
    }
    
    .input1:active,
    .input1:focus-visible{
      border-color: #6366f1 !important;
    }   



/* Dropdown arrow */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border: 1px solid #d4d4d4;
  border-radius: 0.375rem;

  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;

  font-size: 14px;
  padding: 0 36px 0 15px;
  height: 35px;
  line-height: 35px;

  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

 .form-select:hover{
      border-color: #9b9cd5 !important;
      box-shadow: 0 0 0 2px #6366f1;
    }
    .form-select:focus{
      border-color: #6467f2 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;
    }
    
    .form-select:active,
    .form-select:focus-visible{
      border-color: #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1;
    }   


.select2-container .select2-selection--single {
  display: block;
  width: 100%;
  height: calc(2.375rem + 2px);
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff !important;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  height: 35px !important;
}

.select2-container .select2-selection--multiple {
  display: block;
  width: 100%;
  =height: calc(2.375rem + 2px);
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff !important;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  =height: 35px !important;
}



.select2-selection__arrow {
  height: 100%;
}

/* Hover */
.select2-container  input:focus{
   background-color: #fff !important;
  border-color: #6366f1;
  outline: 0;
      box-shadow: 0 0 0 2px #6366f1 !important;
    border-color: #9b9cd5 !important;
}

.select2-container input:hover{
    background-color: #fff !important;
  border-color: #6366f1;
  outline: 0;
      box-shadow: 0 0 0 2px #6366f1 !important;
    border-color: #9b9cd5 !important;
}
.select2-container .select2-selection--single:hover {
  border-color: #6366f1;
}

.select2-container .select2-selection--multiple:hover {
  border-color: #6366f1;
}

/* Focus */
.select2-container--focus .select2-selection--single,
.select2-container--open .select2-selection--single {
  color: #212529;
  background-color: #fff !important;
  border-color: #6366f1;
  outline: 0;
      box-shadow: 0 0 0 2px #6366f1 !important;
    border-color: #9b9cd5 !important;
}


.select2-container--focus .select2-selection--multiple,
.select2-container--open .select2-selection--multiple {
  color: #212529;
  background-color: #fff;
  border-color: #6366f1;
  outline: 0;
  box-shadow: 0 0 0 .20rem #6467f2;
}

/* Disabled */
.select2-container--disabled .select2-selection--single {
  background-color: #e9ecef;
  opacity: 1;
}

.select2-container--disabled .select2-selection--multiple {
  background-color: #e9ecef;
  opacity: 1;
}

/* Placeholder */
.select2-selection__placeholder {
  color: #6c757d;
}

/* Dropdown */
.select2-dropdown {
  border: 1px solid #ced4da;
  border-radius: .375rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
  height: 35px !important;
  border: 1px solid #d4d4d4 !important;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #6f42c1;
    box-shadow: 0 0 0 2px rgba(111, 66, 193, 0.25);
}
/* Search input inside dropdown */
.select2-search__field {
  height: calc(2.375rem + 2px);
  font-size: 1rem;
}
.select2-search__field:focus {
  border-color:1px solid #6366f1 !important;
  box-shadow: 0 0 0 2px #6366f1 !important;
}
.select2-search__field:hover {
  border-color: 1px solid #9b9cd5 !important;
  box-shadow: 0 0 0 2px #6366f1 !important;
}
.select2-search__field:focus-visible {  border-color: 1px solid #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1 !important; }
.select2-search__field:active {
  border-color: 1px solid #6366f1 !important;
  box-shadow: 0 0 0 2px #6366f1 !important;
}

.select2-container--default 
.select2-results__option--highlighted[aria-selected] {
    background-color: #6f42c1 !important;
    color: #fff !important;
}
/* textare css*/
.ta-hover-indigo{
      background: #fff !important;
}
.ta-hover-indigo:hover { border-color: #9b9cd5 !important;
      box-shadow: 0 0 0 2px #6366f1 !important;  }
    .ta-hover-indigo:focus {  border-color: #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1 !important; }
    .ta-hover-indigo:focus-visible {  border-color: #6366f1 !important;
      box-shadow: 0 0 0 2px #6366f1 !important; }

/* button css*/      
.btn-custom-primary { --indigo:#6366f1 ; --indigo-dark:#5458e8; background:#6366f1; color:#fff; border:1px solid #6366f1; border-radius:.75rem; padding:.625rem 1rem; font-weight:600; box-shadow:0 8px 16px rgba(99,102,241,.18); transition:transform .08s, box-shadow .2s, background-color .2s, border-color .2s; }
    .btn-custom-primary:hover { background:#5458e8; border-color:#5458e8; box-shadow:0 10px 18px rgba(99,102,241,.25); transform:translateY(-1px); }
    .btn-custom-primary:focus { box-shadow:0 0 0 .25rem rgba(99,102,241,.35), 0 8px 16px rgba(99,102,241,.18); }

    /* datepicker css*/
.ui-datepicker-calendar .ui-state-default, .ui-widget-content .ui-state-default{
  display: flex;
    align-items: center;
    justify-content: center;
    
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #fff;
    color: #1f2937;
}
    .ui-datepicker-calendar .ui-state-highlight, .ui-widget-content .ui-state-default.ui-state-highlight{
    border-color: #6366f1;
    color: #fff;
    background: #5458e8 !important;
    }

    .ui-state-active, .ui-widget-content .ui-state-active{
      color: #fff;
    background: #6941C6  !important;
    }
.ui-datepicker-calendar .ui-state-default:hover{
  color: #fff !important;
}
    .tbl-action-wrap{    
          display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  /*table action column css*/
  /* Dropdown container */
  table .dropdown-menu.dropdown-menu-end.shadow.show .dropdown-item {
    padding:9px 12px;
    margin: 4px 10px;
    border-radius: 8px;
}
table .dropdown-menu.dropdown-menu-end {
    padding: 8px 0;
}
table .dropdown-menu {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 5px -3px rgba(0,0,0,.2), 0 8px 10px 1px rgba(0,0,0,.14), 0 3px 14px 2px rgba(0,0,0,.12) !important;
    padding: 8px 0;
    margin-top: 4px !important;
    font-size: 14px;
    min-width: 200px;
    z-index: 9999;
}

/* Each item */
table .dropdown-menu .dropdown-item {
    padding: 10px 16px;
    color: #374151;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s;
        width: 90%;
}

/* Icon size */
table .dropdown-menu .dropdown-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

/* Hover effect */
table .dropdown-menu .dropdown-item:hover {
    background-color: #f4f6f8;
    color: #000;
}

/* Individual colors */
.table-responsive {
  overflow: inherit;
}
table .dropdown-item.edit:hover {
    background-color: #fff4e5;
    color: #ff9800;
}

table .dropdown-item.whatsapp:hover {
    background-color: #e6f7ee;
    color: #25d366;
}

table .dropdown-item.view:hover {
    background-color: #eef4ff;
    color: #0d6efd;
}

table .dropdown-item.deadline:hover {
    background-color: #f0e9ff;
    color: #6f42c1;
}

table .dropdown-item.followup:hover {
    background-color: #e7f7fa;
    color: #0dcaf0;
}

table .dropdown-item.document:hover {
    background-color: #fef3e7;
    color: #fd7e14;
}

/* Divider spacing */
table .dropdown-divider {
    margin: 6px 16px;
}


/* menu css */

.sidebar_menu li:hover, .sidebar_menu li.active{
  background: #f8fafc !important;
    border-color: #eef2f7 !important;
}
.sidebar_menu li.active a, .sidebar_menu li:hover a{
      color:#6941c6;
}

#wrapper {
  min-height: 100vh;
}

#sidebar {
  width: 260px;
  transition: all 0.3s ease;
}

#page-content {
  flex: 1;
  transition: margin-left 0.3s ease;
}


.list-group-item {
  border: none;
  padding: 15px 20px;
}

.list-group-item i {
  min-width: 22px;
}


/* ===== COLLAPSED MODE ===== */


#sidebar {
  width: 70px;

  overflow-x: hidden;
}


#sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  width: 250px;
  height: 100%;
  overflow-x: hidden;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
  z-index: 1000;
}

/* collapsed */
.sidebar-collapsed #sidebar {
  width: 70px;
}

/* hover expand */
.sidebar-collapsed #sidebar:hover {
  width: 250px;
}

.main_content {
  margin-left: 250px;
  transition: margin-left 0.45s cubic-bezier(.4,0,.2,1);
}

.sidebar-collapsed .main_content {
  margin-left: 70px;
}

.sidebar_menu a,
#sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: 0px;
  white-space: nowrap;
}


.menu_icon {
  
  overflow: hidden;
  white-space: nowrap;

  transform: translateX(0);
  transition:
    max-width 0.45s cubic-bezier(.4,0,.2,1),
    opacity 0.3s ease,
    transform 0.45s cubic-bezier(.4,0,.2,1);
    margin-left: 10px;
}

/* collapsed = hide text smoothly */
.sidebar-collapsed .menu_icon {
  max-width: 0;
  opacity: 0;
  transform: translateX(0);
}

/* hover shows text */
.sidebar-collapsed #sidebar:hover .menu_icon {
  max-width: 200px;
  opacity: 1;
  transform: translateX(0);
}



body.sidebar-open #sidebar {
  width: 250px;
}

#sidebar svg {
  min-width: 24px;
  flex-shrink: 0;
}

body.sidebar-open .menu_icon {
  max-width: 200px;
  opacity: 1;
  transform: translateX(0);
}

.sidebar_menu a {
  display: flex;
  align-items: center;
  gap: 0px;
  padding: 9.5px 12px;
}

/* Default: arrow visible */
.sidebar_menu [data-bs-toggle="collapse"]::after {
  opacity: 1;
  transition: opacity 0.3s ease;
}
body.sidebar-collapsed.sidebar-open .sidebar_menu [data-bs-toggle="collapse"]::after {
  opacity: 1;
}

/* When sidebar is collapsed → hide arrow */
body.sidebar-collapsed .sidebar_menu [data-bs-toggle="collapse"]::after {
  opacity: 0;
}
.fc-today-button{display: none;}

/* profile menu */


/* Top Nav Bar Layout */
        .navbar-custom {
            background: white;
            padding: 12px 40px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
        }

        .nav-icon-group {
            display: flex;
            gap: 32px;
            margin-right: 32px;
            color: #9a9fa5;
            font-size: 1.25rem;
        }

        .nav-icon-group i {
            cursor: pointer;
            transition: color 0.2s;
        }

        .nav-icon-group i:hover {
            color: var(--text-main);
        }

        /* Avatar with Green Status Ring */
        .profile-trigger {
            cursor: pointer;
            border: none;
            background: none;
            padding: 0;
        }

        .avatar-container {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 2px solid var(--active-green);
            padding: 2px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
        }

        /* Dropdown Card Styling */
        .dropdown-menu-profile {
            width: 240px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            padding: 0;
            margin-top: 15px !important;
            animation: fadeIn 0.2s ease-out;
        }

        @keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

        /* Header Section */
        .card-header-user {
            padding: 16px 20px;
        }

        .user-name {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 0;
        }

        .user-email {
            font-size: 13px;
            color: var(--text-muted);
        }

        .pro-label {
            font-size: 11px;
            color: #0066ff;
            background: #eef4ff;
            padding: 2px 8px;
            border-radius: 6px;
            font-weight: 600;
            margin-left: 8px;
        }

        /* List Items */
        .dropdown-menu-profile .dropdown-item {
            padding: 7px 20px;
            font-size: 13px;
            font-weight: 500;
            color: #000;
            display: flex;
            align-items: center;
            transition: all 0.2s;
        }

        .dropdown-menu-profile .dropdown-item i {
            font-size: 1.1rem;
            width: 28px;
            color: #9a9fa5;
        }

        .dropdown-menu-profile .dropdown-item:hover {
            background-color: #fcfcfc;
            color: #6941c6;
        }
        .dropdown-menu-profile .dropdown-item:hover i{
             color: #6941c6;
        }

        /* Language Tag */
        .lang-box {
            font-size: 13px;
            border: 1px solid var(--border-color);
            padding: 4px 12px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 400;
        }

        /* Divider */
        .dropdown-divider {
            margin: 8px 0;
            border-top: 1px solid var(--border-color);
            opacity: 1;
        }

        /* Logout Button */
        .logout-wrapper {
            padding: 12px 20px 20px;
        }

        .btn-logout-outline {
            width: 100%;
            background: white;
            border: 1px solid #dcdcdc;
            padding: 10px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            color: var(--text-main);
            transition: background 0.2s;
        }

        .btn-logout-outline:hover {
            background: #f8f8f8;
        }

        /* Switch Styling */
        .form-check-input:checked {
            background-color: var(--active-green);
            border-color: var(--active-green);
        }
        .searchdiv{margin-bottom: 15px;}
        .subpage_menu{    margin-bottom: 20px;}
        #add_edit_form{margin-bottom: 23px;}

        .table td:last-child,
.table th:last-child {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    text-align: center;
    white-space: nowrap;
}
@media (max-width: 991.98px) {

  #sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1038;
    display: none; /* default show */
  }

  /* WHEN sidebar is collapsed → hide overlay */
  .sidebar-collapsed #sidebar-overlay {
    display: none;
  }

  /* Sidebar slide logic */
  .main-sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    z-index: 1039;
    transition: left 0.3s ease;
  }

  /* When NOT collapsed → sidebar visible */
  body:not(.sidebar-collapsed) .main-sidebar {
    left: 0;
  }
}


.table-responsive {
  overflow-x: auto;
}


td {
  word-break: break-word;
  white-space: normal;
}



/* ===== Popover Text ===== */
.popover-tour .popover-header {
    font-weight: 600;
    font-size: 16px;
    border-bottom: none;
}

.popover-tour .popover-body p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/* ===== Material Checkbox ===== */
.cuspages {
    position: absolute;
    opacity: 0;
}

.cuspages + label {
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    font-size: 13px;
    color: #555;
    user-select: none;
}

.cuspages + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    border: 2px solid #9e9e9e;
    border-radius: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.cuspages + label:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: 0.2s ease;
}

.cuspages:checked + label:before {
    background: #6a1b9a;
    border-color: #6a1b9a;
}

.cuspages:checked + label:after {
    opacity: 1;
}

/* ===== Buttons Styling ===== */
.popover-footer .btn {
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 13px;
    transition: all 0.3s ease;
}

/* Previous Button */
.popover-footer .tour-prev {
    background: #e0e0e0;
    color: #333;
}

.popover-footer .tour-prev:hover {
    background: #d5d5d5;
}

/* Next Button */
.popover-footer .tour-next {
    background: #6a1b9a;
    color: #fff;
}

.popover-footer .tour-next:hover {
    background: #4a148c;
}

/* Finish Button */
.popover-footer .tour-finish {
    background: #4caf50;
    color: #fff;
}

.popover-footer .tour-finish:hover {
    background: #388e3c;
}

/* Remove default bootstrap button border */
.popover-footer .btn {
    border: none;
    box-shadow: none;
}

/* Footer alignment */
.popover-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
}






	.chatbox {
		position: fixed;
		bottom: 0;
		right: 30px;
		width: 380px;
		height: 600px;
		max-height: 80vh;
		background-color: #f5f7fb;
		font-family: 'Roboto', sans-serif;
		box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
		border-radius: 12px 12px 0 0;
		z-index: 9998;
		display: flex;
		flex-direction: column;
		transition: transform 0.3s ease-in-out;
		overflow: hidden;
		padding-right: 0px;
    padding-left: 0px;
	}

	.chatbox--tray {
		transform: translateY(calc(100% - 60px));
	}

	.chatbox--closed {
		display: none;
	}

	/* Header */
	.chatbox__title {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: #fff;
		height: 60px;
		padding: 0 20px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		cursor: pointer;
		flex-shrink: 0;
	}

	.chatbox__title h5 {
		margin: 0;
		font-size: 18px;
		font-weight: 500;
		letter-spacing: 0.5px;
	}

	.chatbox__title h5 a {
		color: #fff;
		text-decoration: none;
	}

	.chatbox__actions {
		display: flex;
		gap: 10px;
	}

	.chatbox__action {
		background: none;
		border: none;
		color: rgba(255, 255, 255, 0.8);
		cursor: pointer;
		padding: 5px;
		transition: color 0.2s;
	}

	.chatbox__action:hover {
		color: #fff;
	}

	/* Body */
	.chatbox__body {
		flex: 1;
		padding: 20px;
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		gap: 15px;
		background-color: #f5f7fb;
	}

	.loadmore {
		text-align: center;
		margin-bottom: 15px;
	}

	.loadmore .btn {
		font-size: 12px;
		padding: 5px 15px;
		border-radius: 20px;
	}

	/* Messages */
	.chatbox__body__message {
		display: flex;
		align-items: flex-end;
		max-width: 85%;
		position: relative;
	}

	.chatbox__body__message--left {
		align-self: flex-start;
		flex-direction: row;
	}

	.chatbox__body__message--right {
		align-self: flex-end;
		flex-direction: row-reverse;
	}

	.chatbox__avatar {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		overflow: hidden;
		border: 2px solid #fff;
		box-shadow: 0 2px 5px rgba(0,0,0,0.1);
		flex-shrink: 0;
	}

	.chatbox__avatar img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.chatbox__body__message--left .chatbox__avatar {
		margin-right: 10px;
	}

	.chatbox__body__message--right .chatbox__avatar {
		margin-left: 10px;
	}

	.chatbox__content {
		display: flex;
		flex-direction: column;
		max-width: 100%;
	}

	.chatbox__bubble {
		padding: 12px 16px;
		border-radius: 18px;
		font-size: 14px;
		line-height: 1.5;
		position: relative;
		box-shadow: 0 2px 5px rgba(0,0,0,0.05);
		word-wrap: break-word;
	}

	.chatbox__body__message--left .chatbox__bubble {
		background-color: #fff;
		color: #333;
		border-bottom-left-radius: 4px;
	}

	.chatbox__body__message--right .chatbox__bubble {
		background-color: #667eea;
		color: #fff;
		border-bottom-right-radius: 4px;
	}

	.chatbox__info {
		font-size: 11px;
		color: #999;
		margin-top: 5px;
		display: flex;
		gap: 8px;
		align-items: center;
	}

	.chatbox__body__message--right .chatbox__info {
		justify-content: flex-end;
	}

	.chatbox__sender {
		font-weight: 700;
	}

	/* Footer / Input */
	.panel-footer {
		padding: 15px;
		background-color: #fff;
		border-top: 1px solid #eaeaea;
	}

	.chatbox .input-group {
		display: flex;
		align-items: center;
		background: #f0f2f5;
		border-radius: 25px;
		padding: 5px 5px 5px 20px;
		border: 1px solid transparent;
		transition: border-color 0.2s;
	}

	.chatbox .input-group:focus-within {
		border-color: #667eea;
		background: #fff;
	}

	.chat_set_height {
		border: none;
		background: transparent;
		resize: none;
		height: 24px;
		max-height: 100px;
		flex-grow: 1;
		outline: none;
		font-size: 14px;
		padding: 0;
		margin: 10px 0;
		line-height: 24px;
	}

	.btn-chat {
		background-color: #667eea;
		color: #fff;
		border: none;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		margin-left: 10px;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		transition: background 0.2s;
		flex-shrink: 0;
	}

	.btn-chat:hover {
		background-color: #764ba2;
	}

	.btn-chat i {
		font-size: 16px;
	}

	@media (max-width: 480px) {
		.chatbox {
			width: 100%;
			right: 0;
			bottom: 0;
			height: 100%;
			max-height: 100%;
			border-radius: 0;
		}

		.chatbox--tray {
			transform: translateY(calc(100% - 60px));
		}
	}

  .select2-container--default .select2-search--inline .select2-search__field{box-shadow: none !important;}




  /* ===== Vughy Tour Guide ===== */
#vughy-tour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    z-index: 9998;
    backdrop-filter: blur(2px);
    animation: tourFadeIn .25s ease;
}
@keyframes tourFadeIn { from { opacity:0; } to { opacity:1; } }

#vughy-tour-modal {
    position: fixed;
    z-index: 10000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    max-width: 95vw;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(15,23,42,.22), 0 4px 16px rgba(15,23,42,.12);
    overflow: hidden;
    animation: tourSlideIn .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes tourSlideIn {
    from { opacity:0; transform:translate(-50%, -50%) translateY(18px) scale(.96); }
    to   { opacity:1; transform:translate(-50%, -50%) translateY(0) scale(1); }
}

/* Header */
.vt-header {
    background: linear-gradient(135deg, #6b21e8 0%, #4f46e5 100%);
    padding: 18px 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.vt-header-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff; flex-shrink: 0;
}
.vt-header-text { flex:1; }
.vt-header-text h5 {
    margin: 0; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3;
}
.vt-header-text span {
    color: rgba(255,255,255,.75); font-size: 12px;
}
.vt-close-btn {
    background: rgba(255,255,255,.18);
    border: none; border-radius: 8px;
    width: 30px; height: 30px;
    color: #fff; font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
    flex-shrink: 0;
}
.vt-close-btn:hover { background: rgba(255,255,255,.3); }

/* Step dots */
.vt-steps-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 14px 20px 0;
    position: relative;
}
.vt-step-item {
    display: flex; flex-direction: column; align-items: center; position: relative; flex:1;
}
.vt-step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 16px; left: calc(50% + 16px);
    width: calc(100% - 32px); height: 2px;
    background: #e2e8f0;
    transition: background .4s;
}
.vt-step-item.step-done:not(:last-child)::after,
.vt-step-item.step-active:not(:last-child)::after {
    background: #6b21e8;
}
.vt-step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    border: 2px solid #e2e8f0;
    background: #f8fafc; color: #94a3b8;
    transition: all .3s;
    position: relative; z-index: 1;
}
.vt-step-item.step-active .vt-step-circle {
    background: #6b21e8; border-color: #6b21e8; color: #fff;
    box-shadow: 0 0 0 4px rgba(107,33,232,.18);
    transform: scale(1.12);
}
.vt-step-item.step-done .vt-step-circle {
    background: #4f46e5; border-color: #4f46e5; color: #fff;
}
.vt-step-label {
    font-size: 10px; color: #94a3b8; margin-top: 5px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px; text-align: center;
    transition: color .3s;
}
.vt-step-item.step-active .vt-step-label { color: #6b21e8; }
.vt-step-item.step-done  .vt-step-label { color: #4f46e5; }

/* Body */
.vt-body {
    padding: 18px 22px 14px;
}
.vt-body p { margin: 0; color: #475569; font-size: 14px; line-height: 1.65; }
.vt-body .vt-highlight {
    background: #f0f9ff; border-left: 3px solid #6b21e8;
    padding: 10px 14px; border-radius: 0 8px 8px 0; margin-top: 10px;
    color: #1e293b; font-size: 13px;
}

/* Footer */
.vt-footer {
    padding: 12px 20px 18px;
    display: flex; align-items: center; gap: 10px;
    border-top: 1px solid #f1f5f9;
}
.vt-dont-show {
    display: flex; align-items: center; gap: 6px;
    cursor: pointer; flex:1;
}
.vt-dont-show input[type="checkbox"] {
    width: 15px; height: 15px; accent-color: #6b21e8; cursor: pointer;
}
.vt-dont-show label {
    font-size: 12px; color: #64748b; cursor: pointer; margin: 0; user-select: none;
}
.vt-btn {
    padding: 8px 18px; border-radius: 8px; font-size: 13px;
    font-weight: 600; border: none; cursor: pointer; transition: all .2s;
    display: flex; align-items: center; gap: 6px;
}
.vt-btn-outline {
    background: #f1f5f9; color: #475569;
}
.vt-btn-outline:hover { background: #e2e8f0; }
.vt-btn-primary {
    background: linear-gradient(135deg,#6b21e8,#4f46e5); color: #fff;
    box-shadow: 0 3px 10px rgba(107,33,232,.3);
}
.vt-btn-primary:hover {
    box-shadow: 0 5px 16px rgba(107,33,232,.45);
    transform: translateY(-1px);
}
.vt-btn-success {
    background: linear-gradient(135deg,#059669,#10b981); color: #fff;
    box-shadow: 0 3px 10px rgba(16,185,129,.3);
}
.vt-btn-success:hover {
    box-shadow: 0 5px 16px rgba(16,185,129,.45);
    transform: translateY(-1px);
}

/* Arrow pointer */
#vughy-tour-arrow {
    position: fixed;
    z-index: 9997;
    width: 0; height: 0;
    pointer-events: none;
}

/* Spotlight highlighted element */
.vt-spotlight {
    position: relative !important;
    z-index: 9999 !important;
    border-radius: 10px;
    box-shadow:
        0 0 0 5px rgba(107,33,232,.9),
        0 0 0 10px rgba(107,33,232,.25),
        0 0 32px 8px rgba(107,33,232,.18) !important;
    transition: box-shadow .3s ease;
    pointer-events: none;
}

/* Floating Guided Tour Trigger Button */
#vt-float-trigger {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 9990;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b21e8 0%, #4f46e5 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 16px rgba(107,33,232,.45);
    transition: transform .2s ease, box-shadow .2s ease;
}
#vt-float-trigger:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 24px rgba(107,33,232,.6);
}
#vt-float-trigger .vt-float-tooltip {
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #1e293b;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    letter-spacing: .3px;
}
#vt-float-trigger .vt-float-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #1e293b;
}
#vt-float-trigger:hover .vt-float-tooltip {
    opacity: 1;
}

#sidebar {
  width: 260px;
  transition: all 0.3s ease;
}

body.preload #sidebar,
body.preload #sidebar * {
    transition: none !important;
    animation: none !important;
}


#vcReactorsModal .btn-close{
    margin-top: -2px !important;
    margin-right: -7px;
}


#vcCreateEventModal .btn-close{
  margin-top: -2px !important;
  margin-right: -7px;
}

.vc-reaction-summary span:nth-of-type(2) {
    color: #fff;
    width: 25px;
    height: 25px;
    display: block;
    
    line-height: 28px;
}