body {
  font-family: "Inter", sans-serif !important;
  background-color: #fff;
  font-size: 14px;
}

nav.nav-bar {
  height: 72px;
  width: 100%;
  padding: 1rem 4rem;
  border-bottom: 1px solid lightgray;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

body.safari nav.nav-bar {
  padding: 1rem 4rem 1rem 4rem !important;
}

.nav-bar-left {
  display: flex;
  flex-direction: row;
}

.seller-text-logo {
  border: 1px solid #d5d7da;
  font-family: Guardian-EgypTT,Charter,Charter Bitstream,Cambria,Noto Serif Light,Droid Serif,Georgia,"serif";
  text-transform: uppercase;
  font-weight: 400;
  font-size: 20px;

}

.search-box {
  height: 40px;
  border: 1px solid #d5d7da;
  border-radius: 2px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}

.back-to-home-btn {
  border: 1px solid #d5d7da;
  border-radius: 5px;
  padding: 0.5rem;
  font-size: 0.85rem;
}

.hamburger-menu {
  padding: 0.5rem;
  display: none;
  cursor: pointer;
}

.password-box-container {
  background-color: #fff;
}

.button {
  background-color: #0a0d12;
  color: #fff;
  border-radius: 2px;
  padding: 0.75rem;
  width: 100%;
  font-weight: 600;
}

.primary {
  background-color: #0a0d12;
  color: #fff;
}

.secondary {
  background-color: #fff;
  color: #000;
  border: 1px solid #d5d7da;
}

.page-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
 
}

.page-header-left {
  flex: auto;
}

.page-header-right {
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 40px;
}

.page-heading-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.page-heading {
  font-weight: 600;
  font-size: 1.13rem;
}

.badge-count {
  border: 1px solid #d5d7da;
  padding: 0.1rem 0.25rem;
  font-size: 0.75rem;
  border-radius: 0.125rem;

}

.page-header-btn {
  display: flex;
  flex-direction: row;
  border: 1px solid #d5d7da;
  border-radius: 2px;
  padding: 0.5rem 0.5rem;
  gap: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 600;
  white-space: nowrap;
}

.page-header-btn .arrow-icon {
  width: 20px;
}

.page-header-btn .arrow-icon img {
  width: 20px;
  height: 20px;
}

.page-header-btn .count {
  border: 1px solid #d5d7da;
  border-radius: 0.75rem;
  padding: 2px 10px;
  font-size: 0.75rem;
}


.page-header-modify-filters {
  display: flex;
  flex: 1;
}

.page-header-sort {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 5px;
}

main.main-area {
  position: relative;
}

.gemstone-table {
  width: 100%;
  border-radius: 15px;
  border: 1px solid #d5d7da;
}

.gemstone-table tr {
  border: 1px solid #d5d7da;
}

.gemstone-table tr td {
  padding: 1rem 1rem;
}

.gemstone-table thead tr {
  background-color: #fafafa;
  border: 1px solid #d5d7da;
  border-radius: 15px;
}

.gemstone-table thead tr td {
  padding: 1rem 1rem;
}

.gemstone-table tbody tr td {
  color: #535862;
}

.gemstone-table tbody tr td .gem-stone-id {
  color: #181d27;
}

.status-indicator-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 1px solid #d5d7da;
  padding: 2px 8px;
  width: fit-content;
}

.status-indicator-btn span.status {
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background-color: black;
  margin-right: 0.25rem;
}

.status-indicator-btn span.status.available {
  background-color: black;
}

.status-indicator-btn span.status.not-available {
  background-color: orange;
}

.nav-bar-right {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.your-list-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  border-radius: 2px;
  padding: 0.75rem;
  font-weight: 600;
  
}

.your-list-btn .count {
  border: 1px solid #d5d7da;
  border-radius: 0.75rem;
  padding: 2px 10px;
  font-size: 0.75rem;
}

.search-btn {
  display: none;
  position: relative;
}

.pagination-container {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pagination-button-container {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.pagination-button {
  border: 1px solid #d5d7da;
  border-radius: 2px;
  height: 40px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.pagination-button.arrow {
  border: none;
}

.pagination-button.selected {
  background-color: #f5f7fa;
  border: none;
}

.pagination-mobile-container {
  display: none;
  width: 100%;
  margin-top: 20px;
  flex-direction: row;
  justify-content: space-between;
}

.pagination-mobile-btn {
  border: 1px solid #d5d7da;
  width: 40px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-mobile-page-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-container {
  width: 100%;
  margin-top: 2rem;
}

.card {
  border: 1px solid lightgrey;
  border-radius: 5px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 5px;
}

.card-inner {
  display: flex;
  flex-direction: row;
  padding: 2px 2px;
}

#list-view .table-container.web .card .card-inner {
  width: 100%;
}

.card .card-inner .gem-image {
  width: 50%;
  border-radius: 2px;
}

#list-view .table-container.web .card .card-inner .gem-image {
  width: 20%;
}

#card-view .card .card-inner {
  flex-direction: column;
}

#card-view .card .card-inner .gem-image {
  width: 100%;
}

.card .card-inner .gem-info {
  display: flex;
  flex-direction: column;
  padding: 5px;
  gap: 5px;
}

#list-view .table-container.web .card .card-inner .gem-info {
  flex: 1;
  height: 100%;
  justify-content: space-between;
}

.card .card-inner .badge-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}

.card .card-inner .badge-container .badge {
  border: 1px solid lightgrey;
  padding: 3px 6px;
  background-color: #fafafa;
  border-radius: 5px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.table-container.mobile {
  display: none;
}

.view-selector-btn.active {
  background-color: black;
}

.section-heading {
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1rem 1rem;
}

.search-box-container-mobile-backdrop {
  width: 100%;
  position: absolute;
  z-index: 99;
  height: 100vh;
  background-color: #000;
  opacity: 0.6;
}

.search-box-container-mobile {
  width: 100%;
  position: absolute;
  padding: 1rem 1rem;
  z-index: 100;
  background-color: #fff;
}

.search-box-container-mobile .search-box {
  justify-content: start;
}

.company-name-container {
  width: 100%; /* Fixed width */
  height: 2.5rem; /* Fixed height */
  border: 1px solid #d5d7da; /* Add border for visibility */
  margin-right: 0.3rem;
  padding: clamp(0.1rem, 1vw, 0.3rem);
  background-color: #efefef;
  overflow: hidden;
  font-size: clamp(0.9rem, 2vw, 1.4rem); /* Dynamic font size */
  border-radius: 0.125rem; /* 2px */
  display: flex;
  align-items: center;
  font-family: 'Allura', cursive;
  font-weight: 400;
}


@media only screen and (max-width: 1000px) {
  nav.nav-bar {
    padding: 1rem 1rem;
  }

  body.safari nav.nav-bar {
    padding: 1rem 1rem !important;
  }

  .search-box-container-web {
    display: none;
  }
  a .back-to-home-btn {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .page-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
  }

  .page-header-right {
    display: flex;
    flex-direction: column;
  }

  .search-btn {
    display: flex;
    width: 40px;
    justify-content: center;
    align-items: center;
    padding: 7px;
  }

  .your-list-btn {
    gap: 2px;
  }

  .pagination-container {
    display: none;
  }

  .pagination-mobile-container {
    display: flex;
  }

  .table-container {
    margin-top: 4rem;
  }

  .table-container.web {
    display: none;
  }

  .table-container.mobile {
    display: block;
  }

  .hamburger-menu {
    display: none;
  }

  #list-view .table-container.mobile .card .card-inner .gem-image {
    width: 100%;
  }

  #list-view .table-container.mobile .card .card-inner {
    display: flex;
    flex-direction: column;
    padding: 2px 2px;
  }

  #list-view .table-container.mobile .card .card-inner .gem-info {
    padding: 2px;
  }

  #grid-view .table-container.mobile .card .card-inner .gem-image {
    min-width: 35%;
  }

  .card .card-inner .badge-container .badge {
    font-size: 0.7rem;
  }

  .seller-text-logo {
    border: 1px solid #d5d7da;
    font-family: Guardian-EgypTT,Charter,Charter Bitstream,Cambria,Noto Serif Light,Droid Serif,Georgia,"serif";
    text-transform: uppercase;
    font-weight: 400;
    font-size: 20px;
    width: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: normal;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
  }

}
