@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.ncmt-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

/* MAIN COMMENT ITEM */
.ncmt-itm {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.6s ease forwards;
}
.ncmt-content {
  display: flex;
  align-items: flex-start;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.ncmt-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
  object-position: center center; /* CHEHRA CENTER */
  overflow: hidden;
}
.ncmt-body { flex: 1; }
.ncmt-auth { font-weight: bold; margin-bottom: 5px; }
.ncmt-txt { margin-bottom: 8px; }

/* REPLY TOGGLE BUTTON */
.ncmt-toggle-rly {
  color: #007bff;
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
  display: inline-block;
}

/* REPLIES SECTION */
.ncmt-rly-section {
  max-height: 0;
  overflow: hidden;
  margin-top: 10px;
  padding-left: 30px;
  transition: max-height 0.5s ease-out;
}
.ncmt-rly-section.open {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

/* SINGLE REPLY ITEM */
.ncmt-rly-itm {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fafafa, #f0f0f0);
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  width: 100%;
  animation: slideUp 0.5s ease forwards;
}
.ncmt-rly-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
  object-position: center center; /* CHEHRA CENTER */
  overflow: hidden;
}
.ncmt-rly-body { flex: 1; }
.ncmt-rly-auth { font-weight: bold; font-size: 13px; margin-bottom: 3px; }
.ncmt-rly-txt { font-size: 13px; color: #333; }

.ncmt-avatar-wrap,
.ncmt-rly-avatar-wrap{
  width:48px;
  height:48px;
  border-radius:50%;
  margin-right:12px;
  overflow:hidden;
  flex-shrink:0;
  position:relative;
}
.ncmt-rly-avatar-wrap{
  width:32px;
  height:32px;
  margin-right:10px;
}

.ncmt-letter{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#fff;
  font-size:18px;
  text-transform:uppercase;
}
.ncmt-rly-avatar-wrap .ncmt-letter{
  font-size:14px;
}
