
/* =====================================
   STUDENTS HOME - NOTIFICATION SYSTEM
===================================== */

.sh-notification-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 999999;
  width: min(380px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.sh-notification {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  background: #ffffff;
  color: #242424;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  font-family: 'Manrope', sans-serif;
  pointer-events: auto;
  animation: sh-notification-in 0.35s ease forwards;
}

.sh-notification-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
}

.sh-notification-content {
  flex: 1;
  min-width: 0;
}

.sh-notification-title {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 800;
}

.sh-notification-message {
  margin: 0;
  color: #686868;
  font-size: 13px;
  line-height: 1.6;
}

.sh-notification-close {
  border: 0;
  background: transparent;
  color: #888888;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 0;
}

.sh-notification-close:hover {
  color: #222222;
}

/* Notification types */

.sh-notification.success .sh-notification-icon {
  background: #e5f8ed;
  color: #168348;
}

.sh-notification.error .sh-notification-icon {
  background: #fdeaea;
  color: #d93636;
}

.sh-notification.warning .sh-notification-icon {
  background: #fff4df;
  color: #b87912;
}

.sh-notification.info .sh-notification-icon {
  background: #e6f4f4;
  color: #078b8b;
}

/* Entrance and exit animations */

@keyframes sh-notification-in {
  from {
    opacity: 0;
    transform: translateX(35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sh-notification.sh-notification-out {
  animation: sh-notification-out 0.25s ease forwards;
}

@keyframes sh-notification-out {
  to {
    opacity: 0;
    transform: translateX(35px);
  }
}

/* Mobile layout */

@media (max-width: 480px) {
  .sh-notification-container {
    top: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }

  .sh-notification {
    padding: 15px;
  }
}

