body {
  font-family: Arial, sans-serif;
  background-color: #1a1a2e;
  color: #fff;
  margin: 0;
  padding: 15px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.extensions-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.extensions-filter {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 15px;
}

.filter {
  padding: 4px 12px;
  border-radius: 15px;
  background-color: #2a3550;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

.filter.active {
  background-color: #e94560;
}

.filter:hover {
  background-color: #3b4a6b;
}

.extensions-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 15px;
}

.extension-card {
  background-color: #16213e;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.2s;
}

.extension-card:hover {
  transform: translateY(-3px);
}

.icon img {
  width: 20px;
  height: 20px;
  margin-bottom: 8px;
}

.info h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: bold;
}

.info p {
  margin: 0;
  font-size: 10px;
  color: #a3bffa;
  line-height: 1.3;
}

.actions {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.action-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.remove-btn {
  background: none;
  border: 1px solid #e94560;
  padding: 4px 8px;
  border-radius: 4px;
  color: #e94560;
  cursor: pointer;
  font-size: 10px;
  text-transform: uppercase;
}

.remove-btn:hover {
  background-color: #e94560;
  color: #fff;
}

.switch input {
  display: none;
}

.slider {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 12px;
  background-color: #ccc;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: -2px;
  bottom: -2px;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.4s;
}

.switch input:checked+.slider {
  background-color: #e94560;
}

.switch input:checked+.slider:before {
  transform: translateX(18px);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1C1F2E;
  padding: 8px 12px;
  border-radius: 10px;
  width: 950px;
  margin: 0 auto 50px;
}

.header img:first-child {
  width: 90px;
  height: 20px;
  margin-left: 0;
}

.header img:last-child {
  width: 20px;
  height: 20px;
  border: 1px solid #e94560;
  border-radius: 50%;
  padding: 4px;
  margin-right: 0;
}

@media(max-width: 768px) {
  .extensions-list {
    grid-template-columns: repeat(1, minmax(150px, 1fr));
  }
}