.heart-icon-tile {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem; /* default size for mobile */
  color: gray;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;

  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  padding: 0.4rem;
}

/* Smaller size for larger screens (desktop and up) */
@media (min-width: 769px) {
  .heart-icon-tile {
    /* font-size: 0.1rem; */
    font-size: 2rem !important;
    padding: 0.4rem !important; /* optional: adjust padding to keep proportions */
  }
}

.heart-icon-tile.liked {
  color: hotpink;
}

.tile {
  position: relative;
  padding-bottom: 3rem;
}

.progress-container {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  height: 14px;
  background-color: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #4CAF50;
  transition: width 0.4s ease;
}

.progress-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  font-size: 10px;
  font-weight: bold;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .progress-container {
    height: 20px;
  }

  .progress-label {
    font-size: 12px;
  }
}


/* 🔴 Empty Message Styling Wrapper (Full-Width Centering) */
.empty-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
}

/* 🔴 Empty Message Styling */
.empty-message {
  position: relative;
  background-color: #c00;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin: 2rem auto 0 auto;
  padding: 3.5rem 1.5rem 1.5rem;
  width: 50%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-style: normal;
  box-sizing: border-box;
}

/* ❗ Enlarged Exclamation Circle */
.empty-message .exclamation {
  position: absolute;
  top: -20px;                  /* Adjusted to align larger circle */
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #c00;
  font-weight: bold;
  font-size: 2rem;             /* Increased size of "!" */
  width: 45px;                 /* Larger circle */
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  border: 4px solid #c00;      /* Thicker border */
  display: inline-block;
  text-align: center;
}

/* ✅ Mobile Fix */
@media (max-width: 768px) {
  .empty-wrapper {
    width: 100vw !important;
    padding: 0 20px;           /* Added extra padding on sides */
  }

  .empty-message {
    width: 100% !important;
    font-size: 1rem !important;
    padding: 3rem 1.5rem 1.5rem !important; /* More inner padding */
    margin: 1.5rem 0 0 0 !important;
  }

  /* ❗ Mobile Exclamation Circle */
  .empty-message .exclamation {
    font-size: 1.8rem !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border: 3px solid #c00 !important;
    top: -18px !important;
  }
}


