.notif-card {
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(40, 20, 80, 0.13);
  padding: 1.25rem 1.5rem 1rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.notif-card:hover {
  box-shadow: 0 8px 32px rgba(80, 36, 124, 0.22);
}

.notif-card .notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.notif-card .notif-unread {
  color: #ffba08;
  font-weight: 500;
  font-size: 0.92em;
}

.notif-card .notif-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notif-card .notif-icon {
  background: #fff;
  color: #0d0b0b;
  color: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(79, 46, 145, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
}

.notif-card .notif-info {
  flex: 1 1 auto;
}

.notif-card .notif-title {
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.notif-card .notif-desc {
  color: #b9b9da;
  font-size: 11px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

.notif-card .notif-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
}

.notif-card .notif-btn {
  background: #fff;
  color: #0d0b0b;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 0.98em;
  font-weight: 500;
  transition: background 0.2s;
  box-shadow: 0 2px 10px rgba(79, 46, 145, 0.09);
}

.notif-card .notif-btn:hover {
  background: #fff;
  color: #0d0b0b;
}

@media (max-width: 500px) {
  .notif-card {
    padding: 1rem 0.75rem 0.85rem 0.9rem;
  }

  .notif-card .notif-action {
    min-width: 60px;
  }

  .notif-card .notif-icon {
    padding: 10px 11px;
    font-size: 1.05rem;
    min-width: 38px;
    min-height: 38px;
  }
}

.hr-notif {
  margin: -0.3rem 0 0.7rem 0;
  border-top: 1.5px solid #2b2547;
  border-radius: 2px;
  opacity: 0.55;
}

.notif-card-read {
  background: #fff;
  background: linear-gradient(90deg, #fcfcfc 0%, #f3f3f9 50%, #e9eafa 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(40, 20, 80, 0.08);
  padding: 1.25rem 1.5rem 1rem 1.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.notif-card-read:hover {
  box-shadow: 0 8px 32px rgba(80, 36, 124, 0.14);
}

.notif-card-read .notif-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.notif-card-read .notif-read {
  color: #7c7c9b;
  font-weight: 500;
  font-size: 0.92em;
}

.notif-card-read .notif-body {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notif-card-read .notif-icon {
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(79, 46, 145, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  opacity: 0.7;
}

.notif-card-read .notif-info {
  flex: 1 1 auto;
}

.notif-card-read .notif-title {
  color: #232336;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.notif-card-read .notif-desc {
  color: #63637f;
  font-size: 11px;
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

.notif-card-read .notif-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 80px;
}

.notif-card-read .notif-btn {
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  font-size: 0.98em;
  font-weight: 500;
  transition: background 0.2s;
  box-shadow: 0 2px 10px rgba(79, 46, 145, 0.09);
}

.notif-card-read .notif-btn:hover {
  background: #0d0b0b;
  background: linear-gradient(
    90deg,
    rgba(13, 11, 11, 1) 0%,
    rgba(45, 29, 54, 1) 50%,
    rgba(11, 50, 59, 1) 100%
  );
  color: #ffffff;
}

@media (max-width: 500px) {
  .notif-card-read {
    padding: 1rem 0.75rem 0.85rem 0.9rem;
  }

  .notif-card-read .notif-action {
    min-width: 60px;
  }

  .notif-card-read .notif-icon {
    padding: 10px 11px;
    font-size: 1.05rem;
    min-width: 38px;
    min-height: 38px;
  }
}

.hr-notif-read {
  margin: -0.3rem 0 0.7rem 0;
  border-top: 1.5px solid #ececf7;
  border-radius: 2px;
  opacity: 0.55;
}

.animation {
  animation: slideInRight 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slideOutRight {
  animation: slideOutRight 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

#notif-badge:hover {
  color: #fff;
}
