
.donor-traffic-light {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  font-family: Arial, sans-serif;
  margin: 20px 0;
}

.donor-org-name
{
	min-height: 60px;
	text-align: center;
}

.lighter-legend-circle-holder
{
	
}

.title {
  color: #333;
  margin-bottom: 1.5rem;
}

.blood-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	display: grid !important;
	flex-wrap: wrap;
	gap: 15px;
	margin: 0;
	padding: 0px 60px;
	align-items: center;
}

.level-bar {
	height: 12px;
	background: #eee;
	border-radius: 6px;
	margin: 8px 0;
	overflow: hidden;
}

.level-fill {
	height: 100%;
	border-radius: 6px;
	transition: width 0.3s;
}

.blood-group.good .level-fill {
	background: #4CAF50;
}

.blood-group.medium .level-fill {
	background: #FFC107;
}

.blood-group.low .level-fill {
	background: #F44336;
}

.blood-group {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem;
	border: 1px solid #ddd;
/*	background-color: #fafafa;
flex: 1 1 calc(25% - 15px);
  min-width: 120px;*/
	background: #f9f9f9;
	padding: 10px;
	border-radius: 6px;
	text-align: center;
}

.group-label {
  font-weight: bold;
  color: #333;
}

.light {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ccc;
  position: relative;
}

.light.active {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.light.green {
  background-color: #4caf50;
}

.light.yellow {
  background-color: #ffeb3b;
}

.light.red {
  background-color: #f44336;
}

.light.gray {
  background-color: gray;
}

.lighter-legend
{
	padding: 30px !important;
}

.lighter-legend-item
{
	margin: 10px 0;
}

.lighter-legend-circle
{
	height: 20px;
	width: 20px;
	margin-top: 4px;
	margin-right: 5px;
}

.traffic-light-holder{
	padding: 30px;
	/*border: 1px solid var(--primary-hover-color);*/
}

/* Анимация для активных лампочек */
.light.active {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}