a {
  text-decoration: none !important;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* project count */
.project-counts {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  flex-direction: row;
  display: flex;
  flex-wrap: wrap;
}

td {
  font-size: 14px !important;
}

/* button {
  font-size: 15px !important;
} */

.ReactTags__remove svg {
  fill: red !important;
  margin-left: 5px !important;
}

.customRemove svg {
  fill: red !important;
  margin-left: 5px !important;
}

.ReactTags__tagInputField {
  width: 279px !important;
  padding: 8px !important;
  border-radius: round !important;
}

/*project page*/
.projects-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 30px 30px;
}

.project-card {
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  max-width: 100%;
  max-height: max-content;
  flex-direction: row;
  float: inline-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.project-name-color {
  color: white;
  font-size: 0.875rem;
  padding: 8px 12px;
  border-radius: 10px;
  width: fit-content;
  margin-bottom: 8px;
}

.project-title {
  font-size: 15px;
  text-align: center;
  color: #fff;
}

.project-counts {
  margin-top: 8px;
  font-size: 0.875rem;
  color: #666;
  white-space: nowrap;
}

.projects-grid {
  display: grid;
  gap: 15px;
}

/* Buttons container */
.buttons-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 16px;
}

.view-sellers-button,
.configure-button {
  padding: 5px 16px;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
}

/* View Sellers button */
.view-sellers-button {
  background-color: #2563eb;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  width: 50%;
}

.view-sellers-button:hover {
  background-color: #2b6cb0;
}

/* Configure button */
.configure-button {
  background-color: transparent;
  border: 1px solid #ddd;
  color: #333;
  width: 50%;
}

.configure-button:hover {
  background-color: #f7fafc;
}

.new-project {
  padding: 2px;
  white-space: nowrap;
  background-color: #2563eb;
  color: white;
  border: 2px solid;
  border-radius: 10px;
  padding: 8px 16px;
}

.button {
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
  white-space: nowrap;
}

.button-group {
  display: flex;
  flex-direction: row;
  gap: 7px;
  white-space: nowrap;
  justify-content: end;
}

/*seller page*/
.Action-bar {
   display: flex;
  flex-direction: row;
  gap: 7px;
  white-space: nowrap;
  justify-content: end;
}

.filter {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
}

.seller-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.login-details {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  width: 100% !important;
  max-width: 100% !important;
  margin: auto;
}

.projects-grid {
  grid-template-columns: 4, 1fr;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 20px;
}

/* Styles for medium screens (up to 470px) */
@media (min-width: 320px) and (max-width: 569px) {
  .projects-grid {
    grid-template-columns: 1fr;
    width: 100%;
    flex: wrap;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
  }

  .hide-on-320 {
    display: none !important;
  }

  .buttons-container {
    display: flex;
    flex-direction: row;
    gap: 7px;
    margin-top: 16px;
  }
  .search-button {
    display: flex;
    flex-direction: row;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 16px;
    right: 0px;
  }

  .search {
    width: 200px;
    padding: 10px;
  }
  .Action-bar {
    gap: 10px;
    display: flex;
    left: 0px;
    flex-wrap: wrap;
    white-space: nowrap;
  }

  .new-project {
    position: relative;
    left: 15px;
  }

  .project-card {
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
  }

  .view-sellers-button,
  .configure-button {
    padding: 5px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    cursor: pointer;
  }

  .ReactTags__tagInputField {
    width: 110px !important;
    gap: 20px !important;
  }

  .project-page {
    padding: 1px !important;
    left: 10px;
  }

  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }

  .button {
    margin-bottom: 8px;
  }

  .filter {
    display: flex;
    gap: 10px;
    justify-content: start;
    flex-wrap: wrap;
  }

  /* .seller-buttons {
    flex-direction: column;
  } */

  .login-details {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100% !important;
    max-width: 100% !important;
    margin: auto;
  }
}

@media (min-width: 570px) and (max-width: 767px) {
  .buttons-container {
    display: flex;
    flex-direction: row;
    gap: 7px;
    margin-top: 16px;
  }

  .hide-on-320 {
    display: none !important;
  }

   .filter {
     display: flex;
    gap: 10px;
    justify-content: start;
    flex-wrap: wrap;
  } 

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }

  .projects-grid {
    grid-template-columns: 2, 1fr;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 20px;
  }

  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }

  /* .seller-buttons {
    flex-direction: column;
  } */
}

/* Styles for tablets (590px to 767px) */
@media (min-width: 767px) and (max-width: 819px) {
  .projects-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }

  .buttons-container {
    flex-direction: row;
    /* Stack buttons horizontally */
  }

  .project-card {
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
  }

  .hide-on-320 {
    display: none !important;
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;

    white-space: nowrap;
  }

   .filter {
     display: flex;
    gap: 10px;
    justify-content: start;
    flex-wrap: wrap;
  } 

  /* .seller-buttons {
    flex-direction: column;
  } */

  .buttons-container {
    flex-direction: row;
    /* Stack buttons horizontally */
  }
}

/* Styles for large screens (768px to 1023px) */
@media (min-width: 820px) and (max-width: 950px) {
  .projects-grid {
    grid-template-columns: repeat(1, 1fr);
    /* Three columns */
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }

  .projects-grid {
    grid-template-columns: 2, 1fr;
    width: 100% !important;
  }

  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }

  /* .seller-buttons {
    flex-direction: column;
  } */

  .buttons-container {
    flex-direction: row;
  }
}

@media screen and (min-width: 950px) and (max-width: 1023px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Two columns */
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }
  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }
}

/* Styles for extra-large screens (1024px and above) */
@media (min-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Four columns */
  .button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    gap: 10px;
    justify-content: start;
  }

  .buttons-container {
    flex-direction: row;
    /* Buttons horizontal */
  }
}

@media (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Three columns */
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }
}
@media (min-width: 1400px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Four columns */
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }
}

@media (min-width: 1600px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Five columns */
  }

  .Action-bar {
    gap: 10px;
    display: flex;
    flex-direction: row;
    left: 0px;
    white-space: nowrap;
  }
}
