/* target only when Bootstrap’s dark theme is active */
html[data‑bs‑theme="dark"] {
  /* the “on” background of checkboxes & switches */
  --bs-form-check-input-checked-bg:    #6c757d;
  /* the border of the “on” switch/checkbox */
  --bs-form-check-input-checked-border-color: #6c757d;
  /* focus ring (you can tweak the alpha) */
  --bs-form-check-input-focus-box-shadow: 0 0 0 .25rem rgba(108,117,125,.5);
}

/* slightly mute the label text so it isn’t pure white */
html[data‑bs‑theme="dark"] .form-check-label {
  color: rgba(255,255,255,0.65);
}

.custom-switch-grey {
  transform: scale(0.75);
  transform-origin: left;
}

.custom-switch-grey:checked {
  background-color: #6c757d; /* Bootstrap's "secondary" grey */
  border-color: #6c757d;
}

.custom-switch-grey:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25); /* grey focus glow */
}

.smaller {
  font-size: 0.75rem; /* Smaller than Bootstrap's .small (0.875rem) */
}

/* Target the 'Showing X to Y of Z entries' text in the DataTable footer */
.dataTables_wrapper .dataTables_info {
  font-size: 12px;       /* Make the text smaller */
  color: #666;        /* Muted gray color */
}

/* Target the pagination controls (previous/next buttons and page numbers) */
.dataTables_wrapper .dataTables_paginate {
  font-size: 12px;       /* Make the pagination text smaller */
  color: #666;        /* Muted gray color */
}

.dataTables_wrapper .dataTables_paginate a {
  font-size: 12px;       /* Make the text smaller */
  color: #6c757d;        /* Muted color for page numbers and buttons */
}

.dataTables_wrapper .dataTables_paginate a:hover {
  font-size: 12px;       /* Make the text smaller */
  color: #495057;        /* Slightly darker color on hover for better visibility */
}

.dataTables_length select.form-select {
  /* kill the browser’s default arrow */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  /* you’ve already forced the dark theme… */
  background-color: #212529 !important;
  font-size: 12px;       /* Make the text smaller */
  color:            #666 !important;
  border-color:     #343a40 !important;
  padding-right: 2rem;
  margin-top: 0.25rem;
}

.cursor-pointer {
  cursor: pointer;
}

.fade-mask {
  width: 2px;
  background-color: rgba(255, 255, 255, 0.6); /* more visible */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

#qrcode-wrapper {
    padding: 16px;
    background: #fff;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@media (max-width: 991.98px) {
  /* Hide the caret (arrow) on elements with dropdown-toggle */
  .dropdown-toggle-c::after {
    display: none !important;
  }
}

/* 1) Base slider reset. Remove all native appearances, backgrounds, and outlines. */
.custom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent; /* Also remove mobile tap highlight */
}

/* 2) For Safari/iOS & Chrome: remove any default focus ring. */
.custom-slider::-webkit-focus-ring-color {
  outline: none;
  border: none;
}

/* 3) For Firefox: remove outer focus highlight on the range. */
.custom-slider::-moz-focus-outer {
  border: 0;
  outline: 0;
}

/* 4) Kill any outline/box-shadow on focus/active states. */
.custom-slider:focus,
.custom-slider:active,
.custom-slider:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ===== Track styles ===== */
.custom-slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  background-color: #dee2e6; /* Light gray track */
  border-radius: 999px;      /* Pill shape track */
  border: none;
  height: 4px;
  box-shadow: none;
}
.custom-slider::-moz-range-track {
  background-color: #dee2e6;
  border-radius: 999px;
  border: none;
  height: 4px;
  box-shadow: none;
}

/* Remove any focus/outline from the track on click/focus in WebKit. */
.custom-slider:focus::-webkit-slider-runnable-track,
.custom-slider:active::-webkit-slider-runnable-track {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* ===== Thumb styles ===== */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background-color: #6c757d;  /* matches .text-muted color */
  border: none;
  border-radius: 999px;       /* Pill shape */
  box-shadow: none;
  width: 1.75rem;             /* Adjust size as desired */
  height: 1rem;
  margin-top: -0.3rem;        /* Adjust to align center on track in Chrome */
  cursor: pointer;
}
.custom-slider::-moz-range-thumb {
  background-color: #6c757d;
  border: none;
  border-radius: 999px;
  box-shadow: none;
  width: 1.75rem;
  height: 1rem;
  cursor: pointer;
}

/* Remove ring/outline on thumb focus/active states. */
.custom-slider::-webkit-slider-thumb:focus,
.custom-slider::-webkit-slider-thumb:active,
.custom-slider::-moz-range-thumb:focus,
.custom-slider::-moz-range-thumb:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Optional hover effect for the thumb (slightly darker muted). */
.custom-slider:hover::-webkit-slider-thumb,
.custom-slider:hover::-moz-range-thumb {
  background-color: #495057;
}


.ms-half {
  margin-left: 0.125rem; /* Half of Bootstrap's ms-1 */
}

a {
  text-decoration: none; /* Removes the underline globally */
}

.card.shadow {
    box-shadow: 0px 4px 10px rgba(128, 128, 128, 0.5) !important;
}

.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    width: 23rem;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-list li {
    margin-bottom: 0.8rem;
    color: #6c757d;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    border-radius: 20px;
}

.gradient-custom {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example1-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.1);
    border: solid rgba(0, 0, 0, 0.15);
    border-width: 1px 0;
    box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
                inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-divider.b-example-vr1 {
  flex-shrink: 0;
  width: 24px; /* Your requested 25px width */
  height: 100vh;
  background-color: #212529; # ex 212529
  box-shadow: inset -15px 0 15px -15px rgba(0, 0, 0, 0.2); /* Add depth to wide divider */
}

.b-example-divider.b-example-vr {
  flex-shrink: 0;
  width: 24px;
  height: 100vh;

  /* Gradient for subtle color transition (dark edge illusion) */
  background: linear-gradient(to right, #212529, #1a1a1a, #111111);

  /* Soft inner shadows on both sides */
  box-shadow:
    inset -8px 0 10px -8px rgba(0, 0, 0, 0.5), /* Left inner shadow */
    inset 8px 0 10px -8px rgba(0, 0, 0, 0.5);  /* Right inner shadow */

  /* Optional: add slight outer shadow to give "float" effect */
  /* Remove if not needed */
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/

  /* Optional: smooth rounded edges */
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

.small-flash {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    min-width: fit-content;
    max-width: 100%;
    padding-right: 25px;
}

/* Example: Make the close button smaller and shift it up a bit */
.alert-dismissible .btn-close {
    position: absolute;
    top: 0.5rem;         /* Move the button slightly up */
    right: 0.5rem;       /* Adjust if you need to move it horizontally */
    --bs-btn-close-width: 0.8rem;
    --bs-btn-close-height: 0.8rem;
    padding: 0;
}

.alert-dismissible .btn-close::before {
    font-size: 0.7rem;   /* Adjust the 'X' icon size */
}

.json-preview {
    cursor: pointer;
}

.wallet-flex {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

#deleteSelected {
    cursor: pointer;
}

#activateSelected {
    cursor: pointer;
}

#isBotSelected {
    cursor: pointer;
}

.sort-data {
    display: none;
}

.hidden {
    display: none;
}

.login-card {
    width: 400px;
    border-radius: 0.5rem;
}

.bg-dd4b39 {
    background-color: #dd4b39;
}
.bg-dd4b39:hover {
  background-color: #c74433;
}

.login-bg {
    background-color: #5865F2;
}
.login-bg:hover {
  background-color: #4F5BDA;
}


.sidebar-dimensions {
    width: 280px;
    height: 100vh;
}

.flash-messages {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 300px;
}

.wallet-popover-container {
    font-size: 12px; /* Adjust as needed */
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0px;
    padding: 0px;
    border: 0px solid #444;
    border-radius: 4px;
    white-space: nowrap;
}

.wallet-popover-strong {
    margin-left: 6px;
}

.wallet-popover-span {
    margin-right: 8px;
}

.wallet-popover-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 250px;
    justify-content: flex-start;
    gap: 0.5rem;
}

.wallet-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 150px;
    justify-content: flex-start;
    gap: 0.0rem;
}





/* Profile css */

  .project-card {
    transition: transform 0.2s;
    border-radius: 15px;
  }
  .project-card:hover {
    transform: translateY(-5px);
  }

  .card-header-text {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .status-pill {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
  }

  .progress-small {
    height: 6px;
  }
  .progress-bar-dynamic {
    width: {{ percentage_used|round(0, 'floor') }}%;
  }

  .progress-container {
    margin-bottom: 1.8rem;
  }
  .progress {
    height: 8px;
    background-color: rgba(255,255,255,0.1);
  }
  .progress-bar {
    background-color: #4e73df;
    border-radius: 4px;
  }

  .skill-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .skill-name {
    color: #d1d1d1;
  }

  .skill-percent {
    color: #6c757d;
  }

  .dark-card {
    background-color: #212529; /* Slightly lighter than #212529 */
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    border: 1px solid #1b1e22;
  }

  .avatar-size {
    width: 200px;    /* Set your desired width */
    max-width: 220%; /* Ensure it never exceeds the container's width */
    height: auto;
  }

  .project-status-icon {
    max-width: 30px;
    max-height: 30px;
  }

  .no-underline {
    text-decoration: none;
  }

  .border-start {
    border-width: 1px !important;
    color: #ffffff;
    border-color: rgba(0, 0, 0, 0.2) !important; /* a soft, semi-transparent black */
    height: 30px;
  }

  .glow {
    box-shadow: 0 0 5px 1px rgba(0, 128, 0, 0.8); /* yellow glow */
    transition: box-shadow 0.3s ease-in-out;
  }



/* events css */

#events1Table td {
  color: #6c757d; /* text-muted */
  margin-left: .5rem; /* ms-2 */
  margin-bottom: 0;   /* mb-0 */
}

.event-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.event-flex-left,
.event-flex-right {
  flex: 1;
}

.event-flex-left {
  text-align: center;
}

.event-flex-right {
  text-align: center;
}

.event-flex-center {
  width: 45px;
  text-align: center;
}

.pulse-alert-red {
  fill: red;
  animation: pulse 1s infinite;
}
.pulse-alert-green {
  fill: green;
  animation: pulse 1s infinite;
}


@keyframes pulse {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.2); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hide both additional options sections by default */
.event-options {
  display: none;
  /* margin-top: 10px; */
  /* padding: 10px; */
  /* border: 1px solid #ddd; */
}
/* When the "Swaps" radio button is checked, show the swaps options */
#swapsRadio:checked ~ .options.swaps {
  display: block;
}
/* When the "Other Event" radio button is checked, show the other options */
#otherRadio:checked ~ .options.other {
  display: block;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}



/* user wallets css */

.fa-bullhorn,
.fa-circle-minus,
.fa-sliders,
.fa-plus-circle,
.fa-edit,
.fa-trash,
.fa-circle-check,
.fa-toggle-on,
.fa-toggle-off,
.fa-robot,
#selectAll {
  cursor: pointer;
}

/* Container for the chips */
#modalWalletIdsDisplay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--bs-dark);
  border: 1px solid var(--bs-secondary);
  border-radius: 0.25rem;
  max-height: 10rem;
  overflow-y: auto;
}

/* Individual chip styling */
.wallet-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  font-size: 0.475rem;
  border-radius: 1rem;
  background-color: var(--bs-secondary);
  color: var(--bs-dark);
}

.wallet-chip .btn-close {
  margin-left: 0.25rem;
  padding: 0.25rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background: #212529;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-message {
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.modal-link {
  font-weight: bold;
  cursor: pointer;
}

.hidden {
  display: none;
}









/* Responsive sidebar */

/* 1. General styling for the vertical menu */
.left-menu {
  width: 100%;
  max-width: 280px; /* Or whatever width you want on larger screens */
  background-color: #212529; /* Example: dark background */
}

/* 2. Ensure icons are centered on smaller screens */
@media (max-width: 768px) {
  
  /* Hide the textual labels (like "Events", "Profiles", etc.) if desired */
  /* If you'd prefer to keep them, remove or comment this out */
  .left-menu .menu-text {
    display: none !important;
  }

  /* Center each nav item by making them use full width & center the content */
  .left-menu .btn-toggle-nav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0; /* Example spacing */
  }

  /* Remove the right margin from icons if you wish, so they’re perfectly centered */
  .left-menu .btn-toggle-nav li a i {
    margin-right: 0 !important;
  }

  /* Center the top brand “stalker” if you still show it on small screens */
  .left-menu a.d-flex.align-items-center {
    justify-content: center;
  }
}

/* 3. Avatar fixes */
.user-avatar {
  width: 40px;  /* Slightly smaller so it stays neatly in the nav */
  height: 40px; /* Matching width for a square thumbnail */
  object-fit: cover; /* If the image is not square, this keeps it clipped nicely */
}

/* On small screens, center the avatar as well */
@media (max-width: 768px) {
  .left-menu .dropdown .dropdown-toggle-c {
    width: 100%;
    justify-content: center;
  }
  
  .left-menu .dropdown .dropdown-toggle-c img {
    margin: 0 auto;
  }
}

.sidebar-dimensions {
  width: 280px;
  min-width: 280px;
  transition: all 0.3s ease;
}

@media (max-width: 767.98px) {
  .sidebar-dimensions {
    width: 60px !important;
    min-width: 60px !important;
  }

  .menu-text {
    display: none !important;
  }

  /* Center all menu items */
  .btn-toggle-nav a {
    display: flex !important;
    justify-content: center !important;
    padding: 0.75rem 0 !important;
  }

  /* Center icons and remove margins */
  .btn-toggle-nav .bi {
    margin: 0 !important;
    font-size: 1.4rem; /* Slightly larger icons for better visibility */
  }

  /* Adjust main title spacing */
  .border-bottom {
    padding-bottom: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  /* User profile adjustments */
  .dropdown-toggle {
    justify-content: center !important;
    padding: 0 !important;
  }

  .dropdown-toggle img {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
  }

  /* Section separator spacing */
  .border-top.my-3 {
    margin: 1rem 0 !important;
  }
}


