/* Popover */
.popover-login {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  z-index: 1000;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  animation: fadeIn 0.2s ease;
}

/* Mũi tên popover */
.popover-arrow {
  position: absolute;
  top: -8px;
  left: 20px;
  width: 16px;
  height: 16px;
  background: white;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  transform: rotate(45deg);
}

/* Nút đăng nhập trong popover */
.popover-login button {
  background: #ff0000;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
}
.popover-login button:hover {
  background: #cc0000;
}

/* Modal nền tối */
.modal-login {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease;
}

/* Khung modal */
.modal-content-login {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  width: 320px;
  border-radius: 8px;
  position: relative;
  font-family: Arial, sans-serif;
  animation: slideDown 0.3s ease;
}

/* Nút đóng */
.close-login {
  position: absolute;
  right: 10px; top: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Input */
.modal-content-login input {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Nút submit */
.btn-login-submit {
  width: 100%;
  padding: 8px;
  background: #ff0000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn-login-submit:hover {
  background: #cc0000;
}

/* Animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes slideDown {
  from {transform: translateY(-20px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
.comments .comment-box .media-object .comment-textarea input[type="button"] {
    padding: 0 25px;
    border: 1px solid #ececec;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
    height: 30px;
    line-height: 30px;
    background: #f6f6f6;
    color: #6c6c6c;
    text-transform: capitalize;
    float: right;
}

/* Tùy biến nhẹ cho đẹp hơn */
.swal2-popup {
  border-radius: 16px !important;
}
.swal2-title {
  font-weight: 700 !important;
}
.SinglePostStats .media-object .social-share .post-like-btn form button.btn-danger i{
  
  color: #e96969;
}
.btn-secondary i{
  color:black;
}
.btn-primary i{
  color: blue;
}