.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 343px;
  max-height: 400px;
  overflow-y: auto;
  background: #1A1F25;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  z-index: 9999;
  padding: 12px;
  display: none;
}

.notification-panel.active {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .notification-panel {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    width: calc(100vw - 32px);
  }
}

.notification-panel::-webkit-scrollbar {
  width: 4px;
}

.notification-panel::-webkit-scrollbar-track {
  background: transparent;
}

.notification-panel::-webkit-scrollbar-thumb {
  background: #303746;
  border-radius: 4px;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.notification-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #FFFFFF;
}

.notification-mark-read {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #2E93FF;
  cursor: pointer;
}

.notification-mark-read:hover {
  text-decoration: underline;
}

.notification-card {
  background: #242C32;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  transition: opacity 0.3s;
}

.notification-card.is-read {
  opacity: 0.6;
}

.notification-card.unread {
  border-left: 3px solid transparent;
}

.notification-card.type-success.unread {
  border-left-color: #00DF80;
}

.notification-card.type-warning.unread {
  border-left-color: #FFD21E;
}

.notification-card.type-error.unread {
  border-left-color: #F04248;
}

.notification-icon-wrapper {
  width: 32px;
  height: 32px;
  background: #303746;
  border-radius: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.notification-card.type-success .notification-icon-wrapper {
  color: #00DF80;
}

.notification-card.type-success .notification-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(0, 237, 81, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.notification-card.type-warning .notification-icon-wrapper {
  color: #FFD21E;
}

.notification-card.type-warning .notification-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255, 212, 38, 0.11) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.notification-card.type-error .notification-icon-wrapper {
  color: #F04248;
}

.notification-card.type-error .notification-icon-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(240, 66, 72, 0.13) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.notification-icon-wrapper svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.notification-content {
  flex-grow: 1;
}

.notification-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.notification-card-message {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #C8C5C5;
  margin: 4px 0 0 0;
  line-height: 1.3;
}

.notification-card-time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #8A8A8A;
  margin-top: 4px;
}

.notification-close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: #8A8A8A;
  font-size: 14px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.notification-close:hover {
  color: #FFFFFF;
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #F04248;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-sizing: border-box;
}

.notification-empty {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #8A8A8A;
  text-align: center;
  padding: 24px;
}
