
.content {
  overflow: auto;
  clear: both;
  margin-top: 50px; 
}
.cats {
  display: flex;
  flex-wrap: wrap;
}
.cats li {
  position: relative;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  width: calc(100% / var(--records-per-row) - 10px);
  min-width: 250px; 
  margin: 10px;
  /* padding: 5px; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.cats li:hover {
  transform: scale(1.05);
}
.cats li .title {
  font-size: 16px;
  font-weight: bold;
}
.cats li .image {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.cats li .info {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.cats li .date {
  margin-right: 5px;
}
.cats li .unit {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: -15px;
}
.cats li .price {
  font-size: 18px;
  font-weight: bold;
  margin-right: 16px;
  margin-top: -3px;
}
.cats li .brief {
  font-style: italic;
  color: #888;
}
.circle-with-number {
  display: inline-block;
  font-size: 12px;
  width: 22px;
  height: 22px;
  background-color: #4caf50;
  border-radius: 50%;
  text-align: center;
  line-height: 22px;
  font-weight: bold;
  color: white;
  margin-right: 10px;
  cursor: pointer;
}
.circle-with-number:hover .symbol {
  display: inline-block;
}
.circle-with-number:hover .number {
  display: none;
}
.circle-with-number .symbol {
  display: none;
  width: 26px;
  height: 26px;
  line-height: 26px;
  font-size: 16px;
  /* margin-right: 5px; */
  /* margin-right: -4px; */
  /* margin-top: -2px; */
}
/* showPost styles */
.content .title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}
.content .info {
  font-size: 16px;
  font-weight: bold;
}
.content .date,
.content .unit,
.content .price {
  display: inline-block;
  margin-right: 10px;
}
.content .text {
  font-size: 16px;
  text-indent: 20px;
  margin: 10px;
}
.image-container {
  position: relative;
  display: inline-block; /* Display as inline block to wrap around the image */
  margin: 10px;
  float: left;
}
.image-container .image {
  display: block;
  width: 600px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 10px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
}
.image-container .arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: lightgray;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
}
.image-container:hover .arrow {
  display: block;
}
.image-container .left {
  left: 10px;
}
.image-container .right {
  right: 10px;
}
/* Styles for the edit */
.edit-number {
  display: inline-block;
  font-size: 14px;
  max-width: 50px;
  width: 24px;
  height: 24px;
  background-color: #4caf50;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  color: white;
  margin-right: 10px;
  cursor: pointer;
  overflow: hidden;
  border: none;
  outline: none;
}
.edit-title {
  font-size: 16px;
  font-weight: bold;
  background-color: transparent;
  border: none;
  max-width: 180px;
  outline: none;
}
.edit-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.edit-text {
  flex: 1;
  resize: none;
  border: none;
  outline: none;
  padding: 0;
}
.edit-buttons {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  margin-top: auto;
}
.edit-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.edit-buttons button.create {
  background-color: #007bff;;
  color: white;
}
.edit-buttons button.save {
  background-color: #4caf50;
  color: white;
}
.edit-buttons button.cancel {
  background-color: #ccc;
  color: #333;
}
.edit-buttons button.delete {
  background-color: #f44336;
  color: white;
}
.cats.disable-hover .circle-with-number .symbol {
  display: none;
}
.cats.disable-hover .circle-with-number .number {
  display: inline-block;
}
/* Styles for pagination */
.paginationWrapper {
  padding: 5px 10px;
  /* border-radius: 3px; */
  box-shadow: -3px -3px 7px #ffffff73, 3px 3px 5px rgba(94, 104, 121, 0.288);
}
.pagination {
  display: flex;
}
.pagination li {
  margin: 0px 5px;
}
.pagination li a{
  font-size: 16px;
  text-decoration: none;
  color: #4d3252;
  height: 25px;
  width: 30px;
  display: block;
  line-height: 25px;
  font-weight: bold; /* Add bold font weight for inactive buttons */
}
.pagination li:first-child {
  display: flex;
}
.pagination li:nth-child(2) a {
  width: 35px;
  font-size: 22px;
}
.pagination li:last-child a {
  width: 35px;
  font-size: 22px;
}
.pagination li.active {
  box-shadow: inset -3px -3px 7px #ffffff73, inset 3px 3px 5px rgba(94, 104, 121, 0.288);
}
.pagination li.active a {
  font-size: 14px;
  color: #6f6cde;
  font-weight: normal;
}
.pagination li.current-page a {
  font-size: 22px;
  font-weight: bold;
  color: #007bff;
}
.blocks-per-page select {
  font-size: 16px;
  font-weight: bold;
  color: #4d3252;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
}
.blocks-per-page select option {
  font-size: 16px; 
  border-radius: 3px;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: inset -3px -3px 7px #ffffff73, inset 3px 3px 5px rgba(94, 104, 121, 0.288);     
}
.blocks-per-page select option:checked {
  font-weight: bold;}
