@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900');

/* Scoped to news comments block only — global `body` rules broke sidebar/login on news details */
.news-details-comments {
  font-family: 'Roboto', sans-serif;
}

.list-comment {
  background-color: #fff;
  border: solid 1px #c6c7c7;
  border-radius: 2px;
  margin-top: 20px;
  padding: 6px;
}
.comment {
  background-color: #efefef;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: solid 1px #e5e6e6;
  direction: rtl;

}
.comment-top {
  display: flex;
  justify-content: space-between;
  padding-left: 5px;
  padding-right: 5px;
}
.comment-top time {
  font-size: 12px;
  background-color: #cecece;
  color: #343a40;
  border-radius: 11px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
}
.comment-top .user-name {
  font-size: 13px;
  font-weight: bold;
  background-color: #28a745;
  color: #fff;
  border-radius: 11px;
  padding-left: 10px;
  padding-right: 10px;
}
.comment .content {
  padding: 10px;
  font-size: 13px;
  text-align: right;
}
.option-comment {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  direction: rtl;
}
.option-comment textarea {
  width: 100%;
  border-radius: 0px;
  margin: 2px;
  resize:none;
  white-space: normal;
  max-height: 60px;
  overflow: hidden;
}
.option-comment button {
    margin: 2px;
    height: 40px;
}

/* login.css sets generic .btn to grey — restore branded styling for add comment */
.news-details-comments .option-comment .add-comment {
    min-width: 90px;
    padding: 8px 18px;
    border-radius: 8px;
    border: 1px solid rgb(26, 88, 108);
    background-color: rgb(32, 107, 130);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    text-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.news-details-comments .option-comment .add-comment:hover,
.news-details-comments .option-comment .add-comment:focus {
    background-color: rgb(26, 88, 108);
    border-color: rgb(20, 70, 86);
    color: #fff;
}

.news-details-comments .option-comment .add-comment:active {
    background-color: rgb(20, 70, 86);
    border-color: rgb(16, 56, 68);
    color: #fff;
}
