.zipcode-info a {
   color: #006eff;
}

/* Container */
/* Container */
.isex-post-list {
  max-width: 700px;
  margin: 0px auto 20px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ddd;
  background: #fff;
  padding: 0px;
}


.isex-post-item {
  padding: 16px 12px;
  margin: 0px;
  
      background: #fff;
  color: #eee;
border-bottom: 12px solid #e7f0ff;
}

.---isex-post-list {
  max-width: 700px;
  margin: 0px auto 20px auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ddd;
  background: #fff;
  padding: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 14px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 14px;
}


.---isex-post-item {
  border: 1px solid #ccc;
  padding: 16px 12px;
  border-radius: 12px;
  margin: 20px 0;
  background-color: #fff;
  color: #eee;
  border: 1.5px solid #ccc;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}


/* Only box-shadow on hover */
.Xisex-gender-male:hover {
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.8); /* DodgerBlue */
}

.Xisex-gender-female:hover {
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.8); /* HotPink */
}


.isex-post-content-xxx {
    position: relative; /* Để chứa chữ Xem thêm */
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.175rem !important;
    line-height: 1.6;
    margin-top: 12px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    max-height: 160px;
    overflow: hidden;
    color: #222;
    border: 1.5px solid #ccc;
    box-shadow: inset 0 0 10px #999;
    transition: max-height 0.4s ease;
    cursor: pointer;
}

.isex-post-content-x {
    position: relative; /* Để chứa chữ Xem thêm */
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.175rem !important;
    line-height: 1.6;
    margin-top: 12px;
    background: #fff;
    padding: 12px 0px;
    border-radius: 12px;
    max-height: 160px;
    overflow: hidden;
    color: #111;
    border: 0px solid #b9c5cf;
    cursor: pointer;
}
.isex-see-more {
    position: absolute;
    bottom: -8px;
    right: 0px;
    background: #fff;
    color: #006eff;
    font-size: 1rem;
    padding: 4px 0px 4px 6px;
    border-bottom: 0.5px solid #fff;
    pointer-events: none; /* Không chặn click vào content */
}


.isex-post-content-x.expanded {
    max-height: none; /* mở full chiều cao */
}

/* Header flex */
.isex-post-header {
    
  display: flex;
  align-items: center;
  gap: 20px;
  
}

/* Avatar */
.isex-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 10px auto;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
  transition: box-shadow 0.3s ease;
}

/* Gender-specific styling */
.isex-gender-male .isex-avatar {
  border-radius: 50%;
  border: 2px solid #1e90ff; /* DodgerBlue */
  box-shadow: 0 0 6px rgba(30, 144, 255, 0.5);
}

.isex-gender-female .isex-avatar {
  border-radius: 50%;
  border: 2px solid rgba(255, 105, 180, 0.8); /* HotPink */
  box-shadow: 0 0 6px rgba(255, 105, 180, 0.5);
}
.isex-avatar img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* User info */
.isex-user-info {
  flex-grow: 1;
  font-size: 0.875rem;
  color: #555;
  line-height: 1.3;
}
.isex-user-info div {
  margin-bottom: 5px;
}
.isex-user-info a {
  color: #006eff;;
  text-decoration: none;
  font-weight: 600;
}
.isex-user-info a:hover {
  text-decoration: none;
}
.isex-user-thanks {
    position: relative; /* Để chứa chữ Xem thêm */
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.9rem !important;
    margin-top: 12px;
    padding: 4px 12px;
    overflow: hidden;
    color: #222;
    border-top: 0.5px solid #ccc;
    border-bottom: 0.5px solid #ccc;
    cursor: pointer;	
}
/* Post content */
.isex-post-content {
  margin-top: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  color: #222;
  font-size: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  border: 0px solid #ccc;
  box-shadow: inset 0 0 8px #333;
}

/* Reaction buttons container */
.isex-reactions {
  display: flex;
  justify-content: space-around;
  margin-top: 10px;
  font-size: 24px;
  user-select: none;
}
.isex-reactions-bottom {
  display: flex;
	text-align:left !important;
  justify-content: space-around;
  margin-top: 0px;
  font-size: 24px;
  user-select: none;
}
.isex-reaction-count{
  font-size: 16px;
	
  color: #ccc;
}

/* Reaction buttons */
.isex-reaction-btn {
  flex: 1;
  background: none;
  border: none;
  color: #9fcfff;
  cursor: pointer;
  font-size: 26px;
  padding: 5px 0;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.isex-reaction-btn-x {
  flex: 1;
  background: none;
  border: none;
  color: #9fcfff;
  cursor: pointer;
  font-size: 26px;
	text-align:left;
  padding: 5px 0;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.isex-reaction-btn-text {
  flex: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 0.75rem;
  padding: 8px 0;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.isex-reaction-btn-text:hover {
  color: #333;
}
.isex-reaction-btn-thanks {
  flex: 1;
  background: #f9f5ec;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 0.9rem;
  padding: 8px 0;
  border-radius: 8px;
}
.isex-reaction-count-text{
	
  font-size: 0.75rem;
  color: #64696d;
}
/* Post actions container */
.isex-post-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
	padding-bottom:10px;
  user-select: none;
  border-bottom: 0px solid #ccc;
}
/* Buttons in post actions */
.isex-post-actions button {
  background: none;
   color: #006eff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
	text-align:center;
  align-items: center;
  padding: 5px 0px;
  border-radius: 0px;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.isex-post-actions button:hover {
  color: #3772df;
}
.isex-comment-icon {
  margin-right: 4px;
}
.isex-comment-btn,
.isex-copy-link-btn,
.isex-share-btn {
    background: #fff;
    color: #3772df;
  border: 0px solid #3772df;
  padding: 5px 0px;
    margin-right: 4px; /* 👈 cách nhau 4px */
    font-size: 16px;
	font-weight:600;
  border-radius: 25px;
    cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
	display: flex;               /* must also be flex here */
    justify-content: center;     /* horizontal */
    align-items: center;         /* vertical */
}

.isex-reaction-btn:hover,
.isex-comment-btn:hover,
.isex-copy-link-btn:hover,
.isex-share-btn:hover {
    background: #fff;
}

/* Comments readonly box */
.--isex-comments-readonly {
  margin-top: 2px;
  background: #fff;
  padding: 10px 0px;
  border-radius: 10px;
  max-height: 220px;
  overflow-y: auto;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 0px solid #ccc;
}
/* Comments readonly box */
.isex-comments-readonly {
  margin-top: 2px;
  background: #fff;
  padding: 10px 0px;
  border-radius: 10px;
  max-height: 220px;
  overflow-y: auto;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
    border: 0px solid #b9c5cf;
  transition: max-height 0.4s ease; /* mượt khi expand */
}

/* Khi mở rộng */
.isex-comments-readonly.expanded {
  max-height: 75vh; /* 75% chiều cao màn hình */
}

/* Each comment item */
.isex-comment-item {
  margin-bottom: 1px;
  border-bottom: 0.5px solid #ccc;
  padding: 6px;
  color: #444;
}

/* Load more comments button */.isex-load-more-comments-btn {
  width: 90%;
  display: block;          /* makes the button take up its own line */
  margin: 12px auto 0;     /* top margin 12px, auto left/right centers it */
  cursor: pointer;
  background: transparent;
  border: 0.5px solid #1a73e899;
  color: #006eff;
  border-radius: 25px;
  padding: 8px 0;
  font-size: 0.8rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  letter-spacing: 0.03em;
}

.isex-load-more-comments-btn:hover {
  background: transparent;
  color: #3772df;
}
/* Load more button */
.pagination-select {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    margin-bottom: 30px 0;
}

.pagination-dropdown select {
	width: 130px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 11px 16px;
    font-size: 24px;
    background-color: #fff;
    color: #3772df;
    border: 0.5px solid #ccc;
    border-radius: 0px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%233772df' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
    background-size: 36px 36px;
    padding-right: 30px;
    cursor: pointer;
}

.pagination-select .pagination-prev a,
.pagination-select .pagination-next a,
.pagination-select .pagination-prev span,
.pagination-select .pagination-next span {
    font-size: 26px;
    color: #3772df;
    background-color: #fff;
    padding: 13px 20px;
    border-radius: 0px;
    display: inline-block;

}

.pagination-select .pagination-prev a,
.pagination-select .pagination-prev span {
    font-size: 26px;
    color: #3772df;
    background-color: #fff;
    border: 0.5px solid #ccc;
    padding: 13px 40px;
    border-radius: 0px;
    display: inline-block;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

}


.pagination-select .pagination-next a,
.pagination-select .pagination-next span {
    font-size: 26px;
    color: #3772df;
    background-color: #fff;
    padding: 13px 40px;
    border-radius: 0px;
    border: 0.5px solid #ccc;
    display: inline-block;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

}


.pagination-select .pagination-prev a:hover,
.pagination-select .pagination-next a:hover {
    color: #fff;
    background-color: #3772df;
}

.pagination-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.isex-spacer {margin-bottom:100px;
}

