 /* Extension Card */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border:1px solid hsl(0, 0%, 78%) ;
}
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}


.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin:0.24rem 0  0.25rem 0;
}

.card-category {
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}


.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.remove-btn {
  background-color: white;
  color: black;
  border: 1px solid gray;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}
.remove-bg{
  color: white;
  background-color: transparent;
}
.remove-btn:hover {
  background: #dc2626;
  color: white;
}


 /* Toggle Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: hsl(3, 77%, 44%);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Status Badge */
.status-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.status-active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.status-inactive {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

/* Attribution */
.attribution {
  font-size: 0.95rem;
  text-align: center;
  margin-top: 3rem;
  color: var(--text-light);
}

.attribution a {
 
  background:linear-gradient(to right, red,rgb(255, 134, 134),red,rgb(255, 134, 134)) ;
   -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  

}

.attribution a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .extensions-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .filter-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }
}
