
/* Table  */
 /* Pagination Styles */
 .pagination-container {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 5px;
  }

  .pagination-container button {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
    color: #333;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  .pagination-container button:hover {
    background-color: #00ccff;
    color: #fff;
  }

  .pagination-container button.active {
    background-color: #00ccff;
    color: #fff;
    border-color: #00ccff;
  }

  .pagination-container button:disabled {
    background-color: #e9ecef;
    color: #999;
    cursor: not-allowed;
  }

  .pagination-container span {
    padding: 8px 12px;
    color: #666;
  }


  /* Apply fixed layout for equal width columns */
  #galleryTable {
    table-layout: auto; /* Allow table to adjust column width based on content */
    width: 100%;
  }

  /* Set all columns to have equal width */
  #galleryTable th,
  #galleryTable td {
    white-space: nowrap; /* Prevent text wrapping */
    padding: 8px; /* Adjust padding for a cleaner look */
    text-align: left; /* Center-align text for readability */
    vertical-align: middle; /* Vertically center content */
  }

  /* Optional: Enable horizontal scroll for small screens */
  .table-container {
    max-width: 100%;
    overflow-x: auto; /* Horizontal scroll if table doesn't fit */
  }

  /* referral */
  .referral-container {
    text-align: center;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
  }
  
  .referral-container h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
  }
  
  .referral-label {
    font-weight: bold;
    color: #333;
    margin-top: 20px;
  }
  
  .referral-code {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
  }
  
  .referral-code input {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px;
    width: 75%;
    text-align: center;
    font-size: 14px;
    background: #f0f0f0;
  }
  
  .referral-code button {
    background: none;
    border: none;
    margin-left: 8px;
    cursor: pointer;
    font-size: 20px;
    color: #333;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
  }
  
  .social-icons a {
    text-decoration: none;
  }
  
  .social-icons i {
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .gmail-icon { color: #D44638; }
  .linkedin-icon { color: #0077b5; }
  .telegram-icon { color: #0088cc; }
  .instagram-icon { color: #C13584; }
  .whatsapp-icon { color: #25D366; }
  
  .social-icons i:hover {
    transform: scale(1.1);
  }
  
  .referral-note {
    color: #555;
    font-size: 15px;
    margin-top: 15px;
  }

  .social-icon-img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s;
  }
  
  .social-icon-img:hover {
    transform: scale(1.1);
  }


  /* heaer icons  */
  /* Base styling for icons */
  .icon-rewards {
    color: #FFD700;
    /* Gold color for rewards */
  }

  .icon-balance {
    color: #7366ff;
    /* Green color for balance */
  }

  .icon-subscription {
    color: #9C27B0;
    /* Purple color for VIP subscription */
  }
  .fa-database{
    color: #27c173 !important;
  }

  /* Styling and animation */
  .animated-item {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
  }

  .animated-item i {
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .animated-item:hover {
    transform: translateY(-3px);
    /* Slight upward hover effect */
  }

  .animated-item:hover i {
    transform: scale(1.2);
    /* Icon zoom on hover */
  }


  .active-list{
    background-color: #f19c00 !important;
    color: black !important;
  }

  .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li .sidebar-submenu li a.active{
    color: #ffffff !important;
  }

  .active-text{
    color: #ffffff !important;
  }


  /* hover title  */
  .animated-item {
    position: relative;
  }
  
  .animated-item:hover::after {
    content: attr(data-title); /* This will display the custom title */
    position: absolute;
    top: 100%; /* Positioning it below the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333; /* Background color for tooltip */
    color: #fff; /* Text color */
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    opacity: 1;
    z-index: 10;
  }
  
  .animated-item:hover::after {
    opacity: 1;
  }

  .cursor-pointer{
    cursor: pointer !important;
  }

  
/* CSS */
@media (max-width: 767px) { /* Target mobile scree      ns */
  th:nth-child(2) {
    min-width: 200px !important;
  }
  th:nth-child(4) {
    min-width: 140px !important;
  }
}


.custom-swal-title {
  font-weight: 700; /* Change to the desired weight */
  font-size: 20px;  /* Optional: Adjust the size */
  color: #333;      /* Optional: Change the color */
}


  /* Line Clamp - added by jyoshitha */
  .clamp-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3; /* Number of lines to show */
  }
  

  .error-border {
    border-color: #ff4d4f !important;
  }

  /* OTP */
  .otp-input-wrapper {
    gap: 10px !important
}

.otp-input {
    width: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}



/* --  */

/* Add this to your CSS */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-controls button {
  padding: 5px 10px;
  font-size: 16px;
}

.quantity-input {
  width: 60px;
  text-align: center;
  font-size: 16px;
}


/* ---------- for dark mood --------------  */


  .page-header{
  background-color: var(--abid-color) !important;
  }
  
  .sidebar-wrapper{
  background-color: var(--abid-color) !important;
  }
  
  .footer{
  background-color: var(--abid-color) !important;
  }
  
  .page-body{
  border: 10px solid #ffa500 !important;
  }
  
  .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li:hover .sidebar-link:not(.active):hover span{
    color : black !important;
  }

  .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content > li:hover .sidebar-link:not(.active):hover svg{
    stroke : black !important;
  }

  .badge-primary{
    background-color: #f19c00 !important;
  }


  /* Spinner Styling */
.default-spinner {
  display: none; /* Hidden by default */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 9999; /* Ensure spinner is on top */
}

/* Spinner Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Blurred background */
.blurred {
  filter: blur(5px); /* Adjust blur strength */
  pointer-events: none; /* Prevent interactions */
}

/* disable for icon  */
.disabled {
  pointer-events: none;  /* Disable click interaction */
  opacity: 0.5;          /* Reduce opacity to show it's disabled */
}


.bg-title-color{
  background-color: #f19c00 !important;
}

.f-25{
  font-size: 25px;
}

.hover-tr:hover{
  background-color: rgb(238, 238, 238) !important;
  cursor: pointer !important;
  transition: all 0.4s ease-in-out;
}

.active-bC {
  border-bottom: 1px solid black;
}

.bg-third{
  background-color: #f19c00 !important;
  border : 1px solid #f19c00 !important;
  color: white;
}
 /* back  */
 .p025{
  padding: 0px 25px;
 }

 /* excel button bg color  */
 .excel-bg-btn{
  background-color: #c1e6d5;
 }

 .h-20{
  height: 20px;
 }

 .w-20{
  width: 20px;
 }

 #in-header-user-name {
  display: inline-block; 
  max-width: 20px;
  min-width: 50px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
  vertical-align: middle; 
}

.logo-response{
  width: 30% !important;
}

@media screen and (max-width: 600px) {
  .logo-response{
    width: 80% !important;
  }
  
}

@media (max-width: 575.98px) {
  .response-tab {
    display: flex !important;
    flex-direction: row !important;
  }
}

.icon-total-rewards {
  color: gold;
}

.icon-total-sales {
  color: green;
}
