/* general Notification*/
.notification-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #5DCDF1 0%, #B3EFFF 51.5%, #5DCDF1 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: absolute;
  left: 50%;
  top: 1rem;
  opacity: 0;
  width: 96%;
  z-index: 99;
  transform: translateY(-10px) translateX(-50%);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Visible state */
.notification-container.show {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
  pointer-events: auto;
}

.notification-content {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.notification-message {
  font-size: 14px;
  font-weight: 500;
}

/* Close button */
.notification-close-btn {
  background: none;
  border: none;
  padding: 4px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.notification-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Success styles */
.notification-success {
  background-color: #ebf8ff;
  border-color: #bee3f8;
  color: #2c5282;
}

.notification-success .icon-success {
  color: #38a169;
}

/* Error styles */
.notification-error {
  background-color: #fee2e2;
  border-color: #fecaca;
  color: #991b1b;
}

.notification-error .icon-error {
  color: #e53e3e;
}

/* Warning styles */
.notification-warning {
  background-color: #fefcbf;
  border-color: #faf089;
  color: #975a16;
}

.notification-warning .icon-warning {
  color: #d69e2e;
}

/* ZTF Notification*/
.kc-banner {
  width: 100%;
  max-width: 505px;
  border-radius: 20px;
  margin-top: 1rem;
  background: #FAFAFA;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.kc-banner-content {
  padding: 1rem 3rem 1rem 1.6875rem;
}

.check-icon {
  height: 15px;
  width: 8px;
  border-bottom: 2px solid #191919;
  border-right: 2px solid #191919;
  transform: rotate(45deg);
  margin: 0.1rem .8rem 0 .3rem;
  flex-shrink: 0;
}

.banner-title {
  font-weight: 600;
}

.banner-subtitle {
  font-weight: 500;
  margin-bottom: .5rem;
}

.banner-info {
  display: flex;
  align-items: flex-start;
}

.banner-description {
  margin-bottom: .3rem !important;
  font-weight: 500;
}

#notification-banner {
  opacity: 1;
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none;
}

/* // Desktop view  */
@media screen and (min-width: 768px) {

  .notification-container {
    width: 100%;
    max-width: 583px;
  }

}


/* // Mobile view */
@media screen and (max-width: 768px) {
  .kc-banner {
    margin: .5rem 0 1rem 0;
  }

  .banner-description {
    font-size: 12px;
  }

  .check-icon {
    height: 12px;
    width: 6px;
    margin: 0 0.6rem 0 0.3rem;
  }
}
