/* Global Styles for 3D Icons Component */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #232526, #414345);
  color: #fff;
  padding: 20px;
  /* border-radius: 12px; */
  border: 1px solid rgba(255, 255, 255, 0.2);

}

/* Back Button Styles */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(81.02deg, rgb(250, 85, 96) -23.47%, rgb(177, 75, 244) 45.52%, rgb(77, 145, 255) 114.8%);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 20px;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 85, 96, 0.4);
}

.back-button:active {
  transform: translateY(0);
}

.component-container {
  /* max-width: 1200px; */
  margin: 0 auto;
  
}
h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #edebeb;
}

/* Icon Container Grid: 8 per row (if space allows) */
#icon-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

/* Icon Card - square layout */
.icon-card {
  position: relative;
  background: rgb(237 235 235);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.icon-category{
    font-size: 12px;
    color: #fff;
    background: #3a3a3a;
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
    display: inline-block;
}

.icon-card:hover {
  transform: translateY(-5px);
}

/* SVG Preview Container */
.svg-preview {
  background: rgb(237 235 235);
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

/* If image is used instead of inline SVG */
.icon-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Icon Info Styling */
.icon-info h3 {
  margin: 0;
  margin-bottom: 3px;
  font-size: 16px;
  font-weight: 100;
  color: #212121;
}
.price {
  font-size: 0.8em;
  color: #27ae60;
}

/* Download Button */
.download-btn {
  position: absolute;
  top: -10px;
  right: -8px;
  background: linear-gradient(81deg, #fa5560, #b14df4, #4d91ff);
  padding: 4px;
  border-radius: 50%;
  display: inline-block;
  color: #fff;
  transition: background 0.3s ease;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 20px;
}
.download-btn:hover {
  background: #cf3c2c;
}



  /* Additional styles for new components */
  .search-container {
    position: relative;
    margin-bottom: 20px;
  }
  
  #search-input {
    margin-bottom: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 24px;
    box-sizing: border-box;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #ffffff29;
    color: #fff;
  }
  
  .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
  }
  
  .category-tabs-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .category-tabs-container::-webkit-scrollbar {
    display: none;
  }
  
  .category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .tab-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .tab-btn.active {
    background: linear-gradient(
      81.02deg,
      rgb(250, 85, 96) -23.47%,
      rgb(177, 75, 244) 45.52%,
      rgb(77, 145, 255) 114.8%
    );    color: white;
  }
  
  .more-btn {
       right: 24px;
    top: 146px;
    background-color: #3a3a3a;
    border: 1px solid #dee2e6;
    color: #f0f0f0;
    border-radius: 50%;
    /* width: 28px; */
    /* height: 24px; */
    display: flex
;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    padding: 8px 10px;
    }
  .pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 5px;
  }
  
  .pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
  }
  
  .page-num.active {
    background: linear-gradient(
      81.02deg,
      rgb(250, 85, 96) -23.47%,
      rgb(177, 75, 244) 45.52%,
      rgb(77, 145, 255) 114.8%
    );    color: white;
  }
  
  .pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    cursor: pointer;
  }
  
  .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  .ellipsis {
    padding: 0 5px;
  }
  
  .no-results {
    text-align: center;
    padding: 30px;
    color: #666;
  }
