@import url("variables/variables.css");
.subscription-active ~ label {
  background-color: hsl(var(--foreground));
  border-radius: 50px;
  color: hsl(var(--background));
}

.dark-design .subscription-active ~ label {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.main-container,
.view-empty {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  /* padding: 0px 100px; */
  padding: 0px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  gap: 48px;
  margin-top: 75px;
  margin-bottom: 10vh;
}
.main-container-pager {
  margin-top: -5%;
}

.tabBox {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.saved {
  width: 100%;
  padding: 0px 8px;
  color: var(--foreground, #ededed);
  font-size: var(--font-size-3xl);
  font-style: normal;
  font-weight: var(--font-weight-bold);
}
.tab-search-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -20px;
}
.search-container,
.form-item-title {
  width: 285px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px;
  border: 1px solid hsl(var(--secondary));
  border-radius: 50px;
  background: hsl(var(--secondary));
  padding: var(--spacing-md);
}
.tab-search-icon {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  padding: 3px;
  color: hsl(var(--foreground));
}

.search-container input,
.form-text,
.form-text:-webkit-autofill {
  /* padding: 10px; */
  width: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  font-size: 18px;
  color: hsl(var(--foreground));
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.tab {
  min-width: 56px;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border-radius: 50px;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card-items-box {
  display: grid;
  /* grid-template-columns: repeat(5, minmax(210px, 1fr));  */
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  width: 100%;
  max-width: 100%;
}
.card-item {
  width: 100%; /* Fill grid column width */
  position: relative;
  padding: 12px;
  border-radius: 8px;
  text-align: start;
  transition: all 0.3s ease; /* Smooth hover effect */
  margin-bottom: 0; /* Let grid gap handle spacing */
}

.card-item:hover {
  background: hsl(var(--muted));
  transform: translateY(-4px); /* Subtle lift effect */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-item img {
  width: 100%; /* Responsive width */
  height: auto; /* Flexible height */
  aspect-ratio: 204/255; /* Maintain original ratio (204px × 255px) */
  border-radius: 8px;
  object-fit: cover; /* Prevent image distortion */
}
.card-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2px;
}
.card-text p {
  color: hsl(var(--foreground));
  font-size: 16px;
  font-weight: bold;
  max-width: 12ch; /* Limits to approximately 10 characters */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.card-text p a {
  color: hsl(var(--foreground));
  font-size: 16px;
  font-weight: bold;
}
.card-text span {
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  margin-top: -8px;
}
.no-items {
  font-size: 18px;
  font-weight: bold;
  color: gray;
  margin-top: 20px;
  height: 100vh;
}

.save-to-fav {
  position: absolute;
  right: 8px;
  top: 86%;
  transform: translateY(-2%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* .save-to-fav:hover {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  padding: 8px;
  display: flex;
  background: #faf4dc;
  align-items: center;
  justify-content: center;
}
.dark-design .save-to-fav:hover {
  width: 30px;
  height: 30px;
  border-radius: 99px;
  padding: 8px;
  display: flex;
  background: #3c3c3b;
  align-items: center;
  justify-content: center;
} */
/* .card-item:hover .save-to-fav{
  display: block;
   opacity: 1;
   cursor: pointer;
   padding-right: 8px;
   animation: bounce 0.5s ease-in-out 1;
   transition: color 0.3s ease;
} */
.save-icon {
  font-size: 18px;
  color: hsl(var(--primary));
}
.dark-design .save-icon {
  font-size: 18px;
  color: hsl(var(--primary));
}
.removed-icon {
  font-size: 18px;
  color: hsl(var(--primary-foreground));
}
.dark-design .removed-icon {
  font-size: 18px;
  color: hsl(var(--primary));
}
.no-item-text {
  font-size: 14px;
  font-family: 700;
  color: hsl(var(--foreground));
}
.info {
  font-size: 12px;
  font-weight: normal;
  color: hsl(var(--muted-foreground));
}

@keyframes bounce-once {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.saved .save-icon {
  color: #fc0 !important;
}
.saved .save-icon:hover {
  animation: bounce-once 0.5s ease;
}

.save-icon:hover {
  transition: color 0.3s ease, transform 0.3s ease;
  animation: bounce-once 0.5s ease;
}
/* General Save Message Box */
.save-message {
  width: 400px;
  display: none;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Success Message (Saved) */
.success-message {
  background: #4cce97;
  color: #1d2125;
}

/* Remove Message (Removed) */
.remove-message {
  background: #e5484d !important;
  color: #fff;
}
.remove-message i {
  font-size: 22px;
  color: #fff !important;
  display: flex;
}
/* Confirmation Popup */
.confirm-popup {
  width: 410px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  display: flex;
  text-align: left;
  padding: 15px 10px;
  flex-direction: column;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-overlay.active {
  display: flex;
}

.confirm-popup span {
  width: 100%;
  display: block;
  gap: 10px;
}
.confirm-popup span:first-child {
  font-weight: bold;
  font-size: 16px;
  color: hsl(var(--foreground));
}

.confirm-popup .secondItem {
  font-weight: normal;
  font-size: 12px;
  color: hsl(var(--foreground));
}
/* Icon Styling */
.save-message i {
  font-size: 22px;
  color: #1d2125;
  display: flex;
}

/* Popup Buttons */
.popup-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  justify-content: flex-end;
  width: 100%;
}

/* Yes Button */
.confirm-yes {
  background: hsl(var(--primary));
  color: hsl(var(--foreground));
  border: none;
  padding: 8px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s;
}
.confirm-yes > .ajax-progress-throbber .throbber {
  color: hsl(var(--foreground));
}

/* No Button */
.confirm-no {
  background: has(var(--foreground));
  color: hsl(var(--foreground));
  border: 1px solid #e5e5e5;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}

/* Bookmark Icon Animation */
@keyframes upDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.hidden {
  display: none;
}

/* Spinner */
.spinner,
.card-item .ajax-progress-throbber {
  width: 15px;
  height: 15px;
  border-top: 2px solid transparent;
  border-radius: 50%;
  padding-left: 0;
}

/* Spinner Animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}
.seemore-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.seemore-btn {
  padding: 8px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground));
  border-radius: 50px;
  border: none;
}
.seemore-btn a {
  color: hsl(var(--foreground));
}
.arrow-icon-down {
  display: flex;
  width: 24px;
}
.footer {
  background-color: #000;
  color: hsl(var(--foreground));
  font-family: Arial, sans-serif;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100%;
}

.footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;

  box-sizing: border-box;
}
.footer {
  background-color: #000;
  color: hsl(var(--foreground));
  font-family: Arial, sans-serif;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  width: 100vw;
  position: relative;
  left: 0;
}

/* .footer-container {
  max-width: 1280px; 
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box; 
} */

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: start;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.footer-text h2 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.footer-text p {
  color: hsl(var(--muted-foreground));
}

.footer-email p {
  font-size: 14px;
  margin-bottom: 5px;
  color: #fff;
}

.footer-email input {
  width: 200px;
  padding: 8px;
  border: none;
  border-bottom: 1px solid hsl(var(--muted-foreground));
  background: transparent;
  color: hsl(var(--foreground));
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
}

.footer-column {
  flex: 1;
  min-width: 150px;
  margin-bottom: 20px;
  text-align: start;
}
.footer-column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  display: inline-block;
  position: relative;
  white-space: nowrap;
  color: #fff;
}

.footer-column .firstword {
  border-bottom: 2px solid hsl(var(--primary));
  display: inline-block;
  color: #fff;
}
.footer-column h3 span {
  border-bottom: 2px solid hsl(var(--primary));
  display: inline-block;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  text-decoration: none;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}

.design-border-line {
  width: 100%;
  border: 1px solid hsla(0, 0%, 88%, 1);
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
}
.footer-bottom a {
  color: hsl(var(--primary));
}
.footer-logo img {
  width: 60px;
}

.footer-bottom p {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

.footer-socials {
  margin-top: 10px;
}

.footer-socials a {
  margin: 0 8px;
  display: inline-block;
}

.footer-socials img {
  width: 25px;
}

/* @media screen and (max-width: 1024px){
  .main-container{
    width: 100%;
    padding: 10px;
  }
  .card-items-box{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.card-items-box::-webkit-scrollbar {
    display: none;
}
.tabBox{
  width: 100%;
  gap: 10px;
}
.tab-search-container{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.search-container{
  width: 100%;
}
.tabs{
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.header-list-items,
  .search-icon
  #darkModeToggle  {
    display: none !important;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding:10px 10px;
  }

  .header-leftcontainer {
    display: flex;
    align-items: center;
  }

  .header-rightcontainer {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-rightcontainer button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
  }
  .footer{
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  .no-items{
    height: 20vh;
  }

} */

.view-favorite-content .subscription-input-radio {
  display: none;
}
.dark-design .view-favorite-content .mtn-radio-group {
  background: transparent;
}
.view-favorite-content .mtn-radio-group {
  background: transparent;
}
.form-actions {
  display: none;
}
/* .pager__item{
  display: none;
} */
.pager__item--next {
  display: block;
}
.view-favorite-content .mtn-radio-group {
  display: flex;
}

.mtn-radio-group > :first-child {
  display: none;
}
.form-item-items-per-page {
  display: none;
}
.js-form-item-title {
  position: relative;
  display: inline-block;
}

.js-form-item-title::before {
  content: "\f002";
  font-family: "FontAwesome";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--foreground));
  font-size: 18px;
  padding: 3px;
}

.js-form-item-title input {
  padding-left: 35px;
  height: 20px;
  /* height: 6vh; */
}
.confirm-yes:hover,
.confirm-yes:active {
  color: hsl(var(--foreground));
}
.seemore-btn .ajax-progress {
  left: 0;
  z-index: 0;
  position: relative;
}
/* .card-item .ajax-progress-throbber{
    padding-left: 90% !important;
    padding-top: 0px;
}
.card-item .ajax-progress-throbber{
    margin-top: -50px;
    z-index: 99;
} */
/* .card-item .ajax-progress-throbber{
  padding-left: 90% !important;
  padding-top: 20% !important;
} */

@media screen and (max-width: 768px) {
  .main-container {
    width: 100%;
    padding: 10px;
    gap: 24px;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .view-favorite-content .mtn-radio-group {
    display: none;
  }
  .card-items-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 0;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .card-items-box::-webkit-scrollbar {
    display: none;
  }
  .tabBox {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-6);
    align-self: stretch;
  }
  .tab-search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .search-container,
  .js-form-item-title {
    width: 100%;
  }
  .card-item {
    /* width: 155px; */
    width: 90%;
    min-height: 80%;
    /* min-height: 197px; */
    /* background: white; */
    padding: 10px;
    /* border: 1px solid #ddd; */
    box-sizing: border-box;
    margin-bottom: 0px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  .card-item:hover {
    width: 90%;
    background: hsl(var(--muted));
    transform: scale(1.02);
  }
  .card-item img {
    /* width: 155px;
  height: 100%;
  min-height: 200px;
  max-height: 200px; */
    width: 110%;
    height: 80%;
    padding: 2px 2px;
  }
  .seemore-btn {
    padding: 8px 12px;
  }
  .seemore-btn i {
    display: none;
  }
  .card-text p {
    font-size: 14px;
    font-weight: 600;
  }
  .card-text span {
    font-size: 12px;
    font-weight: normal;
  }
  .card-text p,
  .card-text span {
    margin: 0px;
  }
  .tabBox {
    width: 100%;
    gap: 24px;
    padding: 0px 8px;
  }
  .saved {
    width: 100%;
    padding: 0px 8px;
  }
  .tab-search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0px 6px;
    margin-top: -50px;
  }
  .search-container,
  .js-form-item-title {
    width: 100%;
    display: flex;
  }
  .tabs {
    display: none;
  }
  .search-container i {
    font-size: 16px;
    display: inline-block;
  }
  .save-to-fav {
    display: flex;
    opacity: 1;
    margin-top: 5%;
    justify-content: flex-end;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .save-to-fav:hover {
    background: transparent;
  }
  .dark-design .view-favorite-content .save-to-fav:hover {
    background: transparent;
  }
  .saved .save-icon {
    color: hsl(var(--foreground)) !important;
  }
  .dark-design .view-favorite-content .saved .save-icon {
    color: hsl(var(--primary)) !important;
  }
  /* .tabs{
  display: flex;
  width: 100%;
  justify-content: space-between;
} */
  .header-list-items,
  .search-icon #darkModeToggle {
    display: none !important;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
  }

  .header-leftcontainer {
    display: flex;
    align-items: center;
  }

  .header-rightcontainer {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header-rightcontainer button {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
  }
  .footer {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  .no-items {
    height: 20vh;
  }
  .save-message {
    width: 355px;
  }
  .save-message.remove-message {
    background: #e5484d !important;
    color: #fff;
    text-align: start;
    top: auto;
    bottom: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 50px;
    border-radius: var(--Radius-rounded-sm);
  }
}
@media screen and (max-width: 480px) {
  .save-to-fav {
    margin-top: -10%;
  }
}
