

/* Ensure hover container is the positioning context */
/*.hover-dropdown {
  position: relative;*/ /* Anchor dropdown menu to this container */
/*}*/

/* Base dropdown menu styling */
/*.hover-dropdown .dropdown-menu {
    display: none;*/ /* Hide by default */
/*visibility: hidden;
    opacity: 0;
    position: absolute;*/ /* Position relative to .hover-dropdown */
/*top: 100%;*/ /* Place right below the trigger button */
/*margin-top: 0;
    left: 0;
    min-width: 180px;
    max-width: 90vw;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: opacity 0.15s ease-in-out;
  }*/

/* Show on hover */
/*.hover-dropdown:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }*/

/* Remove Bootstrap's arrow on toggle */
/*.hover-dropdown .dropdown-toggle::after {
    display: none;
  }*/

/* Custom dropdown items */
/*.custom-dropdown-item {*/
/*  padding: 10px 15px; */
/*border-radius: 4px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: var(--theme-primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

  .custom-dropdown-item i {
    color: var(--theme-primary);
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
    transition: color 0.2s ease;
  }

  .custom-dropdown-item:hover,
  .custom-dropdown-item:focus {
    background-color: var(--theme-primary-hover);
    color: var(--bs-icon-color);
    text-decoration: none;
  }

    .custom-dropdown-item:hover i,
    .custom-dropdown-item:focus i {
      color: var(--bs-icon-color) !important;
    }*/

/* Icon-only button */
/*.icon-only-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}

  .icon-only-btn:hover,
  .icon-only-btn:focus {
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;
  }

  .icon-only-btn i {
    vertical-align: middle;
    line-height: 1;
  }*/
/** Page Loader  **/
/*.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 0.25rem solid var(--theme-light);*/ /* Light border using theme */
/*border-top: 0.25rem solid var(--theme-primary);*/ /* Primary theme color */
/*border-radius: var(--bs-border-radius-circle);
  width: 2.5rem;
  height: 2.5rem;
  animation: spin 1s linear infinite;
}*/

/* Alternative with gradient effect */
/*.loader-gradient {
  border: 0.25rem solid var(--wg-primary-light);
  border-top: 0.25rem solid transparent;
  border-radius: var(--bs-border-radius-circle);
  width: 2.5rem;
  height: 2.5rem;
  background: var(--wg-gradient);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.25rem), #fff 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.25rem), #fff 0);
  animation: spin 1s linear infinite;
}

@@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}*/

/**Event Page Css **/
/*.wrapper {
  display: grid;
  grid-template-columns: 0px 300px 100px;
  grid-gap: 10px;
  color: #444;
}

.box {
  background-color: cornflowerblue;
  color: #fff;
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
  width: 250px;
}

.calendar {
  min-width: 50px;*/ /* consistent medium width */
/*max-width: 60px;
  text-align: center;
  border-radius: 0.375rem;
  font-family: var(--bs-font-sans-serif);
  display: flex;
  flex-direction: column;
}

.calendar .calendar-month {
  background-color: red;
  color: #fff;
  border-radius: 0.375rem 0.375rem 0 0;
  padding: 0.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.calendar .calendar-day {
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid red;
  border-top: 0;
  border-radius: 0 0 0.375rem 0.375rem;
  color: #9da9bb;
  padding: 0.25rem 0;
}
.button-container {
  text-align: right;
}*/

/*:root {*/
/* ========================================
     PRIMARY THEME COLORS
     ======================================== */
/*--theme-primary: #01589f;
  --theme-primary-rgb: 1, 88, 159;
  --theme-primary-hover: #014a86;
  --theme-primary-active: #013b6c;
  --theme-primary-text: #ffffff;
  --theme-primary-text-rgb: 255, 255, 255;
  --theme-primary-bg-subtle: rgba(1, 88, 159, 0.1);
  --theme-primary-border-subtle: rgba(1, 88, 159, 0.2);
  --theme-primary-text-emphasis: #01589f;*/
/* ========================================
     SEMANTIC COLORS
     ======================================== */
/*--theme-success: #198754;
  --theme-success-rgb: 25, 135, 84;
  --theme-danger: #dc3545;
  --theme-danger-rgb: 220, 53, 69;
  --theme-warning: #ffc107;
  --theme-warning-rgb: 255, 193, 7;
  --theme-info: var(--theme-primary);
  --theme-info-rgb: var(--theme-primary-rgb);*/
/* ========================================
     NEUTRAL COLORS
     ======================================== */
/*--theme-light: #f8f9fa;
  --theme-light-rgb: 248, 249, 250;
  --theme-dark: #212529;
  --theme-dark-rgb: 33, 37, 41;*/
/* ========================================
     BOOTSTRAP OVERRIDE VARIABLES
     ======================================== */
/* Body */
/*--bs-body-bg: #ffffff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;*/
/* Text Colors */
/*--bs-primary: var(--theme-primary);
  --bs-primary-rgb: var(--theme-primary-rgb);
  --bs-secondary: #6c757d;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success: var(--theme-success);
  --bs-success-rgb: var(--theme-success-rgb);
  --bs-danger: var(--theme-danger);
  --bs-danger-rgb: var(--theme-danger-rgb);
  --bs-warning: var(--theme-warning);
  --bs-warning-rgb: var(--theme-warning-rgb);
  --bs-info: var(--theme-info);
  --bs-info-rgb: var(--theme-info-rgb);
  --bs-light: var(--theme-light);
  --bs-light-rgb: var(--theme-light-rgb);
  --bs-dark: var(--theme-dark);
  --bs-dark-rgb: var(--theme-dark-rgb);*/
/* Cards */
/*--bs-card-bg: var(--bs-body-bg);
  --bs-card-border-color: rgba(0, 0, 0, 0.175);
  --bs-card-border-radius: 0.375rem;*/
/* Borders */
/*--bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-xxl: 2rem;
  --bs-border-radius-pill: 50rem;*/
/* Shadows */
/*--bs-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);*/
/* Links */
/*--bs-link-color: var(--theme-primary);
  --bs-link-color-rgb: var(--theme-primary-rgb);
  --bs-link-hover-color: var(--theme-primary-hover);
  --bs-link-hover-color-rgb: var(--theme-primary-rgb);*/
/* Focus */
/*--bs-focus-ring-color: rgba(var(--theme-primary-rgb), 0.25);*/
/* Custom Variables */
/*--custom-overlay-bg: rgba(255, 255, 255, 0.8);
  --custom-shadow-dropdown: 0 4px 10px rgba(0, 0, 0, 0.1);
}*/
/* ========================================
   BODY & LAYOUT
   ======================================== */
.bg-header-color {
  background-color: var(--theme-primary) !important;
  color: var(--theme-primary-text) !important;
}

/* ========================================
   LOADER STYLES
   ======================================== */

.loader-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--custom-overlay-bg);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--custom-overlay-bg);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  border: 4px solid var(--theme-light);
  border-top: 4px solid var(--theme-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ========================================
   SELECT2 CUSTOMIZATION
   ======================================== */

.select2-container--default .select2-selection--multiple {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg) !important;
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
  border-radius: var(--bs-border-radius) !important;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.select2-container--default .select2-results__option--selected {
  background-color: var(--theme-primary) !important;
  color: var(--theme-primary-text) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--theme-primary) !important;
  border: var(--bs-border-width) var(--bs-border-style) var(--theme-primary-hover) !important;
  color: var(--theme-primary-text) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--theme-primary) !important;
  color: var(--theme-primary-text) !important;
}

.select2-search--dropdown {
  position: relative;
}

  .select2-search--dropdown .select2-search__field {
    padding-right: 28px;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    border-radius: calc(var(--bs-border-radius) * 1.5);
  }

  .select2-search--dropdown::before {
    content: "\f002";
    font-family: FontAwesome;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bs-secondary);
    pointer-events: none;
    font-size: 14px;
  }

  .select2-search--dropdown .select2-search__field:focus {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    box-shadow: none !important;
    outline: none !important;
  }

.select2-results__option.select2-results__message {
  color: var(--bs-secondary) !important;
  text-align: center;
}

/* ========================================
   CALENDAR COMPONENT
   ======================================== */

.wrapper {
  display: grid;
  grid-template-columns: 0px 300px 100px;
  grid-gap: 10px;
  color: #444;
}

.box {
  background-color: cornflowerblue;
  color: var(--theme-primary-text);
  border-radius: 5px;
  padding: 20px;
  font-size: 150%;
  width: 250px;
}

.calendar {
  min-width: 50px;
  max-width: 60px;
  text-align: center;
  border-radius: var(--bs-border-radius);
  font-family: var(--bs-font-sans-serif);
  display: flex;
  flex-direction: column;
}

  .calendar .calendar-month {
    background-color: var(--theme-danger);
    color: var(--theme-primary-text);
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
    padding: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
  }

  .calendar .calendar-day {
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid var(--theme-danger);
    border-top: 0;
    border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
    color: var(--bs-secondary);
    padding: 0.25rem 0;
  }

.button-container {
  text-align: right;
}

/* ========================================
   HOVER DROPDOWN
   ======================================== */

.hover-dropdown {
  position: relative;
}

  .hover-dropdown .dropdown-menu {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    margin-top: 0;
    left: 0;
    min-width: 180px;
    max-width: 90vw;
    overflow-x: auto;
    z-index: 9999;
    padding: 10px;
    border-radius: calc(var(--bs-border-radius) * 1.5);
    box-shadow: var(--custom-shadow-dropdown);
    transition: opacity 0.15s ease-in-out;
  }

  .hover-dropdown:hover .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
  }

  .hover-dropdown .dropdown-toggle::after {
    display: none;
  }

.custom-dropdown-item {
  border-radius: var(--bs-border-radius-sm);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  color: var(--theme-primary);
  font-weight: 500;
  transition: all 0.2s ease;
}

  .custom-dropdown-item i {
    color: var(--theme-primary);
    margin-right: 10px;
    min-width: 20px;
    text-align: center;
    transition: color 0.2s ease;
  }

  .custom-dropdown-item:hover,
  .custom-dropdown-item:focus {
    background-color: var(--theme-primary) !important;
    color: var(--theme-primary-text) !important;
    text-decoration: none;
  }

    .custom-dropdown-item:hover i,
    .custom-dropdown-item:focus i {
      color: var(--theme-primary-text) !important;
    }

.icon-only-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
}

  .icon-only-btn:hover,
  .icon-only-btn:focus {
    background: none;
    border: none;
    box-shadow: none;
    color: inherit;
  }

  .icon-only-btn i {
    vertical-align: middle;
    line-height: 1;
  }

/* ========================================
   UTILITY CLASSES
   ======================================== */

.mt-n-4 {
  margin-top: -20px;
}

.mt-n-3 {
  margin-top: -15px;
}

.mt-n-2 {
  margin-top: -10px;
}

.mt-n-1 {
  margin-top: -5px;
}

.text-red {
  color: var(--theme-danger);
}

/* ========================================
   FILTERS & TABLE ACTIONS
   ======================================== */

#SystemFilter + .select2-container,
#AccountFilter + .select2-container {
  min-width: 12em !important;
  width: auto !important;
}

#table-actions-btn {
  min-width: 12em !important;
}

/* ========================================
   SORTABLE LISTS
   ======================================== */

#visibleCols li,
#hiddenCols li {
  list-style: none;
  background: var(--bs-card-bg);
  border: none;
  border-radius: calc(var(--bs-border-radius) * 1.5);
  padding: 0.5rem 0.75rem;
}

  #visibleCols li:hover,
  #hiddenCols li:hover {
    background: var(--bs-body-bg);
  }

/* ========================================
   UPLOAD BOX
   ======================================== */

.upload-box {
  border: 2px dashed var(--bs-border-color);
  padding: 25px;
  border-radius: var(--bs-border-radius-lg);
  cursor: pointer;
  background-color: var(--bs-body-bg);
  transition: all 0.3s ease;
}

  .upload-box:hover {
    background-color: rgba(var(--bs-body-bg-rgb), 0.7);
    border-color: var(--bs-icon-bg);
  }

.upload-icon i {
  color: var(--bs-icon-bg);
}

.upload-text {
  font-size: 14px;
  color: var(--bs-body-color);
  word-wrap: break-word;
}

/* ========================================
   IMAGE GALLERY / PRESENTATION
   ======================================== */

.file-preview-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: flex-start;
}

.image-wrapper {
  transition: transform 0.3s;
}

  .image-wrapper:hover {
    transform: scale(1.01);
  }

.image-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .image-overlay {
  opacity: 1 !important;
}

.sortable-ghost {
  opacity: 0.5;
  background: var(--bs-body-bg);
  border: 2px dashed var(--theme-primary);
}

.image-card {
  height: 200px;
  overflow: hidden;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 767.98px) {
  .dt-search {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

    #statusFilter,
    .dt-search input[type="search"] {
      width: 100%;
      max-width: 300px;
    }
}

@media (max-width: 768px) {
  .image-card {
    touch-action: none;
  }
}

@media (max-width: 576px) {
  .upload-box {
    padding: 20px;
    font-size: 13px;
  }

  .upload-icon i {
    font-size: 1.5rem;
  }
}

@media (min-width: 991.98px) {
  .image-wrapper {
    height: 200px;
    min-width: 175px !important;
  }
}
.search-input {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  transition: all 0.2s ease;
}
.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bs-gray);
}
/*.preview-image {
  height: 8rem;
  border-radius: 0.75rem;
  object-fit: cover;
}*/

/* ========================================
   DATATABLE STYLES
   ======================================== */

table.dataTable {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

  /* DataTable Header */
  table.dataTable thead th {
    background-color: var(--theme-primary) !important;
    color: var(--theme-primary-text);
    font-size: 16px;
    text-align: center;
    padding: 10px;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  }

  /* DataTable Cells */
  table.dataTable th,
  table.dataTable td {
    padding: 10px;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  }

  /* DataTable Row Hover */
  table.dataTable tbody tr:hover {
    background-color: var(--bs-body-bg) !important;
  }

/* ========================================
   DATATABLE PAGINATION
   ======================================== */

ul.pagination {
  --bs-pagination-padding-x: 0.75rem;
  --bs-pagination-padding-y: 0.375rem;
  --bs-pagination-font-size: 14px;
  --bs-pagination-color: var(--theme-primary);
  --bs-pagination-bg: rgba(var(--theme-primary-rgb), 0.1);
  --bs-pagination-border-width: var(--bs-border-width);
  --bs-pagination-border-color: rgba(var(--theme-primary-rgb), 0.1);
  --bs-pagination-border-radius: var(--bs-border-radius);
  --bs-pagination-hover-color: var(--theme-primary-text);
  --bs-pagination-hover-bg: var(--theme-primary);
  --bs-pagination-hover-border-color: var(--theme-primary);
  --bs-pagination-focus-color: var(--theme-primary-hover);
  --bs-pagination-focus-bg: var(--bs-secondary-bg);
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--theme-primary-rgb), 0.25);
  --bs-pagination-active-color: var(--theme-primary-text);
  --bs-pagination-active-bg: var(--theme-primary);
  --bs-pagination-active-border-color: var(--theme-primary);
  --bs-pagination-disabled-color: var(--theme-primary);
  --bs-pagination-disabled-bg: rgba(var(--theme-primary-rgb), 0.1);
  --bs-pagination-disabled-border-color: rgba(var(--theme-primary-rgb), 0.1);
  justify-content: center;
  margin-top: 20px;
}

  /* Pagination Items */
  ul.pagination li.page-item button.page-link {
    background-color: var(--bs-pagination-bg);
    border-color: var(--bs-pagination-border-color);
    color: var(--bs-pagination-color);
    margin: 0 3px;
    font-size: var(--bs-pagination-font-size);
    font-weight: 500;
    border-radius: var(--bs-pagination-border-radius);
  }

    /* Pagination Hover */
    ul.pagination li.page-item button.page-link:hover {
      background-color: var(--bs-pagination-hover-bg);
      border-color: var(--bs-pagination-hover-border-color);
      color: var(--bs-pagination-hover-color);
    }

  /* Pagination Active */
  ul.pagination li.page-item.active button.page-link {
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
    color: var(--bs-pagination-active-color);
  }

  /* Pagination Disabled */
  ul.pagination li.page-item.disabled button.page-link {
    background-color: var(--bs-pagination-disabled-bg);
    border-color: var(--bs-pagination-disabled-border-color);
    color: var(--bs-pagination-disabled-color);
    cursor: not-allowed;
    opacity: 0.65;
  }

/* ========================================
   Steper  
   ======================================== */
.step-item {
  display: flex;
  position: relative;
  padding-bottom: 2rem;
}

  .step-item:last-child {
    padding-bottom: 0;
  }

  .step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--theme-primary);
  }

.step-number {
  flex-shrink: 0;
  font-weight: 600;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(1, 84, 163, 0.3);
}

.step-content {
  flex: 1;
  margin-left: 1.5rem;
  padding-top: 0.25rem;
}

  .step-content p {
    margin: 0;
    color: var(--bs-body-color);
    font-size: 16px;
    line-height: 1.6;
  }

  .step-content a {
    color: var(--theme-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }

    .step-content a:hover {
      color: var(--theme-primary-hover);
      text-decoration: underline;
    }

.header-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--bs-body-color);
}

  .header-title h3 {
    font-weight: 600;
    color: var(--theme-primary);
    ;
  }

  .header-title p {
    color: var(--bs-body-color);
    margin-top: 0.5rem;
  }

@media (max-width: 576px) {
  .steps-container {
    padding: 1.5rem;
  }

  .step-content {
    margin-left: 1rem;
  }

    .step-content p {
      font-size: 14px;
    }
}

/* ========================================
   video-wrapper   Education 
   ======================================== */
.video-wrapper {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: #000;
}

  .video-wrapper iframe,
  .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }