.preview-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}


.preview-wrapper-150 {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.preview-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-wrapper-150 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .config-card {
    flex-direction: column;
    align-items: center;
  }

  .config-card .preview-wrapper {
    margin-top: 1rem;
  }
}


.light-back {
  background-color: #f1f1f1; /* set the background color */
  max-width: 800px; /* set the max-width of the container */
  margin: 0 auto; /* center the container horizontally */
  padding: 20px; /* add some padding inside the container */
}

.dark-back {
  background-color: #555; /* set the background color */
  max-width: 800px; /* set the max-width of the container */
  margin: 0 auto; /* center the container horizontally */
  padding: 20px; /* add some padding inside the container */
}


.table thead {
    background-color: #6c757d !important;
    color: white !important;
}


.card.e5e3e5 {
    background-color: #e5e3e5;
    color: #333;
}

    .color-btn {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 2px solid #999;
      margin: 3px;
      cursor: pointer;
      display: inline-block;
      transition: 0.2s ease;
    }

    .color-btn:hover {
      opacity: 0.85;
    }

    .selected {
      border: 3px solid #fff;
    }

#preview {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: auto;
  aspect-ratio: 1 / 1; /* Makes it square but responsive */

}

#preview img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
        border-radius: 5%;
      border: 6px solid #fff;
}




.grey {
  color: #9a9a9a;
}



.cart_back {
  background-color: #c1c1c1;
}

.white-border-3px {
  border: 3px solid white !important;
}


.custom-table-bg {
  background-color: #f0f8ff;
}


/* Header row background */
table.custom-table-bg thead tr th {
  background-color: #343a40 !important; /* dark background */
  color: #fff !important; /* white text */
}

table.custom-table-bg tbody tr,
table.custom-table-bg tbody tr td {
  background-color: #e5e2e4 !important; /* light gray */
  color: #212529 !important; /* default text color */
}

table.custom-table-bg tbody tr {
  border-bottom: 1px solid #2f2e2e; /* Light gray border */
}

table.custom-table-bg tbody tr:last-child {
  border-bottom: none; /* Remove border after last row */
}


body {
  background-color: #2F2E2E;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}


.navbar {
  height: 150px;
  min-height: 150px; /* Ensure it doesn't shrink */
  padding-top: 0;
  padding-bottom: 0;
  align-items: center; /* vertically center content */
  background-color: #444343 !important;
}

.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  background-color: #444343 !important;
}

.navbar .nav-link,
.navbar-brand {
  color: #ffffff !important;
}

.navbar .nav-link:hover {
  color: #00c2ff !important;
}


.bg-light {
  background-color: #444343 !important;
}

.btn-primary {
  background-color: #00c2ff;
  border-color: #00c2ff;
  color: #0f0f0f;
}

.btn-primary:hover {
  background-color: #00a6dd;
  border-color: #00a6dd;
}

.hero {
  background-color: #0f0f0f;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.card {
  background-color: #c1c1c1;
  color: #666;
  border: none;
}


.modal-content {
  background-color: #565555;
}