/* Container */
.mr-snb-container {
  display: flex;
  overflow: hidden;
  background: #fff;
  border: 1px solid #ddd;
  align-items: stretch;
}

/* Breaking label */
.mr-label {
  background: #d60000;
  color: #fff;
  padding: 12px 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
}

/* Track */
.mr-track {
  display: flex;
  padding: 0;
}

/* Horizontal */
[data-direction="left"] .mr-track {
  flex-direction: row;
  white-space: nowrap;
}

/* Vertical */
[data-direction="up"] .mr-track {
  flex-direction: column;
}

/* Item */
.mr-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  min-width: 280px;
  gap: 12px;
}

/* Remove bottom border in horizontal */
[data-direction="left"] .mr-item {
  border-bottom: none;
  border-right: 1px solid #eee;
}

/* Date box (calendar style) */
.mr-date-box {
  background: #f1f1f1;
  border: 1px solid #ccc;
  text-align: center;
  min-width: 50px;
  padding: 5px;
}

.mr-day {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #222;
}

.mr-month {
  display: block;
  font-size: 12px;
  color: #666;
}

/* Content */
.mr-content {
  flex: 1;
}

/* Title */
.mr-title {
  display: block;
  font-size: 14px;
  color: #222;
  text-decoration: none;

  /* FIX WRAPPING */
  white-space: normal !important;
  overflow: visible;
  word-break: break-word;
  line-height: 1.4;
}

/* Hover */
.mr-title:hover {
  color: #d60000;
}

/* Animations */
@keyframes mrLeft {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes mrUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}