.edit-icon:hover,
.delete-icon:hover {
  color: #12b1bf !important;
}

.btn.btn-primary {
  color: #212529 !important;
  background-color: #FFC107 !important;
}

.btn-primary {
  background: #FFC107 !important;
  border-color: #FFC107 !important;

}

.btn.btn-primary:hover {
  color: #212529 !important;
  background-color: #FFC107 !important;
  border-color: #FFC107 !important;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.7) !important;
}

.read-more {
  color: #FFC107 !important;
  text-decoration: none !important;
}

a:focus,
a:hover,
.read-more:hover {
  color: #12b1bf !important;
  text-decoration: none !important;
}

.btn-secondary,
.btn-secondary:hover {
  color: #fff !important;
  background-color: #6c757d !important;
  border-color: #6c757d !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   NEWS EDITOR — flag bar, edition row, template fields
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Flag bar ─────────────────────────────────────────────────────────── */
.ne-flag-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #f8f9fa;
  margin-bottom: 1.25rem;
}

/* Circle flag */
.ne-flag-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, border-color .2s;
  user-select: none;
}

.ne-flag-circle.ne-status-new {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.ne-flag-circle.ne-status-resolved {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ne-flag-circle.ne-status-disaster {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Status badge pill */
.ne-status-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.ne-status-badge.ne-status-new {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.ne-status-badge.ne-status-resolved {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ne-status-badge.ne-status-disaster {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Status toggle buttons */
.ne-status-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ne-status-btn {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 500;
  transition: opacity .15s, transform .1s;
  background: transparent;
}

.ne-status-btn:active {
  transform: scale(.97);
}

.ne-btn-new {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.ne-btn-new:hover {
  background: #ffe69c;
}

.ne-btn-resolved {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ne-btn-resolved:hover {
  background: #b1dfbb;
}

.ne-btn-disaster {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.ne-btn-disaster:hover {
  background: #f1aeb5;
}

/* Edition info text (right side of bar) */
.ne-edition-info {
  margin-left: auto;
  font-size: 12px;
  color: #6c757d;
  white-space: nowrap;
}

/* ── Labels ───────────────────────────────────────────────────────────── */
.ne-label {
  font-size: 12px;
  color: #6c757d;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* ── Small inputs ─────────────────────────────────────────────────────── */
.ne-input-sm {
  font-size: 13px !important;
}

/* ── Two-column responsive row ────────────────────────────────────────── */
.ne-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 576px) {
  .ne-row-2col {
    grid-template-columns: 1fr;
  }

  .ne-edition-info {
    display: none;
  }
}

/* ── Template variable fields container ───────────────────────────────── */
.ne-tpl-fields {
  /*background: #f0f4f8;
  border: 1px dashed #b0c4d8;
  border-radius: 8px;
  padding: 14px 16px;*/
  margin-bottom: 1.25rem;
}


/* ═══════════════════════════════════════════════════════════════════════
   NEWS LIST — card flag circles + inline status badges
   ═══════════════════════════════════════════════════════════════════════ */

/* Flag circle inside each news card */
.ne-news-flag {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.ne-flag-new {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.ne-flag-resolved {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ne-flag-disaster {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* Inline status badge inside card header */
.ne-card-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 10px;
  border: 1px solid transparent;
  vertical-align: middle;
}

.ne-card-badge-new {
  background: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.ne-card-badge-resolved {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.ne-card-badge-disaster {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}