@import url('variables.css');

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color-primary);
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  background: #eee;

}

main {
  min-height: 85vh;
}

footer {
  color: var(--font-color-primary);
}

a {
  color: var(--font-color-secondary);
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  color: var(--font-color-default);
  text-decoration: none;
}

hr {
  margin: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1021;
  top: 8%;
  left: 0;
  background-color: var(--bg-color-primary);
  overflow-x: hidden;
  transition: 0.5s;
  padding: 10px;
}

.overlay-content {
  position: relative;
  top: 1%;
  width: 100%;
}

.overlay-body {
  height: 80%;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.neu_flat_primary {
  background: var(--bg-color-primary);
  box-shadow: var(--neu-flat-primary);
}

.neu_flat_secondary {
  background: var(--bg-color-secondary);
  box-shadow: var(--neu-flat-secondary);
}

.neu_pressed_primary {
  background: var(--bg-color-primary);
  box-shadow: var(--neu-pressed-primary);
}

.neu_pressed_secondary {
  background: var(--bg-color-secondary);
  box-shadow: var(--neu-pressed-secondary);
}

.rounded_50 {
  border-radius: 50px;
}

.text-error {
  /*border: 1px solid yellow;*/
  display: block;
  height: 25px;
  color: var(--font-color-danger) !important;
  padding-left: 10px;
  font-size: 10px;
  font-weight: bolder;
}

.height_60_px {
  height: 60px;
}

.show_pending {
  display: none;
}

.pointer {
  cursor: pointer;
}

.bg-primary {
  background-color: var(--bg-color-primary) !important;
}

.toggle-on.btn {
  padding-right: 1.5rem;
  color: var(--font-color-success) !important;
}

.toggle-off.btn {
  padding-right: 1.5rem;
  color: var(--font-color-danger) !important;
}

.swal2-popup {
  background: var(--bg-color-primary);
}

.list_wrapper {
  height: 60vh;
  overflow-y: auto;
}

.pagination_wrapper {
  height: 10vh;
}

/*scroll bar css start*/
::-webkit-scrollbar-track {
  background-color: var(--bg-color-primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--bg-color-secondary);
}

/*end scroll bar*/

/**
 * ==============================================
 * Dot Floating
 * ==============================================
 */
.stage {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0.3rem 0;
  overflow: hidden;
}

.dot-floating {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFloating 3s infinite cubic-bezier(0.15, 0.6, 0.9, 0.1);
}

.dot-floating::before,
.dot-floating::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-floating::before {
  left: 0px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFloatingBefore 3s infinite ease-in-out;
}

.dot-floating::after {
  left: 0px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFloatingAfter 3s infinite cubic-bezier(0.4, 0, 1, 1);
}

@keyframes dotFloating {
  0% {
    left: calc(-50% - 5px);
  }

  75% {
    left: calc(50% + 105px);
  }

  100% {
    left: calc(50% + 105px);
  }
}

@keyframes dotFloatingBefore {
  0% {
    left: -50px;
  }

  50% {
    left: -12px;
  }

  75% {
    left: -50px;
  }

  100% {
    left: -50px;
  }
}

@keyframes dotFloatingAfter {
  0% {
    left: -100px;
  }

  50% {
    left: -24px;
  }

  75% {
    left: -100px;
  }

  100% {
    left: -100px;
  }
}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: .5s;
}

.dot-flashing::before,
.dot-flashing::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--bg-color-default);
  color: var(--bg-color-default);
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dotFlashing {
  0% {
    background-color: var(--bg-color-default);
  }

  50%,
  100% {
    background-color: var(--bg-color-primary);
  }
}

/* navigation */
.navigationn_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navigationn {
  position: relative;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.menuToggle {
  position: relative;
  width: 35px;
  height: 35px;
  background: var(--bg-color-primary);
  box-shadow: var(--neu-flat-primary);
  border-radius: 70px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menuToggle::before {
  content: '+';
  position: absolute;
  font-size: 1em;
  font-weight: bold;
  color: var(--font-color-secondary);
  transition: 1.5s;
}

.menuToggle.active {
  transition: 1.5s;
  box-shadow: var(--neu-pressed-primary);
}

.menuToggle.active::before {
  transform: rotate(225deg);
}

.menuu {
  position: absolute;
  width: 30px;
  height: 30px;
  background: var(--bg-color-primary);
  box-shadow: var(--neu-flat-primary);
  border-radius: 70px;
  z-index: -1;
  transition: transform 0.5s, width 0.5s, height 0.5s;
  transition-delay: 1s, 0.5s, 0.5s;
  transition-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.menuToggle.active~.menuu {
  width: 350px;
  height: 40px;
  z-index: 1;
  transform: translate(-210px);
  transition-delay: 0s, 0.5s, 0.5s;
}

.menuu::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--bg-color-primary);
  /* background: red; */
  left: calc(50% - 10px);
  top: 8px;
  transform: rotate(45deg);
  border-radius: 2px;
  transition: 0.5s;
}

.menuToggle.active~.menuu::before {
  transition-delay: 0.5s;
  top: 12px;
  left: 340px;
}

.menuu ul {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* flex-wrap: wrap; */
  height: 20px;
  margin: 10px 10px 0px 10px;
  overflow: hidden;
}

.menuu ul li {
  list-style: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-30px);
  transition: 0.25s;
  transition-delay: calc(0s + 0.1s);
}

.menuToggle.active~.menuu ul li {
  opacity: 1;
  visibility: visible;
  transform: translateX(0px);
  transition-delay: calc(0.75s + 0.1s);
}

.menuu ul li a {
  display: block;
  font-size: 1.2em;
  text-decoration: none;
  color: var(--font-color-primary);
}

.menuu ul li:hover a {
  color: var(--font-color-secondary);

}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 200px;
  height: 100vh;
  background: var(--bg-color-secondary);
  transition: all 0.4s ease;
  font-size: 14px;
  white-space: nowrap;
}

header,
main,
footer {
  position: relative;
  left: 200px;
  background-color: var(--panel-color);
  width: calc(100% - 200px);
}

.glassmorphism {
  backdrop-filter: blur(5px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  background-color: rgba(47, 67, 97, 0.25);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.125);
}

/* Default Sidebar (hidden on small screens) */
@media (max-width: 768px) {
    .sidebar {
        position: fixed; /* Sidebar positioned to the left of the screen */
        top: 0;
        left: -250px; /* Initially hidden off-screen */
        width: 250px;
        height: 100vh;
        background: var(--bg-color-secondary);
        font-size: 14px;
        white-space: nowrap;
        transition: left 0.3s ease; /* Smooth transition for sidebar opening/closing */
        display: block; /* Ensure sidebar takes up space */
        z-index: 100000; /* Ensure sidebar appears above other content */
    }
    .dropdown-item {
      display: block;
      width: 100%;
      clear: both;
      color: var(--bg-color-primary);
      text-align: inherit;
      white-space: normal;
      background-color: transparent;
      border: 1px solid var(--bg-color-default);
    }

    .dropdown-item.active, .dropdown-item:active, .dropdown-item:hover {
      text-decoration: none;
      color: var(--font-color-secondary);
      background-color: var(--bg-color-primary);
      box-shadow: var(--neu-flat-primary);
  }

    /* When the sidebar is visible */
    .sidebar.open {
        left: 0; /* Move sidebar to visible position */
    }

    header,
    main,
    footer {
        position: relative;
        left: 0;
        width: 100vw;
        transition: margin-left 0.3s ease; /* Smooth transition for main content shift */
    }

    /* Shift content when sidebar is open */
    .sidebar.open ~ header,
    .sidebar.open ~ main,
    .sidebar.open ~ footer {
        margin-left: 250px; /* Adjust main content position when sidebar is open */
    }
}

/* Style for the sidebar button (hamburger or toggle button) */
.hamburger_button {
    /* position: absolute; */
    top: 20px;
    left: 20px;
    z-index: 1100; /* Make sure it's above the sidebar */
}

/* Optional: Add custom styles for the sidebar menu items here */
.sidebar .nav-link {
    padding: 10px;
    color: #333;
    text-decoration: none;
    display: block;
}




.link-card:hover {
  transform: scale(1.03);
  background: #0d378b;
  transition: 0.3s;
}
.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background: rgba(255, 255, 255, 0.2); */
  background: #5851ff ;
  padding: 12px;
  margin: 10px 0;
  border-radius: 8px;
  transition: transform 0.3s ease;
  color: white;
}

    .link-card a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  flex-grow: 1;
  text-align: left;
  padding: 0 10px;
  overflow-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.button-group {
  display: flex;
  gap: 10px;
}
.copy-btn, .qr-btn {
  background: white;
  color: #6a11cb;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.copy-btn, .qr-btn {
  background: white;
  color: #6a11cb;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

#linksModal .close-btn {
  background: red;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.copy-btn:hover{
background-color:#6a11cb;
color:white;
}
.qr-btn:hover{
background-color:#6a11cb;
color:white;
}

/* On screens smaller than 576px (phones in portrait mode) */
@media (max-width: 576px) {
  .modal-dialog {
      max-width: 95%; /* Reduce modal width to 95% */
  }
  .modal-header h2 {
      font-size: 24px; /* Smaller font size for the modal title */
  }
  .modal-body h3 {
      font-size: 20px; /* Smaller font size for section headings */
  }
  .link-card {
      margin-bottom: 1rem; /* Add some spacing between link cards */
  }
  .button-group button {
      font-size: 14px; /* Smaller button font size */
      padding: 6px 12px; /* Adjust button padding */
  }
  .modal-footer .btn {
      width: 100%; /* Make the close button full-width on small screens */
  }
.sidebar {
      z-index: 0;
  }
.button-group {
  display: grid;
  gap: 10px;
}
}

/* For tablets (screens smaller than 768px but larger than 576px) */
@media (max-width: 768px) {
  .modal-dialog {
      max-width: 85%; /* Reduce modal width to 85% */
  }
  .modal-header h2 {
      font-size: 26px; /* Adjust title font size */
  }
  .modal-body h3 {
      font-size: 22px; /* Adjust section heading font size */
  }
  .button-group button {
      padding: 8px 16px; /* Make buttons a bit larger */
  }
.sidebar {
      z-index: 0;
  }
}


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

  thead tr {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(to right, #cc0052 10%, #1C295D 90%) !important;
    border-color: rgb(5, 15, 54) !important;
    color: white;
    font-size: 0.8rem;
    padding: 8px;
    text-align: left;
  }

  tbody td {
    padding: 8px;
    border-bottom: 1px solid #eee;
  }

     .ultra-premium-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 4px 11px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    background: linear-gradient(to right, rgb(7, 16, 54) 10%, #1C295D 90%);
    color: #fff;
    box-shadow:
        inset 0 0 5px rgba(255, 255, 255, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ultra-premium-view-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.ultra-premium-view-btn:hover {
    box-shadow:
        inset 0 0 6px rgba(255, 255, 255, 0.1),
        0 6px 18px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    background: linear-gradient(to right, #101b3c 10%, #263875 90%);
    transform: translateY(-1px);
}

.ultra-premium-view-btn:hover i {
    transform: scale(1.1);
}

.ultra-premium-view-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(28, 41, 93, 0.35);
}