/* Delivery date */
.er-delivery-date {
  font-family: inherit;
  font-weight: bold;
  margin-left: 5px;
}

.delivery-container {
  display: flex;
  align-items: center;
  padding-bottom: 16px;
  font-size: 16px;
}

.truck-icon {
  width: 26px;
  height: auto;
  margin-right: 8px;
  margin-bottom: 8px;
}

/* Progress bar */
.er-progress-bar-container {
  margin-top: 20px;
}

.er-progress-bar-title {
  margin: 0 !important;
  font-size: 16px;
  font-weight: bold;
}

.er-progress-bar-wrapper {
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  height: 20px;
  margin-top: 5px;
  width: 100%;
}

.er-progress-bar {
  background-color: #4caf50;
  height: 100%;
  transition: width 0.3s ease;
  width: 0%;
  animation: fill-progress-bar 1.2s ease-in-out forwards;
}

.er-progress-bar-remaining,
.er-progress-bar-success {
  font-size: 12px;
  margin: 8px 0 !important;
}

.er-progress-bar-remaining {
  color: #333;
}

.er-progress-bar-success {
  color: #4caf50;
}

/* Animations */
@keyframes fill-progress-bar {
  from {
    width: 0%;
  }
  to {
    width: var(--progress-width, 100%);
  }
}

/* Notification bar */
.er-notification-bar.default-style {
  overflow: hidden;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  animation: slideInDown 0.7s ease-out;
}

.er-notification-bar.default-style p {
  margin:0;
}

@keyframes slideInDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  .er-notification-bar.default-style {
    font-size: 14px;
    padding: 8px 24px 8px 24px;
  }
}