.main-container {
  max-width: 500px;
  margin: 0 auto;
}

.bg-accent{
background-color: #2928ff;
}

.bg-second-accent{
background-color: #fee600;
}

.rounded-btm {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

/* Homepage and store card styles */
.categorySwiper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categorySwiper::-webkit-scrollbar {
  display: none;
}

.categorySwiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
}

.categorySwiper .swiper-slide {
  width: 60px;
  flex-shrink: 0;
}

.storeSwiper .swiper-slide {
  width: 200px;
  flex-shrink: 0;
}

.card-with-noise {
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.card-with-noise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/uploads/images/noise-glass.png');
  background-repeat: repeat;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}
.card-with-noise > * {
  position: relative;
  z-index: 2;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: black;
}
.login-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.login-modal-content {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

/* Utility for QR container (stampcard) */
.qr-container {
  text-align: center;
}
.qr-container img {
  max-width: 100%;
  height: auto;
} 

@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}