/* Notification Bell Component Styles */

.notification-bell-wrapper {
  position: relative;
  display: inline-block;
}

.notification-bell-button {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text, #e5e5e5);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-bell-button:hover {
  color: var(--accent, #f5a623);
}

.notification-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--color-danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.notification-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-height: 480px;
  background: var(--bg-card, #0f6b73);
  border: 1px solid var(--border, #1a7a85);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.notification-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #1a7a85);
}

.notification-dropdown-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.mark-all-read {
  background: transparent;
  border: none;
  color: var(--accent, #f5a623);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.mark-all-read:hover {
  background: rgba(245, 166, 35, 0.1);
}

.notification-list {
  flex: 1;
  overflow-y: auto;
  max-height: 360px;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border, #1a7a85);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.notification-item:hover {
  background: var(--bg-card-hover, #117a84);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background: rgba(245, 166, 35, 0.05);
}

.notification-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.notification-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text, #e5e5e5);
}

.notification-message {
  font-size: 13px;
  color: var(--text-dim, #a8a8a8);
  margin-bottom: 6px;
}

.notification-property {
  font-size: 12px;
  color: var(--text-dim, #a8a8a8);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-time {
  font-size: 11px;
  color: var(--text-dim, #a8a8a8);
}

.notification-unread-dot {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 8px;
  height: 8px;
  background: var(--accent, #f5a623);
  border-radius: 50%;
}

.notification-loading,
.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-dim, #a8a8a8);
  font-size: 14px;
}

.notification-dropdown-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border, #1a7a85);
  text-align: center;
}

.notification-dropdown-footer a {
  color: var(--accent, #f5a623);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.notification-dropdown-footer a:hover {
  color: var(--accent-hover, #f5b844);
}

/* Mobile responsive */
@media (max-width: 480px) {
  .notification-dropdown {
    width: calc(100vw - 32px);
    right: -150px;
  }
}
