@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alkatra:wght@400;500;600;700&display=swap");

body,
html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

nav {
  background-color: #333;
  color: white;
  padding: 10px 0;
}

@media screen and (max-width: 768px) {
  nav {
    display: none !important;
  }
}

.board {
  max-width: 1200px;
  padding: 20px;
  margin: 0 auto;
  margin-top: 2px;
  width: calc(100% - 40px);
}

#board-content {
  font-weight: bold;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  padding: 0.5rem 0;
  align-items: center;
  gap: 60px;
  justify-content: space-around;
  max-width: 1200px;
  box-shadow: 0.5px 6px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 100%;
  background-color: #f9f9f9;
}

#board-text {
  font-family: "Poppins", Arial, sans-serif;
}

.heading-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#leaderboards-btn {
  border: none;
  border-radius: 8px;
  background-color: rgba(100, 71, 237, 1);
  color: white;
  height: 46px;
  font-size: 16px;
  line-height: 25px;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.cylindrical-values {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 15px 0;
}

.cylinder {
  font-family: "Poppins", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.cylinder .count {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 80px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  box-shadow: 0.5px 6px 8px rgba(0, 0, 0, 0.1);
}

.cylinder .label {
  margin-top: 4px;
  font-size: 14px;
  color: #333;
}

.purple {
  background-color: #6559f5;
}

.green {
  background-color: #1cae9f;
}

.red {
  background-color: #d3465c;
}

/* View Uploads Button */
.view-uploads {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  background-color: #207869;
  text-decoration: none;
  border-radius: 5px;
}

.view-uploads:hover {
  background-color: #6447ed;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-container {
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.login-logo {
  text-align: center;
  margin-bottom: 20px;
}

.login-logo img {
  max-width: 100px;
}

.login-title,
.login-description {
  text-align: center;
  margin-bottom: 20px;
}

.login-form {
  display: flex;
  flex-direction: column;
}

.login-input-group {
  margin-bottom: 15px;
}

.login-input-group label {
  display: block;
  margin-bottom: 5px;
}

.login-input-group input,
.login-button {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.login-button {
  background-color: #ff6f00;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 50%;
  margin-left: 28%;
  margin-top: 0.5rem;
}

.login-button:hover {
  background-color: #e65100;
}

.login-error-message {
  color: red;
  text-align: center;
  margin-top: 15px;
}

#dashboardPage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.dashboard-section {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#userIncentivePage {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.user-incentive-container {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 200px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
table,
th,
td {
  border: 1px solid black;
}
th,
td {
  padding: 8px;
  text-align: left;
}

thead {
  background-color: #696969;
  color: white;
}

.total-row {
  font-weight: bold;
  background-color: gainsboro;
}

.total-amount-cell {
  background-color: lightgray;
  color: black;
}

.incentive-filters {
  gap: 10px;
  display: flex;
  align-items: end;
  justify-content: start;
  gap: 5px;
  width: max-content;
}

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

.lifetime-incentive {
  display: inline-block;
  padding-left: 80px;
}

.date-range-picker {
  padding: 8px; /* Padding inside the input box */
  border: 1px solid #333333;
  border-radius: 4px;
  outline: none; /* Remove the default outline */
  background-color: #f9f9f9; /* Background color of the input */
  color: #333; /* Text color */
  width: 125px; /* Width of the input */
  transition: all 0.3s ease; /* Smooth transition for focus state */
}

.date-range-picker:focus {
  border-color: #0056b3; /* Darker border when focused */
  background-color: #fff; /* White background when focused */
}

.date-range-picker:hover {
  border-color: #0056b3; /* Darker border when hovered */
}

.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.category-dropdown,
.date-picker {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 20px;
}

.video-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  align-self: start;
  width: 260px;
  height: auto;
  flex-shrink: 0;
}

.video-item img {
  width: 20%;
  height: auto;
  display: block;
}

.video-info .creator-name {
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  height: 2em; /* Adjust this based on your font size (typically 2x the line height) */
  line-height: 1em; /* Set the line height */
  min-height: 2em;
}

/* .video-info p {
  margin: 3px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box; 
  -webkit-box-orient: vertical;
  white-space: normal;
} */

#createUserPage {
  max-width: 100vw;
  margin: 0 auto;
  padding: 20px;
}

#create-user {
  text-align: center;
  margin: 0 auto 20px;
}

#createUserForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 450px;
  margin: 0 auto;
}

#createUserForm input,
#createUserForm button {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#createUserForm button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

.video-item {
  position: relative;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  align-self: start;
}

.video-number {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 3;
}

.video-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border-radius: 4px;
  padding: 5px 0px;
  z-index: 3;
  cursor: pointer;
}

.low-video-number {
  position: absolute;
  top: 30px;
  left: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 3;
}

.video-preview {
  position: relative;
  width: 100%;
  background: #f0f0f0;
  cursor: pointer;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow: hidden;
}

.video-preview img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  object-fit: cover;
}

.content-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  z-index: 2;
  backdrop-filter: blur(6px);
}

.top-content-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);

  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  z-index: 2;
  backdrop-filter: blur(25px);
}

.eye-img {
  height: 12.5px !important;
  width: 18px !important;
  flex-shrink: 0;
  object-fit: contain;
}

.view-btn {
  height: 31px;
  width: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  line-height: 27px;
  color: rgba(25, 25, 25, 1);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  background-color: white;
  border-radius: 20px;
}

.rank-share {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: start;
  gap: 4px;
}

.ranks {
  color: rgba(96, 72, 37, 1);
  font-size: 12px;
  line-height: 16px;
  background-color: rgba(246, 246, 246, 1);
  border-radius: 30px;
  height: 24px;
  width: 56px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  white-space: nowrap;
}

.shares {
  background-color: rgba(41, 171, 20, 0.1);
  border: 0.5px solid rgba(104, 180, 1, 1);
  border-radius: 30px;
  width: 100px;
  height: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400 !important;
  padding: 2px 4px;
}

.share-count {
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
}

.video-info {
  padding: 10px;
  background: white;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.video-info .creator-name {
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-height: 1.5em; /* Set the line height */
  min-height: 4em;
  margin-bottom: 0;
  margin-top: 4px;
  margin-bottom: 4px;
}

.shares {
  font-weight: bold;
}

.creator-id {
  color: #666;
  margin: 0;
  font-weight: 500;
}

#video-preview-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

#background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  z-index: 800;
}

#video-close-button {
  font-size: 60px;
  cursor: pointer;
  color: red;
}

/* Media query for mobile screens */
@media (max-width: 768px) {
  .board {
    /* width: 100%;  */
    padding: 15px;
  }
  .filters {
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
  }

  .board > * {
    width: 100%;
  }
  .video-grid.active {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    height: calc(100% - 220px);
    overflow-y: scroll;
    padding-bottom: 40px;
  }
  .video-grid {
    display: none; /* Hide both video grids initially */
  }

  .ranks {
    font-size: 10px;
    line-height: 10px;
  }

  .shares {
    font-size: 10px;
    line-height: 10px;
  }

  .creator-id {
    font-size: 10px;
  }
  .creator-name {
    font-size: 12px;
  }
  .lifetime-incentive {
    display: inline-block;
    padding-left: 0px;
  }
  .incentive-filters {
    gap: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  thead,
  td {
    font-size: 12px;
  }
  .earnings h2 {
    font-size: 18px;
  }
  #datetext {
    font-size: 12px;
  }
  #board-content {
    flex-wrap: nowrap;
    gap: 5px;
  }
  .viewuploads {
    display: none;
  }
  .cylindrical-values {
    /* width: 70%; */
    gap: 20px;
    justify-content: space-between;
  }
  #board-text {
    font-size: 14px;
    width: 24%;
    font-weight: 600;
    text-align: left;
  }
  .cylinder .count {
    width: 40px;
    height: 22px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0px;
    border-radius: 17px;
    padding: 4px 5px 4px 5px;
    box-shadow: none;
  }
  .cylinder .label {
    font-size: 12px;
    font-weight: 600;
  }

  .bottom-menu {
    padding: 10px 20px;
  }
  .bottom-menu .menu-item {
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .bottom-menu .menu-item.active {
    background-color: #f6f4ff;
  }
  .bottom-menu .menu-item .b-text {
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
  }
  .bottom-menu .menu-item.active .b-text {
    color: #6447ed;
  }
  .bottom-menu .menu-item.active .b-image path {
    fill: #6447ed;
  }
  .bottom-menu .b-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
  .toggle-container {
    margin: 0 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
    /* background-color: #fff; */
    /* padding: 5px; */
  }

  .toggle-button {
    flex: 1;
    padding: 10px 20px;
    text-align: center;
    border: none;
    background-color: transparent;
    color: #333;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .toggle-button.active {
    background-color: #6447ed; /* Active background */
    color: #fff; /* Active text color */
  }

  .toggle-button:not(.active):hover {
    background-color: #f0f0f0;
  }
  .m-filter-container {
    padding: 20px;
  }
  .m-filter-container .filters {
    display: none; /* Initially hide all filters */
    margin: 0;
  }
  .m-filter-container .filters.active {
    display: flex; /* Show only active filters */
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }

  .m-filter-container .filters.active .category-dropdown {
    width: 32%;
    max-width: 100%;
    font-size: 12px;
  }
  .m-filter-container .filters.active .date-picker {
    font-size: 12px;
  }
  #preview-image {
    width: 318px;
    height: 309px;
    position: relative;
    left: 16%;
    border-radius: 10px;
    top: 246px;
    right: 0;
  }
  .nav-links {
    line-height: 1.5;
  }
  .nav-content {
    padding: 0 20px;
  }

  #dashboardPage {
    display: none;
  }
  #dashboardPage .dashboard-container {
    display: none;
  }

  .m-dashboard-container {
    padding: 5px;
    margin-bottom: 10px;
  }
  .video-item .video-preview {
    border-radius: 4.71px 4.71px 0 0;
    overflow: hidden;
  }
  .video-item .video-info {
    border-radius: 0 0 4.71px 4.71px;
    overflow: hidden;
  }
  #video-preview-container #video-close-button {
    top: 26%;
    left: 75%;
    position: absolute;
  }
}

@media (max-width: 480px) {
  .board {
    padding: 10px;
  }
  .filters {
    gap: 12px;
    margin-bottom: 10px;
  }
  .video-grid {
    gap: 8px;
    grid-template-columns: repeat(
      auto-fill,
      minmax(150px, 1fr)
    ); /* Smaller columns for tiny screens */
  }
  .category-dropdown,
  .date-picker {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: auto;
    max-width: 80px;
  }
  .ranks {
    font-size: 10px;
    line-height: 10px;
  }
  .shares {
    font-size: 10px;
    line-height: 10px;
  }
  .creator-id {
    font-size: 10px;
  }
  .creator-name {
    font-size: 12px;
  }
  .bonus h3 {
    font-size: 16px;
    padding-left: 0;
  }
  .bonus img {
    width: 30px;
    height: 30px;
    padding: 0px;
  }
  .lifetime-incentive {
    display: inline-block;
    padding-left: 0px;
  }
  .incentive-filters {
    gap: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
  .from-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .to-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  #board-content {
    flex-wrap: wrap;
  }
}

.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  background-color: #ffffff;
  border-top: 1px solid #ddd;
  /* height: 60px; */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.menu-item {
  text-align: center;
  flex: 1;
}
.menu-item i {
  font-size: 20px;
  color: #666;
}
.menu-item span {
  display: block;
  font-size: 12px;
  color: #666;
}
/* Mobile-specific styles */
@media (min-width: 768px) {
  .bottom-menu {
    display: none;
  }
  .toggle-container {
    display: none;
  }
  .m-filter-container {
    display: none;
  }
  .m-dashboard-container {
    display: none;
  }
}

/*  */

#preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 1, 1, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#preview-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  max-height: 95vh;
  overflow: hidden;
}

#preview-video {
  width: 100%;
  height: auto;
  max-height: 78vh;
  max-width: 100%;
}

#quote-preview {
  max-height: 450px;
  max-width: 450px;
}

.preview-quote-play-logo {
  object-fit: contain !important;
}

.video-item .video-preview {
  aspect-ratio: 1 / 1; /* Fixed spacing around the division operator */
}

/* @media screen and (max-width: 450px) {
  .video-item .video-preview{
    min-height: 166px;
    min-width: 166px;
    max-height: 166px;
  }
}


@media screen and (max-width: 380px) {

.video-item .video-preview{
  min-height: 145px;
  min-width: 145px;
  max-height: 145px;
} */

#preview-video {
  max-height: 60vh;
}

#quote-preview {
  max-height: 50vh !important;
}

@media screen and (max-width: 768px) {
  #quote-preview {
    max-height: 43vh;
  }

  #preview-modal {
    max-width: 95%;
    width: 95%;
  }
}

.modal-content {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    max-height: auto;
    justify-content: space-between;
    padding: 10px;
    height: auto;
  }

  #upload-header > #header-text {
    font-size: 1.5em;
  }

  #preview-modal .preview-left #image-preview {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 0;
    height: 100%;
    width: 100%;
  }
  #preview-modal .preview-left {
    max-height: calc(100% - 132px);
  }

  #preview-reupload-btn {
    padding: 16px 22px;
  }

  #preview-submit-btn {
    padding: 16px 22px;
  }
}

.preview-left #image-preview {
  max-width: 450px;
  max-height: 450px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.preview-left #video-preview {
  max-width: 450px;
  max-height: 450px;
  height: 100%;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 20px;
}

.preview-left #review-image-preview {
  max-width: 450px;
  max-height: 450px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 20px;
}

.preview-left #review-video-preview {
  max-width: 450px;
  max-height: 450px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 20px;
}

/* Modal Background */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-weight: normal;
  background-color: #d7d5e3;
  font-size: 1em;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.modal-title {
  margin: 0;
  font-weight: bold;
}

#preview-modal.show {
  display: block;
}

#preview-modal.hide {
  display: none;
}

.close-btn {
  background: none;
  font-size: 1.5em;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 5px;
  box-shadow: 1px 1px 1px 0.2px grey;
  border: none;
}

.close-btn:hover {
  color: #524d4d;
}

#m-shares {
  display: none;
}

@media (max-width: 768px) {
  nav {
    display: none !important;
  }

  #m-shares {
    width: calc(100% - 60px);
    height: 40px;
    padding: 4px 12px;
    gap: 8px;
    border-radius: 4px;
    display: flex ;
    align-items: center;
    justify-content: center;
    background-color: rgba(244, 242, 255, 1);
    margin: 8px auto;
  }

  #share-text {
    color: rgba(100, 71, 237, 1);
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    line-height: 16.8px;
    letter-spacing: 1.7803738117218018px;
    text-align: center;
  }

  #share-count {
    font-family: Poppins;
    font-size: 24px;
    font-weight: 600;
    line-height: 28.8px;
    letter-spacing: 1.7803738117218018px;
    text-align: center;
    color: rgba(100, 71, 237, 1);
  }
}

#web-shares {
  width: max-content;
  height: 37px;
  padding: 4px 24px;
  gap: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 1);
}

#web-share-count {
  font-family: Poppins;
  font-size: 24px;
  font-weight: 600;
  line-height: 28.8px;
  letter-spacing: 1.7803738117218018px;
  text-align: center;
  color: rgba(100, 71, 237, 1);
}

#web-share-text {
  color: rgba(100, 71, 237, 1);
  font-family: Poppins;
  font-size: 16px;
  font-weight: 500;
  line-height: 19.2px;
  letter-spacing: 1.7803738117218018px;
  text-align: center;
}

.share-heading-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

h1 {
  white-space: wrap;
  width: max-content;
}

.search-input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 50%;
  margin-right: 10px;
}
.search-button {
  padding: 10px 15px;
  background-color: #6447ed;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.search-button:hover {
  background-color: #5a3bc1;
}

#search-container {
  margin: 20px auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#results-container td {
  text-align: left;
  vertical-align: top; /* Align text to the top of the cell */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.enable-button {
  padding: 10px 15px;
  background-color: #4caf50; /* Green */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.edit-button {
  padding: 10px 15px;
  background-color: #2196f3; /* Blue */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.edit-categories-button {
  padding: 10px 15px;
  background-color: #2196f3; /* Blue */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.edit-button:hover {
  background-color: #1976d2; /* Darker blue */
}

.enable-button:hover {
  background-color: #45a049; /* Darker green */
}

.disable-button {
  padding: 10px 15px;
  background-color: #f44336; /* Red */
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.disable-button:hover {
  background-color: #d32f2f; /* Darker red */
}

.top-item-group {
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media screen and (max-width: 768px) {
  .top-item-group {
    margin-bottom: 0;
  }

  .category-group {
    padding: 8px;
  }
}

.category-title {
  font-weight: bold;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 1);
  font-size: 20px;
  line-height: 30px;
  font-family: Poppins;
}

.category-group {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 5px;
  border-radius: 12px;
  background-color: rgba(243, 241, 255, 1);
}

#custom-name-strip {
  width: 100%;
  background-color: rgba(155, 155, 155, 1);
  text-align: center;
  color: white;
  font-size: 1.3rem;
  line-height: 2rem;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  height: 40px;
}

@keyframes slideFromBtop {
  0% {
    transform: translateY(250%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideFromTbottom {
  0% {
    transform: translateY(-250%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes slideFromLright {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideFromRleft {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Styling for table-specific selects */
.table-select {
  background-color: #f5f5f5;
  color: #333;

  font-family: inherit;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;

  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.table-select:hover {
  background-color: #eaeaea;
  border-color: #999;
}

/* Focus effect */
.table-select:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Style for disabled select */
.table-select:disabled {
  background-color: #eee;
  color: #888;
  cursor: not-allowed;
}

/* Consistent spacing inside table cells */
td .table-select {
  width: 100%;
  box-sizing: border-box;
}

.disabled-button {
  opacity: 0.5;
  cursor: not-allowed;
}

.dropdown-selected {
  padding: 9px 5px;
  border: 1px solid #ccc;
  cursor: pointer;
  background-color: white;
  border-radius: 4px;
  font-size: 14px;
}

.dropdown-list {
  position: absolute;
  top: 110%;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-search {
  width: 95%;
  margin: 5px 0px;
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

.dropdown-options {
  max-height: 250px;
  overflow-y: scroll;
  font-size: 14px;
}

.dropdown-option {
  padding: 10px;
  cursor: pointer;
}

.dropdown-option:hover {
  background-color: #f0f0f0;
}

.hidden {
  display: none;
}

.low-content-cta {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  color: white;
  background-color: #ac6363;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

.board-content {
  font-weight: bold;
  display: flex;
  text-align: center;
  align-items: center;
  gap: 60px;
  justify-content: space-around;
  max-width: 1200px;
  box-shadow: 0.5px 6px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  border-radius: 10px;
  width: 100%;
  background-color: #f5dade;
  border: 1px solid #ac6363;
  padding: 0px 15px;
  margin-bottom: 12px;
}

.low-board {
  max-width: 1200px;
  margin: 0 auto;
  width: calc(100% - 40px);
  font-family: "Poppins", Arial, sans-serif;
}

.low-content-number {
  text-align: center;
  font-weight: bolder;
  color: #5f717e;
  font-size: 24px;
}

.low-content-text {
  font-weight: bold;
  text-align: center;
  font-size: 18px;
}

.low-content-warning {
  margin-top: 15px;
  color: #b30000;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.container-low-content {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 3%;
}

@media screen and (max-width: 768px) {
  .board-content {
    padding: 12px;
  }

  .low-content-number {
    font-size: 20px;
  }

  .low-content-text {
    font-size: 16px;
  }

  .low-content-cta {
    width: max-content;
    padding: 4px 8px;
    font-size: 12px;
  }

  .low-board {
    width: calc(100% - 20px);
    margin: 10px auto;
  }

  .container-low-content {
    display: flex;
    align-items: center;
    gap: 4px;
  }
}

@media screen and (max-width: 480px) {
  .board-content {
    padding: 0px 10px;
    gap: 10px;
  }

  .low-content-number {
    font-size: 18px;
  }

  .low-content-cta {
    padding: 4px 8px;
    font-size: 12px;
  }
}

.warning-icon-container {
  display: grid;
  place-items: center;
  width: 140px;
  height: 100%;
}

.warning-icon-container svg {
  width: 64px;
  height: 64px;
}

@media screen and (max-width: 768px) {
  .warning-icon-container {
    width: 80px;
  }

  .warning-icon-container svg {
    width: 48px;
    height: 48px;
  }
}

@media screen and (max-width: 480px) {
  .warning-icon-container {
    width: 25px;
  }

  .warning-icon-container svg {
    width: 40px;
    height: 40px;
  }

  .low-content-text {
    font-size: 12px;
  }
  .low-content-cta {
    padding: 6px 8px;
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  .warning-icon-container svg {
    width: 30px;
    height: 30px;
  }

  .low-content-text {
    font-size: 10px;
  }
  .low-content-cta {
    padding: 6px 6px;
    font-size: 10px;
  }
}

#low-performing-subtitle {
  columns: #333;
  opacity: 0.7;
  font-weight: 500;
  font-size: 18px;
}

#m-low-performing-subtitle {
  padding: 0px 20px;
  line-height: 18px;
  font-size: 14px;
  margin-bottom: 0;
  columns: #333;
  opacity: 0;
  font-weight: 500;
  height: 0;
}

#m-low-performing-subtitle.active {
  opacity: 0.7;
  height: auto;
}

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

#generateFinanaceBtn {
  border: none;
  border-radius: 8px;
  background-color: rgba(100, 71, 237, 1);
  color: white;
  height: 46px;
  font-size: 16px;
  letter-spacing: 0.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 10px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s ease-in-out;
}

.cat-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-in-out;
}

.cat-modal-header {
  padding: 16px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #1f2937;
}

.close {
  color: #6b7280;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.close:hover {
  color: #1f2937;
}

.cat-modal-body {
  padding: 24px;
  padding-top: 14px;
}

#modalSelectedCategories {
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  min-height: 50px;
  background-color: #f9fafb;
}

.cat-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.save-button,
.cancel-button {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.save-button {
  background-color: #3b82f6;
  color: white;
  border: none;
}

.save-button:hover {
  background-color: #2563eb;
}

.cancel-button {
  background-color: #ffffff;
  color: #4b5563;
  border: 1px solid #d1d5db;
}

.cancel-button:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
/* @media (max-width: 640px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  .modal-footer {
    padding: 12px 16px;
  }
}  */

/* tnc popup */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background-color: white;
  padding: 28px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  position: relative;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #666;
}

.popup-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
/* Overlay — full screen dim */
.brief-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9998;
}

.brief-popup-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Popup box */
.brief-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  min-width: 280px;
  max-width: 90%;
  background: #28a745;
  border-radius: 12px;
  padding: 20px 52px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

/* When visible */
.brief-popup.visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* Close button */
.brief-popup-close {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  background: none;
  font-size: 22px;
  cursor: pointer;
  color: white;
}

.brief-popup-message {
  margin-top: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: white;
  text-align: center;
  white-space: nowrap;
}

.tnc-content {
  flex: 1;
  overflow-y: scroll;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 20px;
  max-height: 50vh;
  scrollbar-width: thin;
  scrollbar-color: #5235d4 #f1f1f1;
}

.tnc-content::-webkit-scrollbar {
  width: 8px;
}

.tnc-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.tnc-content::-webkit-scrollbar-thumb {
  background: pink;
  border-radius: 4px;
}

.tnc-content::-webkit-scrollbar-thumb:hover {
  background: #ffb6c1;
}

.tnc-content p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.accept-button {
  background-color: #6447ed;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s;
  align-self: flex-end;
}

.accept-button:hover {
  background-color: #5235d4;
}

.accept-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Bank Details Popup Styles */
.bank-popup-content {
  text-align: center;
  padding: 30px;
  border: 2px solid #6447ED;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  background: white;
  z-index: 9999;
}

.bank-icon {
  margin-bottom: 20px;
}

.bank-icon img {
  width: 48px;
  height: 48px;
}

.bank-title {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  margin: 0 0 15px 0;
}

.bank-description {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px 0;
  line-height: 1.5;
}

.bank-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 10px;
}

.add-later-btn {
  background-color: white;
  color: #dc3545;
  border: 2px solid #dc3545;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-later-btn:hover {
  background-color: #dc3545;
  color: white;
}

.add-later-btn:disabled {
  cursor: not-allowed;
  color: #666;
  border-color: #666;
}

.add-later-btn:disabled:hover {
  background-color: white;
  color: #666;
  border-color: #666;
}

.add-bank-btn {
  background-color: #6447ED;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  display: inline-block;
}

.add-bank-btn:hover {
  background-color: #5235d4;
  color: white;
}

.bank-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #333;
}

.security-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-icon {
  width: 16px;
  height: 16px;
}

.razorpay-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lock-icon {
  width: 16px;
  height: 16px;
}

.razorpay-logo {
  width: 80px;
  height: 20px;
}

/* Responsive design for bank popup */
@media screen and (max-width: 768px) {
  .bank-popup-content {
    padding: 25px;
    max-width: 350px;
  }

  .bank-title {
    font-size: 20px;
  }

  .bank-description {
    font-size: 14px;
  }

  .bank-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .add-later-btn,
  .add-bank-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .bank-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .bank-popup-content {
    padding: 20px;
    max-width: 300px;
  }

  .bank-title {
    font-size: 18px;
  }

  .bank-description {
    font-size: 13px;
  }

  .add-later-btn,
  .add-bank-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .bank-footer {
    font-size: 12px;
  }
}

.campaign {
  background-color: rgba(253, 186, 85, 1) !important;
}

.campaign-back {
  background-color: rgba(251, 251, 251, 1) !important;
}

.campaign-header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #ffdbab;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  box-shadow: 0px 6px 12px 0px #0000001a;
  max-width: 1180px;
}

.header-left {
  display: flex;
  align-items: center;
  width: 35%;
  justify-content: space-between;
}

.campaign-header .header-item {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 4px;
}

.campaign-header .item-title {
  font-size: 20px;
  color: rgba(98, 96, 96, 1);
  margin-bottom: 5px;
  font-weight: 600;
}

.campaign-header .category-tag-button {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid rgba(253, 186, 85, 1);
  border-radius: 20px;
  padding: 5px 15px;
  color: #fdba55;
}

.campaign-header .category-tag-button svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.campaign-header .category-name {
  font-size: 26px;
  color: #fdba55;
  font-weight: 600;
}

.campaign-header .date-range-button {
  background-color: rgba(255, 249, 239, 1);
  border: 1px solid #f1f4ff;
  border-radius: 20px;
  padding: 5px 15px;
}

.campaign-header .date-range-button span {
  font-size: 24px;
  color: rgba(100, 71, 237, 1);
  font-weight: 600;
}

.campaign-header .prize-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.campaign-header .prize-details {
  text-align: right;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.campaign-header .winner-gets {
  color: rgba(224, 79, 27, 1);
  font-family: Alkatra;
  font-weight: 600;
  font-style: Medium;
  font-size: 26px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin: 0;
}

.campaign-header .prize-amount {
  font-family: Alkatra;
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(50, 57, 53, 1);
}

.campaign-header .fixed-per-content {
  font-family: Poppins;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(90, 95, 92, 1);
  margin: 0;
}

.campaign-header .coins-image {
  width: 37px;
  height: 34px;
}

.campaign-header .rank-details {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.campaign-header .rank-image {
  width: 35px;
  height: 48px;
}

.campaign-header .rank-item {
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Alkatra;
  font-weight: 700;
  vertical-align: middle;
  font-size: 32px;
}

.m-dashboard-title {
  display: none;
}

.cta-campaign-btn {
  border-radius: 8px;
  border-width: 1px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1px solid #fdba55;
  box-shadow: 0px 6px 12px 0px #0000001a;
  font-family: Poppins;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #fdba55;
  display: flex;
  align-items: center;
  cursor: pointer;
}

@media screen and (max-width: 1024px) {
  .campaign-header {
    padding: 10px;
    width: calc(100% - 20px);
  }

  .header-left {
    width: 40%;
  }

  .campaign-header .category-name {
    font-size: 22px;
  }

  .campaign-header .date-range-button span {
    font-size: 20px;
  }

  .campaign-header .prize-amount {
    font-size: 40px;
  }

  .campaign-header .winner-gets {
    font-size: 22px;
  }

  .campaign-header .fixed-per-content {
    font-size: 18px;
  }

  .campaign-header .coins-image {
    width: 70px;
    height: 50px;
  }
}

@media screen and (max-width: 768px) {
  .campaign-header {
    flex-direction: column;
    gap: 15px;
    padding: 8px;
  }

  .header-left {
    width: 100%;
    align-items: flex-start;
    gap: 10px;
  }

  .campaign-header .header-item {
    width: 100%;
  }

  .campaign-header .category-tag-button {
    width: max-content;
    justify-content: center;
    padding: 5px 10px;
  }

  .campaign-header .date-range-button {
    width: max-content;
    text-align: center;
    padding: 4px 6px;
  }

  .campaign-header .prize-section {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }

  .campaign-header .prize-details {
    text-align: center;
    margin-right: 0;
  }

  .campaign-header .category-name {
    font-size: 20px;
  }

  .campaign-header .date-range-button span {
    font-size: 18px;
  }

  .campaign-header .prize-amount {
    font-size: 36px;
  }

  .campaign-header .winner-gets {
    font-size: 20px;
  }

  .campaign-header .fixed-per-content {
    font-size: 16px;
  }

  .campaign-header .coins-image {
    width: 60px;
    height: 45px;
  }
}

@media screen and (max-width: 480px) {
  .campaign-header {
    margin: 0px auto 12px;
    gap: 5px;
    align-items: flex-start;
  }

  .campaign-header .item-title {
    font-size: 16px;
    margin: 0;
  }

  .campaign-header .category-name {
    font-size: 18px;
  }

  .campaign-header .date-range-button span {
    font-size: 10px;
  }

  .campaign-header .prize-details {
    gap: 5px;
  }

  .campaign-header .prize-amount {
    font-size: 32px;
  }

  .campaign-header .winner-gets {
    font-size: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
  }

  .campaign-header .fixed-per-content {
    font-size: 14px;
  }

  .campaign-header .rank-image {
    width: 30px;
    height: 35px;
  }

  .campaign-header .rank-number {
    font-size: 14px;
    font-weight: 500;
    font-family: Poppins;
  }

  .campaign-header .rank-number {
    font-family: Alkatra;
    font-weight: 600;
    font-size: 18.19px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #0275af;
  }

  .campaign-header .rank-number-text {
    font-family: Alkatra;
    font-weight: 400;
    font-size: 12.01px;
    line-height: 100%;
    letter-spacing: -2%;
    position: super;
    color: #0275af;
  }

  .campaign-header .rank-item {
    font-family: Alkatra;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    gap: 4px;
    border-right: 1px solid #fdba55;
    padding-right: 4px;
  }

  .campaign-header .rank-item.rd {
    border-right: none;
    padding-right: 0;
  }

  .cta-campaign-btn {
    margin-left: auto;
  }

  .cta-campaign-btn {
    font-size: 16px;
    padding: 4px 8px;
  }
}

@media screen and (max-width: 400px) {
  .campaign-header .prize-details {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .campaign-header .category-name {
    font-size: 16px;
  }

  .board {
    width: calc(100% - 20px);
  }
}

.campaign-container {
  display: flex;
  flex-direction: column;
}

#campaign-content-section {
  background: #fff7ee;
  box-shadow: 0px 6px 12px 0px #0000001a;
}

.m-dashboard-title {
  font-family: Poppins;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  color: #313131;
  margin: 10px auto;
  text-align: center;
  display: block !important;
}

#m-campaign-content {
  background: #fff7ee;
  box-shadow: 0px 6px 12px 0px #0000001a;
  padding-top: 15px;
  padding-bottom: 15px;
  overflow-x: hidden;
}

.campaign-name {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 10px auto 30px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #313131;
}

.campaign-content-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 25px;
  max-width: 75%;
  margin: 0 auto;
}

.campaign-container-m {
  width: 100%;
}

@media screen and (max-width: 768px) {
  .campaign-container {
    display: none !important;
  }

  .campaign-container-m {
    display: flex !important;
    flex-direction: column !important;
  }

  .campaign-content-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
  }
}

/* Video Menu Dropdown Styles */
.video-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  min-width: 120px;
  display: none;
}

.video-menu-dropdown.show {
  display: block;
}

.video-menu-option {
  padding: 8px 12px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: background-color 0.2s;
}

.video-menu-option:hover {
  background-color: #f5f5f5;
}

.video-menu-option.delete {
  color: #dc3545;
}

.video-menu-option.delete:hover {
  background-color: #f8d7da;
}

/* Delete Confirmation Modal Styles */
.delete-confirmation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.delete-confirmation-modal {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.delete-bank-details-modal {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 90%;
}

.delete-bank-details-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.delete-bank-details-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.delete-bank-details-message p {
  margin: 0 0 10px 0;
}

.delete-bank-details-message p:last-child {
  margin-bottom: 0;
}

.delete-bank-details-note {
  background-color: #fff8e1;
  border: 1px solid #ffa726;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 25px;
  color: #e65100;
  font-size: 14px;
  line-height: 1.5;
}

.delete-bank-details-note strong {
  font-weight: 600;
  color: #e65100;
}

.delete-bank-details-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.delete-bank-details-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
}

.delete-bank-details-btn-table {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid;
  display: flex;
  margin: 0 auto;
}

.delete-bank-details-btn.cancel {
  background-color: white;
  color: #333;
  border-color: #ccc;
}

.delete-bank-details-btn.cancel:hover {
  background-color: #f5f5f5;
  border-color: #999;
}

.delete-bank-details-btn.confirm {
  background-color: #dc3545;
  color: white;
  border-color: #dc3545;
}

.delete-bank-details-btn.confirm:hover {
  background-color: #c82333;
  border-color: #c82333;
}

.delete-confirmation-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.delete-confirmation-message {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.delete-confirmation-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.delete-confirmation-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.delete-confirmation-btn.cancel {
  background-color: #6c757d;
  color: white;
}

.delete-confirmation-btn.cancel:hover {
  background-color: #5a6268;
}

.delete-confirmation-btn.confirm {
  background-color: #dc3545;
  color: white;
}

.delete-confirmation-btn.confirm:hover {
  background-color: #c82333;
}

#normal-video-profile-img {
  aspect-ratio: 1/1;
  width: 33%;
  bottom: 65px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
}

#normal-video-animation-frame {
  max-width: 100%;
  position: absolute;
  bottom: 5px;
  left: 0;
  aspect-ratio: 1.5/1;
  border: none;
  outline: none;
}

.campaign-header-language {
  font-size: 12px;
  font-weight: 500;
  color: #000;
  position: absolute;
  top: 4px;
  left: 10px;
  margin: 0;
}

@media screen and (max-width: 430px) {
  #normal-video-profile-img {
    aspect-ratio: 1/1;
    width: 33%;
    bottom: 55px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
  }
  .campaign-header-language {
    left: 12px;
    bottom: 4px;
    top: auto;
  }

  .campaign-header .coins-image {
    height: 25px;
    width: 30px;
  }
  .mega-cam-heading {
    padding-right: 0px !important;
    padding-left: 0px !important;
    gap: 0;
  }
}

@media screen and (max-width: 375px) {
  #normal-video-profile-img {
    aspect-ratio: 1/1;
    width: 33%;
    bottom: 45px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
  }
}

.mega-cam-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 20px;
  padding-left: 25px;
  gap: 30px;
}

.mega-heading-text {
  font-family: Alkatra;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  color: #d48002;
  margin: 0;
}

.mega-cam-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.daily-bonus-text {
  font-family: Alkatra;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #6447ed;
  margin: 0;
}

.mega-bonus-text {
  color: #e04f1b;
  font-family: Alkatra;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  margin: 0;
}

.daily-winner-gets,
.mega-winner-gets {
  font-family: Alkatra;
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  text-align: center;
  color: #018001;
  margin: 0;
}

.daily-bonus-container,
.mega-bonus-container {
  gap: 8px;
  border-radius: 16px;
  border-width: 1px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  background: #fffdfa;
  border: 1px solid #e3c091;
  height: 220px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.daily-bonus-dates {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.daily-bonus-date-text {
  font-family: Poppins;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
  color: #292929;
  border: 1px solid #292929;
  border-radius: 100%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-date-text {
  font-family: Poppins;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  text-align: center;
  vertical-align: middle;
}

.daily-bonus-time,
.mega-bonus-time {
  font-family: Poppins;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  color: #636966;
  text-align: center;
}

.mega-bonus-date {
  font-family: Alkatra;
  font-weight: 600;
  font-size: 32px;
  line-height: 100%;
  text-align: center;
}

.sub-mega-date-text {
  font-family: Alkatra;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
}

.rank-item-daily {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.mega-rank-text {
  font-family: Alkatra;
  font-weight: 600;
  font-size: 23.39px;
  line-height: 100%;
  color: #004a94;
  display: flex;
}

.mega-rank-text-sub {
  font-family: Alkatra;
  font-weight: 400;
  font-size: 17.08px;
  line-height: 100%;
  letter-spacing: -2%;
  position: super;
}

.mega-rank-amount {
  font-family: Alkatra;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  vertical-align: middle;
  color: #292929;
}

.winner-get-details-daily {
  display: flex;
  align-items: center;
  gap: 12px;
}

.winner-get-details-mega {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.campaign-upload-btn {
  gap: 10px;
  opacity: 1;
  border-radius: 8px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  background-color: #fdba55;
  box-shadow: 0px 2px 6px 0px #00000014;
  color: white;
  height: 42px;
  font-family: Poppins;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
}

.campaign-live-ranking-btn {
  width: 180px;
  height: 42px;
  gap: 10px;
  opacity: 1;
  border-radius: 8px;
  border-width: 1px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  background: #ffffff;
  border: 1px solid #fdba55;
  color: #fdba55;
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
}

.mega-fixed-per-content {
  font-family: Poppins;
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  color: #b2874d;
}

.mega-heading-deadline {
  font-family: Poppins;
  font-weight: 600;
  font-size: 16px;
  line-height: 100%;
  color: #626060;
  display: flex;
  align-items: center;
  gap: 12px;
}

.normal-heading-deadline {
  display: flex;
  flex-direction: column;
}

.normal-cam-heading {
  gap: 50px !important;
  padding: 0px;
}

.past-campaign-button {
  width: 300px;
  height: 50px;
  border-radius: 8px;
  opacity: 1;
  border-width: 1px;
  padding-top: 10px;
  padding-right: 30px;
  padding-bottom: 10px;
  padding-left: 30px;
  gap: 10px;
  background: #fdba55;
  border: 1px solid #fdba5599;
  color: white;
  font-family: Poppins;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  white-space: nowrap;
  cursor: pointer;
}

.past-campaign-button-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7ee;
  border-top: 1px solid #e4ded7;
  box-shadow: 0px 6px 12px 0px #0000001a;
  padding: 16px;
  margin-bottom: 44px;
}

@media (max-width: 480px) {
  .header-item.cta {
    flex-direction: row-reverse;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: start;
  }

  .header-item.cta,
  button {
    font-size: 12px !important;
  }

  .campaign-live-ranking-btn,
  .campaign-upload-btn {
    width: 100% !important;
    white-space: nowrap;
  }

  .mega-heading-text {
    font-family: Alkatra;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
  }

  .mega-heading-deadline {
    font-family: Poppins;
    font-weight: 500;
    font-size: 10px;
    line-height: 100%;
    gap: 4px;
  }

  .campaign-date-range {
    height: 20;
    border-radius: 10px;
    padding-top: 2px;
    padding-right: 4px;
    padding-bottom: 2px;
    padding-left: 4px;
    gap: 8px;
    font-family: Poppins;
    font-weight: 500;
    font-size: 10px;
    line-height: 100%;
    text-align: center;
  }

  .campaign-header-left {
    width: 100%;
  }

  .normal-cam-heading {
    width: 100%;
    gap: 0;
  }

  .mobile-bonus-card {
    padding: 4px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .bonus-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 4px;
  }

  .bonus-name {
    font-family: Alkatra;
    font-weight: 500;
    font-style: Medium;
    font-size: 15px;
    line-height: 100%;
    color: #0052A3;
  }

  .winner-text {
    font-family: Alkatra;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #817E7E;
  }

  .bonus-amount {
    font-family: Inter;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    color: #252A2D;
  }

  .bonus-divider {
    height: 32px;
    width: 2px;
    background-color: #E0CFB8;
  }

  .bonus-row-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }

}

.live-rank-date {
  font-family: Poppins;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  position: absolute;
  top: 15px;
  right: 15px;
  color: #000000;
  border: 1px solid black;
  border-radius: 6px;
  padding: 4px 8px;
}



/* Campaign content wrapper with navigation */
.campaign-content-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Sticker area styling */
#sticker-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  margin: 8px 0;
  font-family: "Poppins", Arial, sans-serif;
}

#preview-sticker-text {
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  white-space: nowrap;
}

#preview-sticker-img {
  object-fit: contain;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  background-color: white;
  padding: 2px;
  width: 200px;
  height: auto;
  object-fit: contain;
  max-height: 100px;
}

/* Mobile responsive styling for sticker area */
@media screen and (max-width: 768px) {
  #sticker-area {
    padding: 6px 10px;
    margin: 6px 0;
  }

  #preview-sticker-text {
    font-size: 14px;
  }

  #preview-sticker-img {
    width: 150px;
  }
}

@media screen and (max-width: 480px) {
  #sticker-area {
    padding: 4px 8px;
    gap: 6px;
  }

  #preview-sticker-text {
    font-size: 12px;
  }

  #preview-sticker-img {
    width: 125px;
  }

  #preview-modal {
    top: 45%;
  }

  .close-btn {
    padding: 0px 5px;
  }

  .modal-header {
    padding: 5px 20px;
  }
}

/* Chevron navigation buttons */
.chevron-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #262626b2;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.chevron-btn:hover {
  background: #262626;
  transform: translateY(-50%) scale(1.05);
}

.chevron-btn img {
  width: 8px;
  height: 16px;
  opacity: 1;
}

.chevron-btn:hover img {
  opacity: 1;
}

.chevron-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
}

.chevron-btn:disabled:hover {
  background: #262626;
  transform: translateY(-50%) scale(1);
}

.chevron-btn:disabled img {
  opacity: 0.3;
}

.chevron-left {
  left: -20px;
}

.chevron-right {
  right: -20px;
}

.live-ranking-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.pagination-btn {
  background: #6447ed;
  border: 1px solid #6447ed;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
  background: #cfcfcf;
  border-color: #cfcfcf;
  transform: scale(1.05);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn img {
  width: 4px;
  height: 8px;
  opacity: 0.7;
}

.pagination-btn:hover:not(:disabled) img {
  opacity: 1;
}

.pagination-info {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: #8a74f1;
  min-width: 40px;
  text-align: center;
  padding: 4px;
  border-radius: 30px;
}

.campaign-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}



@media screen and (max-width: 768px) {
  h3 {
    font-family: Poppins;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 100%;
  }

  .content-toggle-container {
    display: none;
  }

  .campaign-name {
    font-family: Poppins;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: #000000;
  }

  .campaign-name svg {
    height: 12px;
    width: 12px;
  }

  .live-rank-date {
    font-family: Poppins;
    font-weight: 500;
    font-size: 10px;
    line-height: 100%;
  }

  #past-campaign-results-container {
    padding: 0px;
  }

  .campaign-container {
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 50px;
    position: relative;
  }

  .campaign-content-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    padding: 0 10px;
  }

  .video-item {
    width: auto;
  }

/* Mobile Prize Section Styles */
.mobile-prize-section {
  display: flex;
  align-items: center;
  margin: 8px 0;
  gap: 8px;
}


.mobile-winner-gets {
  color: #E04F1B;
  margin: 0;
  text-shadow: 1px 1px 2px #ECBC50;
  font-family: Alkatra;
  font-weight: 500;
  font-size: 14px;
  line-height: 100%;
  white-space: nowrap;
}

.mobile-rank-details {
  display: flex;
  align-items: center;
  flex: 1;
}

.mobile-rank-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-rank-number {
  font-size: 16px;
  font-weight: bold;
  color: #0275AF;
}

.mobile-rank-number sup {
  font-size: 10px;
  color: #0275AF;
}

.mobile-rank-amount {
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

.mobile-rank-divider {
  width: 1px;
  height: 20px;
  background-color: #FDBA55;
  margin: 0 4px;
}

.mega-heading-deadline {
  flex-direction: row;
  align-items: center;
}


.chevron-left {
  left: -10px;
}

.chevron-right {
  right: -10px;
}

}

.sticker-used {
  position: absolute;
  bottom: 2px;
  right: 2px;
  color: green;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  font-family: Poppins;
}


@media screen and (max-width: 768px) {
  .sticker-used {
    font-size: 12px;
  }
}


@media screen and (max-width: 480px) {
  .sticker-used {
    font-size: 8px;
  }
}




.live-results-banner {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #FFCF99;
  margin-top: 0px;
}

.live-results-content {
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.live-results-scroll {
  display: flex;
  width: max-content;
  animation: scroll-left 16s linear infinite;
}


.live-results-text {
  display: flex;
  white-space: nowrap;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%);
  }
}

.live-bullet {
  color: #dc3545;
  font-weight: bold;
  margin: 0 8px;
}

.live-label {
  color: #dc3545;
  font-weight: 600;
  font-size: 14px;
}

.campaign-separator {
  color: #6c757d;
  margin: 0 12px;
  font-size: 12px;
}

.campaign-item {
  color: #495057;
  font-weight: 500;
  font-size: 14px;
}

.campaign-results-button {
  text-align: center;
}

.all-campaign-results-btn {
  background: #fd7e14;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.all-campaign-results-btn:hover {
  background: #e8690b;
}

@media (max-width: 768px) {
  .live-results-banner {
    padding: 12px 16px;
    margin: 15px 0;
  }

  .live-label, .campaign-item {
    font-size: 13px;
  }

  .all-campaign-results-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}


.recuring-heading-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.recuring-heading-subtext {
  margin: 0;
  font-weight: 600;
  color: #626060;
}


@media (max-width: 768px) {
  .recuring-heading-subtext {
  font-size: 10px;
  }
  .recuring-heading-div {
    align-items: start;
  }
}

/* Delete Reason Styles */
.delete-reason-container {
  margin: 20px 0;
}

.delete-reason-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.delete-reason-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  box-sizing: border-box;
}

.delete-reason-textarea:focus {
  outline: none;
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.delete-reason-textarea::placeholder {
  color: #999;
  font-style: italic;
}

.reason-removal {
  font-size: 16px;
  color: #dc3545;
  text-align: left;
  padding-top: 0;
  width: 100%;
  margin: 0;
}


@media screen and (max-width: 768px) {
  .reason-removal {
    font-size: 12px;
  }
}

#phone-app {
  max-width: 1200px;
  height: 48px;
  margin: 0 auto;
  margin-top: 0px;
  width: calc(100% - 40px);
  background-color: #E6E0FA;
  border: 1px solid #6A44E1;
  padding: 4px 20px;
  box-shadow: 0px 2px 6px 0px #0000001A;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 20px;
  border-radius: 10px;
  cursor: pointer;
  box-sizing: border-box;
}

.primo-logo {
  height: 40px;
  width: 210px;
}

.phone-banner-text {
  font-family: Inter;
  font-weight: 400;
  font-size: 22px;
  line-height: 100%;
  letter-spacing: -3%;
  color: #725CBC;
}

.store-logo {
  width: 110px;
  height: 40px ;
}

@media screen and (max-width: 768px) {
  #m-phone-app {
  cursor: pointer;
    margin: 0 auto;
    margin-top: 0px;
    width: calc(100% - 40px);
    background-color: #E6E0FA;
    border: 1px solid #6A44E1;
    padding: 4px;
    box-shadow: 0px 2px 6px 0px #0000001A;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .incentive-container {
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .primo-logo {
    height: 28px;
    width: 135px;
  }
  
  .phone-banner-text {
    font-family: Inter;
    font-weight: 500;
    font-size: 11px;
    color: #725CBC;
    margin: 0;
  }
  
  .store-logo {
    width: 85px;
    height: 28px ;
  }
  .m-phone-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}


.cca-popup-content {
 max-height: 80vh !important;
 border: 2px solid #6447ED;
}

.cca-checkbox {
  display: flex;
  align-items: start;
  gap: 4px;
  margin-bottom: 16px;
}

.cca-body-1-terms {
  font-family: Noto Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

.cca-accept-button, .cca-submit-button {
  width: 150px;
  height: 40px;
  border: none;
  border-radius: 8px;
  opacity: 1;
  gap: 6px;
  padding: 8px;
  margin: 0 auto;
  font-family: Poppins;
  font-weight: 500;
  font-size: 16px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #6447ED;
  cursor: pointer;
}

.star-cca {
  color: red;
}

.cca-accept-button:disabled , .cca-submit-button:disabled {
  background-color: #DEDEDE;
}

.cca-submit-button {
  margin-top: 10px;
}

/* Scrollable area inside popup */
.cca-content {
  overflow-y: auto;
  padding-right: 10px;
  flex-grow: 1;
}

/* Agreement wrapper */
#agreement {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Each PDF page */
.page {
  position: relative;
  width: 100%;
  /* Maintain proper A4 aspect ratio */
  aspect-ratio: 794 / 1123;
  background: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Background image of page */
.page img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Input Field Styling */
.field {
  position: absolute;
  width: 40%;
  font-size: 12px;
  background: rgba(255,255,255,0.9);
  outline: none;
}

/* Signature Pad */
.signature-box {
  width: 60%;
  height: auto;
  aspect-ratio: 5/2;
  border: 2px dashed #444;
  border-radius: 8px;
  background: #fff;
}

/* Make everything scale better for smaller screens */
@media (max-width: 600px) {
  .field {
    width: 75%;
    font-size: 16px;
  }

  .signature-box {
    width: 85%;
  }

  .popup-content {
    max-width: 95%;
    padding: 16px;
  }

  .popup-title {
    font-size: 20px;
  }
}

.cca-bottom-text {
  margin: 0 auto;
  margin-top: 10px;
  font-size: 12px;
  text-align: center;
  color: #555;
}

/* ---------------------------
   SIGNATURE POPUP OVERLAY
--------------------------- */
#signature-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.25s ease-out;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------------------------
   POPUP BOX
--------------------------- */
.signature-box-popup {
  max-width: min(450px, calc(100vw - 40px));
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Scale animation */
@keyframes scaleIn {
  from { transform: scale(0.85); }
  to { transform: scale(1); }
}

.signature-box-popup h2 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ---------------------------
   OPTION BUTTONS
--------------------------- */
.signature-options {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.signature-options button {
  flex: 1;
  margin: 0 6px;
  padding: 10px 0;
  background: #f4f5f7;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 500;
}

.signature-options button:hover {
  background: #e6e7eb;
}

/* ---------------------------
   CANVAS AREA
--------------------------- */
.signature-canvas {
  background: #fff;
  border: 2px dashed #ccc;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: crosshair;
}

/* Reset Canvas Button */
#resetCanvasBtn {
  padding: 8px 14px;
  background: #f44336;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  cursor: pointer;
  transition: 0.25s;
}

#resetCanvasBtn:hover {
  background: #d9362b;
}

/* ---------------------------
   UPLOAD SECTION
--------------------------- */
#uploadSection input {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fafafa;
}

/* ---------------------------
   SUBMIT BUTTON
--------------------------- */
.submit-btn {
  width: 100%;
  margin-top: 18px;
  background: #007bff;
  color: white;
  padding: 12px 0;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.25s ease;
  font-weight: 600;
}

.submit-btn:hover {
  background: #006ce0;
}

/* ---------------------------
   SIGNATURE PREVIEW
--------------------------- */
#signaturePreviewContainer img {
  width: 220px;
  max-width: 100%;
  border-radius: 10px;
  border: 2px solid #ddd;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Add Signature Button */
.signature-btn {
  padding: 10px 16px;
  background: #007bff;
  color: #fff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: 0.25s;
}

.signature-btn:hover {
  background: #006ce0;
}

/* Mobile Fixes */
@media (max-width: 480px) {
  .signature-box-popup {
    padding: 20px;
  }

  #signaturePreviewContainer img {
    width: 180px;
  }

  .signature-options button {
    font-size: 13px;
    padding: 8px 0;
  }
}


#agreement-date {
  position: absolute;
  top: 121px; 
  left: 450px; 
  font-size: 10px;
  font-weight: 600; 
  font-family: sans-serif;
}

#field-name {
  top: 613px; left: 108px;
}
#field-mobile {
  top: 672px; left: 136px;
}
#field-email {
  top: 701px; left: 108px;
}

#signaturePreviewContainer {
  position: absolute; 
  top: 505px; 
  left: 412px;
}


@media screen and (max-width: 468px) {

  #agreement-date {
    top: 14%;
    left: 76.6%;
    font-size: 6px;
  }

  #field-name {
    top: 73.2%; left: 18.5%;
  }
  #field-mobile {
    top: 80.38%; left: 23%;
  }
  #field-email {
    top: 83.8%; left: 18.5%;
  }
  #signaturePreviewContainer {
    top: 60.5%; 
    left: 68%;
  }

  #signaturePreviewContainer img {
    width: 85px !important;
  }

  .signature-btn {
    padding: 10px;
    font-size: 8px !important;
    background: #007bff;
    color: #fff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: 0.25s;
  }

  .field {
    font-size: 8px;
    width: 45%;
  }
}




.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #4c5760;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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


.earning-table-header {
  font-weight: 600;
}

@media (max-width: 768px) {
  .earning-table-header {
    font-size: 10px;
    word-break: break-word;
  }

  #userIncentivePage {
    padding: 20px 6px ;
  }
  .user-incentive-container {
    padding: 20px 6px;
  }
}



#paymentDetails {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-style: solid;
  color: #6447ED;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

.earnings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-payment-details-container {
  display: flex;
  flex-direction: column;
}

.payment-details-header {
  display: flex;
  flex-direction: column;
}

.details-head-1 {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
}

.details-back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  font-size: 20px;
  color: #6447ED;
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

#payment-total-creators {
font-weight: 400;
font-size: 14px;
color: #4A5565;
}

.details-head-2 {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 12px;
}

.details-input-container {
  position: relative;
  width: 350px;
  background: #EEEFF2;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.details-input-search {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

#details-creatorId-input {
  width: 100%;
  padding: 12px 8.5px;
  color: #717182;
  font-size: 14px;
  background: transparent;
  border: none;
  outline: none;
}

.details-filter {
font-weight: 400;
font-size: 14px;
line-height: 20px;
color: #4A5565;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}

.details-select {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.details-select label {
font-weight: 400;
font-size: 12px;
line-height: 16px;
color: #4A5565;
padding-left: 4px;
}

.details-select select {
  padding: 12px 8px;
  color: #000;
  background-color: white;
  border: 1px solid #D1D5DC;
  min-width: 150px;
  border-radius: 8px;

}

.details-table-container {
  margin-top: 20px;
  overflow-x: auto;
  max-height: calc(100vh - 400px);
  overflow-y: auto;
}

#paymentDetailsTable {
  width: 100%;
  border-collapse: collapse;
}

#paymentDetailsTable thead th {
  background-color: #696969;
  color: white;
  padding: 12px;
  text-align: left;
  border: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 10;
}

#paymentDetailsTable tbody td {
  padding: 12px;
  border: 1px solid #ddd;
  background-color: white;
}

#paymentDetailsTable tbody tr:nth-child(even) td {
  background-color: #f9f9f9;
}

#paymentDetailsTable tbody tr:hover td {
  background-color: #f5f5f5;
}

.delete-bank-details-btn {
  padding: 6px 12px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.delete-bank-details-btn-table {
  padding: 6px 12px;
  background-color: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.delete-bank-details-btn:hover {
  background-color: #c82333;
}

.delete-bank-details-btn:active {
  background-color: #bd2130;
}

.delete-bank-details-btn-table:hover {
  background-color: #c82333;
}

.delete-bank-details-btn-table:active {
  background-color: #bd2130;
}


#lifetimeEarningSummary {
  margin-top: 0;
}

.bank-details-note {
  font-size: 12px;
  color: crimson;
  margin-bottom: 30px;
  font-weight: 500;
}

.top-content-thumbnail {
    user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}