.mra-widget {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 15px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  /*max-width: 500px;*/
  margin: 20px auto;
}

.mra-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.mra-header button {
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  font-size: 18px;
  padding: 4px 8px;
  transition: color 0.2s;
}
.mra-header button:hover {
  color: #0073aa;
}

.mra-feed-title {
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  flex: 1;
  color: #222;
}

/* Feed dropdown */
.mra-feed-list {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  width: 220px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 10;
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mra-feed-list.show {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
}

.mra-feed-list ul{
	list-style: none;
	padding-left: 0;
}

.mra-feed-list li {
  padding: 8px 12px;
  border-bottom: 1px solid #f2f2f2;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: background 0.2s, color 0.2s;
}
.mra-feed-list li:hover {
  background: #0073aa;
  color: #fff;
}

.mra-feed-list li:last-child {
  border-bottom: none;
}

/* News section */
.mra-news {
  transition: opacity 0.3s ease;
}

.mra-loading {
  text-align: center;
  color: #777;
}

.mra-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.mra-item:last-child {
  border-bottom: none;
}

.mra-date {
  font-weight: 700;
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 4px;
}

.mra-title,
.mra-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.mra-empty,
.mra-error {
  text-align: center;
  color: #777;
  font-style: italic;
}
