.masonry-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #fff;
  background-color: rgb(67 84 102);
}

.masonry {
  width: 100%;
  margin: 0px auto;
  column-count: 2;
  column-gap: 10px;
}

.masonry .masonry-item {
  box-sizing: border-box;
  margin: 0 auto 8px;
  break-inside: avoid;
}

.masonry .masonry-item img {
  width: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.ai-imgcoin-block {
  right: 7px;
  top: 5px;
}

.ai-imgcoin-block .logo-icon {
  left: 7px;
  padding: 2px;
}

.template {
  height: 100%;
  max-height: 400px;
  text-align: center;
}

.template img {
  object-fit: contain;
}

.upload-container {
  width: 100%;
  height: 100%;
  border: 1px dashed #778899;
  background-color: #bfccd8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.upload-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
  position: absolute;
  top: 0;
  left: 0;
}

input[type="file"] {
  display: none;
}

.bringal-item .thumb-overlay {
  padding-bottom: 100%;
}

.bringal-item .thumb-overlay .card-img-top {
  object-position: top;
}

.bringal-item .original-img {
  top: 5px;
  left: 5px;
}

.bringal-item .original-img img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border: 2px #fff solid;
}
