
#ctxmenu {
  position: fixed;
  background: var(--window-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px 8px 8px 8px;
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: flex;
  font-size: 18px;
  color: var(--text);
}

#ctxmenu > p {
  padding: 0 1rem;
  margin: 0;
}

#ctxmenu > p:hover {
  background: var(--accent);
  backdrop-filter: blur(10px);
  color: var(--window-bg);
}

.resize-n {
  cursor: n-resize;
}
.resize-e {
  cursor: e-resize;
}
.resize-s {
  cursor: s-resize;
}
.resize-w {
  cursor: w-resize;
}
.resize-ne {
  cursor: ne-resize;
}
.resize-nw {
  cursor: nw-resize;
}
.resize-se {
  cursor: se-resize;
}
.resize-sw {
  cursor: sw-resize;
}

#notifications-container {
  position: fixed;
  bottom: 50px;
  right: 20px;
  width: 360px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
}

.notification {
  background-color: var(--window-bg);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 8px 16px rgba(0, 0, 0, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 2px;
  overflow: hidden;
  animation: slideIn 0.3s ease-out;
  opacity: 1;
  max-height: 200px;
}

.notification.removing {
  animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
    max-height: 200px;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
    max-height: 0;
  }
}

.notification-header {
  display: flex;
  align-items: center;
  padding: 12px 16px 8px;
  position: relative;
}

.app-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  border-radius: 3px;
  background-color: var(--accent);
}

.app-name {
  font-weight: 600;
  font-size: 13px;
  flex-grow: 1;
  text-align: left;
}

.notification-time {
  color: #767676;
  font-size: 12px;
}

.notification-body {
  padding: 0 16px 12px;
  text-align: left;
  line-height: 1.5;
  color: var(--text);
  font-size: 14px;
}

.alert-button {
  background-color: var(--accent);
  color: var(--window-bg);
}

.alert-button:hover {
  background-color: var(--accent);
  box-shadow: 0 0 8px rgba(137, 180, 250, 0.5);
}
