#swipe-deck {
  position: relative;
  width: 500px;
  height: 550px;
  margin: 40px auto;
  display: none;
}

.swipe-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.swipe-card img {
  max-width: 100%;
  border-radius: 8px;
  max-height: 250px;
  object-fit: cover;
}

.swipe-actions {
  display: flex;
  gap: 20px;
}

.swipe-actions button {
  font-size: 24px;
  padding: 10px;
  border: none;
  background: #f1f1f1;
  border-radius: 50%;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

#swipe-dislike {
  color: #e74c3c;
  border-radius: 50%;
  padding: unset;
  background: #f1f1f1;
  box-shadow: unset;
  /* red */
}

#swipe-like {
  color: #2ecc71;
  border-radius: 50%;
  padding: unset;
  background: #f1f1f1;
  box-shadow: unset;
  /* green */
}

.swipe-dislike:hover,
.swipe-like:hover {
  background-color: #ddd;
}

.swipe-card.swipe-left {
  transform: translateX(-400px) rotate(-20deg);
  opacity: 0;
}

.swipe-card.swipe-right {
  transform: translateX(400px) rotate(20deg);
  opacity: 0;
}

.loading-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  text-align: center;
  flex-direction: column;
  font-size: 16px;
  color: #666;
  margin-top: 20px;
}

.spinner {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.dsp-product-detail img {
  max-width: 80%;
}

#dsp-product-buy-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.match-percentage-circle {
  margin-top: 8px;
  display: inline-block;
  position: absolute;
  padding-left: 5px;
}

.circle-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: relative;
  background-color: var(--color-primary);
}

.circle {
  width: 100%;
  height: 100%;
  clip: rect(0, 60px, 60px, 30px);
  position: absolute;
}

.mask,
.fill {
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
}

.mask {
  clip: rect(0, 30px, 60px, 0);
}

.fill {
  background-color: var(--color-primary);
  transform: rotate(0deg);
  transform-origin: center center;
}

.inside-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 10px;
  background: transparent;
}

.boost-profile-wrap {
  margin-right: 4px;
}

.boost-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  /* <-- border radius added */
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.boost-profile-btn:hover {
  background-color: transparent !important;
  border-radius: 3px !important;
  border: 1px solid var(--color-primary) !important;
  /* <- Correct way to define border */
  color: var(--color-primary) !important;
}

.boost-icon {
  font-size: 20px;
  border-radius: 50%;
  /* optional: icon rounded background */
}

/* 
.boost-response-message {
    margin-bottom: 10px;
    font-weight: 500;
} */


.superlike-profile-wrap {
  text-align: center;
  margin-right: 14px;
}

.superlike-profile-btn {

  background-color: #FFF;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000;

  padding: 5px 18px;
  font-weight: bold;
  border-radius: 3px;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.superlike-profile-btn:hover {
  background-color: transparent;
  border-radius: 3px !important;
  border: 1px solid var(--color-primary) !important;
  /* <- Correct way to define border */
  color: var(--color-primary) !important;
}

.superliked {
  /* Purple-like for "used" state */
  cursor: default;
}

#superlike-remaining {
  font-weight: normal;
}

.profile-activity-right-sidebar .meet-to-info .wpee-meetme-action-wrap a[data-action="no"] {
  order: 0 !important;
}

.profile-activity-right-sidebar .meet-to-info .wpee-meetme-action-wrap a[data-action="super-like"] {
  order: 1;
  background: #3498db;
  border-radius: 0px 0px 0px 0px;
  color: #FFF;
}

.superlike-banner {
  position: absolute;
  top: 10px;
  right: 0px;
  background: #1e8fff9f;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-top-left-radius: 20px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 9;
}

.superlike-banner i.fa-star {
  color: gold;
}

.image-box {
  position: relative;
}

.superlike-status {
  background: #1e8fff9f;
  color: #fff;
  margin-right: 10px;
  font-weight: bold;
  padding: 4px 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.superlike-status i.fa-star {
  color: gold;
}

.star {
  font-size: 24px;
  cursor: pointer;
  color: #ccc;
}

.star.filled {
  color: gold;
}

.rating-loader {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border: 2px solid #ccc;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

.rating-loader[style*="display: none"] {
    display: none !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.referral-list-wrapper {
    margin-top: 20px;
    overflow-x: auto;
}

.referral-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.referral-table th, .referral-table td {
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
}

.referral-table th {
    background-color: #f7f7f7;
    text-align: left;
}

.referral-table tr:nth-child(even) {
    background-color: #fcfcfc;
}

.referral-table td.completed {
    color: green;
}

.referral-table td.pending {
    color: orange;
}

.reward-done {
    color: #28a745;
    font-weight: bold;
}

.reward-pending {
    color: #dc3545;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination .page-number {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination .page-number.active,
.pagination .page-number:hover {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}